external/binutils.git
23 years ago* configure.in (AC_CHECK_FUNCS): Add setpggrp.
Mark Kettenis [Mon, 23 Jul 2001 19:21:57 +0000 (19:21 +0000)]
* configure.in (AC_CHECK_FUNCS): Add setpggrp.
(AC_FUNC_SETPGRP): Add.
* aclocal.m4, configure, config.in: Regenerated.
* inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
SETPGRP_ARGS.  Always use setpgid if it is available, fall back on
setpgrp if it isn't.  Use SETPGRP_VOID (defined by autoconf) to
distinguish between the two setpgrp flavours.
* config/xm-sysv4.h, config/arm/xm-linux.h,
config/i386/xm-i386aix.h, config/i386/xm-sco.h,
config/i386/xm-linux.h, config/i386/xm-ptx.h,
config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
* config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.

23 years ago * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
Keith Seitz [Mon, 23 Jul 2001 19:02:31 +0000 (19:02 +0000)]
* lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
the empty string, do not run the tests.

23 years agoAdd new DJGPP-specific commands and document them in the manual.
Eli Zaretskii [Mon, 23 Jul 2001 16:10:24 +0000 (16:10 +0000)]
Add new DJGPP-specific commands and document them in the manual.
Make the function which reads memory regions be more defensive
about buggy DPMI providers.

23 years ago * config/tc-alpha.h: Fix formatting.
Kazu Hirata [Mon, 23 Jul 2001 14:02:13 +0000 (14:02 +0000)]
* config/tc-alpha.h: Fix formatting.
* config/tc-arc.c: Likewise.
* config/tc-d10v.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.h: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ia64.h: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-pdp11.c: Likewise.
* config/tc-pj.h: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sparc.c: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-w65.h: Likewise.

23 years ago * s390-dis.c: Fix formatting.
Kazu Hirata [Mon, 23 Jul 2001 13:41:14 +0000 (13:41 +0000)]
* s390-dis.c: Fix formatting.

