RFA: change for gdb/mi 494

Andrew Cagney ac131313@redhat.com
Mon Oct 21 16:25:00 GMT 2002


> The following is a patch as recommended in the PR gdb/mi 494 to change the
> usage of parse_and_eval_address() to string_to_core_addr().
> 
> Ok to commit?
> 
> -- Jeff J.
> 
> mi/ChangeLog:
> 
> 2002-10-21  Jeff Johnston  <jjohnstn@redhat.com>
> 
> 	* mi-cmd-var.c (mi_cmd_var_create): Change the function used to parse the
> 	frame addr from parse_and_eval_address() to string_to_core_addr().
> 
> 
> 
> --- mi/mi-cmd-var.1.c	Mon Oct 21 16:31:47 2002
> +++ mi/mi-cmd-var.c	Mon Oct 21 16:32:49 2002
> @@ -81,7 +81,7 @@
>    else
>      {
>        var_type = USE_SPECIFIED_FRAME;
> -      frameaddr = parse_and_eval_address (frame);
> +      frameaddr = string_to_core_addr (frame);
>      }
>  
>    if (varobjdebug)

Yes, definitly!

Andrew




More information about the Gdb-patches mailing list