This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: RFA: distinguish between pointers and addresses
- To: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Subject: Re: RFA: distinguish between pointers and addresses
- From: David Taylor <taylor at cygnus dot com>
- Date: Fri, 14 Apr 2000 12:33:24 -0400
- cc: gdb-patches at sourceware dot cygnus dot com, Jeff Law <law at cygnus dot com>
From: Jim Blandy <jimb@zwingli.cygnus.com>
Date: Mon, 10 Apr 2000 15:22:35 -0500 (EST)
The following patch needs approval from:
- David Taylor (the bulk of it)
Approved.
- Andrew Cagney (new gdbarch entries)
- Michael Snyder (tracepoint.c changes)
- Jeff Law (hppa-tdep.c changes)
- Eli Zaretskii (doc changes)
[...]
This patch allows GDB to cope with machines where pointers are not
simply byte addresses. For example, some machines with small word
sizes use word addresses for code pointers, to steal a few more
address bits. The D10V is such a processor; I think this patch makes
it possible to replace all those ugly GDB_TARGET_IS_D10V conditionals
in GDB's architecture-independent code with functions nicely isolated
in d10v-tdep.c.
Such a clean up would be a good thing.