Re: path for gdb/dwarf2read.c, support 16-bit targets in dwarf-2

Andrew Cagney
2000-04-01T00:00:00Z

> > o it gives the user a better experience:
> > (gdb) x/i 0x800000200
> > 0x800000200 <start>: ldi $1, 0
> > (gdb) print &start
> > $1 = 0x800000200
> > vs
> > x/i 0xffffffff800000200
> > 0xffffffff800000200 <start>: ldi $1, 0
> > (gdb) print &start
> > $2 = 0xffffffff800000200
> > at the cost of carrying around wrong
> > information and complicating the target.
>
> But which is the correct address --- 0x0000000080000200, or
> 0xffffffff80000200?

That is target dependant but well defined.

The MIPS ISA/ABI is carefully defined so MIPS2 on MIPS3 et.al. ensures
that the upper 32 bits is signextended from the low 32 bits.

Andrew
From john@feith.com Sat Apr 01 00:00:00 2000
From: John Wehle <john@feith.com>
To: jimb@cygnus.com
Cc: gdb-patches@sourceware.cygnus.com
Subject: Re: GDB 4.17 Patch for stack aligned i386 code
Date: Sat, 01 Apr 2000 00:00:00 -0000
Message-id: <200003062256.RAA10752@jwlab.FEITH.COM>
X-SW-Source: 2000-q1/msg00548.html
Content-length: 837

Jim Blandy wrote on May 04, 1999:
>> Just curious what the status is of my patch for debugging
>> frame pointerless i386 code. Last we "spoke" (on March 9)
>> Jim B was going to look at it. Is it still in the queue?
>> Are there any issues with it that I need to address?
>
> Yes, I'm still on the spot for this. It's definitely on my queue, and
> towards the top.
>
> I won't reject it without letting you know why. :)

Figured since it's been a few months it was safe to ping you
again regarding the status of this patch. :-)

-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------