binutils-gdb.git
24 years ago2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 30 Mar 2000 18:54:28 +0000 (18:54 +0000)]
2000-03-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * defs.h (struct continuation_arg): make 'data' a union, to avoid
        casting problems when int and pointer are not the  same size.
        * event-top.c (command_handler): use data as a union.
        (command_line_handler_continuation): ditto.
        * infcmd.c (step_1_continuation): use data as a union.  Re-indent.
        (step_once): ditto.  (finish_command_continuation): ditto.
        (finish_command): ditto.
        * breakpoint.c (until_break_command): use data as a union.
        (until_break_command_continuation): ditto.
        * utils.c (add_intermediate_continuation): fix typo in comment.

24 years agogdbarch cleanups.
Andrew Cagney [Thu, 30 Mar 2000 05:32:23 +0000 (05:32 +0000)]
gdbarch cleanups.

24 years agoDidn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb...
Daniel Berlin [Thu, 30 Mar 2000 03:10:58 +0000 (03:10 +0000)]
Didn't realize this auto-generated gdb-events.c. Since it does, i applied the gdb-events.c fix for deprecation back to here.

24 years agodemangled symbol lookup fixes
Daniel Berlin [Thu, 30 Mar 2000 03:03:23 +0000 (03:03 +0000)]
demangled symbol lookup fixes

24 years ago * configure.in: -linux-gnu*, not -linux-gnu.
Jason Merrill [Thu, 30 Mar 2000 02:19:56 +0000 (02:19 +0000)]
    * configure.in: -linux-gnu*, not -linux-gnu.

        * configure (gcc_version): When setting, narrow search to
        lines containing `version_string'.

24 years agoFix SUB_SEGMENT_ALIGN macor for BFD_ASSEMBLER
Nick Clifton [Wed, 29 Mar 2000 22:57:57 +0000 (22:57 +0000)]
Fix SUB_SEGMENT_ALIGN macor for BFD_ASSEMBLER

24 years agoAdd "bal" instruction pattern.
Nick Clifton [Wed, 29 Mar 2000 18:25:37 +0000 (18:25 +0000)]
Add "bal" instruction pattern.
Add test of assembling "bal" instruction

24 years agoDisassemble 0xde.. to "bal" [branch always] instead of "undefined".
Nick Clifton [Wed, 29 Mar 2000 18:23:57 +0000 (18:23 +0000)]
Disassemble 0xde.. to "bal" [branch always] instead of "undefined".

24 years agoFix thread-extra-info name. qfThreadExtraInfo ->qThreadExtraInfo.
Andrew Cagney [Wed, 29 Mar 2000 08:29:00 +0000 (08:29 +0000)]
Fix thread-extra-info name.  qfThreadExtraInfo ->qThreadExtraInfo.

24 years ago2000-03-28 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Wed, 29 Mar 2000 04:16:57 +0000 (04:16 +0000)]
2000-03-28  J.T. Conklin  <jtc@redback.com>

        * gdb.texinfo: Clarify which remote debug protocol commands are
        required and which are optional.

24 years ago2000-03-29 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Wed, 29 Mar 2000 04:03:56 +0000 (04:03 +0000)]
2000-03-29  J.T. Conklin  <jtc@redback.com>

        * i386nbsd-nat.c (fetch_core_registers): Make static.

        * m68knbsd-nat.c (fetch_core_registers): Make static.
        (m68knbsd_core_fns, _initialize_m68knbsd_nat): Added.

24 years agoRevert movement of @chapter and @node tags from separate files to
Andrew Cagney [Wed, 29 Mar 2000 03:55:18 +0000 (03:55 +0000)]
Revert movement of @chapter and @node tags from separate files to
gdb.texinfo.

24 years agoUpdate GDB 5 status.
Andrew Cagney [Wed, 29 Mar 2000 03:51:18 +0000 (03:51 +0000)]
Update GDB 5 status.

24 years agoFix various GCC warnings.
Andrew Cagney [Wed, 29 Mar 2000 00:51:17 +0000 (00:51 +0000)]
Fix various GCC warnings.

24 years ago2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
Michael Snyder [Tue, 28 Mar 2000 22:30:19 +0000 (22:30 +0000)]
2000-03-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>

        breakpoint.c, breakpoint.h (remove_hw_watchpoints):  New function.
        infrun.c (resume):  Remove hardware watchpoints before stepping
        when CANNOT_STEP_HW_WATCHPOINTS is nonzero.

24 years ago2000-03-28 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 28 Mar 2000 21:19:04 +0000 (21:19 +0000)]
2000-03-28  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * Makefile.in: anchor tui-file.h dependency to $srcdir.

24 years ago2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
Michael Snyder [Tue, 28 Mar 2000 19:29:56 +0000 (19:29 +0000)]
2000-03-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>

        * breakpoint.c (insert_breakpoints, do_enable_breakpoint):
        Reselect the saved frame silently after frame selection for
        watchpoint evaluation.
        (insert_breakpoints):  Add missing space in `Hardware watchpoint
        deleted' message.  Do not reinsert hardware watchpoint if it is
        already marked for deletion at next stop.

24 years ago2000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
Michael Snyder [Tue, 28 Mar 2000 19:02:47 +0000 (19:02 +0000)]
2000-03-28  Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>

        * procfs.c (proc_set_watchpoint):  Declare addr parameter as
        CORE_ADDR, to match call from procfs_set_watchpoint.

24 years ago* partial-stab.h: Add one more check against corrupted or irregular stabs
Christopher Faylor [Tue, 28 Mar 2000 17:44:53 +0000 (17:44 +0000)]
* partial-stab.h: Add one more check against corrupted or irregular stabs
entry.

24 years ago * gdb.texinfo: Update dates, bump to Eighth Edition (note
Stan Shebs [Tue, 28 Mar 2000 16:46:24 +0000 (16:46 +0000)]
* gdb.texinfo: Update dates, bump to Eighth Edition (note
expectation of additional changes before release), update
ISBN, add copy of top-level menu for @ifhtml, remove explicit
node links, rephrase and/or shorten lines to fix formatting
problem in both regular and @smallbook formats.
* annotate.texi: Shorten lines in example, use smallexample
consistently everywhere.
* Makefile.in: Add comment about texinfo 4.0 html generation.
(SFILES_INCLUDED): Add annotate.texi.

24 years ago * gnu-regex.c (regerror): Function renamed from `__regerror'.
Philippe De Muyter [Tue, 28 Mar 2000 12:13:15 +0000 (12:13 +0000)]
* gnu-regex.c (regerror): Function renamed from `__regerror'.

24 years agoFrom Jonathan L. Fix ser-unix.c timing out when there was no timeout.
Andrew Cagney [Tue, 28 Mar 2000 08:24:28 +0000 (08:24 +0000)]
From Jonathan L.  Fix ser-unix.c timing out when there was no timeout.

24 years agoThe set debug changes
Daniel Berlin [Tue, 28 Mar 2000 02:25:14 +0000 (02:25 +0000)]
The set debug changes

24 years agoBump copyright to 2000.
Andrew Cagney [Tue, 28 Mar 2000 02:03:53 +0000 (02:03 +0000)]
Bump copyright to 2000.

24 years agocatch out of range string offset in corrupt stab entry
Nick Clifton [Tue, 28 Mar 2000 01:11:27 +0000 (01:11 +0000)]
catch out of range string offset in corrupt stab entry

24 years agoAdd Glen McCready
Andrew Cagney [Tue, 28 Mar 2000 00:17:13 +0000 (00:17 +0000)]
Add Glen McCready

24 years agoFix typo in description of GETREGS.
Andrew Cagney [Tue, 28 Mar 2000 00:03:57 +0000 (00:03 +0000)]
Fix typo in description of GETREGS.

24 years agoDefault LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes per
Alan Modra [Mon, 27 Mar 2000 23:47:09 +0000 (23:47 +0000)]
Default LISTING_LHS_WIDTH to depend on LISTING_WORD_SIZE so that bytes per
line is 4.  Fix tests for LISTING_WORD_SIZE==1.

24 years agoFix value of SHORT_A1.
Nick Clifton [Mon, 27 Mar 2000 20:17:02 +0000 (20:17 +0000)]
Fix value of SHORT_A1.
Move SHORT_AR to end of list of short instructions.

24 years ago2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 27 Mar 2000 17:44:32 +0000 (17:44 +0000)]
2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

fix typo.

24 years ago2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Mon, 27 Mar 2000 17:34:48 +0000 (17:34 +0000)]
2000-03-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* gdb.base/printcmds.c: Terminate char array ctable2 with 0.

24 years ago * Makefile.am (CFILES): Add avr-dis.c.
Ian Lance Taylor [Mon, 27 Mar 2000 16:34:34 +0000 (16:34 +0000)]
* Makefile.am (CFILES): Add avr-dis.c.
(ALL_MACHINES): Add avr-dis.lo.

24 years ago * config/tc-sh.c (md_show_usage): Use backslash before newline in
Ian Lance Taylor [Mon, 27 Mar 2000 16:17:08 +0000 (16:17 +0000)]
* config/tc-sh.c (md_show_usage): Use backslash before newline in
string literal.

24 years agoAdd GDB 5.0 release criteria.
Andrew Cagney [Mon, 27 Mar 2000 10:24:58 +0000 (10:24 +0000)]
Add GDB 5.0 release criteria.

24 years agoATMEL AVR microcontroller support.
Alan Modra [Mon, 27 Mar 2000 08:39:14 +0000 (08:39 +0000)]
ATMEL AVR microcontroller support.

24 years agoMove default definition of HAVE_PTRACE_GETREGS to acconfig.h.
Andrew Cagney [Mon, 27 Mar 2000 07:31:37 +0000 (07:31 +0000)]
Move default definition of HAVE_PTRACE_GETREGS to acconfig.h.

24 years agoCreate destdirs before installing GDB (don't assume parent directory
Andrew Cagney [Mon, 27 Mar 2000 06:51:30 +0000 (06:51 +0000)]
Create destdirs before installing GDB (don't assume parent directory
did it for us).

24 years agoRe-fix ln -s gdbtk code. Mark ready for deletion post 5.0.
Andrew Cagney [Mon, 27 Mar 2000 06:42:08 +0000 (06:42 +0000)]
Re-fix ln -s gdbtk code.  Mark ready for deletion post 5.0.

24 years agoRevert white space changes.
Andrew Cagney [Mon, 27 Mar 2000 05:29:24 +0000 (05:29 +0000)]
Revert white space changes.

24 years agoUpdate list of folk that need accounts.
Andrew Cagney [Mon, 27 Mar 2000 00:24:49 +0000 (00:24 +0000)]
Update list of folk that need accounts.

24 years agoMake J.T. NetBSD maintainer.
Andrew Cagney [Sun, 26 Mar 2000 23:54:54 +0000 (23:54 +0000)]
Make J.T. NetBSD maintainer.

24 years ago2000-03-27 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 26 Mar 2000 22:10:59 +0000 (22:10 +0000)]
2000-03-27  Mark Kettenis  <kettenis@gnu.org>

* config/i386/tm-i386.h: Fix typo.  It is TARGET_LONG_DOUBLE_BIT
instead of TARGET_LONG_DOUBLE_BITS.
* config/i386/tm-i386mk.h: Likewise.

24 years ago2000-03-26 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 26 Mar 2000 21:21:50 +0000 (21:21 +0000)]
2000-03-26  Mark Kettenis  <kettenis@gnu.org>

Provide `long double' support for most i386 targets.
* config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT): Define as
&floatformat_i387_ext.
(TARGET_LONG_DOUBLE_BITS): Define as 96.
(REGISTER_VIRTUAL_TYPE): Change type for FPU registers to
`builtin_type_long_double'.
(REGISTER_CONVERT_TO_VIRTUAL): Call
i386_register_convert_to_virtual.
(REGISTER_CONVERT_TO_RAW): Call i386_register_convert_to_raw.
(i387_to_double, double_to_i387): Remove prototypes.
(i386_extract_return_value): Change prototype to match definition
in i386-tdep.c.
* config/i386/tm-i386mk.h (TARGET_LONG_DOUBLE_FORMAT): #undef.
(TARGET_LONG_DOUBLE_BITS): #undef.
* config/i386/tm-linux.h (TARGET_LONG_DOUBLE_BIT): Remove.
[HAVE_LONG_DOUBLE && HOST_I386] (LD_I387): Remove.
(i387_extract_floating, i387_store_floating): Remove prototypes.
(TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING): Remove.
(REGISTER_CONVERT_TO_VIRTUAL, REGOISTER_CONVERT_TO_RAW): Remove.
(REGISTER_VIRTUAL_TYPE): Remove.
* i386-tdep.c (i386_register_convert_to_virtual): New function.
(i386_register_convert_to_raw): New function.
* i387-tdep.c [LD_I387] (i387_extract_floating): Remove.
(i387_store_floating): Remove.

24 years agoAdd macro handling extensions and line substitution support.
Timothy Wall [Sun, 26 Mar 2000 14:47:33 +0000 (14:47 +0000)]
Add macro handling extensions and line substitution support.

24 years agoMostly cosmetic. Fixes to comments. Don't start as_bad and as_warn
Alan Modra [Sun, 26 Mar 2000 14:13:02 +0000 (14:13 +0000)]
Mostly cosmetic.  Fixes to comments.  Don't start as_bad and as_warn
messages with capital.  Don't malign Unixware, malign SysV386 instead.

24 years ago1999-09-29 Mark Kettenis <kettenis@gnu.org>
Phil Blundell [Sun, 26 Mar 2000 12:31:16 +0000 (12:31 +0000)]
1999-09-29  Mark Kettenis  <kettenis@gnu.org>

        * hertz.h [MACH] (hertz): Remove macro.  The
        <machine/mach_param.h> include doesn't exist on al Mach based
        systems, and the definition of hertz breaks compilation of hertz.c
        anyway.

24 years ago2000-03-09 Tim Waugh <twaugh@redhat.com>
Phil Blundell [Sat, 25 Mar 2000 19:52:38 +0000 (19:52 +0000)]
2000-03-09  Tim Waugh  <twaugh@redhat.com>

* strings.1: Correct '-bytes' to '--bytes'.

24 years ago* ppc-instructions (Disabled_Exponent_Underflow): Increment
Geoffrey Keating [Sat, 25 Mar 2000 18:45:41 +0000 (18:45 +0000)]
* ppc-instructions (Disabled_Exponent_Underflow): Increment
the exponent when denormalizing.

24 years agoFix maintenance deprecate crash, add testcase
Daniel Berlin [Sat, 25 Mar 2000 15:32:19 +0000 (15:32 +0000)]
Fix maintenance deprecate crash, add testcase

24 years agoRe-re indent. indent|indent|indent stable.
Andrew Cagney [Sat, 25 Mar 2000 08:10:10 +0000 (08:10 +0000)]
Re-re indent.  indent|indent|indent stable.

24 years agoRe-indent.
Andrew Cagney [Sat, 25 Mar 2000 08:05:47 +0000 (08:05 +0000)]
Re-indent.

24 years agoRemove quoted leading space.
Andrew Cagney [Sat, 25 Mar 2000 07:58:54 +0000 (07:58 +0000)]
Remove quoted leading space.

24 years ago* config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to be
Christopher Faylor [Sat, 25 Mar 2000 03:37:35 +0000 (03:37 +0000)]
* config/mips/tm-wince.h: Fix typo which caused include of tm-mips.h to be
inoperative.

24 years ago* win32-nat.c: Back out special frame walking code. It was broken.
Christopher Faylor [Sat, 25 Mar 2000 02:26:21 +0000 (02:26 +0000)]
* win32-nat.c: Back out special frame walking code.  It was broken.
(handle_exception): Correctly identify an illegal instruction.
* config/tm-cygwin.h: Eliminate special frame handling.  Just use normal i386
handling.

24 years ago * partition.h: New file.
Christopher Faylor [Sat, 25 Mar 2000 02:15:38 +0000 (02:15 +0000)]
    * partition.h: New file.

24 years ago * partition.c: New file.
Christopher Faylor [Sat, 25 Mar 2000 02:14:57 +0000 (02:14 +0000)]
    * partition.c: New file.

24 years ago* more compatibility with v850 hardware
Frank Ch. Eigler [Sat, 25 Mar 2000 00:17:21 +0000 (00:17 +0000)]
* more compatibility with v850 hardware
2000-03-24  Frank Ch. Eigler  <fche@redhat.com>

* v850.igen (ilgop): New insn pattern for four-byte breakpoints.

24 years ago2000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 24 Mar 2000 23:49:10 +0000 (23:49 +0000)]
2000-03-23  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * solib.c (open_symbol_file_object): to sneak an int argument
        past catch_errors, instead of casting it to a pointer, simply
        pass it by address.

24 years ago2000-03-24 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Fri, 24 Mar 2000 23:06:57 +0000 (23:06 +0000)]
2000-03-24  J.T. Conklin  <jtc@redback.com>

        * i386/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
        * i386nbsd-nat.c (i386nbsd_use_struct_convention): New function.
        (fetch_core_registers): Read fp registers.
        (i386nbsd_core_fns, _initialize_i386nbsd_nat): Added.

24 years ago * gdb.base/break.exp: Add new test for setting breakpoints on
Jonathan Larmour [Fri, 24 Mar 2000 21:35:42 +0000 (21:35 +0000)]
    * gdb.base/break.exp: Add new test for setting breakpoints on
        optimized code so we can test breakpoints work even when function
        prologues may be optimized away

24 years ago * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
Jonathan Larmour [Fri, 24 Mar 2000 21:33:35 +0000 (21:33 +0000)]
    * arm-tdep.c (thumb_skip_prologue): Take function end addr argument
        so that we can stop searching for the prologue past the function end
        (arm_skip_prologue): Call thumb_skip_prologue with function end addr

24 years agomerge from gcc
Jason Merrill [Fri, 24 Mar 2000 21:31:22 +0000 (21:31 +0000)]
merge from gcc

24 years agoDon't do compile time comparison of TARGET_PTR_BIT and TARGET_INT_BIT.
Kevin Buettner [Fri, 24 Mar 2000 21:07:17 +0000 (21:07 +0000)]
Don't do compile time comparison of TARGET_PTR_BIT and TARGET_INT_BIT.

24 years ago2000-03-24 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 24 Mar 2000 20:50:30 +0000 (20:50 +0000)]
2000-03-24  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.
(elf64_alpha_find_reloc_at_ofs): Likewise.

24 years ago Fix copyright dates in last change.
Philippe De Muyter [Fri, 24 Mar 2000 17:55:13 +0000 (17:55 +0000)]
Fix copyright dates in last change.

24 years ago * m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
Philippe De Muyter [Fri, 24 Mar 2000 11:12:11 +0000 (11:12 +0000)]
* m68k-tdep.c (P_LINKL_FP, P_LINKW_FP): Macros renamed from P_LINK_L
and P_LINK_W.
(P_PEA_FP, P_MOVL_SP_FP): New macros.
(P_MOVL, P_LEAL, P_MOVML): Macros renamed from P_MOV_L, P_LEA_L and
P_MOVM_L.
(altos_skip_prologue, isi_skip_prologue): Use P_* macros, not octal
  constants.
(delta68_in_sigtramp): New function.
(delta68_frame_args_address, delta68_frame_saved_pc): Ditto.
(m68k_skip_prologue): Use P_* macros, not hex constants.
(m68k_find_saved_regs): Do not expect a fixed sequence of register save
instructions, but accept them in any order; use P_* macros, not octal
or hex constants; recognize also `fmovemx to (fp + displacement)' and
  `moveml to (fp + displacement)'.
* m68/tm-delta68.h (IN_SIGTRAMP): New macro.
(FRAME_SAVED_PC, FRAME_ARGS_ADDRESS): Ditto.

24 years agoFix texinfo-3.12 problems:
Andrew Cagney [Fri, 24 Mar 2000 07:30:07 +0000 (07:30 +0000)]
Fix texinfo-3.12 problems:
* annotate.texi (Annotations): When GDBN omit @chapter and @node entry.
* gdb.texinfo: Check for @ifinfo instead of @ifnottex.
(rluser.texinfo, inc-hist.texinfo, annotate.texi): Add local @chapter
and @node entries.
* gdb.texinfo: Link all top-level nodes.
* inc-hist.texinfo: When GDBN omit the chapter/node.
* rluser.texinfo (Command Line Editing): Ditto.

24 years agoCreate $(infodir) before trying to install info files.
Andrew Cagney [Fri, 24 Mar 2000 07:27:24 +0000 (07:27 +0000)]
Create $(infodir) before trying to install info files.

24 years agoAdd Fernando to testsuite maintainers.
Andrew Cagney [Fri, 24 Mar 2000 02:48:20 +0000 (02:48 +0000)]
Add Fernando to testsuite maintainers.

24 years agoFIx regression
Daniel Berlin [Fri, 24 Mar 2000 01:51:13 +0000 (01:51 +0000)]
FIx regression

24 years ago2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Fri, 24 Mar 2000 00:05:38 +0000 (00:05 +0000)]
2000-03-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.texinfo: Add new queries ThreadInfo and ThreadExtraInfo.

24 years ago2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 23 Mar 2000 23:50:51 +0000 (23:50 +0000)]
2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

From David Whedon <dwhedon@gordian.com>
        * gdbint.texinfo : Added paragraphs about command deprecation.

24 years ago2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
Fernando Nasser [Thu, 23 Mar 2000 23:48:28 +0000 (23:48 +0000)]
2000-03-23  Fernando Nasser  <fnasser@totem.to.cygnus.com>

From David Whedon <dwhedon@gordian.com>
        * gdb.base/commands.exp : Added command deprecator tests.

24 years ago2000-03-23 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Thu, 23 Mar 2000 23:43:19 +0000 (23:43 +0000)]
2000-03-23  Fernando Nasser  <fnasser@cygnus.com>

From David Whedon <dwhedon@gordian.com>

* top.c (execute_command): Checks all commands beore executing
to see if the user needs to be warned that the command is
deprecated, warns user if appropriate.
(add_info), (add_info_alias), (add_com) , (add_com_alias): Changed
return values from void to struct cmd_list_element *.
* command.c (lookup_cmd_1): Check aliases before following link
in case user needs to be warned about a deprecated alias.
(deprecate_cmd): new exported function for command deprecation,
sets flags and posibly a replacement string.
(deprecated_cmd_warning): New exported funciton to warn user about
a deprecated command.
(lookup_cmd_composition): New exported function that determines
alias, prefix_command, and cmd based on a string.  This is useful
is we want to full name of a command.
* command.h : Added prototypes for deprecate_cmd,
deprecated_warn_user and lookup_cmd_composition, added flags to
the cmd_list_element structure, changed return values for
add_com_* and add_info_* from void to cmd_list_element.
* maint.c : (maintenance_deprecate): New function to deprecate a
command.  This exists only so that the testsuite can deprecate
commands at runtime and check the warning behavior.
(maintenance_undeprecate) : New function, drops deprecated flags.
(maintenance_do_deprecate): Actually does the (un)deprecation.
(initialize_maint_cmds): Added the above new deprecate commands.

24 years agoAdd missing parts of ChangeLog entry for my change of 2000/02/19 00:59:26 to coff...
Geoffrey Keating [Thu, 23 Mar 2000 23:37:38 +0000 (23:37 +0000)]
Add missing parts of ChangeLog entry for my change of 2000/02/19 00:59:26 to coff-rs6000.c.

24 years ago* memory corruption fix
Frank Ch. Eigler [Thu, 23 Mar 2000 23:28:43 +0000 (23:28 +0000)]
* memory corruption fix

Wed Mar 22 15:24:21 2000  glen mccready  <gkm@pobox.com>

* wrapper.c (sim_open,sim_close): Copy into myname, free myname.

24 years agoAdded the apropos command
Daniel Berlin [Thu, 23 Mar 2000 23:21:27 +0000 (23:21 +0000)]
Added the apropos command

24 years ago2000-03-23 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 23 Mar 2000 21:44:50 +0000 (21:44 +0000)]
2000-03-23  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * sol-thread.c (ps_pglobal_lookup): Change argument type from
        paddr_t to psaddr_t.  This mistake appears to date from an
        erroneous man page in Solaris 2.5 -- the correct type from the
        system headers has always been psaddr_t.
        (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): ditto.
        (rw_common): ditto.

24 years agoHFA, function descriptor handling for IA-64.
Kevin Buettner [Thu, 23 Mar 2000 04:27:26 +0000 (04:27 +0000)]
HFA, function descriptor handling for IA-64.

24 years ago2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 23 Mar 2000 03:48:13 +0000 (03:48 +0000)]
2000-03-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

* event-loop.c (handle_file_event): Run through indent.

24 years ago2000-03-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Thu, 23 Mar 2000 03:45:13 +0000 (03:45 +0000)]
2000-03-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        From  Philippe De Muyter  <phdm@macqel.be>

* event-loop.c (sys/types.h): File now included unconditionally.
(use_poll): New variable..
(gdb_notifier): poll- and select-versions merged.
(add_file_handler): If HAVE_POLL, check whether poll is usable,
and reset `use_poll' if not.
(create_file_handler): Select poll- or select-version according to
`use_poll'.
(delete_file_handler, handle_file_event): Likewise.
(gdb_wait_for_event, poll_timers): Likewise.

24 years ago * printcmd.c (print_scalar_formatted): Truncate addresses to the
Peter Schauer [Wed, 22 Mar 2000 20:55:15 +0000 (20:55 +0000)]
* printcmd.c (print_scalar_formatted):  Truncate addresses to the
size of a target pointer before passing them to print_address.

24 years ago2000-03-22 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Wed, 22 Mar 2000 09:45:01 +0000 (09:45 +0000)]
2000-03-22  Mark Kettenis  <kettenis@gnu.org>

* config/i386/tm-i386aix.h (I386_AIX_TARGET): Remove.
* config/i386/tm-linux.h (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM):
Remove
* i386-tdep.c (LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): New defines.
(i386_extract_return_value): Rewritten.  Correctly support all
floating-point types and large integer types on targets that use
the standard i386 GDB register layout and return floating-point
values in the FPU.

24 years agoDon't include nrom in CONFIG_INITS.
Andrew Cagney [Wed, 22 Mar 2000 04:19:35 +0000 (04:19 +0000)]
Don't include nrom in CONFIG_INITS.

24 years ago2000-03-21 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Wed, 22 Mar 2000 01:36:31 +0000 (01:36 +0000)]
2000-03-21  J.T. Conklin  <jtc@redback.com>

        * i386/nbsd.mh (NATDEPFILES): Change i386b-nat.o to i386nbsd-nat.o.
        * i386nbsd-nat.c: New file.

        * i386/tm-nbsd.h (NUM_REGS): Removed.
        (HAVE_I387_REGS): Defined.
        * i386/nm-nbsd.h (FLOAT_INFO): Removed.

        * tm-nbsd.h (IN_SOLIB_CALL_TRAMPOLINE): Define if not
        SVR4_SHARED_LIBS.

24 years agoAdd Jim Blandy to breakpoint maintainers. David taylor is the
Andrew Cagney [Wed, 22 Mar 2000 00:21:30 +0000 (00:21 +0000)]
Add Jim Blandy to breakpoint maintainers.  David taylor is the
Solaris/SPARC maintainer.  Add Jonathan Larmour to the write after
approval list.

24 years agoTest suite change for AIX 4.3.
Kevin Buettner [Tue, 21 Mar 2000 23:01:49 +0000 (23:01 +0000)]
Test suite change for AIX 4.3.

24 years agoMake sure section addresses from a shared object are correctly set in
Kevin Buettner [Tue, 21 Mar 2000 22:37:42 +0000 (22:37 +0000)]
Make sure section addresses from a shared object are correctly set in
a new struct objfile.

24 years ago* simplify eCos testing
Frank Ch. Eigler [Tue, 21 Mar 2000 20:45:43 +0000 (20:45 +0000)]
* simplify eCos testing

2000-03-21  Frank Ch. Eigler  <fche@redhat.com>

* interp.c (sim_open): Sort & extend dummy memory regions for
--board=jmr3904 for eCos.

24 years ago2000-03-21 Eli Zaretskii <eliz@is.elta.co.il>
Michael Snyder [Tue, 21 Mar 2000 20:41:39 +0000 (20:41 +0000)]
2000-03-21  Eli Zaretskii  <eliz@is.elta.co.il>

        * breakpoint.c (bpstat_stop_status): Don't stop if a read
        watchpoint appears to break, but the watched value changed.

24 years ago*** empty log message ***
Jim Blandy [Tue, 21 Mar 2000 20:40:47 +0000 (20:40 +0000)]
*** empty log message ***

24 years ago* gdbarch.sh: Emit a definition and declaration for gdbarch_free,
Jim Blandy [Tue, 21 Mar 2000 20:40:43 +0000 (20:40 +0000)]
* gdbarch.sh: Emit a definition and declaration for gdbarch_free,
a companion to gdbarch_alloc, which allows a gdbarch init function
to free partially-built gdbarch structures.
* gdbarch.c, gdbarch.h: Regenerated.

24 years agoIt turns out that 1.2 wasn't botched after all. (I was failing to take
Kevin Buettner [Tue, 21 Mar 2000 06:18:23 +0000 (06:18 +0000)]
It turns out that 1.2 wasn't botched after all.  (I was failing to take
into account all of the imports that had been done.)

24 years agoFixed botched commit in 1.2.
Kevin Buettner [Tue, 21 Mar 2000 05:43:30 +0000 (05:43 +0000)]
Fixed botched commit in 1.2.

24 years agoIA-64 changes.
Kevin Buettner [Tue, 21 Mar 2000 05:26:31 +0000 (05:26 +0000)]
IA-64 changes.

24 years ago2000-03-20 Eli Zaretskii <eliz@is.elta.co.il>
Michael Snyder [Tue, 21 Mar 2000 01:27:34 +0000 (01:27 +0000)]
2000-03-20  Eli Zaretskii  <eliz@is.elta.co.il>

        * breakpoint.c (insert_breakpoints, remove_breakpoint)
        (bpstat_stop_status, can_use_hardware_watchpoint): Don't insert,
        remove, or check status of hardware watchpoints for entire structs
        and arrays unless the user explicitly asked to watch that struct
        or array.
        (insert_breakpoints): Try to insert watchpoints for all the values
        on the value chain, even if some of them fail to insert.

        * values.c (value_primitive_field): Set the offset in struct value
        we return when the field is a packed bitfield.

24 years ago2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 21 Mar 2000 01:22:05 +0000 (01:22 +0000)]
2000-03-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * remote.c (remote_threads_extra_info): new function.
        Implement the extra thread info query for "info threads".
        (remote_threads_info): clean up a bit.
        (use_threadinfo_query, use_threadextra_query): new variables.
        Control whether GDB will use the new or old protocol for
        thread info queries.
        (remote_open_1): initialize new variables.
        (remote_async_open_1): ditto.
        (remote_cisco_open): ditto.

24 years agoNew files for IA-64 port.
Kevin Buettner [Tue, 21 Mar 2000 00:11:10 +0000 (00:11 +0000)]
New files for IA-64 port.

24 years ago2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Mon, 20 Mar 2000 22:51:36 +0000 (22:51 +0000)]
2000-03-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * gdb.texinfo: Add white space to prevent overprinting in
        two places.

24 years agoFixes for floatformat_from_doublest().
Kevin Buettner [Mon, 20 Mar 2000 22:15:58 +0000 (22:15 +0000)]
Fixes for floatformat_from_doublest().