binutils-gdb.git
24 years ago * sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Nicholas Duffek [Fri, 7 Apr 2000 01:14:10 +0000 (01:14 +0000)]
* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):
Change to rely on PIDGET etc.
* config/i386/nm-i386sol2.h (TARGET_HAS_WATCHPOINTS,
TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
STOPPED_BY_WATCHPOINT, target_[insert/remove]_watchpoint):
define.  Allow target to use procfs hardware watchpoints.
* config/sparc/nm-sun4sol2.h: ditto.
* config/i386/tm-i386sol2.h (PIDGET, TIDGET, MERGEPID): modify
definitions to use 16 bits for the pid, 15 bits for the tid, and
1 bit for the flag.
* config/sparc/tm-sun4sol2.h: ditto.
(SOFTWARE_SINGLE_STEP, SOFTWARE_SINGLE_STEP_P): undefine.
* testsuite/gdb.threads/pthreads.exp (all_threads_running): Allow
for more than 15 thread increments.

24 years agoSEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).
Timothy Wall [Fri, 7 Apr 2000 00:58:07 +0000 (00:58 +0000)]
SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).

24 years ago * readelf.c (decode_location_expression): Loop through multiple
Jason Merrill [Fri, 7 Apr 2000 00:16:45 +0000 (00:16 +0000)]
    * readelf.c (decode_location_expression): Loop through multiple
        operations.
        (read_and_display_attr): Pass in length.

24 years ago * readelf.c (read_and_display_attr): Add CU offset to references.
Jason Merrill [Fri, 7 Apr 2000 00:15:00 +0000 (00:15 +0000)]
    * readelf.c (read_and_display_attr): Add CU offset to references.
        (display_debug_info): Pass it in.

24 years agoRemove spurious blank line
Nick Clifton [Thu, 6 Apr 2000 23:43:31 +0000 (23:43 +0000)]
Remove spurious blank line

24 years agoUpdate copyright notice
Nick Clifton [Thu, 6 Apr 2000 23:38:47 +0000 (23:38 +0000)]
Update copyright notice

24 years agoOnly check EF_xxx flags if the EABI version number is unknown.
Nick Clifton [Thu, 6 Apr 2000 23:32:19 +0000 (23:32 +0000)]
Only check EF_xxx flags if the EABI version number is unknown.

24 years agoDetect EM_AVR machine number
Nick Clifton [Thu, 6 Apr 2000 23:21:50 +0000 (23:21 +0000)]
Detect EM_AVR machine number

24 years agoAdd code to decode the e_flags field of an ARM ELF binary.
Nick Clifton [Thu, 6 Apr 2000 23:21:09 +0000 (23:21 +0000)]
Add code to decode the e_flags field of an ARM ELF binary.

24 years agoAdd definitions of flags in e_flags field from version A-08 of ARM ELF spec.
Nick Clifton [Thu, 6 Apr 2000 23:18:18 +0000 (23:18 +0000)]
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.

24 years ago * top.c (filename_completer): Set subsequent_name to 1 early on,
Eli Zaretskii [Thu, 6 Apr 2000 15:24:36 +0000 (15:24 +0000)]
* top.c (filename_completer): Set subsequent_name to 1 early on,
to prevent an infinite loop if the first file in the directory is
a backup file.

24 years ago * splay-tree.c (splay_tree_remove): New.
Richard Henderson [Thu, 6 Apr 2000 00:16:01 +0000 (00:16 +0000)]
    * splay-tree.c (splay_tree_remove): New.

24 years ago * splay-tree.h (splay_tree_remove): Declare.
Richard Henderson [Thu, 6 Apr 2000 00:15:35 +0000 (00:15 +0000)]
    * splay-tree.h (splay_tree_remove): Declare.

24 years ago* updating copyright dates ("1999" -> "1999, 2000")
Frank Ch. Eigler [Wed, 5 Apr 2000 22:31:29 +0000 (22:31 +0000)]
* updating copyright dates ("1999" -> "1999, 2000")

