This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: change for gdb/mi 494


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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]