mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-09 09:33:44 +08:00
Restore exec_bfd, needed for v850 debug code
This commit is contained in:
parent
99c71408b2
commit
e3eba3fd0a
@ -1,3 +1,8 @@
|
||||
Wed Apr 23 17:54:27 1997 Mike Meissner <meissner@cygnus.com>
|
||||
|
||||
* run.c (exec_bfd): Add back in.
|
||||
(main): Set exec_bfd.
|
||||
|
||||
Tue Apr 22 14:43:46 1997 Doug Evans <dje@canuck.cygnus.com>
|
||||
|
||||
* sim-load.c (sim_load_file): #include <stdio.h> for NULL.
|
||||
|
@ -56,6 +56,9 @@ extern host_callback default_callback;
|
||||
|
||||
static char *myname;
|
||||
|
||||
/* bfd descriptor of the executable. Same name as gdb uses. */
|
||||
bfd *exec_bfd;
|
||||
|
||||
|
||||
/* NOTE: sim_size() and sim_trace() are going away */
|
||||
extern void sim_size PARAMS ((int i));
|
||||
@ -179,7 +182,7 @@ main (ac, av)
|
||||
sim_set_callbacks (NULL, &default_callback);
|
||||
default_callback.init (&default_callback);
|
||||
|
||||
abfd = bfd_openr (name, 0);
|
||||
exec_bfd = abfd = bfd_openr (name, 0);
|
||||
if (!abfd)
|
||||
{
|
||||
fprintf (stderr, "%s: can't open %s: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user