24 years agoopcodes:
Joern Rennecke [Wed, 5 Apr 2000 21:43:26 +0000 (21:43 +0000)]
opcodes:
* sh-opc.c (sh_table): Use A_DISP_PC / PCRELIMM_8BY2 for ldre & ldrs.
stc GBR,@-<REG_N> is available for arch_sh1_up.
Group parallel processing insn with identical mnemonics together.
Make three-operand psha / pshl come first.
gas:
* config/tc-sh.c (get_operands): There's no third operand if the
first operand is an immediate.

24 years agosh-dsp REPEAT support:
Joern Rennecke [Wed, 5 Apr 2000 21:23:05 +0000 (21:23 +0000)]
sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years ago* gprof.c (copyright): Do not use N_ in array initializer.
Alexandre Oliva [Wed, 5 Apr 2000 20:53:15 +0000 (20:53 +0000)]
* gprof.c (copyright): Do not use N_ in array initializer.

24 years ago*** empty log message ***
Jim Blandy [Wed, 5 Apr 2000 20:41:57 +0000 (20:41 +0000)]
*** empty log message ***

24 years ago* solib.c (update_solib_list): New function.
Jim Blandy [Wed, 5 Apr 2000 20:40:22 +0000 (20:40 +0000)]
* solib.c (update_solib_list): New function.
(solib_add): Call update_solib_list, and then read symbols.
(info_sharedlibrary_command): Call update_solib_list, not
solib_add.

24 years ago2000-04-05 Scott Bambrough <scottb@netwinder.org>
Scott Bambrough [Wed, 5 Apr 2000 17:24:08 +0000 (17:24 +0000)]
2000-04-05  Scott Bambrough <scottb@netwinder.org>

* arm-linux-tdep.c: Resolve implicit function declarations by
including target.h and value.h.  Inclusion of symtab.h is
no longer needed.
* ChangeLog: Fix formatting of previous entry.

24 years agoUnable to build x86 hosted debugger for ARM Linux, due to missing target
Scott Bambrough [Wed, 5 Apr 2000 15:38:05 +0000 (15:38 +0000)]
Unable to build x86 hosted debugger for ARM Linux, due to missing target
dependencies.  Created ARM Linux specific arm-linux-tdep.c file and moved
missing code into it from arm-linux-nat.c.

2000-04-05  Scott Bambrough <scottb@netwinder.org>

* arm-linux-tdep.c: New file.
* arm-linux-nat.c (fetch_fpregs): Remove unused code.
  (arm_get_longjmp_target): Moved it and all defines
  it uses to arm-linux-tdep.c.
  (arm_linux_extract_return_value): Moved to
  arm-linux-tdep.c.
* config/arm/linux.mt: Add arm-linux-tdep.c to TDEPFILES.

24 years ago* config/tc-sparc.c (sparc_ip): Avoid string pasting.
Alexandre Oliva [Wed, 5 Apr 2000 09:38:43 +0000 (09:38 +0000)]
* config/tc-sparc.c (sparc_ip): Avoid string pasting.

24 years agoAdd --redefine-sym to objcopy.
Alan Modra [Wed, 5 Apr 2000 03:43:56 +0000 (03:43 +0000)]
Add --redefine-sym to objcopy.

24 years ago * infrun.c (handle_inferior_event): Call target_mourn_inferior
Nicholas Duffek [Wed, 5 Apr 2000 02:26:37 +0000 (02:26 +0000)]
* infrun.c (handle_inferior_event): Call target_mourn_inferior
instead of kill_target.

24 years ago2000-04-04 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 23:05:32 +0000 (23:05 +0000)]
2000-04-04  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_symbol_table): Correctly read in symbol
versioning information.

24 years ago * internals.texi (CPU backend): Document
Hans-Peter Nilsson [Tue, 4 Apr 2000 20:39:36 +0000 (20:39 +0000)]
* internals.texi (CPU backend): Document
TC_CHECK_ADJUSTED_BROKEN_DOT_WORD.

24 years agoMove translated part of bug report string back into .c files so
Alan Modra [Tue, 4 Apr 2000 14:32:35 +0000 (14:32 +0000)]
Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.

