From b8464c153902ebdd6496f86665378df1e43b99eb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 1 Oct 1998 11:19:11 +0000 Subject: [PATCH] Replace "exec" with "executable" in messages. --- gdb/ChangeLog | 54 ++++++++++++++++++++++++-------------- gdb/remote-adapt.c | 2 +- gdb/remote-array.c | 2 +- gdb/remote-eb.c | 2 +- gdb/remote-es.c | 2 +- gdb/remote-hms.c | 2 +- gdb/remote-mm.c | 2 +- gdb/remote-nindy.c | 2 +- gdb/remote-os9k.c | 2 +- gdb/remote-rdi.c | 2 +- gdb/remote-rdp.c | 2 +- gdb/remote-sim.c | 2 +- gdb/remote-st.c | 2 +- gdb/remote-utils.c | 2 +- gdb/testsuite/ChangeLog | 4 +++ gdb/testsuite/gdb.base/default.exp | 6 ++--- 16 files changed, 54 insertions(+), 36 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04969a3..abcc581 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,37 @@ +Thu Oct 1 20:52:39 1998 Andrew Cagney + + * remote-rdp.c (remote_rdp_create_inferior), remote-os9k.c + (rombug_create_inferior), remote-mm.c (mm_create_inferior), + remote-eb.c (eb_create_inferior), remote-es.c + (es1800_create_inferior), remote-rdi.c (arm_rdi_create_inferior), + remote-sim.c (gdbsim_create_inferior), remote-utils.c + (gr_create_inferior), remote-st.c (st2000_create_inferior), + remote-nindy.c (nindy_create_inferior), remote-hms.c + (hms_create_inferior), remote-e7000.c (e7000_create_inferior), + remote-array.c (array_create_inferior), remote-adapt.c + (adapt_create_inferior): Replace "exec" with "executable" in + messages. + +1998-09-25 Keith Seitz + + * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and + PARPORT defines for win32. + (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names + start with "com", not "/dev/tty". + (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32. + + * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState) + so that the device may be reopened. + + * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered + functions, ignoring non-ASCII chars, so that non-tty UI's can snarf + the output from fputs_hook. + (mywrite): Ditto. + (arm_rdi_open): Set inferior_pid. + (arm_rdi_detach): Pop the target off the target stack so that + users can attach and detach multiple times. + (arm_rdi_close): Close the opened device and reset inferior_pid, too. + 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Change --enable-warnings to --enable-build-warnings. @@ -208,26 +242,6 @@ Mon Aug 31 15:42:10 1998 Tom Tromey * top.c (context_hook): Define. -1998-08-26 Keith Seitz - - * rdi-share/unixcomm.c: If using cygwin32, also use the SERPORT and - PARPORT defines for win32. - (Unix_MatchValidSerialDevice): For cygwin32, valid serial port names - start with "com", not "/dev/tty". - (Unix_OpenSerial): Do not use O_NONBLOCK on cygwin32. - - * rdi-share/devsw.c (DevSW_Close): Free the device's state (SwitcherState) - so that the device may be reopened. - - * remote-rdi.c (mywritec): Send all output through gdb's *_unfiltered - functions, ignoring non-ASCII chars, so that non-tty UI's can snarf - the output from fputs_hook. - (mywrite): Ditto. - (arm_rdi_open): Set inferior_pid. - (arm_rdi_detach): Pop the target off the target stack so that - users can attach and detach multiple times. - (arm_rdi_close): Close the opened device and reset inferior_pid, too. - Tue Aug 25 13:21:58 1998 Michael Snyder * ax-gdb.c (gen_var_ref): Allow for typedef types. diff --git a/gdb/remote-adapt.c b/gdb/remote-adapt.c index f66b6bd..81d9a6e 100644 --- a/gdb/remote-adapt.c +++ b/gdb/remote-adapt.c @@ -414,7 +414,7 @@ adapt_create_inferior (execfile, args, env) error ("Can't pass arguments to remote adapt process."); if (execfile == 0 || exec_bfd == 0) - error ("No exec file specified"); + error ("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-array.c b/gdb/remote-array.c index f7878ec..c17535d 100644 --- a/gdb/remote-array.c +++ b/gdb/remote-array.c @@ -530,7 +530,7 @@ array_create_inferior (execfile, args, env) error("Can't pass arguments to remote MONITOR process"); if (execfile == 0 || exec_bfd == 0) - error("No exec file specified"); + error("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-eb.c b/gdb/remote-eb.c index 6fbea88..458750e 100644 --- a/gdb/remote-eb.c +++ b/gdb/remote-eb.c @@ -248,7 +248,7 @@ eb_create_inferior (execfile, args, env) error ("Can't pass arguments to remote EBMON process"); if (execfile == 0 || exec_bfd == 0) - error ("No exec file specified"); + error ("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-es.c b/gdb/remote-es.c index 61c2be4..3ea2e7b 100644 --- a/gdb/remote-es.c +++ b/gdb/remote-es.c @@ -1468,7 +1468,7 @@ es1800_create_inferior (execfile, args, env) if (execfile == 0 || exec_bfd == 0) { - error ("No exec file specified"); + error ("No executable file specified"); } entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-hms.c b/gdb/remote-hms.c index e466122..63a985e 100644 --- a/gdb/remote-hms.c +++ b/gdb/remote-hms.c @@ -412,7 +412,7 @@ hms_create_inferior (execfile, args, env) error ("Can't pass arguments to remote hms process."); if (execfile == 0 || exec_bfd == 0) - error ("No exec file specified"); + error ("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); check_open (); diff --git a/gdb/remote-mm.c b/gdb/remote-mm.c index 7e2b19b..2604279 100644 --- a/gdb/remote-mm.c +++ b/gdb/remote-mm.c @@ -162,7 +162,7 @@ mm_create_inferior (execfile, args, env) error ("Can't pass arguments to remote mm process (yet)."); if (execfile == 0 /* || exec_bfd == 0 */ ) - error ("No exec file specified"); + error ("No executable file specified"); if (!mm_stream) { printf("Minimon not open yet.\n"); diff --git a/gdb/remote-nindy.c b/gdb/remote-nindy.c index 1b73de2..17096f9 100644 --- a/gdb/remote-nindy.c +++ b/gdb/remote-nindy.c @@ -591,7 +591,7 @@ nindy_create_inferior (execfile, args, env) error ("Can't pass arguments to remote NINDY process"); if (execfile == 0 || exec_bfd == 0) - error ("No exec file specified"); + error ("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-os9k.c b/gdb/remote-os9k.c index 4f99bc6..fa2e2bc 100644 --- a/gdb/remote-os9k.c +++ b/gdb/remote-os9k.c @@ -301,7 +301,7 @@ rombug_create_inferior (execfile, args, env) error("Can't pass arguments to remote ROMBUG process"); if (execfile == 0 || exec_bfd == 0) - error("No exec file specified"); + error("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-rdi.c b/gdb/remote-rdi.c index 137bc59..f4d87ad 100644 --- a/gdb/remote-rdi.c +++ b/gdb/remote-rdi.c @@ -340,7 +340,7 @@ arm_rdi_create_inferior (exec_file, args, env) CORE_ADDR entry_point; if (exec_file == 0 || exec_bfd == 0) - error ("No exec file specified."); + error ("No executable file specified."); entry_point = (CORE_ADDR) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-rdp.c b/gdb/remote-rdp.c index 939df60..35422a5 100644 --- a/gdb/remote-rdp.c +++ b/gdb/remote-rdp.c @@ -1354,7 +1354,7 @@ remote_rdp_create_inferior (exec_file, allargs, env) CORE_ADDR entry_point; if (exec_file == 0 || exec_bfd == 0) - error ("No exec file specified."); + error ("No executable file specified."); entry_point = (CORE_ADDR) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index f641d6f..ccc1bdb 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -456,7 +456,7 @@ gdbsim_create_inferior (exec_file, args, env) char *arg_buf,**argv; if (exec_file == 0 || exec_bfd == 0) - warning ("No exec file specified."); + warning ("No executable file specified."); if (! program_loaded) warning ("No program loaded."); diff --git a/gdb/remote-st.c b/gdb/remote-st.c index bba7961..2e81dae 100644 --- a/gdb/remote-st.c +++ b/gdb/remote-st.c @@ -260,7 +260,7 @@ st2000_create_inferior (execfile, args, env) error("Can't pass arguments to remote STDEBUG process"); if (execfile == 0 || exec_bfd == 0) - error("No exec file specified"); + error("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); diff --git a/gdb/remote-utils.c b/gdb/remote-utils.c index b55e32b..043dd51 100644 --- a/gdb/remote-utils.c +++ b/gdb/remote-utils.c @@ -491,7 +491,7 @@ gr_create_inferior (execfile, args, env) error ("Can't pass arguments to remote process."); if (execfile == 0 || exec_bfd == 0) - error ("No exec file specified"); + error ("No executable file specified"); entry_pt = (int) bfd_get_start_address (exec_bfd); sr_check_open (); diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index be8eca6..95ea3b9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 1 20:56:14 1998 Andrew Cagney + + * gdb.base/default.exp: Replace "exec" with "executable". + 1998-09-29 Keith Seitz * gdb.gdbtk/browser.test: Fix tests which incorrectly assume diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index 1c401ca..0f5a408 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -273,7 +273,7 @@ gdb_test "info files" "" "info files" #test info float if [istarget "arm-*-*"] then { gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" -} else if [istarget "thumb-*-*"] then { +} elseif [istarget "thumb-*-*"] then { gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" } else { gdb_test "info float" "No floating point info available for this processor." "info float" @@ -386,7 +386,7 @@ You must specify a function name to run, and arguments if any"\ You can't do that when your target is `None'.*$gdb_prompt $"\ { pass "run \"r\" abbreviation" } -re "Starting program: .* -No exec file specified.* +No executable file specified.* Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\ { pass "run \"r\" abbreviation" } -re "Starting program: .* @@ -415,7 +415,7 @@ You must specify a function name to run, and arguments if any" gdb_expect { -re "Starting program:.*You can't do that when your target is `None'.*$gdb_prompt $" { pass "run" } -re "Starting program: .* -No exec file specified.* +No executable file specified.* Use the \"file\" or \"exec-file\" command.*$gdb_prompt $"\ { pass "run" } -re "Starting program: .* -- 2.7.4