diff options
author | Pedro Alves <palves@redhat.com> | 2009-05-22 00:52:05 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-05-22 00:52:05 +0000 |
commit | 415756309f1044b3c3345e7cbf6c680a263ff44a (patch) | |
tree | c71e728df2e58e9e1b651790cbebc18ec110c5c5 | |
parent | b77ed0a435af42678dc6d0a9e23aadf23be82e87 (diff) | |
download | gdb-415756309f1044b3c3345e7cbf6c680a263ff44a.zip gdb-415756309f1044b3c3345e7cbf6c680a263ff44a.tar.gz gdb-415756309f1044b3c3345e7cbf6c680a263ff44a.tar.bz2 |
* remote.c (compare_sections_command): Don't declare exec_bfd.
* tracepoint.c: Include "gdbcore.h".
(remote_set_transparent_ranges): Don't declare exec_bfd.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote.c | 1 | ||||
-rw-r--r-- | gdb/tracepoint.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 561e771..6aff604 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-05-22 Pedro Alves <pedro@codesourcery.com> + + * remote.c (compare_sections_command): Don't declare exec_bfd. + * tracepoint.c: Include "gdbcore.h". + (remote_set_transparent_ranges): Don't declare exec_bfd. + 2009-05-21 Pedro Alves <pedro@codesourcery.com> * aix-thread.c (init_aix_thread_ops): Whitespace. diff --git a/gdb/remote.c b/gdb/remote.c index 8a1a0d4..70a0248 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -7152,7 +7152,6 @@ compare_sections_command (char *args, int from_tty) struct remote_state *rs = get_remote_state (); asection *s; unsigned long host_crc, target_crc; - extern bfd *exec_bfd; struct cleanup *old_chain; char *tmp; char *sectdata; diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index dece799..317d123 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -40,6 +40,7 @@ #include "observer.h" #include "user-regs.h" #include "valprint.h" +#include "gdbcore.h" #include "ax.h" #include "ax-gdb.h" @@ -1247,7 +1248,6 @@ static long target_buf_size; static void remote_set_transparent_ranges (void) { - extern bfd *exec_bfd; asection *s; bfd_size_type size; bfd_vma lma; |