24 years agoUse "gcc -MM" for dependencies, and update them.
Alan Modra [Tue, 4 Apr 2000 10:53:56 +0000 (10:53 +0000)]
Use "gcc -MM" for dependencies, and update them.

24 years agoUpdate todo
Daniel Berlin [Tue, 4 Apr 2000 05:13:44 +0000 (05:13 +0000)]
Update todo

24 years agoC++ changes for 5.0, finally committed.
Daniel Berlin [Tue, 4 Apr 2000 04:53:50 +0000 (04:53 +0000)]
C++ changes for 5.0, finally committed.

24 years agoStop GCC thinking a shift will overflow.
Andrew Cagney [Tue, 4 Apr 2000 04:16:48 +0000 (04:16 +0000)]
Stop GCC thinking a shift will overflow.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 02:11:36 +0000 (02:11 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* TODO: Remove the regex entry.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 4 Apr 2000 02:08:52 +0000 (02:08 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* gdb_regex.h: New. Include "regex.h" if USE_INCLUDED_REGEX
is defined and <regex.h> otherwise.

        * irix5-nat.c: Include "gdb_regex.h" instead of "gnu-regex.h".
* monitor.c: Likewise.
* osfsolib.c: Likewise.
* solib.c: Likewise.
* source.c: Likewise.
* symtab.c: Likewise.

* Makefile.in (REGEX): Changed to @REGEX@.
(REGEX_CFLAGS): New.
(REGEX1): Removed.
(ADD_DEPS): Use $(REGEX) instead of $(REGEX1).
(INTERNAL_WARN_CFLAGS): Add $(REGEX_CFLAGS).

* configure.in (--with-included-regex): New switch.
(REGEX): New. Subsstitue @REGEX@ in Makefile.in.
(REGEX_CFLAGS): New. Subsstitue @REGEX_CFLAGS@ in Makefile.in.
* configure: Regenerated.

24 years agoMention new PowerPC GNU/Linux native configuration.
Kevin Buettner [Mon, 3 Apr 2000 22:10:45 +0000 (22:10 +0000)]
Mention new PowerPC GNU/Linux native configuration.

24 years agoAIX 4.3 changes
Kevin Buettner [Mon, 3 Apr 2000 21:48:31 +0000 (21:48 +0000)]
AIX 4.3 changes

24 years ago2000-04-03 J.T. Conklin <jtc@redback.com>
J.T. Conklin [Mon, 3 Apr 2000 21:33:21 +0000 (21:33 +0000)]
2000-04-03  J.T. Conklin  <jtc@redback.com>

        * config/i386/xm-nbsd.h (HOST_LONG_DOUBLE_FORMAT): Define.

24 years ago* config/tc-mn10300.c (md_pseudo_table): Use constant names.
Alexandre Oliva [Mon, 3 Apr 2000 20:20:26 +0000 (20:20 +0000)]
* config/tc-mn10300.c (md_pseudo_table): Use constant names.
(md_begin): Likewise.
(HAVE_AM33): New macro.
(md_assemble): Use it.  Match r_regs and xr_regs only if
HAVE_AM33.

24 years ago2000-04-03 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Mon, 3 Apr 2000 19:19:11 +0000 (19:19 +0000)]
2000-04-03  H.J. Lu  <hjl@gnu.org>

* cache.c (bfd_open_file): Unlink the output file only if
it has none zero size.

24 years agoIA-64 changes for linux threads
Kevin Buettner [Mon, 3 Apr 2000 19:10:50 +0000 (19:10 +0000)]
IA-64 changes for linux threads

24 years agoIA-64 changes
Kevin Buettner [Mon, 3 Apr 2000 18:58:48 +0000 (18:58 +0000)]
IA-64 changes

24 years ago*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:50:12 +0000 (17:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Mon, 3 Apr 2000 17:49:40 +0000 (17:49 +0000)]
*** empty log message ***

24 years ago* solib.c (solib_add): Move all the code for loading symbol tables
Jim Blandy [Mon, 3 Apr 2000 17:45:17 +0000 (17:45 +0000)]
* solib.c (solib_add): Move all the code for loading symbol tables
below the code to sort out additions and removals.  That way, we
always catch all loaded shared libraries whose symbols we haven't
grabbed yet.

* solib.c (solib_add): Don't try to free a shared object's objfile
if it doesn't have one.  Duh.

* solib.c (solib_add): If a pattern was given, but it doesn't
match any currently loaded shared libraries, print a message;
don't just be silent.

24 years ago2000-04-03 H.J. Lu (hjl@gnu.org)
H.J. Lu [Mon, 3 Apr 2000 17:17:36 +0000 (17:17 +0000)]
2000-04-03  H.J. Lu  (hjl@gnu.org)

* size.c (usage): Use REPORT_BUGS_TO.

24 years ago * annotate.texi (Frame Annotations): Fix a cross-reference.
Eli Zaretskii [Mon, 3 Apr 2000 16:11:07 +0000 (16:11 +0000)]
* annotate.texi (Frame Annotations): Fix a cross-reference.

24 years ago * go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
Eli Zaretskii [Mon, 3 Apr 2000 15:27:42 +0000 (15:27 +0000)]
* go32-nat.c (go32_handle_nonaligned_watchpoint): Use a
two-dimensional array instead of faking it with index
arithmetics.

24 years ago * config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.
Eli Zaretskii [Mon, 3 Apr 2000 15:24:17 +0000 (15:24 +0000)]
* config/i386/xm-go32.h (HOST_LONG_DOUBLE_FORMAT): Define.

* config/i386/tm-go32.h (TARGET_LONG_DOUBLE_BIT): Remove
definition (and use the common one in tm-i386.h).
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Likewise.
(I386_DJGPP_TARGET): Don't define, it's no longer required.
(LOW_RETURN_REGNUM, HIGH_RETURN_REGNUM): Remove definition,
i386-tdep.c defines it for all x86 targets.
(LD_I387, HEX_LONG_DOUBLE_INPUT): Remove.

* config/djgpp/fnchange.lst: Add i386-linux-tdep.c.

* config/djgpp/djcheck.sh: Edit the copyright year out of the test
results.  Fix editing of `main' arguments for non-GNU Sed.

24 years agoFix a typo (comtaining -> containing).
Eli Zaretskii [Mon, 3 Apr 2000 15:17:37 +0000 (15:17 +0000)]
Fix a typo (comtaining -> containing).

24 years ago * symfile.c (map_overlay_command, unmap_overlay_command): Fix
Eli Zaretskii [Mon, 3 Apr 2000 15:16:13 +0000 (15:16 +0000)]
* symfile.c (map_overlay_command, unmap_overlay_command): Fix
error message: there's no "overlay on" command.

24 years ago * Makefile.in (copying.c): Depend on copying.txt, not COPYING.
Eli Zaretskii [Mon, 3 Apr 2000 15:12:59 +0000 (15:12 +0000)]
* Makefile.in (copying.c): Depend on copying.txt, not COPYING.
(copying.txt): New target, a link to COPYING.

24 years agoTidy some code. Print pc rel addresses as signed.
Alan Modra [Mon, 3 Apr 2000 14:17:43 +0000 (14:17 +0000)]
Tidy some code.  Print pc rel addresses as signed.

24 years agoMove bug report string to one place.
Alan Modra [Mon, 3 Apr 2000 14:10:05 +0000 (14:10 +0000)]
Move bug report string to one place.

24 years agoNEWS file update
Daniel Berlin [Mon, 3 Apr 2000 13:24:08 +0000 (13:24 +0000)]
NEWS file update

24 years agoDon't emit relative relocations for non-loaded sections in shared objects.
Alan Modra [Mon, 3 Apr 2000 12:42:18 +0000 (12:42 +0000)]
Don't emit relative relocations for non-loaded sections in shared objects.
Fix for DWARF-2 sections .debug_info and .debug_line.

24 years agoAdd 16-bit immediate tests.
Alan Modra [Mon, 3 Apr 2000 12:20:55 +0000 (12:20 +0000)]
Add 16-bit immediate tests.

24 years ago * write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
Hans-Peter Nilsson [Mon, 3 Apr 2000 12:05:31 +0000 (12:05 +0000)]
* write.c (write_object_file) [! WORKING_DOT_WORD]: If defined,
call TC_CHECK_ADJUSTED_BROKEN_DOT_WORD for each word after
adjustments.

24 years ago * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:44:45 +0000 (11:44 +0000)]
* aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
BFD_RELOC_16 to switch for extended relocs.
(MY_swap_ext_reloc_in): New.
(MY_swap_ext_reloc_out): New.
(NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
than NAME(aout,swap_ext_reloc_in) for extended relocs.
(NAME(aout,squirt_out_relocs)): Similarly use
MY_swap_ext_reloc_out.
(aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.

24 years ago * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:29:28 +0000 (11:29 +0000)]
* aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.

24 years agoCorrect 2000-02-26 change.
Alan Modra [Mon, 3 Apr 2000 11:19:51 +0000 (11:19 +0000)]
Correct 2000-02-26 change.

24 years agoUpdate removing anything fixed.
Andrew Cagney [Mon, 3 Apr 2000 08:47:48 +0000 (08:47 +0000)]
Update removing anything fixed.

24 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
Jeff Law [Mon, 3 Apr 2000 06:55:06 +0000 (06:55 +0000)]
    * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
        the R_PCRWORD_B case.

24 years agoRevert white space changes. Need way of stopping this happening.
Andrew Cagney [Mon, 3 Apr 2000 06:52:38 +0000 (06:52 +0000)]
Revert white space changes.  Need way of stopping this happening.

24 years agoRe-indent (almost). Several cases where indent was getting it wrong
Andrew Cagney [Mon, 3 Apr 2000 05:30:13 +0000 (05:30 +0000)]
Re-indent (almost).  Several cases where indent was getting it wrong
were omitted.

24 years agoDelete add_minsym_to_demangled_hash_table from symtabs.h. Static function.
Andrew Cagney [Mon, 3 Apr 2000 04:47:27 +0000 (04:47 +0000)]
Delete add_minsym_to_demangled_hash_table from symtabs.h.  Static function.

24 years agoRe-indent gdb-events.h, gdb-events.c using gdb-events.sh.
Andrew Cagney [Mon, 3 Apr 2000 04:43:26 +0000 (04:43 +0000)]
Re-indent gdb-events.h, gdb-events.c using gdb-events.sh.

24 years ago * gdbtypes.c (safe_parse_type): New wrapper function to ignore
Nicholas Duffek [Mon, 3 Apr 2000 03:39:09 +0000 (03:39 +0000)]
* gdbtypes.c (safe_parse_type): New wrapper function to ignore
error() during parse_and_eval_type().
(check_stub_method): Call safe_parse_type instead of
parse_and_eval_type().
* wrapper.c (gdb_parse_and_eval_type): New wrapper function.
(wrap_parse_and_eval_type): New support function.
* wrapper.h (gdb_parse_and_eval_type): Prototype.
(wrap_parse_and_eval_type): Prototype.

24 years agoUpdate winsup stuff.
Christopher Faylor [Mon, 3 Apr 2000 01:26:01 +0000 (01:26 +0000)]
Update winsup stuff.

24 years ago* Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
Christopher Faylor [Mon, 3 Apr 2000 01:24:45 +0000 (01:24 +0000)]
* Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
library search.
(CXX_FOR_TARGET): Ditto.

24 years agoFor want of something better. List where to go to when wanting to
Andrew Cagney [Mon, 3 Apr 2000 01:14:00 +0000 (01:14 +0000)]
For want of something better.  List where to go to when wanting to
make a toplevel change.

24 years agoAdd Eli to doco maintainers.
Andrew Cagney [Mon, 3 Apr 2000 00:04:00 +0000 (00:04 +0000)]
Add Eli to doco maintainers.

24 years ago* gdbarch-utils.h, gdbarch-utils.c: New files.
Andrew Cagney [Mon, 3 Apr 2000 00:00:32 +0000 (00:00 +0000)]
* gdbarch-utils.h, gdbarch-utils.c: New files.
* Makefile.in (SFILES, COMMON_OBS): Update.
(gdbarch_utils_h) Define.
(gdbarch-utils.o): Add dependencies.

* gdbarch.c, gdbarch.sh: Include "gdbarch-utils.h". Fix code
handling default method values.
(startup_gdbarch): Rename default_gdbarch, name misleading.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(register_name): Default to legacy_register_name.
(call_dummy_words): Default to legacy_call_dummy_words.
(sizeof_call_dummy_words): Default to
legacy_sizeof_call_dummy_words.
(register_convertible): Default to
generic_register_convertible_not.
(breakpoint_from_pc): Default to legacy_breakpoint_from_pc.
(remote_translate_xfer_address): Default to
generic_remote_translate_xfer_address.
(frameless_function_invocation): Default to
generic_frameless_function_invocation_not.

24 years ago2000-04-02 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 2 Apr 2000 20:16:28 +0000 (20:16 +0000)]
2000-04-02  Mark Kettenis  <kettenis@gnu.org>

* i386-linux-nat.c: Add copyright notice.

24 years ago2000-04-02 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sun, 2 Apr 2000 14:41:45 +0000 (14:41 +0000)]
2000-04-02  Mark Kettenis  <kettenis@gnu.org>

* config/i386/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define as
&floatformat_i387_ext.
* config/i386/xm-i386gnu.h (HOST_LONG_DOUBLE_FORMAT): Likewise.

24 years ago * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
Richard Henderson [Sun, 2 Apr 2000 08:24:54 +0000 (08:24 +0000)]
    * config/tc-d30v.c (check_range): Allow signed or unsigned 32-bit
        quantities.  Correct right shift sign extension.
        (build_insn): Make `number' unsigned long.  Mask top 6 bits of
        32-bit value when shifting into place.

24 years ago * app.c: Add ATTRIBUTE_UNUSED as needed.
Ian Lance Taylor [Sun, 2 Apr 2000 06:27:51 +0000 (06:27 +0000)]
* app.c: Add ATTRIBUTE_UNUSED as needed.
* config/tc-ppc.c: Likewise.
(ppc_size): Make unsigned long.
(ppc_insert_operand): Add casts to avoid warnings.

24 years ago * disassemble.c (disassembler_usage): Don't use a prototype. Mark
Ian Lance Taylor [Sun, 2 Apr 2000 06:26:09 +0000 (06:26 +0000)]
* disassemble.c (disassembler_usage): Don't use a prototype.  Mark
the parameter ATTRIBUTE_UNUSED.
* ppc-opc.c: Add ATTRIBUTE_UNUSED as needed.

24 years ago* gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
Alexandre Oliva [Sat, 1 Apr 2000 23:46:53 +0000 (23:46 +0000)]
* gas/mn10300/am33_5.s: Check that negative SP offsets are encoded
with 32 bits, not with the unsigned shorter opcodes.
* gas/mn10300/basic.exp: Likewise.

24 years ago* m10300-opc.c: SP-based offsets are always unsigned.
Alexandre Oliva [Sat, 1 Apr 2000 22:03:31 +0000 (22:03 +0000)]
* m10300-opc.c: SP-based offsets are always unsigned.

24 years agoFix long-standing mis-comments. Words and addresses are 32-bits long.
Alexandre Oliva [Sat, 1 Apr 2000 20:58:49 +0000 (20:58 +0000)]
Fix long-standing mis-comments.  Words and addresses are 32-bits long.

24 years agoFlush any pending instructiuons before emitting data into the instruction stream.
Nick Clifton [Sat, 1 Apr 2000 00:19:46 +0000 (00:19 +0000)]
Flush any pending instructiuons before emitting data into the instruction stream.

24 years ago2000-03-29 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Fri, 31 Mar 2000 22:04:50 +0000 (22:04 +0000)]
2000-03-29  Mark Kettenis  <kettenis@gnu.org>

