gdb: move AIX_TEXT_SEGMENT_BASE to rs6000-aix-tdep.c, remove rs6000-tdep.h
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 16 Nov 2021 03:04:21 +0000 (22:04 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Thu, 18 Nov 2021 21:34:37 +0000 (16:34 -0500)
commit629f88f80a8ffc795c69773ff576861ea75d6205
tree55878b8ce41886de2192e865d1932e8eb9ba8883
parent80e7a6cb76071ac4e561cd4de66923634c495bdd
gdb: move AIX_TEXT_SEGMENT_BASE to rs6000-aix-tdep.c, remove rs6000-tdep.h

The contents of rs6000-tdep.h (AIX_TEXT_SEGMENT_BASE) is AIX-specific,
so I thought that this file should be named rs6000-aix-tdep.h.  But
there's already a rs6000-aix-tdep.h, so then I though
AIX_TEXT_SEGMENT_BASE should simply be moved there, and rs6000-tdep.h
deleted.  But then I realized that AIX_TEXT_SEGMENT_BASE is only used in
rs6000-aix-tdep.c, so move it to the beginning of that file.

Change-Id: Ia212c6fae202f31aedb46575821cd642beeda7a3
gdb/Makefile.in
gdb/rs6000-aix-nat.c
gdb/rs6000-aix-tdep.c
gdb/rs6000-tdep.h [deleted file]