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] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp)


> Date: Thu, 1 Apr 2004 16:54:46 -0600 (CST)
> From: Brian Ford <ford@vss.fsi.com>
> >
> > Sorry --- is there an existing toolchain using Dwarf 2 on Windows?  If
> > not, then what existing tools, already in use by others, are you being
> > forward and backward compatible with?
> >
> This isn't really relevant

Why not?

> but DJGPP does.

That's true: DJGPP does support DWARF2 debug info in COFF object file
format.

> It appears to me that they use the dbx_register_map for DWARF2.  So,
> I don't understand why they don't have the problem my patch was
> trying to address.

I marked this thread for checking, but never had time to do it.  If
you can send me a sample program and a description of what I should do
to see whether DJGPP has the same problem, I will gladly try that and
report the results.  Please also tell what versions of GCC and GDB
should I try.

> The forward part of my compatability argument is that all known working
> (I still don't understand how DJGPP is working without my patch) i386 targets
> with DWARF2 support use the svr4_register_numbering scheme.  So, I was
> trying to go with that precident instead of the one you observed.

Some time ago I did find a problem in register numbering, and IIRC it
was fixed, although I don't recall the details and don't see anything
in the logs.  Perhaps the fix was in GCC rather than GDB.  And I don't
remember whether I looked at EBP and ESP back then.


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