From 94b5321ed92cee3ac6a701f587735d18d821dee3 Mon Sep 17 00:00:00 2001
From: Daniel Jacobowitz <drow@false.org>
Date: Mon, 18 Jun 2007 15:46:33 +0000
Subject: 	* coffread.c (coff_sym_fns): Add default_symfile_segments. 
 * dbxread.c (start_psymtab): Check HAVE_ELF. 	(aout_sym_fns): Likewise. 
 * elfread.c (elf_symfile_segments): New. 	(elf_sym_fns): Add
 elf_symfile_segments. 	* mipsread.c (ecoff_sym_fns): Add
 default_symfile_segments. 	* remote.c (get_offsets): Use
 symfile_map_offsets_to_segments. 	Skip if there is no symfile_objfile. 
 Handle TextSeg and DataSeg. 	* somread.c (som_sym_fns): Use
 default_symfile_segments. 	* symfile.c (find_sym_fns): Take a BFD and
 return the sym_fns. 	(init_objfile_sect_indices): Call
 symfile_find_segment_sections. 	(default_symfile_segments): New
 function. 	(syms_from_objfile): Update call to find_sym_fns. 
 (symfile_get_segment_data, free_symfile_segment_data): New. 
 (symfile_map_offsets_to_segments): New. 
 (symfile_find_segment_sections): New. 	* symfile.h (struct
 symfile_segment_data): New. 	(struct sym_fns): Add sym_segments. 
 (default_symfile_segments, symfile_get_segment_data) 
 (free_symfile_segment_data): New prototypes. 
 (symfile_map_offsets_to_segments): Likewise. 	* xcoffread.c (xcoff_sym_fns):
 Add default_symfile_segments. 	* Makefile.in (COMMON_OBS): Remove elfread.o. 
 (elf_internal_h): New. 	(elfread.o): Update. 	* configure.ac: Add
 elfread.o to COMMON_OBS if bfd/elf.o was 	compiled. 	* config.in,
 configure: Regenerated. 	* NEWS: Mention qOffsets changes.

	* gdb.texinfo (General Query Packets): Document qOffsets changes.

	* Makefile.def: Add dependency from configure-gdb to all-bfd.
	* Makefile.in: Regenerated.
---
 Makefile.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Makefile.def')

diff --git a/Makefile.def b/Makefile.def
index 6436272..3d2c6ee 100644
--- a/Makefile.def
+++ b/Makefile.def
@@ -314,10 +314,10 @@ dependencies = { module=configure-mpfr; on=all-gmp; };
 // Host modules specific to gdb.
 dependencies = { module=configure-gdb; on=configure-intl; };
 dependencies = { module=configure-gdb; on=configure-sim; };
+dependencies = { module=configure-gdb; on=all-bfd; };
 dependencies = { module=all-gdb; on=all-intl; };
 dependencies = { module=all-gdb; on=all-libiberty; };
 dependencies = { module=all-gdb; on=all-opcodes; };
-dependencies = { module=all-gdb; on=all-bfd; };
 dependencies = { module=all-gdb; on=all-readline; };
 dependencies = { module=all-gdb; on=all-build-bison; };
 dependencies = { module=all-gdb; on=all-build-byacc; };
-- 
cgit v1.1

