aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-08-25 18:58:58 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-08-25 18:58:58 +0000
commit74e70df6b6080022aceca9d0649b091f533dc348 (patch)
tree6636ac81e56cbda40f4774cb28c680e8f1259950
parentd3b22ed57cf5e17e4172752a17f61a719bf9103a (diff)
downloadgdb-74e70df6b6080022aceca9d0649b091f533dc348.zip
gdb-74e70df6b6080022aceca9d0649b091f533dc348.tar.gz
gdb-74e70df6b6080022aceca9d0649b091f533dc348.tar.bz2
* tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
(tuiShowSourceAsIs): Don't declare.
-rw-r--r--gdb/tui/ChangeLog5
-rw-r--r--gdb/tui/tuiSource.h10
2 files changed, 6 insertions, 9 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 8abbf61..f991ac5 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,5 +1,10 @@
2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
+ * tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
+ (tuiShowSourceAsIs): Don't declare.
+
+2002-08-25 Stephane Carrez <stcarrez@nerim.fr>
+
* tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
the frame position.
diff --git a/gdb/tui/tuiSource.h b/gdb/tui/tuiSource.h
index 2c04988..96cf865 100644
--- a/gdb/tui/tuiSource.h
+++ b/gdb/tui/tuiSource.h
@@ -1,5 +1,5 @@
/* TUI display source window.
- Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Contributed by Hewlett-Packard Company.
This file is part of GDB.
@@ -26,16 +26,8 @@
extern TuiStatus tuiSetSourceContent (struct symtab *, int, int);
extern void tuiShowSource (struct symtab *, TuiLineOrAddress, int);
-extern void tuiShowSourceAsIs (struct symtab *, Opaque, int);
extern int tuiSourceIsDisplayed (char *);
extern void tuiVerticalSourceScroll (TuiScrollDirection, int);
-
-/*******************
-** MACROS **
-*******************/
-#define m_tuiShowSourceAsIs(s, line, noerror) tuiUpdateSourceWindowAsIs(srcWin, s, line, noerror)
-
-
#endif
/*_TUI_SOURCE_H*/