cvs commit: src/gnu/usr.bin/gdb/kgdb main.c

John Baldwin jhb at FreeBSD.org
Sat Mar 29 10:46:03 PDT 2008


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


More information about the cvs-src mailing list