diff options
author | Steve Chamberlain <sac@cygnus> | 1995-09-29 00:14:01 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1995-09-29 00:14:01 +0000 |
commit | dedcc91de6ec2cbcec9c14341dd4b27e39856ca0 (patch) | |
tree | 92c5eb107e36e9fca6ec8d2d36715681eed62bfc /gdb/utils.c | |
parent | b91537be6193d1f7d9347eade8b18b0f4414a022 (diff) | |
download | gdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.zip gdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.tar.gz gdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.tar.bz2 |
Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>
* callback.[ch]: New files.
* remote-rdp.c: Support for the ARM RDP monitor.
* Makefile: Update.
* arm-tdep.c (arm_othernames): New.
(_initialize_arm_tdep): install 'othernames' command.
(arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New.
* configure.in: Check for termios.h, termio.h and sgtty.h.
(i[345]86-*-win32*): New host.
* configure: Regenerated.
* inflow.c: Clean up inclusions.
* main.c (main): Check for WINGDB, not WIN32.
* printcmd.c (do_examine): Put QUIT test in loop.
* remote-hms.c (e7000_load): Delete.
(hms_ops): Point to generic_load instead.
* remote-hms.c (hms_ops): Point to generic_load.
* remote-sim.c (sim_callback_write_stdout): Becomes
gdbsim_write_stdout.
(gdbsim_load): Call generic_load.
* remote-utils.c (gr_load_image): Delete.
* ser-unix.c (terminal.h): Include instead of havig
own #if tree.
(hardwire_flush_input): Reset input buffer too.
* source.c (openp): If WIN32 then open file in binary mode.
* terminal.h: Configure IO mechanism using autoconf defines if available and
not overriden.
* utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check.
* config/arm/arm.mt (TDEPFILES): Add remote-rdp.o
* config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE.
(ADDR_BITS_REMOVE): New.
(ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New.
(INST_xx): New
(FRAME_FIND_SAVED_REGS): Pass the right argument.
(arm_get_next_pc): Declare.
* mswin/prebuilt/*/bfdtarget.h (SELECT_ARCHITECTURES): Need leading &.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 757db69..98872b9 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -15,7 +15,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "defs.h" #if !defined(__GO32__) && !defined(WIN32) @@ -536,7 +536,7 @@ quit () } -#if defined(__GO32__)||defined(WIN32) +#if defined(__GO32__)||defined(WINGDB) /* In the absence of signals, poll keyboard for a quit. Called from #define QUIT pollquit() in xm-go32.h. */ @@ -565,7 +565,7 @@ pollquit() #endif -#if defined(__GO32__)||defined(WIN32) +#if defined(__GO32__)||defined(WINGDB) void notice_quit() { if (kbhit ()) @@ -597,7 +597,6 @@ request_quit (signo) int signo; { quit_flag = 1; - /* Restore the signal handler. Harmless with BSD-style signals, needed for System V-style signals. So just always do it, rather than worrying about USG defines and stuff like that. */ @@ -606,7 +605,7 @@ request_quit (signo) #ifdef REQUEST_QUIT REQUEST_QUIT; #else - if (immediate_quit) + if (immediate_quit) quit (); #endif } |