* Makefile.in (sh_tdep_h): Define and use.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 98ce9c7b83e8db26e0613ba357de0c64372496da..bfdf13cf57792d05885bbc5a813dbe95db10a1e7 100644 (file)
@@ -1,3 +1,48 @@
+2002-05-17  Jason Thorpe  <thorpej@wasabisystems.com>
+
+       * Makefile.in (sh_tdep_h): Define and use.
+       * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep,
+       register enum): Move to...
+       * * sh-tdep.h: ...here.
+       * sh-tdep.c: Include sh-tdep.h.
+       * sh3-rom.c: Likewise.
+       * shnbsd-tdep.c: Likewise.
+
+2002-05-16  Michael Snyder  <msnyder@redhat.com>
+
+       * arm-tdep.c: Spelling fix in comment.
+
+2002-05-16  Jim Blandy  <jimb@redhat.com>
+
+       Add commands for manually expanding macros and showing their
+       definitions.
+       * macrocmd.c, macroscope.c, macroscope.h: New files.
+       * Makefile.in (SFILES): Add macrocmd.c, macroscope.c.
+       (macroscope_h): New variable.
+       (HFILES_NO_SRCDIR): Add macroscope.h.
+       (COMMON_OBS): Add macrocmd.o, macroscope.o.
+       (macroscope.o, macrocmd.o): New rules.
+
+       Teach the Dwarf 2 reader to read macro information.
+       * dwarf2read.c: #include "macrotab.h".
+       (dwarf_macinfo_buffer): New variable.
+       (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and
+       dwarf_macinfo_size.
+       (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros.
+       (dwarf2_missing_macinfo_section, dwarf2_macros_too_long,
+       dwarf2_macros_not_terminated, dwarf2_macro_outside_file,
+       dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition,
+       dwarf2_macro_spaces_in_definition): New complaints.
+       (dwarf2_has_info): Initialize dwarf_macinfo_offset.
+       (dwarf2_build_psymtabs): Read the .dwarf_macinfo section.
+       (dwarf2_build_psymtabs_hard): Record the buffer and its size in
+       the partial symbol table.
+       (psymtab_to_symtab_1): Set the macinfo buffer and size globals
+       from what's recorded in the partial symbol table.
+       (read_file_scope): If the compilation unit has a
+       `DW_AT_macro_info' attribute, read its macro information.
+       * Makefile.in (dwarf2read.o): Depend on macrotab.h.
+
 2002-05-16  Daniel Jacobowitz  <drow@mvista.com>
 
        Fix PR gdb/546
This page took 0.024383 seconds and 4 git commands to generate.