aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-24 * config/default.exp (ld_nm): Add "nmflags" arg.Alan Modra9-11/+22
* lib/ld-lib.exp (default_ld_nm): Likewise. * ld-empic/empic.exp: Adjust call to ld_nm. * ld-scripts/defined.exp: Likewise. * ld-scripts/script.exp: Likewise. * ld-scripts/sizeof.exp: Likewise. * ld-selective/selective.exp: Likewise. * ld-sh/sh.exp: Likewise.
2001-07-24* gdbint.texinfo (Host Definition): Remove description ofMark Kettenis2-5/+5
NEED_POSIX_SETPGID.
2001-07-24Update dependencies with "make dep-am".Alan Modra3-3/+8
2001-07-24 * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.Alan Modra4-38/+49
(DEP1, DEPTC, DEPOBJ, DEP2): Use it. Update dependencies with "make dep-am".
2001-07-24Update dependencies with "make dep-am".Alan Modra8-257/+287
2001-07-24 * alpha-dis.c: Fix formatting.Kazu Hirata5-116/+121
* cris-dis.c: Likewise. * m10300-dis.c: Likewise. * tic54x-dis.c: Likewise.
2001-07-242001-07-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+8
* config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker doesn't understand them.
2001-07-24 * m68k-dis.c: Fix formatting.Kazu Hirata4-81/+85
* pj-dis.c: Likewise. * z8k-dis.c: Likewise.
2001-07-24*** empty log message ***gdbadmin1-1/+1
2001-07-23 * tuiIO.c (tui_cont_sig): Update cursor position on the screen toStephane Carrez2-6/+17
leave it in the command window. (tui_redisplay_readline): Save cursor position to restore the cursor after we go back from background. * tuiData.h (TuiCommandInfo): Add start_line member.
2001-07-23 * tuiStack.c (tuiUpdateLocatorFilename): Use const char*.Stephane Carrez5-6/+41
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype. * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls to add_set_enum_cmd. * tui.c (tui_show_source): New function. (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow. (tui_switch_mode): Prep or deprep readline terminal; make sure the \n we return does not redo the last command. * tui.h (tui_show_source): Declare. (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise. (tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
2001-07-232001-07-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-7/+37
* memattr.c (mem_info_command): Reformat output to look more like 'info break' output. (_initialize_mem): Improve help.
2001-07-23* configure.in (AC_CHECK_FUNCS): Add setpggrp.Mark Kettenis18-427/+455
(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.
2001-07-23 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY isKeith Seitz2-2/+12
the empty string, do not run the tests.
2001-07-23Add new DJGPP-specific commands and document them in the manual.Eli Zaretskii4-8/+447
Make the function which reads memory regions be more defensive about buggy DPMI providers.
2001-07-23 * config/tc-alpha.h: Fix formatting.Kazu Hirata21-106/+129
* 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.
2001-07-23 * s390-dis.c: Fix formatting.Kazu Hirata2-148/+174
2001-07-23 * symbols.c (S_GET_VALUE): Don't treat O_constant and localAlan Modra13-163/+132
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.
2001-07-23 * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): RemoveAlan Modra2-50/+43
"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.
2001-07-23 * config/tc-s390.c (s390_force_relocation): Removed.Andreas Jaeger3-17/+9
* config/tc-s390.h: Remove double declaration of TC_FORCE_RELOCATION.
2001-07-23 * ldcref.c (check_section_sym_xref): New function.Alan Modra2-62/+102
(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.
2001-07-23 * gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.Alan Modra3-2/+7
* gas/i386/intel.d: Likewise.
2001-07-23*** empty log message ***gdbadmin1-1/+1
2001-07-22* i386gnu-nat.c: Include "i387-nat.h".Mark Kettenis4-98/+44
(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.
2001-07-222001-07-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+6
* config/tc-mips.c (s_mips_end): Remove unused variables. (s_mips_frame): Add ATTRIBUTE_UNUSED.
2001-07-22 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.Stephane Carrez2-0/+9
(m68hc11-tdep.o): Define dependencies.
2001-07-22 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.Stephane Carrez2-3/+10
2001-07-22 * Makefile.in (SIM_OBJS): Remove sim-resume.oStephane Carrez3-1/+88
* 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.
2001-07-22*** empty log message ***gdbadmin1-1/+1
2001-07-21 * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handlerStephane Carrez2-0/+36
if SIGCONT is defined. (tui_cont_sig): New function when SIGCONT is defined. (tui_setup_io): Save tty setting to restore by SIGCONT.
2001-07-21 * utils.c (init_page_info): Use tui_get_command_dimension.Stephane Carrez3-18/+12
* printcmd.c (disassemble_command): Simplify tui specific code, use tui_is_window_visible, tui_show_assembly.
2001-07-21 * tui.h (tui_show_assembly): Declare.Stephane Carrez3-0/+43
(tui_is_window_visible): Declare. * tui.c (tui_show_assembly): New function. (tui_is_window_visible): New function. (tui_get_command_dimension): New function.
2001-07-21 * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.Stephane Carrez2-0/+5
2001-07-21 * tui-file.c (tui_file_fputs): Use tui_puts.Stephane Carrez2-1/+5
2001-07-21 * tuiStack.c (tuiSetLocatorInfo): Cleanup.Stephane Carrez5-25/+13
* tuiStack.h (tuiGetLocatorFilename): Declare. * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. * tuiData.h (addToSourceWindows): Declare.
2001-07-21 * tui.c (tui_change_windows): New function.Stephane Carrez2-19/+114
(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.
2001-07-212001-07-21 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+9
* mips-opc.c (mips_builtin_opcodes): Sort c.le.s and c.lt.s into the rest of the surrounding definitions.
2001-07-21* i386bsd-nat.c: Do not include <sys/sysctl.h>.Mark Kettenis6-27/+120
(_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.
2001-07-21 * tui.h: Remove old declarations, add the new ones.Stephane Carrez2-296/+137
* 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.
2001-07-21 * tuiIO.h: Remove old declarations and add the new ones.Stephane Carrez3-565/+347
* 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.
2001-07-21 * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.Stephane Carrez2-1/+25
(_tuiRegisterFormat): Reduce size of format result.
2001-07-21 * tuiGeneralWin.c (boxWin): Use the tui configuration variables.Stephane Carrez4-14/+264
* 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.
2001-07-21*** empty log message ***gdbadmin1-1/+1
2001-07-20 * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.Stephane Carrez11-152/+171
(_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.
2001-07-20 * tuiSourceWin.h: Remove unused declarations.Stephane Carrez7-133/+32
* 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.
2001-07-20 * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.Stephane Carrez2-68/+43
(_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.
2001-07-20 * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.Stephane Carrez3-91/+21
(tuiIncrCommandCharCountBy): Remove. (tuiDecrCommandCharCountBy): Remove. (tuiSetCommandCharCountTo): Remove. (tuiClearCommandCharCount): Remove.
2001-07-20Clone src/config.guess. Mention in MAINTAINERS.Andrew Cagney3-552/+597
2001-07-20Three misspellings.John R. Moore2-3/+7
2001-07-20*** empty log message ***gdbadmin1-1/+1