This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb and Dll



There is one long-standing "gotcha" in debugging dlls however.  Currently
you can only set breakpoints on line numbers not on symbol names if the
dll is not loaded.  That is you can't do:

  dll-symbols foo.dll
  bp foo

You have to, instead do:

  dll-symbols foo.dll
  list foo
  bp <first line of foo>
Weird.  Create a bug report.

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]