* findvar.c (extract_floating): Remove reference to
TARGET_EXTRACT_FLOATING.
(store_floating): Remove reference to TARGET_STORE_FLOATING.

24 years agoReverted the comment about inc/inc4, that was already implied by RN02.
Alexandre Oliva [Fri, 31 Mar 2000 20:31:05 +0000 (20:31 +0000)]
Reverted the comment about inc/inc4, that was already implied by RN02.

24 years agoFix typos. Add FIXME for 2-reg inc and inc4.
Alexandre Oliva [Fri, 31 Mar 2000 19:28:52 +0000 (19:28 +0000)]
Fix typos.  Add FIXME for 2-reg inc and inc4.

24 years ago* lib/gas-defs.exp (regexp_diff): Don't break on the first
Alexandre Oliva [Fri, 31 Mar 2000 18:54:24 +0000 (18:54 +0000)]
* lib/gas-defs.exp (regexp_diff): Don't break on the first
difference, list them all.

24 years agoAdjust whitespace.
Alexandre Oliva [Fri, 31 Mar 2000 18:46:38 +0000 (18:46 +0000)]
Adjust whitespace.

24 years agoDon't use post-increment on structure copy to work around a ppc gcc bug.
Alan Modra [Fri, 31 Mar 2000 02:57:38 +0000 (02:57 +0000)]
Don't use post-increment on structure copy to work around a ppc gcc bug.

