* monitor.c (monitor_fetch_register): Make name a constant.
(monitor_store_register): Same.
This commit is contained in:
parent
261397f84f
commit
444199e7c0
@ -1,3 +1,8 @@
|
||||
2002-07-11 Grace Sainsbury <graces@redhat.com>
|
||||
|
||||
* monitor.c (monitor_fetch_register): Make name a constant.
|
||||
(monitor_store_register): Same.
|
||||
|
||||
2002-07-11 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
Based on patch from Daniel Berlin <dberlin@dberlin.org>.
|
||||
|
@ -1174,7 +1174,7 @@ monitor_wait (ptid_t ptid, struct target_waitstatus *status)
|
||||
static void
|
||||
monitor_fetch_register (int regno)
|
||||
{
|
||||
char *name;
|
||||
const char *name;
|
||||
char *zerobuf;
|
||||
char *regbuf;
|
||||
int i;
|
||||
@ -1336,7 +1336,7 @@ monitor_fetch_registers (int regno)
|
||||
static void
|
||||
monitor_store_register (int regno)
|
||||
{
|
||||
char *name;
|
||||
const char *name;
|
||||
ULONGEST val;
|
||||
|
||||
if (current_monitor->regname != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user