public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: rhgdb and dwarf2 oddity
       [not found] <3B82C0E4.31510.103144@localhost>
@ 2001-08-22  4:18 ` Andris Pavenis
  0 siblings, 0 replies; only message in thread
From: Andris Pavenis @ 2001-08-22  4:18 UTC (permalink / raw)
  To: Mark E.; +Cc: djgpp-workers, binutils

On Tue, 21 Aug 2001, Mark E. wrote:

> Hi all,
> 
> You can finally debug programs using dwarf2 with rhgdb/rhide after applying 
> the dwarf2 section alignment fixes for binutils I posted to the binutils 
> list. 
> 
> I've found an anomaly debugging dwarf2 with rhgdb (didn't test rhide). When I 
> set a breakpoint at a line with dwarf2 info, rhgbd sets the breakpoint 
> without complaint. Quit rhgdb and then run it again with the same program. 
> This time rhgdb complains the breakpoint just set is invalid. But running the 
> program with Run | Run generates no complaint like an invalid breakpoint 
> would, and the program does stop at the breakpoint.
> 

Had to add missing comma to build binutils. No real testing yet
though

Andris
 
--- src/bfd/coff-stgo32.c~1     Wed Aug 22 02:00:48 2001
+++ src/bfd/coff-stgo32.c       Wed Aug 22 14:02:01 2001
@@ -49,7 +49,7 @@
 { COFF_SECTION_NAME_EXACT_MATCH (".text"), \
   COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
 { COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \
-  COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } \
+  COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
 { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi"), \
   COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-22  4:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <3B82C0E4.31510.103144@localhost>
2001-08-22  4:18 ` rhgdb and dwarf2 oddity Andris Pavenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).