This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Debugging X with GDB
- From: Richard Stallman <rms at gnu dot org>
- To: Bernie Innocenti <bernie at codewiz dot org>
- Cc: gdb at sourceware dot org
- Date: Tue, 12 Jan 2010 18:19:18 -0500
- Subject: Re: Debugging X with GDB
- References: <E1NSMSM-0000oT-51@fencepost.gnu.org> <1263170536.29695.86.camel@giskard> <E1NUPod-00026Y-78@fencepost.gnu.org> <1263243923.2695.72.camel@giskard>
- Reply-to: rms at gnu dot org
That would be indeed useful, but it seems that setting breakpoints on
symbols that will become available in the future is also working
correctly. The difference is that now I'm debugging a newer version of
the X server that doesn't confuse the debugger by re-implementing a
custom ELF loader.
That is good, but GDB knew to recognize that the driver file was being
loaded even with old X server. Given that it could recognize the
file, it could also offer a command to specify "stop the program after
loading file FOO". That will be useful when strange things are
happening.