Date: Sat, 29 Mar 2008 17:46:03 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/gdb/kgdb main.c Message-ID: <200803291746.m2THk3g2068510@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-03-29 17:46:03 UTC
FreeBSD src repository
Modified files:
gnu/usr.bin/gdb/kgdb main.c
Log:
Change kgdb_parse() to use wrapped versions of parse_expression() and
evaluate_expression() so that any errors are caught and cause the function
to return to 0. Otherwise the errors posted an exception (via longjmp())
that aborted the current operation. This fixes the kld handling for
older kernels (6.x and 7.x) that don't have the full pathname stored in
the kernel linker.
MFC after: 3 days
Revision Changes Path
1.15 +9 -6 src/gnu/usr.bin/gdb/kgdb/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803291746.m2THk3g2068510>
