From: Scott Bambrough <scottb@netwinder.org>
To: Stan Shebs <shebs@cygnus.com>
Cc: jingham@cygnus.com, gdb-patches@sourceware.cygnus.com
Subject: Re: Merge of ARM Linux port with existing ARM code...
Date: Wed, 15 Dec 1999 10:25:00 -0000 [thread overview]
Message-ID: <3857DC13.438069C4@netwinder.org> (raw)
In-Reply-To: <199912110049.QAA11719@andros.cygnus.com>
Stan Shebs wrote:
> Actually, the embed config doesn't need .mh, nm, or xm files, so I'm
> leaving those out. The rest of these files look fine, and I'm basically
> putting them in verbatim.
That's great. Thanks.
> I'm going to be marking arm-xdep.c as obsolete, as I've done with
> other files. They'll be around for the next releases, then disappear
> sometime after that.
Ok.
> That's a great start in the right direction. We can always come back
> and polish the code later on. I'll get the basic stuff in, then you
> can check it over in the next snap and tell me what I missed.
It doesn't seem to be in this weeks snapshot, will it be in next weeks?
> Shared library support:
> Both targets make use of IN_SOLIB_CALL_TRAMPOLINE. This needs to be
> resolved for ARM-Thumb compatibility. At the moment this is not
> implemented on Linux, and Thumb is not an issue on Linux (at this very
> moment at least). I have to get this support going, and I will resolve
> it then.
>
> Embedded ARM won't care about this one.
Are you sure? If the embedded Linux project takes off, this may become
an issue.
> I suspect this issue has always been around, but nobody has noticed
> because you don't get the move+condition in unoptimized code. Optimized
> code debugging will be squirrelly like it always is.
There is no point in debugging unoptimized code. The generated code for
-O0/-O2 is so different, it rarely suffers from the same problems. This
has been my experience.
> The usual approach to solving this kind of problem is to copy the
> instructions somewhere else and execute them there. It's really hairy
> to make work, usually implementors try to avoid the situation. But in
> the ARM case, you would break the instruction into a multi-instruction
> sequence consisting of simpler instructions, then put the breakpoint
> at the simpler instruction that best corresponds to the source location.
> There would be some guessing as to which instruction was meant...
This sounds like a horrible hack. I'll think about it.
Scott
--
Scott Bambrough - Software Engineer
REBEL.COM http://www.rebel.com
NetWinder http://www.netwinder.org
From Philip.Blundell@pobox.com Wed Dec 15 10:31:00 1999
From: Philip Blundell <Philip.Blundell@pobox.com>
To: Scott Bambrough <scottb@netwinder.org>
Cc: Stan Shebs <shebs@cygnus.com>, jingham@cygnus.com, gdb-patches@sourceware.cygnus.com
Subject: Re: Merge of ARM Linux port with existing ARM code...
Date: Wed, 15 Dec 1999 10:31:00 -0000
Message-id: <E11yJCG-0005dx-00@kings-cross.london.uk.eu.org>
References: <199912110049.QAA11719@andros.cygnus.com> <3857DC13.438069C4@netwinder.org>
X-SW-Source: 1999-q4/msg00389.html
Content-length: 752
>> The usual approach to solving this kind of problem is to copy the
>> instructions somewhere else and execute them there. It's really hairy
>> to make work, usually implementors try to avoid the situation. But in
>> the ARM case, you would break the instruction into a multi-instruction
>> sequence consisting of simpler instructions, then put the breakpoint
>> at the simpler instruction that best corresponds to the source location.
>> There would be some guessing as to which instruction was meant...
>
>This sounds like a horrible hack. I'll think about it.
For the benefit of those of us who didn't see your original message (I guess
it wasn't posted to the list), could you explain what the problem in question
actually is?
Thanks
p.
next prev parent reply other threads:[~1999-12-15 10:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-03 12:02 Scott Bambrough
1999-12-10 16:49 ` Stan Shebs
1999-12-15 10:25 ` Scott Bambrough [this message]
[not found] ` <E11yJCG-0005dx-00@kings-cross.london.uk.eu.org>
1999-12-15 11:54 ` Scott Bambrough
1999-12-16 14:49 ` Stan Shebs
[not found] <199912152124.NAA07105@andros.cygnus.com>
1999-12-15 15:43 ` Scott Bambrough
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=3857DC13.438069C4@netwinder.org \
--to=scottb@netwinder.org \
--cc=gdb-patches@sourceware.cygnus.com \
--cc=jingham@cygnus.com \
--cc=shebs@cygnus.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