diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2006-05-09 15:21:19 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2006-05-09 15:21:19 +0000 |
commit | 52fb643739a7929a3091586e95336c4d991ee3b6 (patch) | |
tree | aad3914f0175fb68899a7a52a94fe545b888ab6a /gdb/gdbserver/target.h | |
parent | 6e0080dd37a13129b04c34c7aa18ec2bee85b731 (diff) | |
download | gdb-52fb643739a7929a3091586e95336c4d991ee3b6.zip gdb-52fb643739a7929a3091586e95336c4d991ee3b6.tar.gz gdb-52fb643739a7929a3091586e95336c4d991ee3b6.tar.bz2 |
* configure.srv (m68k*-*-uclinux*): New target.
* linux-low.c (linux_create_inferior): Use vfork on mmuless systems.
(linux_resume_one_process): Remove extraneous cast.
(linux_read_offsets): New.
(linux_target_op): Add linux_read_offsets on mmuless systems.
* server.c (handle_query): Add qOffsets logic.
* target.h (struct target_ops): Add read_offsets.
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index 7f65d3d..6c9a4d7 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -156,6 +156,11 @@ struct target_ops CORE_ADDR (*stopped_data_address) (void); + /* Reports the text, data offsets of the executable. This is + needed for uclinux where the executable is relocated during load + time. */ + + int (*read_offsets) (CORE_ADDR *text, CORE_ADDR *data); }; extern struct target_ops *the_target; |