projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[deliverable/binutils-gdb.git]
/
gdb
/
sparclet-rom.c
diff --git
a/gdb/sparclet-rom.c
b/gdb/sparclet-rom.c
index 937e57c4e168fe5c41d37edceab5672734749948..fa2ca1ef53a41e076c7ceb8467ccb37e1d2208ca 100644
(file)
--- a/
gdb/sparclet-rom.c
+++ b/
gdb/sparclet-rom.c
@@
-1,6
+1,7
@@
/* Remote target glue for the SPARC Sparclet ROM monitor.
/* Remote target glue for the SPARC Sparclet ROM monitor.
- Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free
+ Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-105,7
+106,7
@@
sparclet_supply_register (char *regname, int regnamelen, char *val, int vallen)
}
static void
}
static void
-sparclet_load (s
erial_t
desc, char *file, int hashmark)
+sparclet_load (s
truct serial *
desc, char *file, int hashmark)
{
bfd *abfd;
asection *s;
{
bfd *abfd;
asection *s;
@@
-173,7
+174,7
@@
sparclet_load (serial_t desc, char *file, int hashmark)
bfd_get_section_contents (abfd, s, buf, i, numbytes);
bfd_get_section_contents (abfd, s, buf, i, numbytes);
-
SERIAL_WRITE
(desc, buf, numbytes);
+
serial_write
(desc, buf, numbytes);
if (hashmark)
{
if (hashmark)
{
@@
-204,7
+205,7
@@
sparclet_load (serial_t desc, char *file, int hashmark)
pop_target ();
push_remote_target (monitor_get_dev_name (), 1);
pop_target ();
push_remote_target (monitor_get_dev_name (), 1);
-
return_to_top_level
(RETURN_QUIT);
+
throw_exception
(RETURN_QUIT);
}
/* Define the monitor command strings. Since these are passed directly
}
/* Define the monitor command strings. Since these are passed directly
This page took
0.024652 seconds
and
4
git commands to generate.