Move GDB producer parsing routines to a separate file
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Tue, 26 Sep 2017 17:26:41 +0000 (18:26 +0100)
committerPedro Alves <palves@redhat.com>
Tue, 26 Sep 2017 17:26:41 +0000 (18:26 +0100)
commitb32b108aba2c0119d0e231d203d3284539da2379
tree9c24604cc4997fcfe86628fb8a701bc8103f9a0f
parent75352e283fb2b265d14c750859156943f6eb2693
Move GDB producer parsing routines to a separate file

gdb/ChangeLog:
2017-09-26  Walfred Tedeschi  <walfred.tedeschi@intel.com>

* Makefile.in (SFILES): Add producer.c.
(COMMON_OBS): Add producer.o
* amd64-tdep.c (producer.h): Add new include.
* dwarf2read.c (producer.h): Add new include.
* producer.c: New file.
* producer.h: New file.
* utils.c (producer_is_gcc, producer_is_gcc_ge_4): Move to
producer.c.
* utils.h (producer_is_gcc, producer_is_gcc_ge_4): Move to
producer.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/amd64-tdep.c
gdb/dwarf2read.c
gdb/producer.c [new file with mode: 0644]
gdb/producer.h [new file with mode: 0644]
gdb/utils.c
gdb/utils.h