aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-05-17 20:13:50 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-05-17 20:13:50 +0000
commit9c036bd836f66747ccd35f6a21a2758f0f2cb8fc (patch)
tree70899574fb9676d917fe7ce6b6a24f3ffca34ab5 /gdb/printcmd.c
parentee8b83460016b61902117b463dfdd6d0323ce3ac (diff)
downloadfsf-binutils-gdb-9c036bd836f66747ccd35f6a21a2758f0f2cb8fc.zip
fsf-binutils-gdb-9c036bd836f66747ccd35f6a21a2758f0f2cb8fc.tar.gz
fsf-binutils-gdb-9c036bd836f66747ccd35f6a21a2758f0f2cb8fc.tar.bz2
* utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call
fputs_unfiltered and exit directly, rather than fatal. The latter calls vfprintf_unfiltered! * gdbtypes.h, gdbtypes.c (can_dereference): New function. * value.h, printcmd.c (print_value_flags): Move from here... * annotate.c: ...to here, and make it use can_dereference.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 2060024..467b0ae 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -88,19 +88,6 @@ int current_display_number;
int inspect_it = 0;
-void
-print_value_flags (t)
- struct type *t;
-{
- /* FIXME: Should we be printing * for references as well as pointers? */
- if (t != NULL
- && TYPE_CODE (t) == TYPE_CODE_PTR
- && TYPE_CODE (TYPE_TARGET_TYPE (t)) != TYPE_CODE_VOID)
- printf_filtered ("*");
- else
- printf_filtered ("-");
-}
-
struct display
{
/* Chain link to next auto-display item. */