From: "Eli Zaretskii" <eliz@gnu.org>
To: Brian Ford <ford@vss.fsi.com>
Cc: jimb@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [PATCH] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp)
Date: Fri, 02 Apr 2004 19:42:00 -0000 [thread overview]
Message-ID: <2719-Fri02Apr2004213907+0300-eliz@gnu.org> (raw)
In-Reply-To: <Pine.GSO.4.58.0404021000390.21204@thing1-200> (message from Brian Ford on Fri, 2 Apr 2004 11:31:33 -0600 (CST))
> Date: Fri, 2 Apr 2004 11:31:33 -0600 (CST)
> From: Brian Ford <ford@vss.fsi.com>
> > >
> > > This isn't really relevant
> >
> > Why not?
>
> Well first, it's not really Windows, it's DOS. Secondly, it's pure
> COFF with a custom loader, as I understand, not PE/COFF.
Yes, true on both counts. I guess I misunderstood the meaning of
``relevant'' in your original message.
> I just don't see any reason to try and be "compatible" with it. I'm not
> even sure what that means? I certainly don't want to break it,
> though.
Well, the only way to break DJGPP is if you modify code used by it as
well. So any pieces of coffread.c or dwarf2read.c, or anything in
i386-related files that is related to that, are possible areas of
interest. If you only change Windows-specific files, you cannot
possibly break DJGPP (or any other non-Windows target).
However, what I'm really interested in is the possibility that a
similar problem exists in the DJGPP port.
> > 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.
> >
> You mean source code, right? You would obviously need a DJGPP toolchain
> for testing. I don't have one right now.
Well, I do have it, obviously: otherwise, how could I possibly be
maintaining the DJGPP port of GDB? ;-)
> A sample program would be trivial, so you might as well make one yourself.
> Just throw in some stack variables, preferably some in main, and some in
> a function called from main. Oh, and make a few of them floating point
> so you can test that too.
I understand this, but given my total lack of free time, I'd
appreciate a specific worked-out example with commands you type and
what GDB prints in response. I don't mean for you to install the
DJGPP development environment and try that, just do that with the
Windows tools where you encountered the problem. All I want to see is
whether similar problems with EBP and ESP exist in the DJGPP port.
Of course, if you are not interested to see whether other i386 targets
have this problem, you are free to disregard my request.
Thanks in advance.
next prev parent reply other threads:[~2004-04-02 19:42 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-01 0:11 Brian Ford
2004-04-01 17:22 ` Jim Blandy
2004-04-01 18:00 ` Brian Ford
2004-04-01 21:29 ` Jim Blandy
2004-04-01 22:54 ` Brian Ford
2004-04-02 7:45 ` Eli Zaretskii
[not found] ` <Pine dot GSO dot 4 dot 58 dot 0404021000390 dot 21204 at thing1-200>
[not found] ` <2719-Fri02Apr2004213907+0300-eliz at gnu dot org>
[not found] ` <Pine dot GSO dot 4 dot 58 dot 0404021648050 dot 21204 at thing1-200>
2004-04-02 17:31 ` Brian Ford
2004-04-02 19:42 ` Eli Zaretskii [this message]
2004-04-02 23:15 ` Brian Ford
2004-04-03 9:08 ` Eli Zaretskii
2004-04-05 18:18 ` Jim Blandy
2004-04-05 21:57 ` Brian Ford
2004-04-18 16:33 ` Eli Zaretskii
2004-04-05 18:21 ` Jim Blandy
2004-04-05 22:46 ` Brian Ford
2004-04-18 17:00 ` Eli Zaretskii
2004-04-05 22:46 ` Jim Blandy
2004-04-05 23:19 ` Brian Ford
2004-04-05 23:38 ` Jim Blandy
2004-04-06 14:53 ` Brian Ford
2004-04-15 9:38 ` Eli Zaretskii
2004-04-06 23:24 ` Mark Kettenis
2004-04-07 16:25 ` Brian Ford
2004-04-07 18:02 ` Jim Blandy
2004-04-07 20:06 ` [PATCH] Rename i386_xxx_reg_to_regnum Brian Ford
2004-04-07 20:48 ` Jim Blandy
2004-04-07 21:06 ` Brian Ford
2004-04-07 21:41 ` Jim Blandy
2004-04-09 12:37 ` Mark Kettenis
2004-04-09 17:49 ` Brian Ford
2004-04-06 23:23 ` [PATCH] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp) Mark Kettenis
2004-04-07 16:46 ` Jim Blandy
2004-04-18 16:48 ` Eli Zaretskii
2004-04-19 2:06 ` ix86 PE/COFF DWARF register numbering (was Re: [PATCH] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp)) Brian Ford
2004-04-19 5:59 ` Eli Zaretskii
2004-04-19 16:34 ` ix86 PE/COFF DWARF register numbering Brian Ford
2004-04-19 12:42 ` [PATCH] i386_stab_reg_to_regnum (4 <-> 5, ebp <-> esp) Jim Blandy
2004-04-19 7:02 ` Eli Zaretskii
2004-04-02 19:33 ` Eli Zaretskii
2004-04-02 22:47 ` Brian Ford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2719-Fri02Apr2004213907+0300-eliz@gnu.org \
--to=eliz@gnu.org \
--cc=ford@vss.fsi.com \
--cc=gdb-patches@sources.redhat.com \
--cc=jimb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox