diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-15 22:04:21 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2021-11-18 16:34:37 -0500 |
commit | 629f88f80a8ffc795c69773ff576861ea75d6205 (patch) | |
tree | 55878b8ce41886de2192e865d1932e8eb9ba8883 /gdb/rs6000-tdep.h | |
parent | 80e7a6cb76071ac4e561cd4de66923634c495bdd (diff) | |
download | gdb-629f88f80a8ffc795c69773ff576861ea75d6205.zip gdb-629f88f80a8ffc795c69773ff576861ea75d6205.tar.gz gdb-629f88f80a8ffc795c69773ff576861ea75d6205.tar.bz2 |
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
Diffstat (limited to 'gdb/rs6000-tdep.h')
-rw-r--r-- | gdb/rs6000-tdep.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gdb/rs6000-tdep.h b/gdb/rs6000-tdep.h deleted file mode 100644 index ecebac9..0000000 --- a/gdb/rs6000-tdep.h +++ /dev/null @@ -1,24 +0,0 @@ -/* Copyright (C) 2006-2021 Free Software Foundation, Inc. - - This file is part of GDB. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. */ - -#ifndef RS6000_TDEP_H -#define RS6000_TDEP_H - -/* Minimum possible text address in AIX. */ -#define AIX_TEXT_SEGMENT_BASE 0x10000000 - -#endif /* RS6000_TDEP_H */ |