binutils-gdb.git
23 years ago* configure.tgt (i*86-*-pe*): New target.
Andrew Cagney [Thu, 19 Jul 2001 05:10:38 +0000 (05:10 +0000)]
* configure.tgt (i*86-*-pe*): New target.

23 years agoFrom 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
Andrew Cagney [Thu, 19 Jul 2001 04:58:17 +0000 (04:58 +0000)]
From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (child_thread_alive): Fix gdb_tid typo.
* somsolib.c (no_shared_libraries): Provide stub.
* xcoffsolib.c (no_shared_libraries): Provide stub.

23 years agomerge from gcc
DJ Delorie [Thu, 19 Jul 2001 00:04:29 +0000 (00:04 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Thu, 19 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* config/default.exp (WINDRES): Add.
DJ Delorie [Wed, 18 Jul 2001 23:56:41 +0000 (23:56 +0000)]
* config/default.exp (WINDRES): Add.
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.

23 years ago * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
Stephane Carrez [Wed, 18 Jul 2001 22:03:22 +0000 (22:03 +0000)]
* tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
(tuiRead, tui_vread): Remove.

* tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
(vcatch_errors, _tui_vDo): Remove.
* tui.h (tuiDo, tuiDoAndReturnToTop): Remove.

* tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
(tui_set_layout): Rename of _tuiSetLayoutTo, public.
(_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
(_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
(_tuiLayout_command): Call tui_set_layout.

* tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
(_tuiScrollRegsForward_command): Likewise.
(_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
(_tuiShowGeneral_command): Likewise.
(_tuiShowSpecial_command): Likewise.
(_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
* tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
(_tuiScrollForward_command): Call tui_scroll.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus_command): Call _tuiSetFocus.
(_tuiRefreshAll_command): Call tuiRefreshAll.
(_tuiSetWinHeight_command): Call _tuiSetWinHeight.
(_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
* tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.

23 years ago * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
Stephane Carrez [Wed, 18 Jul 2001 20:59:00 +0000 (20:59 +0000)]
* tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
(TuiLineOrAddress): Likewise.
* tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
an address.
(tuiSetDisassemContent): Likewise.
(tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
* tuiLayout.c (_extractDisplayStartAddr): Likewise.
(tuiSetLayout): Likewise.
* tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiSetHasBreakAt): Likewise.
* tuiStack.c (tuiSetLocatorInfo): Likewise.
(tuiSwitchFilename): Likewise.
(tuiUpdateLocatorInfoFromFrame): Likewise.
(tuiSetLocatorContent): Likewise.
(tuiShowFrameInfo): Likewise.
* tuiDisassem.h: Update prototypes to use CORE_ADDR.
* tuiSourceWin.h: Likewise.
* tuiStack.h: Likewise.

23 years ago * Makefile.in (COMMON_OBS): Remove tui-file.o.
Stephane Carrez [Wed, 18 Jul 2001 20:53:35 +0000 (20:53 +0000)]
* Makefile.in (COMMON_OBS): Remove tui-file.o.
(SUBDIR_TUI_OBS): Add it here.
(SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
(main.o): Remove dependency with tui-file.h.

23 years ago * i386-dis.c (grps): Print l or w suffix, and require mem modrm
Alan Modra [Wed, 18 Jul 2001 13:33:12 +0000 (13:33 +0000)]
* i386-dis.c (grps): Print l or w suffix, and require mem modrm
for lgdt, lidt, sgdt, sidt.

23 years ago * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
Andreas Schwab [Wed, 18 Jul 2001 10:25:58 +0000 (10:25 +0000)]
* config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
.loc.
(md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
insn.
* config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.

23 years agoRegenerate using autoconf 2.13.
Andrew Cagney [Wed, 18 Jul 2001 06:20:29 +0000 (06:20 +0000)]
Regenerate using autoconf 2.13.

23 years ago*** empty log message ***
gdbadmin [Wed, 18 Jul 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * tuiWin.c: Add missing includes.
Stephane Carrez [Tue, 17 Jul 2001 22:22:40 +0000 (22:22 +0000)]
* tuiWin.c: Add missing includes.
(_makeVisibleWithNewHeight): Fix call to find_line_pc.
* tuiLayout.c: Add missing includes.
(_initAndMakeWin): Don't put curses in echo mode.
(_extractDisplayStartAddr): Fix calls to find_line_pc.
(_tuiLayout_command): Missing ',' in warning call.
* tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
find_line_pc.
(tuiSetHasBreakAt): Check for null source file.

23 years ago * gdb.base/long_long.exp: Detect size of pointer. Take into
Stephane Carrez [Tue, 17 Jul 2001 22:19:49 +0000 (22:19 +0000)]
* gdb.base/long_long.exp: Detect size of pointer.  Take into
account 2-byte pointers when testing for p/a results.

23 years ago * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
Stephane Carrez [Tue, 17 Jul 2001 21:47:19 +0000 (21:47 +0000)]
* gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
and defined to 1K for m68hc11.
(random_data): Reduce table to 1K for embedded platforms (68hc11).
* gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
(sizeof_random_data): New variable to tell the size of the data table;
don't test past this size; always run to main.

23 years ago * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
Stephane Carrez [Tue, 17 Jul 2001 21:37:18 +0000 (21:37 +0000)]
* tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
* tuiLayout.c (_tuiSetLayoutTo): Likewise.
* tui.c (_tui_vToggle_command): Likewise.

23 years ago2001-07-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 17 Jul 2001 20:22:51 +0000 (20:22 +0000)]
2001-07-17  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (tui-file.o): Update dependencies.
* tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.

23 years ago2001-07-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 17 Jul 2001 17:25:14 +0000 (17:25 +0000)]
2001-07-17  Elena Zannoni  <ezannoni@redhat.com>

* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.

23 years ago* no need to inform sid@sourceware about dejagnu patches.
Frank Ch. Eigler [Tue, 17 Jul 2001 15:20:21 +0000 (15:20 +0000)]
* no need to inform sid@sourceware about dejagnu patches.

23 years ago * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
Matthew Green [Tue, 17 Jul 2001 09:57:52 +0000 (09:57 +0000)]
* config/tc-i386.c (comment_chars): Don't use '/' as comment start if
TE_NetBSD.
(line_comment_chars): Set to '/' if TE_NetBSD.

23 years ago * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
Stephane Carrez [Tue, 17 Jul 2001 06:44:57 +0000 (06:44 +0000)]
* tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
each register window.
(tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
of the register to check.
(_tuiRegValueHasChanged): Likewise.
(_tuiRegisterName): Use REGISTER_NAME.
(tui_restore_gdbout): New function.
(_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
to a string.
(START_SPECIAL_REGS): Define.
(_tuiGetRegisterRawValue): Use get_saved_register.
(_tuiDisplayRegister): Fix clearing of register window.

23 years ago * tui-file.h (fputs_unfiltered_hook): Remove.
Stephane Carrez [Tue, 17 Jul 2001 06:42:58 +0000 (06:42 +0000)]
* tui-file.h (fputs_unfiltered_hook): Remove.
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
(tui_file_fputs): Likewise; simplify

23 years ago * source.c (find_source_lines): Remove tui test, must be replaced
Stephane Carrez [Tue, 17 Jul 2001 06:41:47 +0000 (06:41 +0000)]
* source.c (find_source_lines): Remove tui test, must be replaced
by appropriate warning hook.
(print_source_lines): Remove tui hacks, must be replaced by cli.
(forward_search_command): Remove tui hacks, can be replaced by
appropriate calls to identify_source_line when tui scrolls.
(reverse_search_command): Likewise.

23 years ago* resres.c (write_res_header): Align header size.
DJ Delorie [Tue, 17 Jul 2001 03:14:49 +0000 (03:14 +0000)]
* resres.c (write_res_header): Align header size.
(res_align_file): Calculate alignment correctly.

23 years ago * remote.c (init_remote_ops, init_remote_cisco_ops,
Nicholas Duffek [Tue, 17 Jul 2001 01:23:44 +0000 (01:23 +0000)]
* remote.c (init_remote_ops, init_remote_cisco_ops,
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.

23 years ago* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
DJ Delorie [Tue, 17 Jul 2001 01:19:19 +0000 (01:19 +0000)]
* rcparse.y (styles): use SUBLANG_SHIFT instead of 8 (or the more
correct 10).
* resrc.c (write_rc_resource): Likewise.
* windres.h (SUBLANG_SHIFT): Define - as 10.

23 years agoUpdate local local copies of config.sub and config.guess.
Andrew Cagney [Tue, 17 Jul 2001 00:30:01 +0000 (00:30 +0000)]
Update local local copies of config.sub and config.guess.
Mention those files in MAINTAINERS.

23 years agoRevert previous, included more than intended.
Andrew Cagney [Tue, 17 Jul 2001 00:27:28 +0000 (00:27 +0000)]
Revert previous, included more than intended.

23 years ago*** empty log message ***
gdbadmin [Tue, 17 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * remote.c (init_remote_ops, init_remote_cisco_ops,
Nicholas Duffek [Mon, 16 Jul 2001 23:32:14 +0000 (23:32 +0000)]
* remote.c (init_remote_ops, init_remote_cisco_ops,
init_remote_async_ops): Set to_pid_to_str and
to_extra_thread_info correctly and in the same order as declared
in target.h.

23 years ago * findvar.c (read_var_value): Apply value_as_pointer() to
Nicholas Duffek [Mon, 16 Jul 2001 22:57:50 +0000 (22:57 +0000)]
* findvar.c (read_var_value): Apply value_as_pointer() to
addresses retrieved from the target for LOC_BASEREG and
LOC_BASEREG_ARG variables.

23 years ago * tuiStack.c: Add missing includes.
Stephane Carrez [Mon, 16 Jul 2001 22:13:38 +0000 (22:13 +0000)]
* tuiStack.c: Add missing includes.
(tuiShowFrameInfo): Don't crash when there is no symbol table
associated with the pc.
* tuiSource.c (_hasBreak): Check for null source file.
* tuiWin.c (tuiRefreshAll): Check for null winList[type].
(_tuiSetFocus): Check for null dataWin.
* tuiGeneralWin.c (refreshAll): Check for null list[type].

23 years ago * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
Stephane Carrez [Mon, 16 Jul 2001 22:10:07 +0000 (22:10 +0000)]
* tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
to disassemble in the curses window.

23 years ago * tui.h: Cleanup to avoid inclusion of curses includes.
Stephane Carrez [Mon, 16 Jul 2001 22:05:02 +0000 (22:05 +0000)]
* tui.h: Cleanup to avoid inclusion of curses includes.
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
* tuiData.h: To here; include curses includes here.
(setTermHeightTo): Rename of setTermHeight to follow reality.
(setTermWidthTo): Likewise with setTermWidth.

23 years ago2001-07-16 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 16 Jul 2001 19:06:09 +0000 (19:06 +0000)]
2001-07-16  Philip Blundell  <philb@gnu.org>

* gas/arm/arm7t.d, gas/arm/inst.d: Tweak expected output for
change to disassembler.

23 years ago2001-07-13 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 16 Jul 2001 19:04:31 +0000 (19:04 +0000)]
2001-07-13  Philip Blundell  <philb@gnu.org>

* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.

23 years ago * gdb.base/return2.exp: return of long long and double fails for
Stephane Carrez [Mon, 16 Jul 2001 18:49:43 +0000 (18:49 +0000)]
* gdb.base/return2.exp: return of long long and double fails for
68HC11; don't execute these tests on that platform.
* gdb.base/return.exp: Return of a double fails for 68hc11.

23 years ago * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
Stephane Carrez [Mon, 16 Jul 2001 18:44:23 +0000 (18:44 +0000)]
* call-ar-st.exp: Use gdb_skip_float_test to avoid executing
tests that print a float.
* call-rt-st.exp: Likewise.

23 years agoMakefile.in: Add dependencies on $(CPU_H).
Daniel Jacobowitz [Mon, 16 Jul 2001 18:36:37 +0000 (18:36 +0000)]
Makefile.in: Add dependencies on $(CPU_H).

23 years ago2001-07-16 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 16 Jul 2001 16:02:48 +0000 (16:02 +0000)]
2001-07-16  Orjan Friberg  <orjanf@axis.com>

* NEWS: New target CRIS.

23 years ago2001-07-16 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 16 Jul 2001 15:50:51 +0000 (15:50 +0000)]
2001-07-16  Elena Zannoni  <ezannoni@redhat.com>

        * top.c (show_commands): Remove extern decl of history_get, it's
already in readline/history.h.

23 years ago2001-07-16 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 16 Jul 2001 14:46:34 +0000 (14:46 +0000)]
2001-07-16  Elena Zannoni  <ezannoni@redhat.com>

        * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
        execute_user_command, do_setshow_command, get_prompt, init_proc,
        serial_log_command): Remove extern declarations.  Include
        cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
        * gdbcmd.h (execute_user_command): Remove declaration, it's already
        in cli/cli-script.h.
        * command.h (do_setshow_command): Remove declaration, it's already
        in cli/cli-setshow.h.
        * infrun.c: Include "cli/cli-script.h" for execute_user_command.
        * Makefile.in (infrun.o): Update dependencies.
        (top.o): Ditto.
        * cli/cli-setshow.h: Add comment for do_setshow_command.

23 years ago * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
Eli Zaretskii [Mon, 16 Jul 2001 14:13:06 +0000 (14:13 +0000)]
* cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
call to chdir on this symbol rather than on __DJGPP__.
(CANT_FORK) [__MSDOS__]: Move from here...
* defs.h (CANT_FORK) [__MSDOS__]: ...to here.
(GLOBAL_CURDIR) [__MSDOS__]: Define.

23 years ago2001-07-16 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 16 Jul 2001 08:58:32 +0000 (08:58 +0000)]
2001-07-16  Orjan Friberg  <orjanf@axis.com>

* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.

23 years ago2001-07-16 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Mon, 16 Jul 2001 08:52:41 +0000 (08:52 +0000)]
2001-07-16  Orjan Friberg  <orjanf@axis.com>

* configure.tgt: Recognise the CRIS architecture.
* config/cris/cris.mt: New file for CRIS target.
* cris-tdep.c: New file for CRIS target.

23 years ago*** empty log message ***
gdbadmin [Mon, 16 Jul 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 15 Jul 2001 20:45:32 +0000 (20:45 +0000)]
2001-07-15  Elena Zannoni  <ezannoni@redhat.com>

* top.c (quit_cover, float_handler): Move definition up before use.
(gdb_init): Move to end of file, to avoid calls to not yet defined
functions.
Delete prototypes.

23 years ago* serial.h (SERIAL_ASYNC): Delete.
Andrew Cagney [Sun, 15 Jul 2001 20:34:14 +0000 (20:34 +0000)]
* serial.h (SERIAL_ASYNC): Delete.
(DEPRECATED_SERIAL_FD): Delete.
(SERIAL_DEBUG): Delete.
(SERIAL_DEBUG_P): Delete.
(SERIAL_DRAIN_OUTPUT): Delete.
(SERIAL_FLUSH_OUTPUT): Delete.
(SERIAL_FLUSH_INPUT): Delete.
(SERIAL_SEND_BREAK): Delete.
(SERIAL_RAW): Delete.
(SERIAL_GET_TTY_STATE): Delete.
(SERIAL_SET_TTY_STATE): Delete.
(SERIAL_PRINT_TTY_STATE): Delete.
(SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
(SERIAL_SETBAUDRATE): Delete.
(SERIAL_SETSTOPBITS): Delete.
(SERIAL_CAN_ASYNC_P): Delete.
(SERIAL_IS_ASYNC_P): Delete.
(SERIAL_UN_FDOPEN): Delete.
(SERIAL_READCHAR): Delete.
(SERIAL_CLOSE): Delete.
(SERIAL_FDOPEN): Delete.
(SERIAL_OPEN): Delete.

23 years agos/value_ptr/struct value */
Andrew Cagney [Sun, 15 Jul 2001 20:10:02 +0000 (20:10 +0000)]
s/value_ptr/struct value */

23 years ago2001-07-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 15 Jul 2001 19:33:11 +0000 (19:33 +0000)]
2001-07-15  H.J. Lu  <hjl@gnu.org>

* Makefile.am (po/SRC-POTFILES.in): Use tmp.src instead of tmp.
(po/BLD-POTFILES.in): Use tmp.bld instead of tmp.
* Makefile.in: Regenerate.

23 years ago2001-07-15 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 15 Jul 2001 18:57:06 +0000 (18:57 +0000)]
2001-07-15  Elena Zannoni  <ezannoni@redhat.com>

* top.c (readline_line_completion_function, noop_completer): Move
  from here...
* completer.c (readline_line_completion_function, noop_completer):
  ...to here.
* gdbcmd.h (readline_line_completion_function, noop_completer):
  Move declarations from here...
* completer.h (readline_line_completion_function, noop_completer):
  ...to here.
* corefile.c: Include completer.h.
* source.c: Ditto.
* symfile.c: Ditto.
* Makefile.in: Update dependencies.

23 years agoAdd Christian Groessler as maintainer for z8k port.
Nick Clifton [Sun, 15 Jul 2001 10:30:30 +0000 (10:30 +0000)]
Add Christian Groessler as maintainer for z8k port.

23 years ago * go32-nat.c (go32_create_inferior): Support command lines longer
Eli Zaretskii [Sun, 15 Jul 2001 10:28:13 +0000 (10:28 +0000)]
* go32-nat.c (go32_create_inferior): Support command lines longer
than 126 characters.

23 years ago*** empty log message ***
gdbadmin [Sun, 15 Jul 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
Stephane Carrez [Sat, 14 Jul 2001 19:31:09 +0000 (19:31 +0000)]
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
tuiIO.c, tuiData.c: Likewise.
tuiDataWin.c, tuiDisassem.c: Likewise.
tuiGeneralWin.c, tuiLayout.c: Likewise.
tuiRegs.c, tuiSource.c: Likewise.
tuiSouceWin.c, tuiStack.c: Likewise.

23 years ago * NEWS: New target 68HC11/68HC12.
Stephane Carrez [Sat, 14 Jul 2001 19:10:30 +0000 (19:10 +0000)]
* NEWS: New target 68HC11/68HC12.

23 years ago * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
Stephane Carrez [Sat, 14 Jul 2001 19:01:25 +0000 (19:01 +0000)]
* tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.

23 years ago * utils.c (query): Remove tui hacks; tui must use the query_hook.
Stephane Carrez [Sat, 14 Jul 2001 18:59:07 +0000 (18:59 +0000)]
* utils.c (query): Remove tui hacks; tui must use the query_hook.
* top.c (command_loop): Remove tui insert_mode hacks; don't call
tuiCleanUp because this must be made with atexit by tui.
* symfile.c (symbol_file_command): Remove call to TUIDO
* stack.c (show_and_print_stack_frame_stub): Remove tui check;
not necessary when using the selected frame hooks.
(print_stack_frame_stub): Likewise.
(print_frame_info_base): Likewise.
(print_frame_info): Likewise.
(up_silently_command): Likewise.
(down_silently_command): Likewise.
(show_stack_frame): Likewise for TUIDO.
(select_frame): Likewise.
(select_and_print_frame): Likewise.
(stack_publish_stopped_with_no_frame): Remove.
(select_and_maybe_print_frame): Remove.
* main.c (captured_main): Remove tui_fileopen and tuiInit; tui
must use the initialize ui hook.
* infrun.c (normal_stop): Remove call to TUIDO; tui must use the
selected frame hooks.
* event-top.c (command_handler): Remove tui insert_mode hack.
* defs.h: Remove TUIDO; Only include tui.h.
* breakpoint.c (mention): Remove calls to TUIDO.
(delete_breakpoint): Remove tui hacks; tui must install
the breakpoint hooks.

23 years ago2001-07-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 14 Jul 2001 16:36:25 +0000 (16:36 +0000)]
2001-07-14  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (output_prev_sec_find): Never return
bfd_abs_section_ptr, bfd_com_section_ptr nor
bfd_und_section_ptr.

23 years ago* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
Andrew Cagney [Sat, 14 Jul 2001 16:14:10 +0000 (16:14 +0000)]
* Makefile.in (refcard.dvi): Rewrite to avoid problems with empty
`test` expressions on bash.  Problem reported by Colin Walters.

23 years agoFix failures in MIPS testsuite
Nick Clifton [Sat, 14 Jul 2001 15:50:41 +0000 (15:50 +0000)]
Fix failures in MIPS testsuite

23 years agoFix dependency for em32relf.c
Nick Clifton [Sat, 14 Jul 2001 15:47:17 +0000 (15:47 +0000)]
Fix dependency for em32relf.c

23 years agofix formatting goof in previous.
Matthew Green [Sat, 14 Jul 2001 15:36:22 +0000 (15:36 +0000)]
fix formatting goof in previous.

23 years ago * configure.tgt (i386-*-netbsdelf*): New target.
Matthew Green [Sat, 14 Jul 2001 14:45:42 +0000 (14:45 +0000)]
* configure.tgt (i386-*-netbsdelf*): New target.
(i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'

23 years ago * configure.in (i386-*-netbsdelf*): New target.
Matthew Green [Sat, 14 Jul 2001 14:44:39 +0000 (14:44 +0000)]
* configure.in (i386-*-netbsdelf*): New target.
configure: Regenerate.

23 years ago* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
Mark Kettenis [Sat, 14 Jul 2001 11:55:29 +0000 (11:55 +0000)]
* config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
* config/i386/nm-linux.h: ...to here.  Change comments about user
area/struct a bit.

23 years ago* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
Mark Kettenis [Sat, 14 Jul 2001 11:12:52 +0000 (11:12 +0000)]
* config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.

23 years ago* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
Mark Kettenis [Sat, 14 Jul 2001 09:50:25 +0000 (09:50 +0000)]
* Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
(i386bsd-tdep.o, i386bsd-nat.o): New targets.

23 years ago*** empty log message ***
gdbadmin [Sat, 14 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-13 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 13 Jul 2001 20:03:52 +0000 (20:03 +0000)]
2001-07-13  Elena Zannoni  <ezannoni@redhat.com>

* remote-e7000.c (fetch_regs_from_dump): If register set is null,
generate an internal error.
(e7000_fetch_registers): Initialize variable 'wanted'.
(e7000_wait): Initialize variable 'wanted_nopc'.
(e7000_store_register): Fix sprintf compiler warnings.
(sub2_from_pc): Ditto.
(e7000_open): Close the descriptor, not the name.
(e7000_load): Fix compiler warnings.
(sub2_from_pc): Ditto.
* Makefile.in (remote-e7000.o): Can now compile with -Werror.

23 years ago* i386bsd-nat.c: Include <signal.h>, <stddef.h> and
Mark Kettenis [Fri, 13 Jul 2001 18:27:21 +0000 (18:27 +0000)]
* i386bsd-nat.c: Include <signal.h>, <stddef.h> and
<sys/sysctl.h>.
(store_inferior_registers): Wrap long line.
(i386bsd_dr_get_status): Fix typo in comment.
(_initialize_i386bsd_nat): New function.  * i386bsd-tdep.c: New
file.  * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
(i386bsd_in_sigtramp): New prototype.
(SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
(i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
(external) variables.
(SIGCONTEXT_PC_OFFSET): Removed.
(FRAME_SAVED_PC): New define.
(i386bsd_frame_saved_pc): New function.  * config/i386/fbsd.mt
(TDEPFILES): Add i386bsd-tdep.o.

23 years ago * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
Daniel Jacobowitz [Fri, 13 Jul 2001 17:34:47 +0000 (17:34 +0000)]
    * mips-linux-tdep.c (_initialize_mips_linux_tdep):  Use ISO C
        definition.

23 years ago* lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
Mark Kettenis [Fri, 13 Jul 2001 12:49:31 +0000 (12:49 +0000)]
* lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
are no registered LWPs yet.

23 years ago * emultempl/elf32.em (output_prev_sec_find): New.
Jakub Jelinek [Fri, 13 Jul 2001 07:25:18 +0000 (07:25 +0000)]
* emultempl/elf32.em (output_prev_sec_find): New.
(place_orphan): Use it.

23 years agofix i386-linux cannot_fetch/store_register
Daniel Jacobowitz [Fri, 13 Jul 2001 05:19:30 +0000 (05:19 +0000)]
fix i386-linux cannot_fetch/store_register

23 years ago * remote-rdp.c: Include "serial.h"
Keith Seitz [Fri, 13 Jul 2001 02:55:57 +0000 (02:55 +0000)]
* remote-rdp.c: Include "serial.h"

23 years ago*** empty log message ***
gdbadmin [Fri, 13 Jul 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:26:42 +0000 (21:26 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen-asm.in: Include "xregex.h" always to enable the libiberty
        regex support.
        (@arch@_cgen_build_insn_regex): New routine from Graydon.
        (@arch@_cgen_assemble_insn): Add Graydon's code to use regex
        to verify if it is worth parsing the insn as insn "x".  Also update
        error message when insn is not a recognized format of the insn vs
        when the insn is completely unrecognized.

23 years ago2001-07-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 12 Jul 2001 21:20:59 +0000 (21:20 +0000)]
2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * opcode/cgen.h (CGEN_INSN): Add regex support.
        (build_insn_regex): Declare.

23 years ago * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
Daniel Jacobowitz [Thu, 12 Jul 2001 21:04:35 +0000 (21:04 +0000)]
    * gdbserver/remote-utils.c (remote_open):  Set VMIN to 1
        in HAVE_TERMIO/HAVE_TERMIOS cases.

23 years ago* lin-lwp.c (stop_wait_callback): Add support for flushing
Mark Kettenis [Thu, 12 Jul 2001 19:37:36 +0000 (19:37 +0000)]
* lin-lwp.c (stop_wait_callback): Add support for flushing
signals.  Use that in favour of the old code to get rid of
superfluous SIGINTs.
(lin_lwp_wait): Use the new support in stop_wait_callback to
flush all but one SIGINT.

23 years ago* i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
Mark Kettenis [Thu, 12 Jul 2001 18:50:01 +0000 (18:50 +0000)]
* i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
to comment.
(i386_store_return_value): Improve comments about storing
floating-point return values.

23 years ago* config/arm/xm-linux.h, config/i386/xm-linux.h,
Mark Kettenis [Thu, 12 Jul 2001 18:22:37 +0000 (18:22 +0000)]
* config/arm/xm-linux.h, config/i386/xm-linux.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
Removed.  Taken care of by autoconf and terminal.h.

23 years ago * mips-tdep.c (mips_type_needs_double_align): New function.
Daniel Jacobowitz [Thu, 12 Jul 2001 17:34:33 +0000 (17:34 +0000)]
    * mips-tdep.c (mips_type_needs_double_align): New function.
        (mips_push_arguments): Align o32 structs to even argument
        registers if necessary.

23 years agofix mips/linux 8.3 errors
Daniel Jacobowitz [Thu, 12 Jul 2001 17:23:32 +0000 (17:23 +0000)]
fix mips/linux 8.3 errors

23 years ago2001-07-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 12 Jul 2001 15:03:27 +0000 (15:03 +0000)]
2001-07-12  H.J. Lu  <hjl@gnu.org>

* ld-selective/selective.exp: Mark selective1, selective2,
selective4 and selective5 xfail on alpha*-*.

23 years ago* config/powerpc/xm-linux.h: Fix corrupted file.
Mark Kettenis [Thu, 12 Jul 2001 14:02:23 +0000 (14:02 +0000)]
* config/powerpc/xm-linux.h: Fix corrupted file.

23 years ago* configure.in: Add check for sigsetjmp.
Mark Kettenis [Thu, 12 Jul 2001 13:48:46 +0000 (13:48 +0000)]
* configure.in: Add check for sigsetjmp.
* config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
* config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
* configure, config.in: Regenerated.

23 years ago* gdb.base/so-impl-ld.exp: Remove stray space that prevented
Mark Kettenis [Thu, 12 Jul 2001 13:07:32 +0000 (13:07 +0000)]
* gdb.base/so-impl-ld.exp: Remove stray space that prevented
running this test on Linux.

23 years ago* mi-main.c (mi_execute_command): Flush output after ``(gdb)''
Andrew Cagney [Thu, 12 Jul 2001 05:54:48 +0000 (05:54 +0000)]
* mi-main.c (mi_execute_command): Flush output after ``(gdb)''
prompt.  Bug reported by David Whedon.
(mi_execute_async_cli_command): Ditto.
(mi_exec_async_cli_cmd_continuation): Ditto.
(mi_command_loop): Ditto.

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 12 Jul 2001 04:24:44 +0000 (04:24 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_check_relocs): Set the ALLOC|LOAD
flags when creating the reloc section if the ALLOC flag in the
source section is set.

23 years ago* some support for funny-endian 16/32-bit insn sets
Frank Ch. Eigler [Thu, 12 Jul 2001 02:32:25 +0000 (02:32 +0000)]
* some support for funny-endian 16/32-bit insn sets

[cgen/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * desc-cpu.scm (-gen-mach-table-defns): Emit fourth field: the
        mach->cpu insn-chunk-bitsize.
        (-gen-cpu-open): In @arch@_cgen_rebuild_tables, process above new
        field toward CGEN_CPU_TABLE->insn_chunk_bitsize.
        * mach.scm (<cpu>): New field insn-chunk-bitsize.
        (-cpu-parse, -cpu-read): Parse/initialize it.
        * doc/rtl.texi (define-cpu): Document it.

[opcodes/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen-dis.in (print_insn): Use cgen_get_insn_value instead of
        bfd_get_bits.
        * cgen-opc.c (cgen_get_insn_value, cgen_put_insn_value): Respect
        non-zero CGEN_CPU_DESC->insn_chunk_bitsize.

[include/opcode/ChangeLog]
2001-07-11  Frank Ch. Eigler  <fche@redhat.com>

        * cgen.h (CGEN_MACH): Add insn_chunk_bitsize field.
        (cgen_cpu_desc): Ditto.

23 years ago2001-07-11 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 12 Jul 2001 02:29:33 +0000 (02:29 +0000)]
2001-07-11  Elena Zannoni  <ezannoni@redhat.com>

* config/sh/tm-sh.h (struct gdbarch_tdep): Add
FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
PR_REGNUM fields.

* sh-tdep.c (sh_skip_prologue_hard_way): Rename from
skip_prologue_hard_way().
(skip_prologue_hard_way): Make it a function pointer.
        (sh_print_register): Use function pointer do_pseudo_register,
instead of sh_do_pseudo_register.
        (sh_do_registers_info): Ditto.
        (sh_gdbarch_init): Initialize do_pseudo_register.
(IS_MOV_TO_R14): Rename from IS_MOV_R14.
(skip_prologue_hard_way): Update.
(sh_gdbarch_init): Move setting of frame_chain,
get_saved_register, init_extra_frame_info, push_arguments,
extract_return_value, pop_frame, store_struct_return,
extract_struct_value_address, use_struct_convention,
init_extra_frame_info to before target specific settings.
(sh_gdbarch_init): Initialize new tdep fields
FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
PR_REGNUM.
(sh_push_arguments): Use new gdbarch_tdep fields
{ARG0,ARGLAST}_REGNUM.
(sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
sh_init_extra_frame_info, sh_push_return_address,
sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
gdbarch_tdep->PR_REGNUM.
(dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.

23 years agosje patch for 32-bit IA-64 ELF relocs for HPUX
Jim Wilson [Thu, 12 Jul 2001 01:24:14 +0000 (01:24 +0000)]
sje patch for 32-bit IA-64 ELF relocs for HPUX
* reloc.c (bfd_reloc_code_type): Add IA64 relocs
BFD_RELOC_IA64_LTOFF_FPTR32MSB and BFD_RELOC_IA64_LTOFF_FPTR32LSB
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elfxx-ia64.c (ia64_howto_table): Define how to handle
new relocations.
(elfNN_ia64_reloc_type_lookup): Handle new relocations.
(elfNN_ia64_check_relocs): Likewise.
(elfNN_ia64_install_value): Likewise.
(elfNN_ia64_relocate_section): Likewise.

23 years ago*** empty log message ***
gdbadmin [Thu, 12 Jul 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoDon't duplicate tm-linux.h
Daniel Jacobowitz [Wed, 11 Jul 2001 21:49:41 +0000 (21:49 +0000)]
Don't duplicate tm-linux.h

23 years agoAdd myself to MAINTAINERS for mips/linux
Daniel Jacobowitz [Wed, 11 Jul 2001 20:44:51 +0000 (20:44 +0000)]
Add myself to MAINTAINERS for mips/linux

23 years ago2001-07-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 11 Jul 2001 19:50:56 +0000 (19:50 +0000)]
2001-07-11  H.J. Lu  <hjl@gnu.org>

* ldmain.c (main): Fix typos in the last change.

23 years ago * elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
Jakub Jelinek [Wed, 11 Jul 2001 19:40:32 +0000 (19:40 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Remove support for
R_SPARC_UA64.
(elf32_sparc_check_relocs): Likewise.
Only create .rela section for alloced sections in shared libraries.
(elf32_sparc_relocate_section): Likewise.
Remove redundant check.
Optimize unaligned reloc usage.
* elf64-sparc.c (sparc64_elf_relocate_section): Remove redundant
check.

* testsuite/gas/sparc/unalign.s: Remove .uaxword test.
* testsuite/gas/sparc/unalign.d: Adjust accordingly.

23 years ago*** empty log message ***
John Healy [Wed, 11 Jul 2001 19:35:17 +0000 (19:35 +0000)]
*** empty log message ***