This is the mail archive of the gdb-patches@sourceware.org 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: [SH][PATCH] Disable ABI frame sniffer


Hi Daniel,

Daniel Jacobowitz wrote:
There are assembly routines in newlib too, you know.  I didn't say
anything about glibc.  You may encounter linker generated branch
trampolines in some cases, too.

I know you didn't say anything about glibc. I was just citing that as an example of a complex library.


Newlib does have assembly routines, but very few, on SH anyway. The only ones I know of off hand are memset and friends. There's the crt stuff, of course, but you have to go 'pastmain' to find that.

In case you missed my sarcasm here, I was responding to "dependent on
the values in registers and memory".  Of course it is!

I didn't miss it as such, but seriously, most of what GDB does doesn't involve following (possibly phantom) trails of pointers through target memory. This about the least certain data that GDB presents, simply because the uncertainties mount up.


See Mark's reply for more on this.  Had you said what your problem
really was, we could have saved a couple of back-and-forth exchanges;
I'm extremely familiar with the problem of finding clean ways to
terminate the backtrace.

OK, I'm listening. If we can get it so that both the 0xdeadbeef frames (one which comes from the dwarf unwinder - see my posting yesterday) are ignored then that would be a bonus.


BTW, were you (and others) waiting for them to do something about the SH specific patches I have been sending? I ask because I have had no response on a few.


I review patches as fast as I am able.  I am more likely to review
patches to code I know something about, which does not include the SH
backend.


I can understand that. I'm sure you have your own real work to be getting on with too. However, I have a selection of SH specific patches, submitted and queued, so this situation worries me a little. About half of sh-tdep.c is a total mystery to me - mostly the bits that have never caused me any trouble. My patches to that area are all quite simple, so it probably won't be too bad.


Thanks for all your time

Andrew Stubbs


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