23 years ago * symbols.c (S_GET_VALUE): Don't treat O_constant and local
Alan Modra [Mon, 23 Jul 2001 13:03:40 +0000 (13:03 +0000)]
* symbols.c (S_GET_VALUE): Don't treat O_constant and local
symbols specially.  Always resolve, adding fr_address to value.
* write.c (write_object_file): Don't add fr_address to sym values.
(relax_frag): Likewise.
(relax_segment): Likewise.
* config/obj-ieee.c (do_symbols): Likewise.
* config/tc-cris.c (md_convert_frag): Likewise.
* config/tc-fr30.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-m32r.c (md_convert_frag): Likewise.
* config/tc-m68hc11.c (md_convert_frag): Likewise.
* config/tc-mcore.c (md_convert_frag): Likewise.
* config/tc-mips.c (mips16_extended_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag_1): Likewise.
(BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
(md_relax_table): Remove first four entries.  Format.
(md_estimate_size_before_relax): Remove old_fix.  Don't bother
setting fr_var.  Simplify byte branch checks.

23 years ago * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
Alan Modra [Mon, 23 Jul 2001 12:50:22 +0000 (12:50 +0000)]
* config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
"isbranch" param as all calls have it set.
(pa_parse_neg_cmpsub_cmpltr): Likewise.
(pa_parse_nonneg_add_cmpltr): Likewise.  Remember result of
strcasecmp in "nullify" var.
(pa_parse_neg_add_cmpltr): Likewise.
(pa_ip): Don't "save_s" unnecessarily.  Update calls to above
functions.  Don't print wrong conditions in error messages.

23 years ago * config/tc-s390.c (s390_force_relocation): Removed.
Andreas Jaeger [Mon, 23 Jul 2001 10:21:22 +0000 (10:21 +0000)]
* config/tc-s390.c (s390_force_relocation): Removed.

* config/tc-s390.h: Remove double declaration of
TC_FORCE_RELOCATION.

23 years ago * ldcref.c (check_section_sym_xref): New function.
Alan Modra [Mon, 23 Jul 2001 07:54:04 +0000 (07:54 +0000)]
* ldcref.c (check_section_sym_xref): New function.
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here.  Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.

23 years ago * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
Alan Modra [Mon, 23 Jul 2001 07:43:09 +0000 (07:43 +0000)]
* gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
* gas/i386/intel.d: Likewise.

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

23 years ago* i386gnu-nat.c: Include "i387-nat.h".
Mark Kettenis [Sun, 22 Jul 2001 20:35:14 +0000 (20:35 +0000)]
* i386gnu-nat.c: Include "i387-nat.h".
(struct env387): Removed.
(reg_offset): Fix comment.
(fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM.  Rewrite to
use i387_supply_fsave.
(gnu_fetch_registers): Remove spurious whitespace.
(convert_to_env387): Remove.
(store_fpregs): Add argument regno.  Use i387_fill_fsave instead
of convert_to_env387.
(gnu_store_registers): Remove spurious whitespace.  Pass REGNO to
store_fpregs.
* config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
* config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
(NATDEPFILES): Add i387-nat.o.

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

* config/tc-mips.c (s_mips_end): Remove unused variables.
(s_mips_frame): Add ATTRIBUTE_UNUSED.

23 years ago * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
Stephane Carrez [Sun, 22 Jul 2001 12:41:49 +0000 (12:41 +0000)]
* Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
(m68hc11-tdep.o): Define dependencies.

23 years ago * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
Stephane Carrez [Sun, 22 Jul 2001 12:37:02 +0000 (12:37 +0000)]
* m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.

23 years ago * Makefile.in (SIM_OBJS): Remove sim-resume.o
Stephane Carrez [Sun, 22 Jul 2001 12:33:58 +0000 (12:33 +0000)]
* Makefile.in (SIM_OBJS): Remove sim-resume.o
* interp.c (sim_resume): New function from sim-resume.c, install
the stepping event after having processed the pending ticks.
(has_stepped): Likewise.
(sim_info): Produce an output only if verbose or STATE_VERBOSE_P.

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

23 years ago * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
Stephane Carrez [Sat, 21 Jul 2001 22:35:40 +0000 (22:35 +0000)]
* tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
if SIGCONT is defined.
(tui_cont_sig): New function when SIGCONT is defined.
(tui_setup_io): Save tty setting to restore by SIGCONT.

23 years ago * utils.c (init_page_info): Use tui_get_command_dimension.
Stephane Carrez [Sat, 21 Jul 2001 22:31:14 +0000 (22:31 +0000)]
* utils.c (init_page_info): Use tui_get_command_dimension.
* printcmd.c (disassemble_command): Simplify tui specific code,
use tui_is_window_visible, tui_show_assembly.

23 years ago * tui.h (tui_show_assembly): Declare.
Stephane Carrez [Sat, 21 Jul 2001 22:24:44 +0000 (22:24 +0000)]
* tui.h (tui_show_assembly): Declare.
(tui_is_window_visible): Declare.
* tui.c (tui_show_assembly): New function.
(tui_is_window_visible): New function.
(tui_get_command_dimension): New function.

23 years ago * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
Stephane Carrez [Sat, 21 Jul 2001 20:57:17 +0000 (20:57 +0000)]
* tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.

23 years ago * tui-file.c (tui_file_fputs): Use tui_puts.
Stephane Carrez [Sat, 21 Jul 2001 20:55:34 +0000 (20:55 +0000)]
* tui-file.c (tui_file_fputs): Use tui_puts.

23 years ago * tuiStack.c (tuiSetLocatorInfo): Cleanup.
Stephane Carrez [Sat, 21 Jul 2001 20:52:56 +0000 (20:52 +0000)]
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
* tuiStack.h (tuiGetLocatorFilename): Declare.
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
* tuiData.h (addToSourceWindows): Declare.

23 years ago * tui.c (tui_change_windows): New function.
Stephane Carrez [Sat, 21 Jul 2001 20:49:56 +0000 (20:49 +0000)]
* tui.c (tui_change_windows): New function.
(tui_delete_other_windows): New function.
(tui_initialize_readline): Bind them to C-X 1 and C-X 2.
(tui_enable): Enable the keypad; call tui_update_variables.
(strcat_to_buf_with_fmt): Remove.

23 years ago2001-07-21 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 21 Jul 2001 20:46:51 +0000 (20:46 +0000)]
2001-07-21  Chris Demetriou  <cgd@broadcom.com>

      * mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s
      into the rest of the surrounding definitions.

23 years ago* i386bsd-nat.c: Do not include <sys/sysctl.h>.
Mark Kettenis [Sat, 21 Jul 2001 20:16:44 +0000 (20:16 +0000)]
* i386bsd-nat.c: Do not include <sys/sysctl.h>.
(_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
code to ...
* i386fbsd-nat.c: ... here.  New file.
* config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
* config/i386/nm-fbsd.h (CHILD_RESUME): Define.
* Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
(i386fbsd-nat.o): Add dependencies.

23 years ago * tui.h: Remove old declarations, add the new ones.
Stephane Carrez [Sat, 21 Jul 2001 19:59:14 +0000 (19:59 +0000)]
    * tui.h: Remove old declarations, add the new ones.
        * tui.c (tui_switch_mode): New function.
        (tui_initialize_readline): New function.
        (tui_enable): New function.
        (tui_disable): New function.
        (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
        (tui_vSelectSourceSymtab): Remove.
        (tuiInitWindows): Remove.
        (_initialize_tui): Remove.
        (_tuiReset): Keep but put arround #if 0.

23 years ago * tuiIO.h: Remove old declarations and add the new ones.
Stephane Carrez [Sat, 21 Jul 2001 19:56:54 +0000 (19:56 +0000)]
    * tuiIO.h: Remove old declarations and add the new ones.
        * tuiIO.c: New management for curses and gdb terminal interactions.
        (tui_tputs): Remove.
        (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
        (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
        (tui_owns_terminal): Remove.
        (tui_redisplay_readline): New function.
        (tui_puts): New function.
        (tui_prep_terminal): New function.
        (tui_deprep_terminal): New function.
        (tui_getc): Rename of tuiGetc, simplify and fix.
        (tui_setup_io): New function.
        (tui_initialize_io): New function.

23 years ago * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
Stephane Carrez [Sat, 21 Jul 2001 19:46:59 +0000 (19:46 +0000)]
* tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
(_tuiRegisterFormat): Reduce size of format result.

23 years ago * tuiGeneralWin.c (boxWin): Use the tui configuration variables.
Stephane Carrez [Sat, 21 Jul 2001 19:44:38 +0000 (19:44 +0000)]
* tuiGeneralWin.c (boxWin): Use the tui configuration variables.
* tuiWin.h: Declare the new variables.
* tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
(tui_update_variables): New function.
(translate): New function.
(tui_border_kind_enums, tui_border_mode_enums): New tables.
(tui_border_mode_translate): New table.
(tui_border_kind_translate_*): New tables.
(tui_active_border_mode): New variables.
(tui_border_*): New variables.

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

23 years ago * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
Stephane Carrez [Fri, 20 Jul 2001 23:06:48 +0000 (23:06 +0000)]
* tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
(_makeVisibleWithNewHeight): Use TuiLineOrAddress type.

* tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
(tui_vUpdateLocatorFilename): Remove.
* tuiStack.h: Update prototypes.

* tuiSourceWin.c (tuiAddrIsDisplayed): New function.
(tuiLineIsDisplayed): Split for address and line.
(tuiUpdateSourceWindow): Use TuiLineOrAddress type.
(tuiUpdateSourceWindowAsIs): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiHorizontalSourceScroll): Likewise.
(tuiSetIsExecPointAt): Likewise.
(tuiUpdateOnEnd): Likewise.
* tuiSourceWin.h: Update prototypes.

* tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
(tuiShowSource): Likewise.
(tuiVerticalSourceScroll): Likewise.
* tuiSource.h (tuiShowSource): Update prototype.

* tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
(tuiShowDisassem): Use TuiLineOrAddress type.
(tuiShowDisassemAndUpdateSource): Likewise.
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAsIs): Remove.
* tuiDisassem.h (tuiSetDisassemContent): Update prototype.

* tuiData.c (initWinInfo): Use CORE_ADDR for address.
(clearWinDetail): Likewise.
(displayableWinContentOf): Fix address conversion.
(tuiNextWin): Fix crash when the window is not yet created.
(partialWinByName): Likewise.

23 years ago * tuiSourceWin.h: Remove unused declarations.
Stephane Carrez [Fri, 20 Jul 2001 22:26:54 +0000 (22:26 +0000)]
* tuiSourceWin.h: Remove unused declarations.
* tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove.
(tui_vUpdateSourceWindowsWithLine): Remove.
(tui_vAllSetHasBreakAt): Remove.

* tuiLayout.h (tui_set_layout): Declare.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.
* tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI.
(_tuiToggleLayout_command): Remove.
(_tuiToggleSplitLayout_command): Remove.
(_tuiLayout_command): Remove.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.

* tuiDataWin.h (tui_vCheckDataValues): Remove.
* tuiDataWin.c (tui_vCheckDataValues): Remove.

23 years ago * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
Stephane Carrez [Fri, 20 Jul 2001 22:22:08 +0000 (22:22 +0000)]
* tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
(_parseScrollingArgs): Use xstrdup.
(_tuiScrollForward_command): Call tui_enable() to force TUI mode.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus): Likewise.
(_tuiSetFocus_command): Likewise.
(_tuiRefreshAll_command): Likewise.
(_tuiSetTabWidth_command): Likewise.
(_tuiSetWinHeight): Likewise.
(_tuiSetWinHeight_command): Likewise.
(_tuiXDBsetWinHeight): Likewise.
(_tui_vSetFocus): Remove.
(_tui_vSetWinHeight): Remove.
(_tui_vXDBsetWinHeight): Remove.

23 years ago * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
Stephane Carrez [Fri, 20 Jul 2001 22:17:49 +0000 (22:17 +0000)]
* tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
(tuiIncrCommandCharCountBy): Remove.
(tuiDecrCommandCharCountBy): Remove.
(tuiSetCommandCharCountTo): Remove.
(tuiClearCommandCharCount): Remove.

23 years agoClone src/config.guess. Mention in MAINTAINERS.
Andrew Cagney [Fri, 20 Jul 2001 20:08:08 +0000 (20:08 +0000)]
Clone src/config.guess.  Mention in MAINTAINERS.

23 years agoThree misspellings.
John R. Moore [Fri, 20 Jul 2001 01:14:05 +0000 (01:14 +0000)]
Three misspellings.

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

23 years ago * tuiWin.c (_initialize_tuiWin): Always define the tui commands;
Stephane Carrez [Thu, 19 Jul 2001 22:47:46 +0000 (22:47 +0000)]
* tuiWin.c (_initialize_tuiWin): Always define the tui commands;
create the tui class help.
* tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
* tuiRegs.c (_initialize_tuiRegs): Likewise.
* tuiStack.c (_initialize_tuiStack): Likewise.

23 years ago * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
Stephane Carrez [Thu, 19 Jul 2001 21:56:39 +0000 (21:56 +0000)]
* tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAndUpdateSource): Check for null symtab to
prevent a crash.

23 years ago * signals.c: New file.
Daniel Jacobowitz [Thu, 19 Jul 2001 18:09:11 +0000 (18:09 +0000)]
    * signals.c: New file.
        * Makefile.in: Add signals.o.
        * target.c (struct signals, target_signal_to_name)
        (target_signal_from_name, target_signal_from_host)
        (do_target_signal_to_host, target_signal_to_host_p)
        (target_signal_to_host, target_signal_from_command): Move to
        signals.c.
        (initialize_targets): Move check of struct signals to...
        * signals.c (_initialize_signals): Here.

23 years agoUse stderr if config.map_file is not available. Do not print NULL trees.
Nick Clifton [Thu, 19 Jul 2001 16:41:00 +0000 (16:41 +0000)]
Use stderr if config.map_file is not available.  Do not print NULL trees.

23 years agoIf a region is specified assign it to all sections inside the overlay unless they...
Nick Clifton [Thu, 19 Jul 2001 16:21:39 +0000 (16:21 +0000)]
If a region is specified assign it to all sections inside the overlay unless    they have been assigned to the own, non-default, memory region.

23 years agoChange bug reporting email address.
Nick Clifton [Thu, 19 Jul 2001 10:43:13 +0000 (10:43 +0000)]
Change bug reporting email address.

23 years agoAdd Michael Chansain as C++ testsuite maintainer.
Andrew Cagney [Thu, 19 Jul 2001 05:22:46 +0000 (05:22 +0000)]
Add Michael Chansain as C++ testsuite maintainer.

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.