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]

Re: [PATCH] Proper _to_regnum for DWARF on Cygwin


On Fri, 16 Apr 2004, Mark Kettenis wrote:

> On Tue, 13 Apr 2004, Brian Ford wrote:
>
>> 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.
>
> I've checked this one in now.

Thanks!

> Can you easily regenerate the rename patch now?  If so, feel free to
> mail it to me.  Otherwise I'll probably do it myself later this weekend.

Sure.

2004-04-16  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_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
        (i386_gdb_arch_init): Likewise.

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

Attachment: i386-tdep_to_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]