24 years agoSet CHUNK size to 16 bytes to prevent download failures on lame targets.
Alan Modra [Thu, 30 Mar 2000 23:49:07 +0000 (23:49 +0000)]
Set CHUNK size to 16 bytes to prevent download failures on lame targets.

24 years agoInclude sys/types.h before sys/stat.h for ultrix.
Alan Modra [Thu, 30 Mar 2000 23:37:22 +0000 (23:37 +0000)]
Include sys/types.h before sys/stat.h for ultrix.

24 years ago * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
Philippe De Muyter [Thu, 30 Mar 2000 23:32:30 +0000 (23:32 +0000)]
* gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
  values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.

24 years ago * elf32-m32r.c (m32r_elf_generic_reloc): new function. All
Doug Evans [Thu, 30 Mar 2000 22:16:39 +0000 (22:16 +0000)]
* elf32-m32r.c (m32r_elf_generic_reloc): new function.  All
HOWTO references to bfd_elf_generic_reloc, that have
partial_inplace == true, now use the new function.  The function
is based on the recent rewrite of m32r_elf_lo16_reloc(), and
extends its fixes to the R_M32R_{16,24,32} relocs.
The new logic in m32r_elf_lo16_reloc() has been removed, and
it instead calls the new routine to obtain that functionality.

