From f7fe7196c28e49766eac16900d46db1d969bdb2a Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Sat, 19 Sep 1992 11:55:20 +0000 Subject: [PATCH] * configure.in: removed target_dependent line. * remote-mm.c (mm_attach): change printf to error to prevent fallthrough bug. * remote-udi.c (udi_attach): change printf to error to prevent fallthrough bug. --- gdb/ChangeLog | 6 ++++++ gdb/configure.in | 1 - gdb/remote-mm.c | 2 +- gdb/remote-udi.c | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec21ee9d86b..55924502968 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,12 @@ Wed Sep 16 22:31:55 1992 K. Richard Pixley (rich@sendai.cygnus.com) * breakpoint.c, sparc-tdep.c: comment changes. + * configure.in: removed target_dependent line. + + * remote-mm.c (mm_attach): change printf to error to prevent + fallthrough bug. + * remote-udi.c (udi_attach): change printf to error to prevent + fallthrough bug. Sat Sep 19 04:23:54 1992 John Gilmore (gnu@cygnus.com) diff --git a/gdb/configure.in b/gdb/configure.in index 44312eb47d9..71008c75087 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -1,7 +1,6 @@ configdirs="doc" srcname="GDB" srctrigger=main.c -target_dependent=true # per-host: diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index b98026c1be9..d824d2584ff 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -488,7 +488,7 @@ mm_attach (args, from_tty) DENTER("mm_attach()"); if (!mm_stream) - printf ("MiniMon not opened yet, use the 'target minimon' command.\n"); + error ("MiniMon not opened yet, use the 'target minimon' command.\n"); dont_repeat(); diff --git a/gdb/remote-udi.c b/gdb/remote-udi.c index 4309774a5a4..bac27aa68e0 100644 --- a/gdb/remote-udi.c +++ b/gdb/remote-udi.c @@ -424,7 +424,7 @@ udi_attach (args, from_tty) DENTER("udi_attach()"); if (udi_session_id < 0) - printf ("UDI connection not opened yet, use the 'target udi' command.\n"); + error ("UDI connection not opened yet, use the 'target udi' command.\n"); if (from_tty) printf ("Attaching to remote program %s...\n", prog_name);