This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] trace_find_tracepoint_command bug fix
- To: David Taylor <taylor at cygnus dot com>
- Subject: Re: [RFA] trace_find_tracepoint_command bug fix
- From: Michael Snyder <msnyder at redhat dot com>
- Date: Wed, 15 Nov 2000 12:18:36 -0800
- CC: gdb-patches at sourceware dot cygnus dot com, msnyder at cygnus dot com
- Organization: Red Hat, Inc.
- References: <200011152013.PAA27020@texas.cygnus.com>
David Taylor wrote:
>
> In trace_find_tracepoint_command (tracepoint.c), we find the line:
>
> tdp = parse_and_eval_address (args);
>
> Since the tdp is just an integer, I'd like to change that to instead
> read:
>
> tdp = parse_and_eval_long (args);
>
> The ChangeLog entry would be:
>
> * tracepoint.c (trace_find_tracepoint_command): Replace call to
> parse_and_eval_address with a call to parse_and_eval_long as
> we are evaluating an integer, not an address.
Yup, please go ahead. Actually, I thought you'd
already done this. Is this one that got away the first time?