projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace calls to abort() with calls to internal_error().
[deliverable/binutils-gdb.git]
/
gdb
/
remote-es.c
diff --git
a/gdb/remote-es.c
b/gdb/remote-es.c
index 3053fe93c631fee2d0dcf29455f3a4e38de2fc8b..764af505ee1b91b5a1c69c19fd46dbeef5d14282 100644
(file)
--- a/
gdb/remote-es.c
+++ b/
gdb/remote-es.c
@@
-1,5
+1,5
@@
/* Memory-access and commands for remote es1800 processes, for GDB.
/* Memory-access and commands for remote es1800 processes, for GDB.
- Copyright (C) 1988, 1992 Free Software Foundation, Inc.
+ Copyright (C) 1988, 1992
, 2001
Free Software Foundation, Inc.
This file is added to GDB to make it possible to do debugging via an
ES-1800 emulator. The code was originally written by Johan Holmberg
This file is added to GDB to make it possible to do debugging via an
ES-1800 emulator. The code was originally written by Johan Holmberg
@@
-104,8
+104,8
@@
#include "frame.h"
#include "inferior.h"
#include "target.h"
#include "frame.h"
#include "inferior.h"
#include "target.h"
-#include "gdb_wait.h"
#include "command.h"
#include "command.h"
+#include "symfile.h"
#include "remote-utils.h"
#include "gdbcore.h"
#include "serial.h"
#include "remote-utils.h"
#include "gdbcore.h"
#include "serial.h"
@@
-134,7
+134,7
@@
static void es1800_files_info (struct target_ops *);
static int
es1800_xfer_inferior_memory (CORE_ADDR, char *, int, int,
static int
es1800_xfer_inferior_memory (CORE_ADDR, char *, int, int,
- struct target_ops *);
+ struct
mem_attrib *, struct
target_ops *);
static void es1800_prepare_to_store (void);
static void es1800_prepare_to_store (void);
@@
-433,7
+433,7
@@
es1800_close (int quitting)
}
if (savename != NULL)
{
}
if (savename != NULL)
{
- free (savename);
+
x
free (savename);
}
savename = NULL;
}
savename = NULL;
@@
-959,7
+959,9
@@
tohex (int nib)
static int
es1800_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
static int
es1800_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
- int write, struct target_ops *tops)
+ int write,
+ struct mem_attrib *attrib ATTRIBUTE_UNUSED,
+ struct target_ops *target ATTRIBUTE_UNUSED)
{
int origlen = len;
int xfersize;
{
int origlen = len;
int xfersize;
@@
-1029,7
+1031,7
@@
es1800_read_bytes (CORE_ADDR memaddr, char *myaddr, int len)
if (len > PBUFSIZ / 2 - 1)
{
if (len > PBUFSIZ / 2 - 1)
{
-
abort (
);
+
internal_error (__FILE__, __LINE__, "failed internal consistency check"
);
}
if (len == 1) /* The emulator does not like expressions like: */
}
if (len == 1) /* The emulator does not like expressions like: */
@@
-1151,14
+1153,14
@@
verify_break (int vec)
{
memory_error (status, memaddress);
}
{
memory_error (status, memaddress);
}
- return (
STRCMP
(instr, buf));
+ return (
strcmp
(instr, buf));
}
return (-1);
}
/* get_break_addr ()
}
return (-1);
}
/* get_break_addr ()
- find address of breakpint routine
+ find address of breakp
o
int routine
vec - trap vector used for breakpoints
addrp - store the address here */
vec - trap vector used for breakpoints
addrp - store the address here */
@@
-1235,7
+1237,7
@@
es1800_load (char *filename, int from_tty)
}
filename = tilde_expand (filename);
}
filename = tilde_expand (filename);
- make_cleanup (free, filename);
+ make_cleanup (
x
free, filename);
switch (es1800_load_format)
{
switch (es1800_load_format)
{
@@
-1316,7
+1318,7
@@
es1800_load (char *filename, int from_tty)
system (buf);
}
system (buf);
}
- symbol_file_
command (filename, from_tty);
/* reading symbol table */
+ symbol_file_
add_main (filename, from_tty);
/* reading symbol table */
immediate_quit--;
}
immediate_quit--;
}
This page took
0.024148 seconds
and
4
git commands to generate.