diff options
author | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:54 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-02-08 13:40:59 -0700 |
commit | 82ca895718becbd1be898a86e4a6d1217fa496c6 (patch) | |
tree | 9678baae2a5c7c9772cb39b917bc87114d3261fc /gdb | |
parent | 9e35d4996169bc7fa833e8449585d517b8ccc5f8 (diff) | |
download | binutils-82ca895718becbd1be898a86e4a6d1217fa496c6.zip binutils-82ca895718becbd1be898a86e4a6d1217fa496c6.tar.gz binutils-82ca895718becbd1be898a86e4a6d1217fa496c6.tar.bz2 |
Move DWARF code to dwarf2/ subdirectory
This moves all the remaining DWARF code to the new dwarf2
subdirectory. This is just a simple renaming, with updates to
includes as needed.
gdb/ChangeLog
2020-02-08 Tom Tromey <tom@tromey.com>
* dwarf2/expr.c: Rename from dwarf2expr.c.
* dwarf2/expr.h: Rename from dwarf2expr.h.
* dwarf2/frame-tailcall.c: Rename from dwarf2-frame-tailcall.c.
* dwarf2/frame-tailcall.h: Rename from dwarf2-frame-tailcall.h.
* dwarf2/frame.c: Rename from dwarf2-frame.c.
* dwarf2/frame.h: Rename from dwarf2-frame.h.
* dwarf2/index-cache.c: Rename from dwarf-index-cache.c.
* dwarf2/index-cache.h: Rename from dwarf-index-cache.h.
* dwarf2/index-common.c: Rename from dwarf-index-common.c.
* dwarf2/index-common.h: Rename from dwarf-index-common.h.
* dwarf2/index-write.c: Rename from dwarf-index-write.c.
* dwarf2/index-write.h: Rename from dwarf-index-write.h.
* dwarf2/loc.c: Rename from dwarf2loc.c.
* dwarf2/loc.h: Rename from dwarf2loc.h.
* dwarf2/read.c: Rename from dwarf2read.c.
* dwarf2/read.h: Rename from dwarf2read.h.
* dwarf2/abbrev.c, aarch64-tdep.c, alpha-tdep.c,
amd64-darwin-tdep.c, arc-tdep.c, arm-tdep.c, bfin-tdep.c,
compile/compile-c-symbols.c, compile/compile-cplus-symbols.c,
compile/compile-loc2c.c, cris-tdep.c, csky-tdep.c, findvar.c,
gdbtypes.c, guile/scm-type.c, h8300-tdep.c, hppa-bsd-tdep.c,
hppa-linux-tdep.c, i386-darwin-tdep.c, i386-linux-tdep.c,
i386-tdep.c, iq2000-tdep.c, m32c-tdep.c, m68hc11-tdep.c,
m68k-tdep.c, microblaze-tdep.c, mips-tdep.c, mn10300-tdep.c,
msp430-tdep.c, nds32-tdep.c, nios2-tdep.c, or1k-tdep.c,
riscv-tdep.c, rl78-tdep.c, rs6000-tdep.c, rx-tdep.c, s12z-tdep.c,
s390-tdep.c, score-tdep.c, sh-tdep.c, sparc-linux-tdep.c,
sparc-tdep.c, sparc64-linux-tdep.c, sparc64-tdep.c, tic6x-tdep.c,
tilegx-tdep.c, v850-tdep.c, xstormy16-tdep.c, xtensa-tdep.c:
Update.
* Makefile.in (COMMON_SFILES): Update.
(HFILES_NO_SRCDIR): Update.
Change-Id: Ied9ce1436cd27ac4a4cffef10ec92e396f181928
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 35 | ||||
-rw-r--r-- | gdb/Makefile.in | 30 | ||||
-rw-r--r-- | gdb/aarch64-tdep.c | 2 | ||||
-rw-r--r-- | gdb/alpha-tdep.c | 2 | ||||
-rw-r--r-- | gdb/amd64-darwin-tdep.c | 2 | ||||
-rw-r--r-- | gdb/arc-tdep.c | 2 | ||||
-rw-r--r-- | gdb/arm-tdep.c | 2 | ||||
-rw-r--r-- | gdb/bfin-tdep.c | 2 | ||||
-rw-r--r-- | gdb/compile/compile-c-symbols.c | 2 | ||||
-rw-r--r-- | gdb/compile/compile-cplus-symbols.c | 2 | ||||
-rw-r--r-- | gdb/compile/compile-loc2c.c | 6 | ||||
-rw-r--r-- | gdb/cris-tdep.c | 2 | ||||
-rw-r--r-- | gdb/csky-tdep.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/abbrev.c | 2 | ||||
-rw-r--r-- | gdb/dwarf2/expr.c (renamed from gdb/dwarf2expr.c) | 4 | ||||
-rw-r--r-- | gdb/dwarf2/expr.h (renamed from gdb/dwarf2expr.h) | 0 | ||||
-rw-r--r-- | gdb/dwarf2/frame-tailcall.c (renamed from gdb/dwarf2-frame-tailcall.c) | 6 | ||||
-rw-r--r-- | gdb/dwarf2/frame-tailcall.h (renamed from gdb/dwarf2-frame-tailcall.h) | 0 | ||||
-rw-r--r-- | gdb/dwarf2/frame.c (renamed from gdb/dwarf2-frame.c) | 10 | ||||
-rw-r--r-- | gdb/dwarf2/frame.h (renamed from gdb/dwarf2-frame.h) | 0 | ||||
-rw-r--r-- | gdb/dwarf2/index-cache.c (renamed from gdb/dwarf-index-cache.c) | 6 | ||||
-rw-r--r-- | gdb/dwarf2/index-cache.h (renamed from gdb/dwarf-index-cache.h) | 2 | ||||
-rw-r--r-- | gdb/dwarf2/index-common.c (renamed from gdb/dwarf-index-common.c) | 2 | ||||
-rw-r--r-- | gdb/dwarf2/index-common.h (renamed from gdb/dwarf-index-common.h) | 0 | ||||
-rw-r--r-- | gdb/dwarf2/index-write.c (renamed from gdb/dwarf-index-write.c) | 6 | ||||
-rw-r--r-- | gdb/dwarf2/index-write.h (renamed from gdb/dwarf-index-write.h) | 2 | ||||
-rw-r--r-- | gdb/dwarf2/loc.c (renamed from gdb/dwarf2loc.c) | 8 | ||||
-rw-r--r-- | gdb/dwarf2/loc.h (renamed from gdb/dwarf2loc.h) | 2 | ||||
-rw-r--r-- | gdb/dwarf2/read.c (renamed from gdb/dwarf2read.c) | 10 | ||||
-rw-r--r-- | gdb/dwarf2/read.h (renamed from gdb/dwarf2read.h) | 2 | ||||
-rw-r--r-- | gdb/findvar.c | 2 | ||||
-rw-r--r-- | gdb/gdbtypes.c | 2 | ||||
-rw-r--r-- | gdb/guile/scm-type.c | 2 | ||||
-rw-r--r-- | gdb/h8300-tdep.c | 2 | ||||
-rw-r--r-- | gdb/hppa-bsd-tdep.c | 2 | ||||
-rw-r--r-- | gdb/hppa-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-darwin-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/i386-tdep.c | 2 | ||||
-rw-r--r-- | gdb/iq2000-tdep.c | 2 | ||||
-rw-r--r-- | gdb/m32c-tdep.c | 4 | ||||
-rw-r--r-- | gdb/m68hc11-tdep.c | 2 | ||||
-rw-r--r-- | gdb/m68k-tdep.c | 2 | ||||
-rw-r--r-- | gdb/microblaze-tdep.c | 2 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 2 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 2 | ||||
-rw-r--r-- | gdb/msp430-tdep.c | 2 | ||||
-rw-r--r-- | gdb/nds32-tdep.c | 2 | ||||
-rw-r--r-- | gdb/nios2-tdep.c | 2 | ||||
-rw-r--r-- | gdb/or1k-tdep.c | 2 | ||||
-rw-r--r-- | gdb/riscv-tdep.c | 2 | ||||
-rw-r--r-- | gdb/rl78-tdep.c | 2 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 2 | ||||
-rw-r--r-- | gdb/rx-tdep.c | 2 | ||||
-rw-r--r-- | gdb/s12z-tdep.c | 2 | ||||
-rw-r--r-- | gdb/s390-tdep.c | 2 | ||||
-rw-r--r-- | gdb/score-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sparc-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sparc-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sparc64-linux-tdep.c | 2 | ||||
-rw-r--r-- | gdb/sparc64-tdep.c | 2 | ||||
-rw-r--r-- | gdb/tic6x-tdep.c | 2 | ||||
-rw-r--r-- | gdb/tilegx-tdep.c | 2 | ||||
-rw-r--r-- | gdb/v850-tdep.c | 2 | ||||
-rw-r--r-- | gdb/xstormy16-tdep.c | 2 | ||||
-rw-r--r-- | gdb/xtensa-tdep.c | 4 |
67 files changed, 133 insertions, 98 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 15a85a6..50fe34b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,40 @@ 2020-02-08 Tom Tromey <tom@tromey.com> + * dwarf2/expr.c: Rename from dwarf2expr.c. + * dwarf2/expr.h: Rename from dwarf2expr.h. + * dwarf2/frame-tailcall.c: Rename from dwarf2-frame-tailcall.c. + * dwarf2/frame-tailcall.h: Rename from dwarf2-frame-tailcall.h. + * dwarf2/frame.c: Rename from dwarf2-frame.c. + * dwarf2/frame.h: Rename from dwarf2-frame.h. + * dwarf2/index-cache.c: Rename from dwarf-index-cache.c. + * dwarf2/index-cache.h: Rename from dwarf-index-cache.h. + * dwarf2/index-common.c: Rename from dwarf-index-common.c. + * dwarf2/index-common.h: Rename from dwarf-index-common.h. + * dwarf2/index-write.c: Rename from dwarf-index-write.c. + * dwarf2/index-write.h: Rename from dwarf-index-write.h. + * dwarf2/loc.c: Rename from dwarf2loc.c. + * dwarf2/loc.h: Rename from dwarf2loc.h. + * dwarf2/read.c: Rename from dwarf2read.c. + * dwarf2/read.h: Rename from dwarf2read.h. + * dwarf2/abbrev.c, aarch64-tdep.c, alpha-tdep.c, + amd64-darwin-tdep.c, arc-tdep.c, arm-tdep.c, bfin-tdep.c, + compile/compile-c-symbols.c, compile/compile-cplus-symbols.c, + compile/compile-loc2c.c, cris-tdep.c, csky-tdep.c, findvar.c, + gdbtypes.c, guile/scm-type.c, h8300-tdep.c, hppa-bsd-tdep.c, + hppa-linux-tdep.c, i386-darwin-tdep.c, i386-linux-tdep.c, + i386-tdep.c, iq2000-tdep.c, m32c-tdep.c, m68hc11-tdep.c, + m68k-tdep.c, microblaze-tdep.c, mips-tdep.c, mn10300-tdep.c, + msp430-tdep.c, nds32-tdep.c, nios2-tdep.c, or1k-tdep.c, + riscv-tdep.c, rl78-tdep.c, rs6000-tdep.c, rx-tdep.c, s12z-tdep.c, + s390-tdep.c, score-tdep.c, sh-tdep.c, sparc-linux-tdep.c, + sparc-tdep.c, sparc64-linux-tdep.c, sparc64-tdep.c, tic6x-tdep.c, + tilegx-tdep.c, v850-tdep.c, xstormy16-tdep.c, xtensa-tdep.c: + Update. + * Makefile.in (COMMON_SFILES): Update. + (HFILES_NO_SRCDIR): Update. + +2020-02-08 Tom Tromey <tom@tromey.com> + * dwarf2read.c (struct die_reader_specs) <comp_dir>: Remove. (init_cu_die_reader, read_cutu_die_from_dwo): Update. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b726ae8..7d44a6b 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -994,17 +994,17 @@ COMMON_SFILES = \ disasm.c \ disasm-selftests.c \ dummy-frame.c \ - dwarf-index-cache.c \ - dwarf-index-common.c \ - dwarf-index-write.c \ - dwarf2-frame.c \ - dwarf2-frame-tailcall.c \ - dwarf2expr.c \ - dwarf2loc.c \ - dwarf2read.c \ dwarf2/abbrev.c \ dwarf2/attribute.c \ + dwarf2/expr.c \ + dwarf2/frame-tailcall.c \ + dwarf2/frame.c \ + dwarf2/index-cache.c \ + dwarf2/index-common.c \ + dwarf2/index-write.c \ dwarf2/leb.c \ + dwarf2/loc.c \ + dwarf2/read.c \ dwarf2/section.c \ eval.c \ event-loop.c \ @@ -1234,13 +1234,13 @@ HFILES_NO_SRCDIR = \ dictionary.h \ disasm.h \ dummy-frame.h \ - dwarf-index-cache.h \ - dwarf-index-common.h \ - dwarf2-frame.h \ - dwarf2-frame-tailcall.h \ - dwarf2expr.h \ - dwarf2loc.h \ - dwarf2read.h \ + dwarf2/frame-tailcall.h \ + dwarf2/frame.h \ + dwarf2/expr.h \ + dwarf2/index-cache.h \ + dwarf2/index-common.h \ + dwarf2/loc.h \ + dwarf2/read.h \ event-loop.h \ event-top.h \ exceptions.h \ diff --git a/gdb/aarch64-tdep.c b/gdb/aarch64-tdep.c index 120c5db..1c44345 100644 --- a/gdb/aarch64-tdep.c +++ b/gdb/aarch64-tdep.c @@ -34,7 +34,7 @@ #include "trad-frame.h" #include "objfiles.h" #include "dwarf2.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbtypes.h" #include "prologue-value.h" #include "target-descriptions.h" diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 390f865..aabd202 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -21,7 +21,7 @@ #include "frame.h" #include "frame-unwind.h" #include "frame-base.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "inferior.h" #include "symtab.h" #include "value.h" diff --git a/gdb/amd64-darwin-tdep.c b/gdb/amd64-darwin-tdep.c index 5e8f352..447e272 100644 --- a/gdb/amd64-darwin-tdep.c +++ b/gdb/amd64-darwin-tdep.c @@ -36,7 +36,7 @@ #include "i386-darwin-tdep.h" #include "solib.h" #include "solib-darwin.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" /* Offsets into the struct x86_thread_state64 where we'll find the saved regs. From <mach/i386/thread_status.h> and amd64-tdep.h. */ diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c index 13da022..ac98f03 100644 --- a/gdb/arc-tdep.c +++ b/gdb/arc-tdep.c @@ -22,7 +22,7 @@ #include "defs.h" #include "arch-utils.h" #include "disasm.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame-base.h" #include "frame-unwind.h" #include "gdbcore.h" diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 0e72bcc..d4fed89 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -38,7 +38,7 @@ #include "frame-base.h" #include "trad-frame.h" #include "objfiles.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbtypes.h" #include "prologue-value.h" #include "remote.h" diff --git a/gdb/bfin-tdep.c b/gdb/bfin-tdep.c index 23591d4..55fb6a6 100644 --- a/gdb/bfin-tdep.c +++ b/gdb/bfin-tdep.c @@ -31,7 +31,7 @@ #include "dis-asm.h" #include "sim-regno.h" #include "gdb/sim-bfin.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "elf-bfd.h" #include "elf/bfin.h" diff --git a/gdb/compile/compile-c-symbols.c b/gdb/compile/compile-c-symbols.c index 7af85d6..eb5af8e 100644 --- a/gdb/compile/compile-c-symbols.c +++ b/gdb/compile/compile-c-symbols.c @@ -29,7 +29,7 @@ #include "value.h" #include "exceptions.h" #include "gdbtypes.h" -#include "dwarf2loc.h" +#include "dwarf2/loc.h" diff --git a/gdb/compile/compile-cplus-symbols.c b/gdb/compile/compile-cplus-symbols.c index 34cae4a..fee2651 100644 --- a/gdb/compile/compile-cplus-symbols.c +++ b/gdb/compile/compile-cplus-symbols.c @@ -30,7 +30,7 @@ #include "value.h" #include "exceptions.h" #include "gdbtypes.h" -#include "dwarf2loc.h" +#include "dwarf2/loc.h" #include "cp-support.h" #include "gdbcmd.h" #include "compile-c.h" diff --git a/gdb/compile/compile-loc2c.c b/gdb/compile/compile-loc2c.c index 0f91182..636c929 100644 --- a/gdb/compile/compile-loc2c.c +++ b/gdb/compile/compile-loc2c.c @@ -19,15 +19,15 @@ #include "defs.h" #include "dwarf2.h" -#include "dwarf2expr.h" -#include "dwarf2loc.h" +#include "dwarf2/expr.h" +#include "dwarf2/loc.h" #include "ui-file.h" #include "utils.h" #include "compile-internal.h" #include "compile-c.h" #include "compile.h" #include "block.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbsupport/gdb_vecs.h" #include "value.h" #include "gdbarch.h" diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c index 6885d23..cc45a7f 100644 --- a/gdb/cris-tdep.c +++ b/gdb/cris-tdep.c @@ -25,7 +25,7 @@ #include "frame-unwind.h" #include "frame-base.h" #include "trad-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "inferior.h" #include "gdbtypes.h" diff --git a/gdb/csky-tdep.c b/gdb/csky-tdep.c index 583298c..955238b 100644 --- a/gdb/csky-tdep.c +++ b/gdb/csky-tdep.c @@ -49,7 +49,7 @@ #include "floatformat.h" #include "remote.h" #include "target-descriptions.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "user-regs.h" #include "valprint.h" #include "csky-tdep.h" diff --git a/gdb/dwarf2/abbrev.c b/gdb/dwarf2/abbrev.c index 6bd455f..544d579 100644 --- a/gdb/dwarf2/abbrev.c +++ b/gdb/dwarf2/abbrev.c @@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2read.h" +#include "dwarf2/read.h" #include "dwarf2/abbrev.h" #include "dwarf2/leb.h" #include "bfd.h" diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2/expr.c index ad82cbe..243f493 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2/expr.c @@ -25,8 +25,8 @@ #include "value.h" #include "gdbcore.h" #include "dwarf2.h" -#include "dwarf2expr.h" -#include "dwarf2loc.h" +#include "dwarf2/expr.h" +#include "dwarf2/loc.h" #include "gdbsupport/underlying.h" #include "gdbarch.h" diff --git a/gdb/dwarf2expr.h b/gdb/dwarf2/expr.h index 2f3d2ce..2f3d2ce 100644 --- a/gdb/dwarf2expr.h +++ b/gdb/dwarf2/expr.h diff --git a/gdb/dwarf2-frame-tailcall.c b/gdb/dwarf2/frame-tailcall.c index fca1d3d..3dc300d 100644 --- a/gdb/dwarf2-frame-tailcall.c +++ b/gdb/dwarf2/frame-tailcall.c @@ -19,15 +19,15 @@ #include "defs.h" #include "frame.h" -#include "dwarf2-frame-tailcall.h" -#include "dwarf2loc.h" +#include "dwarf2/frame-tailcall.h" +#include "dwarf2/loc.h" #include "frame-unwind.h" #include "block.h" #include "hashtab.h" #include "gdbtypes.h" #include "regcache.h" #include "value.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbarch.h" /* Contains struct tailcall_cache indexed by next_bottom_frame. */ diff --git a/gdb/dwarf2-frame-tailcall.h b/gdb/dwarf2/frame-tailcall.h index 78d9c7b..78d9c7b 100644 --- a/gdb/dwarf2-frame-tailcall.h +++ b/gdb/dwarf2/frame-tailcall.h diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2/frame.c index 2bf8271..8cf136e 100644 --- a/gdb/dwarf2-frame.c +++ b/gdb/dwarf2/frame.c @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2expr.h" +#include "dwarf2/expr.h" #include "dwarf2.h" #include "dwarf2/leb.h" #include "frame.h" @@ -35,11 +35,11 @@ #include "record.h" #include "complaints.h" -#include "dwarf2-frame.h" -#include "dwarf2read.h" +#include "dwarf2/frame.h" +#include "dwarf2/read.h" #include "ax.h" -#include "dwarf2loc.h" -#include "dwarf2-frame-tailcall.h" +#include "dwarf2/loc.h" +#include "dwarf2/frame-tailcall.h" #include "gdbsupport/gdb_binary_search.h" #if GDB_SELF_TEST #include "gdbsupport/selftest.h" diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2/frame.h index a0ec361..a0ec361 100644 --- a/gdb/dwarf2-frame.h +++ b/gdb/dwarf2/frame.h diff --git a/gdb/dwarf-index-cache.c b/gdb/dwarf2/index-cache.c index 977fcc1..7b4d9975 100644 --- a/gdb/dwarf-index-cache.c +++ b/gdb/dwarf2/index-cache.c @@ -18,15 +18,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf-index-cache.h" +#include "dwarf2/index-cache.h" #include "build-id.h" #include "cli/cli-cmds.h" #include "command.h" #include "gdbsupport/scoped_mmap.h" #include "gdbsupport/pathstuff.h" -#include "dwarf-index-write.h" -#include "dwarf2read.h" +#include "dwarf2/index-write.h" +#include "dwarf2/read.h" #include "objfiles.h" #include "gdbsupport/selftest.h" #include <string> diff --git a/gdb/dwarf-index-cache.h b/gdb/dwarf2/index-cache.h index bc1b30a..07e93fa 100644 --- a/gdb/dwarf-index-cache.h +++ b/gdb/dwarf2/index-cache.h @@ -20,7 +20,7 @@ #ifndef DWARF_INDEX_CACHE_H #define DWARF_INDEX_CACHE_H -#include "dwarf-index-common.h" +#include "dwarf2/index-common.h" #include "gdbsupport/array-view.h" #include "symfile.h" diff --git a/gdb/dwarf-index-common.c b/gdb/dwarf2/index-common.c index 0baf869..13c6f0f 100644 --- a/gdb/dwarf-index-common.c +++ b/gdb/dwarf2/index-common.c @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf-index-common.h" +#include "dwarf2/index-common.h" /* See dwarf-index-common.h. */ diff --git a/gdb/dwarf-index-common.h b/gdb/dwarf2/index-common.h index 8eba035..8eba035 100644 --- a/gdb/dwarf-index-common.h +++ b/gdb/dwarf2/index-common.h diff --git a/gdb/dwarf-index-write.c b/gdb/dwarf2/index-write.c index 4b2a3b0..3c9ccbb 100644 --- a/gdb/dwarf-index-write.c +++ b/gdb/dwarf2/index-write.c @@ -19,7 +19,7 @@ #include "defs.h" -#include "dwarf-index-write.h" +#include "dwarf2/index-write.h" #include "addrmap.h" #include "cli/cli-decode.h" @@ -29,9 +29,9 @@ #include "gdbsupport/pathstuff.h" #include "gdbsupport/scoped_fd.h" #include "complaints.h" -#include "dwarf-index-common.h" +#include "dwarf2/index-common.h" #include "dwarf2.h" -#include "dwarf2read.h" +#include "dwarf2/read.h" #include "gdb/gdb-index.h" #include "gdbcmd.h" #include "objfiles.h" diff --git a/gdb/dwarf-index-write.h b/gdb/dwarf2/index-write.h index d78ff2a..5ba1725 100644 --- a/gdb/dwarf-index-write.h +++ b/gdb/dwarf2/index-write.h @@ -21,7 +21,7 @@ #define DWARF_INDEX_WRITE_H #include "symfile.h" -#include "dwarf2read.h" +#include "dwarf2/read.h" /* Create index files for OBJFILE in the directory DIR. diff --git a/gdb/dwarf2loc.c b/gdb/dwarf2/loc.c index 9cfc852..0333360 100644 --- a/gdb/dwarf2loc.c +++ b/gdb/dwarf2/loc.c @@ -34,10 +34,10 @@ #include "gdbcmd.h" #include "complaints.h" #include "dwarf2.h" -#include "dwarf2expr.h" -#include "dwarf2loc.h" -#include "dwarf2read.h" -#include "dwarf2-frame.h" +#include "dwarf2/expr.h" +#include "dwarf2/loc.h" +#include "dwarf2/read.h" +#include "dwarf2/frame.h" #include "dwarf2/leb.h" #include "compile/compile.h" #include "gdbsupport/selftest.h" diff --git a/gdb/dwarf2loc.h b/gdb/dwarf2/loc.h index d0bc23b..a49a990 100644 --- a/gdb/dwarf2loc.h +++ b/gdb/dwarf2/loc.h @@ -20,7 +20,7 @@ #if !defined (DWARF2LOC_H) #define DWARF2LOC_H -#include "dwarf2expr.h" +#include "dwarf2/expr.h" struct symbol_computed_ops; struct objfile; diff --git a/gdb/dwarf2read.c b/gdb/dwarf2/read.c index 0531197..f91e364 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2/read.c @@ -29,11 +29,11 @@ E.g., load_partial_dies, read_partial_die. */ #include "defs.h" -#include "dwarf2read.h" +#include "dwarf2/read.h" #include "dwarf2/abbrev.h" #include "dwarf2/attribute.h" -#include "dwarf-index-cache.h" -#include "dwarf-index-common.h" +#include "dwarf2/index-cache.h" +#include "dwarf2/index-common.h" #include "dwarf2/leb.h" #include "bfd.h" #include "elf-bfd.h" @@ -48,8 +48,8 @@ #include "macrotab.h" #include "language.h" #include "complaints.h" -#include "dwarf2expr.h" -#include "dwarf2loc.h" +#include "dwarf2/expr.h" +#include "dwarf2/loc.h" #include "cp-support.h" #include "hashtab.h" #include "command.h" diff --git a/gdb/dwarf2read.h b/gdb/dwarf2/read.h index 83da39f..46256d0 100644 --- a/gdb/dwarf2read.h +++ b/gdb/dwarf2/read.h @@ -21,7 +21,7 @@ #define DWARF2READ_H #include <unordered_map> -#include "dwarf-index-cache.h" +#include "dwarf2/index-cache.h" #include "dwarf2/section.h" #include "filename-seen-cache.h" #include "gdb_obstack.h" diff --git a/gdb/findvar.c b/gdb/findvar.c index 5cf1cd4..a836c63 100644 --- a/gdb/findvar.c +++ b/gdb/findvar.c @@ -31,7 +31,7 @@ #include "block.h" #include "objfiles.h" #include "language.h" -#include "dwarf2loc.h" +#include "dwarf2/loc.h" #include "gdbsupport/selftest.h" /* Basic byte-swapping routines. All 'extract' functions return a diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 1d5bfd4..8575893 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -36,7 +36,7 @@ #include "hashtab.h" #include "cp-support.h" #include "bcache.h" -#include "dwarf2loc.h" +#include "dwarf2/loc.h" #include "gdbcore.h" #include "floatformat.h" diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c index 52817ea..bf2f751 100644 --- a/gdb/guile/scm-type.c +++ b/gdb/guile/scm-type.c @@ -27,7 +27,7 @@ #include "objfiles.h" #include "language.h" #include "bcache.h" -#include "dwarf2loc.h" +#include "dwarf2/loc.h" #include "typeprint.h" #include "guile-internal.h" diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 5e8ba94..79c7400 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -29,7 +29,7 @@ #include "gdbcore.h" #include "objfiles.h" #include "dis-asm.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame-base.h" #include "frame-unwind.h" diff --git a/gdb/hppa-bsd-tdep.c b/gdb/hppa-bsd-tdep.c index 3994167..d116a58 100644 --- a/gdb/hppa-bsd-tdep.c +++ b/gdb/hppa-bsd-tdep.c @@ -26,7 +26,7 @@ #include "hppa-tdep.h" #include "hppa-bsd-tdep.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "solib-svr4.h" static CORE_ADDR diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c index 51c84d8..6a38d72 100644 --- a/gdb/hppa-linux-tdep.c +++ b/gdb/hppa-linux-tdep.c @@ -26,7 +26,7 @@ #include "glibc-tdep.h" #include "frame-unwind.h" #include "trad-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "value.h" #include "regset.h" #include "regcache.h" diff --git a/gdb/i386-darwin-tdep.c b/gdb/i386-darwin-tdep.c index a1c226b..a796a85 100644 --- a/gdb/i386-darwin-tdep.c +++ b/gdb/i386-darwin-tdep.c @@ -34,7 +34,7 @@ #include "i386-darwin-tdep.h" #include "solib.h" #include "solib-darwin.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include <algorithm> /* Offsets into the struct i386_thread_state where we'll find the saved regs. diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c index 6f702b5..f4a5f0a 100644 --- a/gdb/i386-linux-tdep.c +++ b/gdb/i386-linux-tdep.c @@ -26,7 +26,7 @@ #include "inferior.h" #include "osabi.h" #include "reggroups.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "i386-tdep.h" #include "i386-linux-tdep.h" #include "linux-tdep.h" diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index f120438..f71444f 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -22,7 +22,7 @@ #include "arch-utils.h" #include "command.h" #include "dummy-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c index 4b3419e..7864d81 100644 --- a/gdb/iq2000-tdep.c +++ b/gdb/iq2000-tdep.c @@ -24,7 +24,7 @@ #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbtypes.h" #include "value.h" #include "dis-asm.h" diff --git a/gdb/m32c-tdep.c b/gdb/m32c-tdep.c index 31f4d24..585fa33 100644 --- a/gdb/m32c-tdep.c +++ b/gdb/m32c-tdep.c @@ -27,8 +27,8 @@ #include "arch-utils.h" #include "frame.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" -#include "dwarf2expr.h" +#include "dwarf2/frame.h" +#include "dwarf2/expr.h" #include "symtab.h" #include "gdbcore.h" #include "value.h" diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 4e63c2f..fb3b18a 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -24,7 +24,7 @@ #include "frame.h" #include "frame-unwind.h" #include "frame-base.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "trad-frame.h" #include "symtab.h" #include "gdbtypes.h" diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c index ec754a6..5ed5087 100644 --- a/gdb/m68k-tdep.c +++ b/gdb/m68k-tdep.c @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" diff --git a/gdb/microblaze-tdep.c b/gdb/microblaze-tdep.c index a05088c..5c80413 100644 --- a/gdb/microblaze-tdep.c +++ b/gdb/microblaze-tdep.c @@ -31,7 +31,7 @@ #include "target.h" #include "frame-base.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "osabi.h" #include "target-descriptions.h" #include "opcodes/microblaze-opcm.h" diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 90ec370..2599f82 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -51,7 +51,7 @@ #include "infcall.h" #include "remote.h" #include "target-descriptions.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "user-regs.h" #include "valprint.h" #include "ax.h" diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index d779ad1..8e48724 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -28,7 +28,7 @@ #include "frame-unwind.h" #include "frame-base.h" #include "symtab.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "osabi.h" #include "infcall.h" #include "prologue-value.h" diff --git a/gdb/msp430-tdep.c b/gdb/msp430-tdep.c index 0893274..8859766 100644 --- a/gdb/msp430-tdep.c +++ b/gdb/msp430-tdep.c @@ -32,7 +32,7 @@ #include "frame-base.h" #include "value.h" #include "gdbcore.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "reggroups.h" #include "elf/msp430.h" diff --git a/gdb/nds32-tdep.c b/gdb/nds32-tdep.c index 5238fe5..220ad1e 100644 --- a/gdb/nds32-tdep.c +++ b/gdb/nds32-tdep.c @@ -34,7 +34,7 @@ #include "dis-asm.h" #include "user-regs.h" #include "elf-bfd.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "remote.h" #include "target-descriptions.h" diff --git a/gdb/nios2-tdep.c b/gdb/nios2-tdep.c index cb669da..02cdaea 100644 --- a/gdb/nios2-tdep.c +++ b/gdb/nios2-tdep.c @@ -24,7 +24,7 @@ #include "frame-unwind.h" #include "frame-base.h" #include "trad-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "inferior.h" #include "gdbtypes.h" diff --git a/gdb/or1k-tdep.c b/gdb/or1k-tdep.c index 772ecff..61901a7 100644 --- a/gdb/or1k-tdep.c +++ b/gdb/or1k-tdep.c @@ -35,7 +35,7 @@ #include "arch-utils.h" #include "frame-unwind.h" #include "frame-base.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "trad-frame.h" #include "regset.h" #include "remote.h" diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index d585b0b..a14ef4d 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -47,7 +47,7 @@ #include "floatformat.h" #include "remote.h" #include "target-descriptions.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "user-regs.h" #include "valprint.h" #include "gdbsupport/common-defs.h" diff --git a/gdb/rl78-tdep.c b/gdb/rl78-tdep.c index 3705efd..aca7649 100644 --- a/gdb/rl78-tdep.c +++ b/gdb/rl78-tdep.c @@ -32,7 +32,7 @@ #include "frame-base.h" #include "value.h" #include "gdbcore.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "reggroups.h" #include "elf/rl78.h" diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index ccffc39..919bebc 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -37,7 +37,7 @@ #include "sim-regno.h" #include "gdb/sim-ppc.h" #include "reggroups.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "target-descriptions.h" #include "user-regs.h" #include "record-full.h" diff --git a/gdb/rx-tdep.c b/gdb/rx-tdep.c index 766eaa0..c14ce20 100644 --- a/gdb/rx-tdep.c +++ b/gdb/rx-tdep.c @@ -32,7 +32,7 @@ #include "frame-base.h" #include "value.h" #include "gdbcore.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "remote.h" #include "target-descriptions.h" diff --git a/gdb/s12z-tdep.c b/gdb/s12z-tdep.c index 922268d..4d2feba 100644 --- a/gdb/s12z-tdep.c +++ b/gdb/s12z-tdep.c @@ -21,7 +21,7 @@ #include "defs.h" #include "arch-utils.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbsupport/errors.h" #include "frame-unwind.h" #include "gdbcore.h" diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index e015055..5f3cb7e 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -21,7 +21,7 @@ #include "arch-utils.h" #include "ax-gdb.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "elf/s390.h" #include "elf-bfd.h" #include "frame-base.h" diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c index 14eeee9..c5c1836 100644 --- a/gdb/score-tdep.c +++ b/gdb/score-tdep.c @@ -34,7 +34,7 @@ #include "frame-unwind.h" #include "frame-base.h" #include "trad-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "score-tdep.h" #define G_FLD(_i,_ms,_ls) \ diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index b69313d..9e831fb 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -24,7 +24,7 @@ #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "gdbtypes.h" #include "gdbcmd.h" diff --git a/gdb/sparc-linux-tdep.c b/gdb/sparc-linux-tdep.c index 1c4adb8..247fde2 100644 --- a/gdb/sparc-linux-tdep.c +++ b/gdb/sparc-linux-tdep.c @@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame.h" #include "frame-unwind.h" #include "gdbtypes.h" diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c index e048f87..a0c4172 100644 --- a/gdb/sparc-tdep.c +++ b/gdb/sparc-tdep.c @@ -21,7 +21,7 @@ #include "arch-utils.h" #include "dis-asm.h" #include "dwarf2.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" diff --git a/gdb/sparc64-linux-tdep.c b/gdb/sparc64-linux-tdep.c index de6c047..a7f439f 100644 --- a/gdb/sparc64-linux-tdep.c +++ b/gdb/sparc64-linux-tdep.c @@ -20,7 +20,7 @@ #include "defs.h" #include "frame.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "regset.h" #include "regcache.h" #include "gdbarch.h" diff --git a/gdb/sparc64-tdep.c b/gdb/sparc64-tdep.c index a11da6a..ac915d4 100644 --- a/gdb/sparc64-tdep.c +++ b/gdb/sparc64-tdep.c @@ -19,7 +19,7 @@ #include "defs.h" #include "arch-utils.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" diff --git a/gdb/tic6x-tdep.c b/gdb/tic6x-tdep.c index a05675c..50031c1 100644 --- a/gdb/tic6x-tdep.c +++ b/gdb/tic6x-tdep.c @@ -24,7 +24,7 @@ #include "frame-unwind.h" #include "frame-base.h" #include "trad-frame.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "inferior.h" #include "gdbtypes.h" diff --git a/gdb/tilegx-tdep.c b/gdb/tilegx-tdep.c index 9290bc3..70c4add 100644 --- a/gdb/tilegx-tdep.c +++ b/gdb/tilegx-tdep.c @@ -21,7 +21,7 @@ #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "trad-frame.h" #include "symtab.h" #include "gdbtypes.h" diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 9b2e9b6..fd5a9ff 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -22,7 +22,7 @@ #include "frame-base.h" #include "trad-frame.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "gdbtypes.h" #include "inferior.h" #include "gdbcore.h" diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index 0206af8..1715dc8 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -21,7 +21,7 @@ #include "frame.h" #include "frame-base.h" #include "frame-unwind.h" -#include "dwarf2-frame.h" +#include "dwarf2/frame.h" #include "symtab.h" #include "gdbtypes.h" #include "gdbcmd.h" diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index bbd92d5..2ea1121 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -35,8 +35,8 @@ #include "dummy-frame.h" #include "dwarf2.h" -#include "dwarf2-frame.h" -#include "dwarf2loc.h" +#include "dwarf2/frame.h" +#include "dwarf2/loc.h" #include "frame-base.h" #include "frame-unwind.h" |