diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-19 20:09:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-19 20:09:45 +0000 |
commit | b9fbf4340af8d0f7b0ecc3d549e9d5acc5b30e2b (patch) | |
tree | 0a744d8e5b8c46fa229604096fdb2dc426628010 /gdb/config/pa | |
parent | f6f87075ea61ae0107e95e2ddd56a174eea3a1d0 (diff) | |
download | gdb-b9fbf4340af8d0f7b0ecc3d549e9d5acc5b30e2b.zip gdb-b9fbf4340af8d0f7b0ecc3d549e9d5acc5b30e2b.tar.gz gdb-b9fbf4340af8d0f7b0ecc3d549e9d5acc5b30e2b.tar.bz2 |
2003-09-19 Andrew Cagney <cagney@redhat.com>
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete.
(DEPRECATED_HPUX_TEXT_END): Define.
(deprecated_hpux_text_end): Declare.
(struct target_ops): Declare opaque.
* hppah-nat.c (text_end): Make static.
(deprecated_hpux_text_end): New function.
* exec.c (text_end): Delete global variable.
(NEED_TEXT_START_END): Do not define.
(exec_file_attach): Replace code computing "text_end" code with
call to DEPRECATED_HPUX_TEXT_END.
2003-09-19 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation for NEED_TEXT_START_END.
Diffstat (limited to 'gdb/config/pa')
-rw-r--r-- | gdb/config/pa/nm-hppah.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/config/pa/nm-hppah.h b/gdb/config/pa/nm-hppah.h index 29a52df..bf4fd3c 100644 --- a/gdb/config/pa/nm-hppah.h +++ b/gdb/config/pa/nm-hppah.h @@ -19,6 +19,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +struct target_ops; + #define U_REGS_OFFSET 0 #define KERNEL_U_ADDR 0 @@ -44,9 +46,10 @@ #define FIVE_ARG_PTRACE /* We need to figure out where the text region is so that we use the - appropriate ptrace operator to manipulate text. Simply reading/writing - user space will crap out HPUX. */ -#define NEED_TEXT_START_END 1 + appropriate ptrace operator to manipulate text. Simply + reading/writing user space will crap out HPUX. */ +#define DEPRECATED_HPUX_TEXT_END deprecated_hpux_text_end +extern void deprecated_hpux_text_end (struct target_ops *exec_ops); /* In hppah-nat.c: */ #define FETCH_INFERIOR_REGISTERS |