This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/c] Signed read_register()
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [rfa/c] Signed read_register()
- From: Michael Snyder <msnyder at cygnus dot com>
- Date: Mon, 10 Jul 2000 20:29:36 -0700
- CC: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <396A9331.EBB745B6@cygnus.com> <396A93F3.92C8B653@cygnus.com>
Andrew Cagney wrote:
> *** regcache.c 2000/07/10 06:16:51 1.2
> --- regcache.c 2000/07/11 03:17:11
> *************** write_register_bytes (int myregstart, ch
> *** 500,506 ****
> integer. This probably should be returning LONGEST rather than
> CORE_ADDR. */
>
> ! CORE_ADDR
> read_register (int regno)
> {
> if (registers_pid != inferior_pid)
> --- 500,506 ----
> integer. This probably should be returning LONGEST rather than
> CORE_ADDR. */
>
> ! ULONGEST
> read_register (int regno)
> {
> if (registers_pid != inferior_pid)
Yay! You anticipated me.
Great, check it in.