GDB or DDD question? (sorry for the cross post)

Bryan Petty etierra at gmail.com
Mon Feb 5 10:51:29 MST 2007


On 2/4/07, Alex Esplin <alex.esplin at gmail.com> wrote:
> does anyone know how to set a breakpoint in a source file other than
> the one currently loaded?  It seems like I saw something for this
> before but I can't remember where it was.  Thanks.

http://sources.redhat.com/gdb/onlinedocs/gdb_6.html#SEC33

You can also set breakpoints based on symbol names assuming you've got
debug symbols built in, neither method requiring that you actually
open the file.

Regards,
Bryan Petty



More information about the PLUG mailing list