Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Upgrading from old gdb version
@ 2007-03-04 21:34 Michael Eager
  2007-03-05  1:46 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eager @ 2007-03-04 21:34 UTC (permalink / raw)
  To: gdb

I'm trying to upgrade a proprietary target from an old
(well ancient) version of gdb (version 5.3) to the current
version.  In some areas, there have been major changes,
for example, in handling frames and analyzing a function
prologue.

Looking at the documentation, there are several places in
the chapter on Target Architecture Definition which either
are empty (e.g., Frame Interpretation) or there are notes
which say that the documentation is obsolete (Raw and
Virtual Register Representations).  The notes refer to the
bug database and AR index.  Unfortunately, I can't really
see anything in either which give me much of a clue.

Can someone suggest a starting point?

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Upgrading from old gdb version
  2007-03-04 21:34 Upgrading from old gdb version Michael Eager
@ 2007-03-05  1:46 ` Daniel Jacobowitz
  2007-03-05 18:22   ` Jim Blandy
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-03-05  1:46 UTC (permalink / raw)
  To: Michael Eager; +Cc: gdb

On Sun, Mar 04, 2007 at 01:34:34PM -0800, Michael Eager wrote:
> Can someone suggest a starting point?

Not really - last time I had to do this, I found it easiest to take a
working target from the current GDB and redo my older port based on
that model.

-- 
Daniel Jacobowitz
CodeSourcery


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Upgrading from old gdb version
  2007-03-05  1:46 ` Daniel Jacobowitz
@ 2007-03-05 18:22   ` Jim Blandy
  2007-03-05 19:26     ` Michael Eager
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Blandy @ 2007-03-05 18:22 UTC (permalink / raw)
  To: Michael Eager; +Cc: gdb


Daniel Jacobowitz <drow@false.org> writes:
> On Sun, Mar 04, 2007 at 01:34:34PM -0800, Michael Eager wrote:
>> Can someone suggest a starting point?
>
> Not really - last time I had to do this, I found it easiest to take a
> working target from the current GDB and redo my older port based on
> that model.

I concur with that.  The New Way to do ports is much simpler and
cleaner; if you're coming from the 5.3 era, it's better to just start
from scratch.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Upgrading from old gdb version
  2007-03-05 18:22   ` Jim Blandy
@ 2007-03-05 19:26     ` Michael Eager
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Eager @ 2007-03-05 19:26 UTC (permalink / raw)
  To: Jim Blandy; +Cc: gdb

Jim Blandy wrote:
> Daniel Jacobowitz <drow@false.org> writes:
>> On Sun, Mar 04, 2007 at 01:34:34PM -0800, Michael Eager wrote:
>>> Can someone suggest a starting point?
>> Not really - last time I had to do this, I found it easiest to take a
>> working target from the current GDB and redo my older port based on
>> that model.
> 
> I concur with that.  The New Way to do ports is much simpler and
> cleaner; if you're coming from the 5.3 era, it's better to just start
> from scratch.

Thanks Daniel & Jim.  I'm going to look at the Sparc port
as a base for re-implementing the target.

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-05 19:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-04 21:34 Upgrading from old gdb version Michael Eager
2007-03-05  1:46 ` Daniel Jacobowitz
2007-03-05 18:22   ` Jim Blandy
2007-03-05 19:26     ` Michael Eager

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox