This is the mail archive of the gdb@sourceware.org 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] |
Hi Nathan,
Oups: I resend this because the previous email was html and got bounced by gdb@sources.redhat.com
I have been forced to change your patch to make it works.The return you've added is unnecessary.
1) missing return in server.c
2) I also add an fprintf to stderr with the address of the text and data section to allow the use of add-symbol_file command which requires these address.
The response to qOffsets being hidden by gdb, I then can get it from the target console or telnet.
This return is not needed, why did you find it necessary?+ if (the_target->read_offsets (&text, &data)) { + sprintf (own_buf, "Text=%lX;Data=%lX;Bss=%lX", + (long)text, (long)data, (long)data); + return;
+ } + else + write_enn (own_buf); + + return; + }
-- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |