This is the mail archive of the gdb-patches@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]

[PATCH] Proper _to_regnum for DWARF on Cygwin


It would appear that DJGPP should do something similar, but I'll
leave that up to Eli.

2004-04-13  Brian Ford  <ford@vss.fsi.com>

        * i386-tdep.c (i386_coff_init_abi): New function.
        * i386-tdep.h (i386_coff_init_abi): New prototype.
        * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it.  Use correct
	register number translation functions for DWARF and DWARF 2.

And, just in case you decide to approve the _to_regnum rename patch you
requested :(, I have attached an updated/cumulative patch for that too.

2004-04-13  Brian Ford  <ford@vss.fsi.com>

        * i386-tdep.c: Correct register numbering scheme comments throughout.
	(i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
	(i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
	(i386_elf_init_abi): Accomodate renames above.
	(i386_gdb_arch_init): Likewise.
        (i386_coff_init_abi): New function.
        * i386-tdep.h (i386_coff_init_abi): New prototype.
        * i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it.  Use correct
	register number translation functions for DWARF and DWARF 2.

BTW, who am I waiting on to approve the coffread.c portion of this patch:

http://sources.redhat.com/ml/gdb-patches/2004-04/msg00183.html

Is it Philippe De Muyter?  A quick search of the archives shows the last
message from him to be in June 2002.

I'm not trying to be impatient.  I'd just like to know that the review is
in *someone's* queue rather than lost in the ether.

Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

Attachment: cygwin_dwarf_regnum.patch
Description: Text document

Attachment: cygwin_dwarf_regnum_rename.patch
Description: Text document


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