diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-12-11 16:49:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-12-11 16:49:26 +0000 |
commit | d3322e8a421bb0f85b975954538b40b6b65e9bb8 (patch) | |
tree | 5cb8e405b6a64e13e5134653809dcb974169eb5c /gdb | |
parent | 58544210ca67ec8e27333a13af57d6599e22a7a5 (diff) | |
download | gdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.zip gdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.tar.gz gdb-d3322e8a421bb0f85b975954538b40b6b65e9bb8.tar.bz2 |
* inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/inf-ttrace.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 646779d..dc25333 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-12-11 Mark Kettenis <kettenis@gnu.org> + + * inf-ttrace.c (_initialize_inf_ttrace): Unconditionially compile. + 2004-12-10 Michael Snyder <msnyder@redhat.com> * mn10300-tdep.c: New file. This is a re-implementation of diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c index 1368961..ea0bacd 100644 --- a/gdb/inf-ttrace.c +++ b/gdb/inf-ttrace.c @@ -916,6 +916,7 @@ inf_ttrace_target (void) ttrace_ops_hack = t; return t; } +#endif /* Prevent warning from -Wmissing-prototypes. */ @@ -924,6 +925,7 @@ void _initialize_hppa_hpux_nat (void); void _initialize_inf_ttrace (void) { +#ifdef HAVE_TTRACE inf_ttrace_page_dict.pagesize = getpagesize(); -} #endif +} |