24 years ago2000-03-30 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 30 Mar 2000 20:51:27 +0000 (20:51 +0000)]
2000-03-30  Dave Brolley  <brolley@redhat.com>

* configure: Regenerated.

24 years ago2000-03-30 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 30 Mar 2000 20:49:27 +0000 (20:49 +0000)]
2000-03-30  Dave Brolley  <brolley@redhat.com>

* aclocal.m4 (cgen): Use guile to run cgen.

24 years ago2000-03-23 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 30 Mar 2000 20:21:37 +0000 (20:21 +0000)]
2000-03-23  Dave Brolley  <brolley@redhat.com>

* cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
ftruncdfsf.
* cgen-accfp.c (fextsfdf): New function.
(ftruncdfsf): New function.
(cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.

24 years ago2000-03-30 Fernando Nasser <fnasser@cygnus.com>
Fernando Nasser [Thu, 30 Mar 2000 20:15:35 +0000 (20:15 +0000)]
2000-03-30  Fernando Nasser  <fnasser@cygnus.com>

* wrapper.c (gdb_value_subscript, wrap_value_subscript): New functions.
Safe version of value_subscript.
* varobj.c (): Use gdb_value_subscript() to get an array element value.

24 years ago2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 30 Mar 2000 19:52:35 +0000 (19:52 +0000)]
2000-03-30  Michael Snyder  <msnyder@cleaver.cygnus.com>

* ui-file.c: Include "gdb_string.h"
* cli-out.c: Include gdb_string.h to avoid compiler warnings.
* wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into
unions, since they are all used to hold both pointers and ints
at various times.  Casting pointer to int and vice versa gives
warnings (and is not safe) if they are not the same size.

24 years agoCapitalize sentences.
Michael Snyder [Thu, 30 Mar 2000 19:12:08 +0000 (19:12 +0000)]
Capitalize sentences.

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