Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* tracepoint.c: clean up several unused variables and such.
This commit is contained in:
parent
b6e88501aa
commit
74c1b0ba6b
@ -1,3 +1,6 @@
|
||||
Fri Sep 11 14:02:49 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
|
||||
|
||||
* tracepoint.c: clean up several unused variables and such.
|
||||
|
||||
Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
|
||||
|
||||
@ -6,7 +9,7 @@ Fri Sep 11 12:38:34 EDT 1998 Zdenek Radouch (radouch@cygnus.com)
|
||||
Thu Sep 10 20:51:23 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
|
||||
|
||||
* mn10300-tdep.c (mn10300_analyze_prologue): guard against NULL.
|
||||
|
||||
|
||||
Wed Sep 9 19:37:36 1998 Stan Shebs <shebs@andros.cygnus.com>
|
||||
|
||||
* dbxread.c (IGNORE_SYMBOL): Remove definition, is never used.
|
||||
|
@ -497,7 +497,7 @@ tracepoints_info (tpnum_exp, from_tty)
|
||||
t->enabled == enabled ? "y" : "n");
|
||||
if (addressprint)
|
||||
printf_filtered ("%s ",
|
||||
local_hex_string_custom ((unsigned long) t->address,
|
||||
local_hex_string_custom ((unsigned long) t->address,
|
||||
"08l"));
|
||||
printf_filtered ("%-5d %-5d ", t->pass_count, t->step_count);
|
||||
|
||||
@ -1831,7 +1831,7 @@ finish_tfind_command (msg, from_tty)
|
||||
while (reply && *reply)
|
||||
switch (*reply) {
|
||||
case 'F':
|
||||
if ((target_frameno = strtol (++reply, &reply, 16)) == -1)
|
||||
if ((target_frameno = (int) strtol (++reply, &reply, 16)) == -1)
|
||||
{
|
||||
/* A request for a non-existant trace frame has failed.
|
||||
Our response will be different, depending on FROM_TTY:
|
||||
@ -1868,7 +1868,7 @@ finish_tfind_command (msg, from_tty)
|
||||
}
|
||||
break;
|
||||
case 'T':
|
||||
if ((target_tracept = strtol (++reply, &reply, 16)) == -1)
|
||||
if ((target_tracept = (int) strtol (++reply, &reply, 16)) == -1)
|
||||
error ("Target failed to find requested trace frame.");
|
||||
break;
|
||||
case 'O': /* "OK"? */
|
||||
@ -1940,7 +1940,6 @@ trace_find_command (args, from_tty)
|
||||
{ /* STUB_COMM PART_IMPLEMENTED */
|
||||
/* this should only be called with a numeric argument */
|
||||
int frameno = -1;
|
||||
int target_frameno = -1, target_tracept = -1, target_stepfrm = 0;
|
||||
char *tmp;
|
||||
|
||||
if (target_is_remote ())
|
||||
@ -2008,7 +2007,6 @@ trace_find_pc_command (args, from_tty)
|
||||
int from_tty;
|
||||
{ /* STUB_COMM PART_IMPLEMENTED */
|
||||
CORE_ADDR pc;
|
||||
int target_frameno;
|
||||
char *tmp;
|
||||
|
||||
if (target_is_remote ())
|
||||
@ -2031,7 +2029,7 @@ trace_find_tracepoint_command (args, from_tty)
|
||||
char *args;
|
||||
int from_tty;
|
||||
{ /* STUB_COMM PART_IMPLEMENTED */
|
||||
int target_frameno, tdp;
|
||||
int tdp;
|
||||
char buf[40], *tmp;
|
||||
|
||||
if (target_is_remote ())
|
||||
@ -2067,7 +2065,6 @@ trace_find_line_command (args, from_tty)
|
||||
static CORE_ADDR start_pc, end_pc;
|
||||
struct symtabs_and_lines sals;
|
||||
struct symtab_and_line sal;
|
||||
int target_frameno;
|
||||
char *tmp;
|
||||
struct cleanup *old_chain;
|
||||
|
||||
@ -2154,7 +2151,6 @@ trace_find_range_command (args, from_tty)
|
||||
int from_tty;
|
||||
{ /* STUB_COMM PART_IMPLEMENTED */
|
||||
static CORE_ADDR start, stop;
|
||||
int target_frameno;
|
||||
char *tmp;
|
||||
|
||||
if (target_is_remote ())
|
||||
@ -2193,7 +2189,6 @@ trace_find_outside_command (args, from_tty)
|
||||
int from_tty;
|
||||
{ /* STUB_COMM PART_IMPLEMENTED */
|
||||
CORE_ADDR start, stop;
|
||||
int target_frameno;
|
||||
char *tmp;
|
||||
|
||||
if (target_is_remote ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user