This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] parse_frame_specification (stack.c)
- To: David Taylor <taylor at cygnus dot com>
- Subject: Re: [RFA] parse_frame_specification (stack.c)
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 05 Mar 2001 15:39:38 -0500
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200103051707.MAA01373@texas.cygnus.com>
David Taylor wrote:
> ChangeLog entry:
>
> * stack.c (parse_frame_specification): For one argument case,
> handle the situation where the argument is an integer, not an
> address -- arguably the most common case. This matters on
> targets where pointers and addresses are different.
Yes, fine, approved. (Perhaphs just add a comment that the code is
careful to not evaluate the expression twice - avoiding sideeffects).
Andrew