external/binutils.git
22 years agoReviewed and approved by Kevin Buettner <kevinb@redhat.com>
Fred Fish [Tue, 10 Sep 2002 02:04:38 +0000 (02:04 +0000)]
Reviewed and approved by Kevin Buettner <kevinb@redhat.com>

2002-09-09  Fred Fish  <fnf@intrinsity.com>
* printcmd.c (print_scalar_formatted): "len" is the number of
target bytes, NOT the number of target bits.

22 years agodaily update
Alan Modra [Tue, 10 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 10 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
Jeff Law [Mon, 9 Sep 2002 21:31:40 +0000 (21:31 +0000)]
    * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
        marker relocations such as ENTRY/EXIT.
        * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
        to both OBJ_ELF and OBJ_SOM.

22 years ago * config/mips.exp: Update comments.
Ben Elliston [Mon, 9 Sep 2002 21:21:35 +0000 (21:21 +0000)]
* config/mips.exp: Update comments.
* config/mips-idt.exp: Likewise.
* config/nind.exp: Likewise.
* config/slite.exp: Likewise.
* config/sparclet.exp: Likewise.
* config/udi.exp: Likewise.
* config/vx.exp: Likewise.
* config/vxworks29k.exp: Likewise.

22 years ago2002-09-09 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 9 Sep 2002 21:03:26 +0000 (21:03 +0000)]
2002-09-09  Elena Zannoni  <ezannoni@redhat.com>

From: Emmanuel Thome'  <thome@lix.polytechnique.fr>
* top.c (init_main): Set rl_terminal_name.

22 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 9 Sep 2002 20:57:01 +0000 (20:57 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update.

22 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M
Richard Henderson [Mon, 9 Sep 2002 17:34:07 +0000 (17:34 +0000)]
    * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21M
        and PCREL21F like PCREL21B.

22 years ago2002-09-08 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 9 Sep 2002 01:54:45 +0000 (01:54 +0000)]
2002-09-08  Ben Elliston  <bje@redhat.com>

* gas/hppa/basic/basic.exp: Update DejaGnu mail address.
* gas/hppa/parse/parse.exp: Likewise.
* gas/hppa/reloc/reloc.exp: Likewise.
* gas/hppa/unsorted/unsorted.exp: Likewise.
* gas/mn10200/basic.exp: Likewise.
* gas/mn10300/basic.exp: Likewise.
* gas/sh/basic.exp: Likewise.
* gas/sh/sh64/sh64.exp: Likewise.
* gas/v850/basic.exp: Likewise.
* lib/gas-defs.exp: Likewise.

* gas/all/gas.exp: Removing limping support for DejaGnu 1.1.1.
* gasp/gasp.exp: Likewise.

22 years agodaily update
Alan Modra [Mon, 9 Sep 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Mon, 9 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * ada-lang.c (ada_array_bound, ada_type_match,
Aidan Skinner [Sun, 8 Sep 2002 17:44:22 +0000 (17:44 +0000)]
* ada-lang.c (ada_array_bound, ada_type_match,
_initialize_ada_language): Fix K&R definitions.
* ada-tasks.c (get_current_task): Fix K&R definitions.
* ada-valprint.c (adjust_type_signedness): Fix K&R definitions.

22 years agodaily update
Alan Modra [Sun, 8 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 8 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* MAINTAINERS: Remove CE from list of maintainership responsibilities. Add XP.
Christopher Faylor [Sat, 7 Sep 2002 15:22:00 +0000 (15:22 +0000)]
* MAINTAINERS: Remove CE from list of maintainership responsibilities.  Add XP.

22 years ago*** empty log message ***
gdbadmin [Sat, 7 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 7 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* i386-tdep.c (i386_register_virtual_type,
Mark Kettenis [Fri, 6 Sep 2002 21:28:18 +0000 (21:28 +0000)]
* i386-tdep.c (i386_register_virtual_type,
i386_register_convertible, i386_register_convert_to_virtual,
i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P
instead of IS_FP_REGNUM and IS_SSE_REGNUM.
(i386_gdbarch_init): Fix comment.  Add comments on calls that set
sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum.
Don't set push_arguments twice.

22 years ago* i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
Mark Kettenis [Fri, 6 Sep 2002 20:44:23 +0000 (20:44 +0000)]
* i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and
sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end.
* i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and
sigtramp_end to NULL.
* config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove
defines.
(i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes.

22 years ago * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.
Jeff Law [Fri, 6 Sep 2002 20:42:40 +0000 (20:42 +0000)]
    * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore.

22 years ago* i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
Mark Kettenis [Fri, 6 Sep 2002 20:28:57 +0000 (20:28 +0000)]
* i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious
whitespace.

22 years ago* gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
Mark Kettenis [Fri, 6 Sep 2002 20:17:40 +0000 (20:17 +0000)]
* gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods.
* gdbarch.h, gdbarch.c: Re-generate.
* blockframe.c (find_pc_sect_partial_function): Convert to use
SIGTRAMP_START_P predicate.

22 years agocorrect entry
Alan Modra [Fri, 6 Sep 2002 14:26:05 +0000 (14:26 +0000)]
correct entry

22 years agomerge from gcc
DJ Delorie [Fri, 6 Sep 2002 00:03:11 +0000 (00:03 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Fri, 6 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 6 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdb.threads/killed.exp: Fix test failure message.
Jim Blandy [Thu, 5 Sep 2002 19:45:11 +0000 (19:45 +0000)]
* gdb.threads/killed.exp: Fix test failure message.

22 years ago2002-09-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Sep 2002 19:05:59 +0000 (19:05 +0000)]
2002-09-05  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c (arm_extract_return_value): Use new regcache method.

22 years ago2002-09-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Sep 2002 19:03:07 +0000 (19:03 +0000)]
2002-09-05  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c (arm_init_extra_frame_info): Distinguish between
generic_dummy_frame method and old method.  Also distinguish
between ARM_FP_REGNUM and THUMB_FP_REGNUM.

22 years ago2002-09-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Sep 2002 18:31:07 +0000 (18:31 +0000)]
2002-09-05  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_n32n64_push_arguments): Remove alignment
adjustment that doesn't conform to the ABI.
(mips_extract_struct_value_address): Retrieve V0_REGNUM from
saved regcache, not from current regcache.

22 years ago2002-09-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 5 Sep 2002 12:13:08 +0000 (12:13 +0000)]
2002-09-05  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Update for 5.3.  Add new section ``Changes since 5.3''.
* README: Update.

Index: doc/ChangeLog
2002-09-05  Andrew Cagney  <ac131313@redhat.com>

* gdb.texinfo (Contributors): Mention 5.2 and 5.3 release
engineer.

22 years agoMention that 5.3 branch was created (note, this was an insert).
Andrew Cagney [Thu, 5 Sep 2002 11:52:31 +0000 (11:52 +0000)]
Mention that 5.3 branch was created (note, this was an insert).

22 years ago2002-08-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Sep 2002 01:28:14 +0000 (01:28 +0000)]
2002-08-26  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (insert_breakpoints): Protect all references
to 'process_warning'.  Shorten long lines.

22 years ago * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
Alan Modra [Thu, 5 Sep 2002 00:07:08 +0000 (00:07 +0000)]
* ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.

22 years ago * gas/i386/absrel.s: New.
Alan Modra [Thu, 5 Sep 2002 00:05:44 +0000 (00:05 +0000)]
* gas/i386/absrel.s: New.
* gas/i386/absrel.d: New.
* gas/i386/pcrel.s: New.
* gas/i386/pcrel.d: New.
* gas/i386/i386.exp: Run them.
* gas/testsuite/gas/mmix/comment-1.d: Don't test the symbol
index, the name will do.
* gas/mri/moveml.d: Escape dots.
* gas/macros/macros.exp (strings): Add rs6000-*-* to xfails.
* gas/mips/beq.s: Don't make text_label global.
* gas/mips/mips32.s: Likewise.
* gas/mips/mips64-mips3d.s: Likewise.

22 years agogas reloc rewrite.
Alan Modra [Thu, 5 Sep 2002 00:01:18 +0000 (00:01 +0000)]
gas reloc rewrite.

22 years agodaily update
Alan Modra [Thu, 5 Sep 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 5 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * config.bfd (mips*-*-irix6*): Add new ABI vectors. Make n32 default
Kevin Buettner [Wed, 4 Sep 2002 23:10:59 +0000 (23:10 +0000)]
  * config.bfd (mips*-*-irix6*): Add new ABI vectors.  Make n32 default
  vector.

22 years ago * lib/mi-support.exp: Update copyright.
Keith Seitz [Wed, 4 Sep 2002 21:05:07 +0000 (21:05 +0000)]
    * lib/mi-support.exp: Update copyright.
        (mi_gdb_test): Increase the priority of the expected pattern
        so that it matches gdb_test.

22 years ago* arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
Jason Thorpe [Wed, 4 Sep 2002 17:52:38 +0000 (17:52 +0000)]
* arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
if arm_apcs_32 is false.

22 years ago * config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
Alan Modra [Wed, 4 Sep 2002 13:43:43 +0000 (13:43 +0000)]
* config/tc-ppc.c (ppc_frob_symbol): Formatting, warning fix.
(ppc_fix_adjustable <coff version>): Cleanup.

22 years ago * config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
Alan Modra [Wed, 4 Sep 2002 13:21:18 +0000 (13:21 +0000)]
* config/tc-ppc.c (PPC_HIGHER, PPC_HIGHEST): Fix warning.
(md_parse_option): No -a64 without BFD64.
(ppc_set_cpu): Select appropriate cpu when ppc_obj64.
(ppc_arch): Use bfd_mach_rs6k for bfd_arch_rs6000.

22 years agoDo not insert non-BookE32 instructions into the hash table if the target cpu
Nick Clifton [Wed, 4 Sep 2002 12:37:30 +0000 (12:37 +0000)]
Do not insert non-BookE32 instructions into the hash table if the target cpu
is the BookE32. (case 107575)

22 years agoHave objdump's --help switch document PPC -M options.
Nick Clifton [Wed, 4 Sep 2002 10:08:08 +0000 (10:08 +0000)]
Have objdump's --help switch document PPC -M options.

22 years agoThe BookE implementations of the TLBWE and TLBRE instructions do not take any
Nick Clifton [Wed, 4 Sep 2002 09:59:48 +0000 (09:59 +0000)]
The BookE implementations of the TLBWE and TLBRE instructions do not take any
arguments.

22 years agodaily update
Alan Modra [Wed, 4 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 4 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
Keith Seitz [Tue, 3 Sep 2002 22:29:14 +0000 (22:29 +0000)]
    * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
        Use integer comparison instead of string comparison for testing
        whether binary was built.

22 years ago* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.
Theodore A. Roth [Tue, 3 Sep 2002 21:42:13 +0000 (21:42 +0000)]
* gdb/avr-tdep.c (avr_gdbarch_init): Use generic_unwind_get_saved_register.

22 years ago * tuiIO.c (tui_putc): New function to print one character.
Stephane Carrez [Tue, 3 Sep 2002 20:47:48 +0000 (20:47 +0000)]
* tuiIO.c (tui_putc): New function to print one character.
(printable_part): New function from readline/complete.c.
(PUTX): New macro, likewise.
(print_filename): New function, likewise.
(get_y_or_n): New function, likewise and adapted for TUI.
(tui_rl_display_match_list): New function from readline/complete.c
and writes on TUI command window.
(tui_setup_io): Install or remove the readline hook
rl_completion_display_matches_hook so that completion is written
directly in TUI command window instead of in the TUI pipe.
(tui_initialize_io): Use #ifdef TUI_USE_PIPE_FOR_READLINE for the
TUI redirection pipe.
(tui_getc): Likewise for call to tui_readline_output.
(tui_readline_output): Likewise for function.
* tui.c (tui_rl_startup_hook): Always take care of gdb prompt.

22 years ago* gdb.threads/killed.exp, gdb.threads/killed.c: New test.
Jim Blandy [Tue, 3 Sep 2002 20:02:48 +0000 (20:02 +0000)]
* gdb.threads/killed.exp, gdb.threads/killed.c: New test.

22 years ago2002-09-03 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 3 Sep 2002 17:32:11 +0000 (17:32 +0000)]
2002-09-03  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf2_add_member_fn): Add the 'type'
argument (PR gdb/653).  Update call to smash_to_method_type.
(read_structure_scope): Update call to dwarf2_add_member_fn.

22 years ago * gdb680.exp: New file to test to check for uiout list/tuple
Keith Seitz [Tue, 3 Sep 2002 16:37:00 +0000 (16:37 +0000)]
    * gdb680.exp: New file to test to check for uiout list/tuple
        nesting bug.

22 years ago2002-09-03 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Tue, 3 Sep 2002 13:06:33 +0000 (13:06 +0000)]
2002-09-03  Michal Ludvig  <mludvig@suse.cz>

* x86-64-linux-tdep.c: Include gdb_string.h
* x86-64-linux-nat.c: Ditto.

22 years ago* ada-exp.y (yyname, yyrule): Remap global variables that appear
Jason Thorpe [Tue, 3 Sep 2002 02:45:56 +0000 (02:45 +0000)]
* ada-exp.y (yyname, yyrule): Remap global variables that appear
when YYDEBUG is set to 1.
* c-exp.y: Likewise.
* f-exp.y: Likewise.
* jv-exp.y: Likewise.
* m2-exp.y: Likewise.
* p-exp.y: Likewise.

22 years agodaily update
Alan Modra [Tue, 3 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 3 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * tuiWin.c (_newHeightOk): Fix compilation warnings.
Stephane Carrez [Mon, 2 Sep 2002 19:34:18 +0000 (19:34 +0000)]
* tuiWin.c (_newHeightOk): Fix compilation warnings.

22 years ago * gdb.texinfo (TUI Overview): Document status line fields.
Stephane Carrez [Mon, 2 Sep 2002 19:09:30 +0000 (19:09 +0000)]
* gdb.texinfo (TUI Overview): Document status line fields.

22 years ago * gdb.texinfo (TUI Commands): Document info win command.
Stephane Carrez [Mon, 2 Sep 2002 18:54:12 +0000 (18:54 +0000)]
* gdb.texinfo (TUI Commands): Document info win command.

22 years ago* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
Jason Thorpe [Mon, 2 Sep 2002 18:09:07 +0000 (18:09 +0000)]
* Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to
dependency list.
* i386nbsd-tdep.c (i386nbsdelf_init_abi): Set
solib_svr4_fetch_link_map_offsets to
nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
* config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o, and solib-legacy.o.
* config/i386/tm-nbsd.h: Include solib.h.

22 years ago* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
Jason Thorpe [Mon, 2 Sep 2002 17:24:51 +0000 (17:24 +0000)]
* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
(i[3456]86-*-netbsd*): ...this.  Set gdb_target to nbsd.
(i[3456]86-*-openbsd*): Make this a separate entry.  Add a
comment noting that this needs its own target configuration.
* config/i386/nbsd.mt: New file.
* config/i386/nbsdaout.mt: Remove.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/tm-nbsdaout.h: Ditto.

22 years agoAdd EXTERN references to __ctbpm __gp and __ep.
Nick Clifton [Mon, 2 Sep 2002 17:03:30 +0000 (17:03 +0000)]
Add EXTERN references to __ctbpm __gp and __ep.
Define TEMPLATE_NAME.
Revert bogus change to ldexp.c

22 years ago* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
Jason Thorpe [Mon, 2 Sep 2002 16:35:14 +0000 (16:35 +0000)]
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset.
(i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
tdep->sigtramp_end.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove.
* config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END)
(i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove.

22 years agoFix PROVIDE
Nick Clifton [Mon, 2 Sep 2002 14:46:56 +0000 (14:46 +0000)]
Fix PROVIDE

22 years agoUse helpful names instead of cryptically overloaded bfd_reloc error codes.
Nick Clifton [Mon, 2 Sep 2002 14:23:43 +0000 (14:23 +0000)]
Use helpful names instead of cryptically overloaded bfd_reloc error codes.
Replace caching of external symbols with caching of internal symbols obtained
from calling bfd_elf_get_elf_syms().
Fixup problems with freeing cached allocated memory blocks.

22 years ago * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
Alan Modra [Mon, 2 Sep 2002 11:52:01 +0000 (11:52 +0000)]
* cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
(bfd_pj_arch): Use bfd_default_scan.
* cpu-v850.c (scan): Remove.
(N): Use bfd_default_scan.
* cpu-z8k.c (scan_mach): Remove.
(arch_info_struct, bfd_z8k_arch): Reorganize so that the default is
first.  Use bfd_default_scan.

22 years ago * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
Alan Modra [Mon, 2 Sep 2002 11:47:42 +0000 (11:47 +0000)]
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants.
(ecoff_get_magic): Likewise.
* elf32-v850.c (v850_elf_object_p): Likewise.
(v850_elf_final_write_processing): Likewise.
* mipsbsd.c (MY(set_arch_mach)): Likewise.
(MY(write_object_contents)): Likewise.
* coff64-rs6000.c (xcoff64_write_object_contents): Likewise.
* coffcode.h (coff_write_object_contents): Likewise.
(coff_set_arch_mach_hook): Add comment describing machine == 0.
Remove unnecessary "machine" assignments.
(coff_write_relocs): Test for the absolute section sym by testing
section and flags.

* pdp11.c (NAME(aout,machine_type)): Like aoutx.h.

22 years agoRemove redundant references to V850EA architecture.
Nick Clifton [Mon, 2 Sep 2002 11:44:39 +0000 (11:44 +0000)]
Remove redundant references to V850EA architecture.

22 years ago * arc-opc.c: Include bfd.h.
Alan Modra [Mon, 2 Sep 2002 06:00:05 +0000 (06:00 +0000)]
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.

22 years ago * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
Alan Modra [Mon, 2 Sep 2002 05:58:55 +0000 (05:58 +0000)]
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.

22 years ago*** empty log message ***
gdbadmin [Mon, 2 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 2 Sep 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
Jason Thorpe [Sun, 1 Sep 2002 23:24:19 +0000 (23:24 +0000)]
* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
$(i386_tdep_h), and nbsd-tdep.h to dependency list.
* i386-tdep.h (i386bsd_init_abi): New prototype.
* i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
function declaration.
(_initialize_i386bsd_tdep): Don't register OS ABI handlers
for NetBSD-a.out or NetBSD-ELF.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
(i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
(i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
* i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
and nbsd-tdep.h.
(i386nbsd_pc_in_sigtramp): New function.
(i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
i386nbsd_pc_in_sigtramp.
(_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
and i386nbsdelf_init_abi OS ABI handlers.
* config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.

22 years ago*** empty log message ***
Mark Kettenis [Sun, 1 Sep 2002 22:16:04 +0000 (22:16 +0000)]
*** empty log message ***

22 years ago* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
Mark Kettenis [Sun, 1 Sep 2002 22:05:42 +0000 (22:05 +0000)]
* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
registers if the target really has them.

* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.

22 years ago * tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
Stephane Carrez [Sun, 1 Sep 2002 17:23:59 +0000 (17:23 +0000)]
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
is not displayed.

22 years ago * tui-out.c (tui_out_new): Clear start_of_line.
Stephane Carrez [Sun, 1 Sep 2002 16:12:52 +0000 (16:12 +0000)]
* tui-out.c (tui_out_new): Clear start_of_line.
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines
to update the current source line.

22 years ago * tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
Stephane Carrez [Sun, 1 Sep 2002 12:49:32 +0000 (12:49 +0000)]
* tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
(tui_install_hooks): Install it.
(tui_remove_hooks): Remove it.

22 years ago * tuiData.h (FILE_PREFIX): Don't define.
Stephane Carrez [Sun, 1 Sep 2002 10:49:00 +0000 (10:49 +0000)]
* tuiData.h (FILE_PREFIX): Don't define.
(blankStr, locationStr, breakStr): Don't declare.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Likewise.
(displayableWinContentOf, displayableWinContentAt): Likewise.
(winElementHeight, winByName, freeAllWindows): Likewise.

* tuiData.c (blankStr, locationStr, breakStr): Remove.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Remove.
(displayableWinContentOf, displayableWinContentAt): Remove.
(winElementHeight, winByName, freeAllWindows): Remove.

22 years ago * tuiStack.c (tui_make_status_line): New function to create the
Stephane Carrez [Sun, 1 Sep 2002 10:20:48 +0000 (10:20 +0000)]
* tuiStack.c (tui_make_status_line): New function to create the
status line.
(tuiShowLocatorContent): Use it instead of displayableWinContentAt.
* tuiData.h (PROC_PREFIX): Use "In:" to reduce length of prefix.
(PC_PREFIX): Use upper case.
(SINGLE_KEY, MIN_LINE_WIDTH, MIN_PROC_WIDTH): Define.
(MAX_TARGET_WIDTH, MAX_PID_WIDTH): Define.

22 years ago * gdb.texinfo (TUI Overview): Document breakpoint markers.
Stephane Carrez [Sun, 1 Sep 2002 08:52:36 +0000 (08:52 +0000)]
* gdb.texinfo (TUI Overview): Document breakpoint markers.

22 years ago * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
Stephane Carrez [Sun, 1 Sep 2002 08:39:48 +0000 (08:39 +0000)]
* gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
(TUI Keys): Likewise.

22 years agodaily update
Alan Modra [Sun, 1 Sep 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 1 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
Jason Thorpe [Sat, 31 Aug 2002 22:47:41 +0000 (22:47 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

(ChangeLog check-in missed in previous commit.)

22 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
Jason Thorpe [Sat, 31 Aug 2002 22:46:20 +0000 (22:46 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

22 years ago* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
Jason Thorpe [Sat, 31 Aug 2002 22:43:38 +0000 (22:43 +0000)]
* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
list.
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr)
(alphanbsd_skip_sigtramp_frame): New functions.
(alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to
alphanbsd_skip_sigtramp_frame.  Set tdep->sigcontext_addr
to alphanbsd_sigcontext_addr.

22 years ago* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
Jason Thorpe [Sat, 31 Aug 2002 20:28:37 +0000 (20:28 +0000)]
* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
list.
(nbsd-tdep.o): Add $(gdb_string_h) to dependency list.
* alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use
nbsd_pc_in_sigtramp.
* mipsnbsd-tdep.c: Include nbsd-tdep.h.
(mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp.
* nbsd-tdep.c: Include gdb_string.h.
(nbsd_pc_in_sigtramp): New function.
* nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype.
* ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function.
(ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
ppcnbsd_pc_in_sigtramp.
* shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function.
(shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
shnbsd_pc_in_sigtramp.
* sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set
gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp.
* config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.

22 years ago * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
Hans-Peter Nilsson [Sat, 31 Aug 2002 18:51:07 +0000 (18:51 +0000)]
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.

22 years ago * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
Hans-Peter Nilsson [Sat, 31 Aug 2002 17:23:58 +0000 (17:23 +0000)]
* ld-mmix/bpo-10.d: Tweak for change in symbols handling.
* ld-mmix/bpo-11.d: Ditto.

* ld-mmix/b-nosym.d: Adjust for changed output for absence of
symbols.

* ld-mmix/sec-7m.d: Rename tested section from .debug_info to
.di.
* ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.

22 years ago * tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
Stephane Carrez [Sat, 31 Aug 2002 12:25:29 +0000 (12:25 +0000)]
* tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
(tuiClearAllExecInfosContent): Likewise.
(tuiEraseAllExecInfosContent): Ditto.
(tuiUpdateSourceWindowsFromLocator): Ditto.
* tuiSourceWin.c (tuiUpdateAllExecInfos): Remove.
* tui.h (tui_vCheckDataValues): Don't declare.
(tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise.
(tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto.
(tui_vShowFrameInfo): Ditto.

22 years ago2002-08-31 Stephane Carrez <stcarrez@nerim.fr>
Stephane Carrez [Sat, 31 Aug 2002 12:02:14 +0000 (12:02 +0000)]
2002-08-31  Stephane Carrez  <stcarrez@nerim.fr>

* tui.c (tui_commands): Table of single key commands.
(tui_rl_command_key): New function to execute gdb command.
(tui_rl_command_mode): New function to temporarily leave SingleKey.
(tui_rl_next_keymap): New function to enter/leave the SingleKey mode.
(tui_rl_startup_hook): New function to avoid prompt display by
readline functions.
(tui_set_key_mode): New function to set the key mode and install
the readline keymap.
(tui_initialize_readline): Create TUI SingleKey readline map.
(tui_enable): Install rl_startup_hook.
(tui_disable): Remove it.
* tui.h (enum tui_key_mode): Declare.
(tui_set_key_mode, tui_current_key_mode): Declare.
* tuiIO.c (tui_redisplay_readline): Don't display the prompt in
SingleKey mode.
* tuiIO.h (tui_redisplay_readline): Declare.

22 years ago*** empty log message ***
gdbadmin [Sat, 31 Aug 2002 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 31 Aug 2002 00:00:08 +0000 (00:00 +0000)]
daily update

22 years ago * tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
Stephane Carrez [Fri, 30 Aug 2002 21:49:49 +0000 (21:49 +0000)]
* tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
current line.

22 years ago * tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
Stephane Carrez [Fri, 30 Aug 2002 20:23:34 +0000 (20:23 +0000)]
* tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
(_hasBreak): Remove.
(tuiShowSource): Fix comment indentation.
(tuiSourceIsDisplayed): Likewise.
(tuiVerticalSourceScroll): Likewise.

22 years ago * tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
Stephane Carrez [Fri, 30 Aug 2002 20:07:05 +0000 (20:07 +0000)]
* tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
(tui_update_breakpoint_info): Declare.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.

* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint
information using tui_update_breakpoint_info.
(tui_update_all_breakpoint_info): New function to refresh all
execution windows.
(tui_update_breakpoint_info): New function to recompute the status
of exec info window from breakpoints.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
(tuiSetExecInfoContent): Use the exec info flags computed by
tui_update_breakpoint_info to display a short status about breakpoints.

* tuiData.h (TuiExecInfoContent): New for exec info string.
(TuiWhichElement): Use it.
(TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines.
(TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines.
(TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise.
(TUI_EXECINFO_SIZE): Likewise.
* tuiData.c (initContentElement): Clear exec info string.

* tui-hooks.c (get_breakpoint): Remove.
(tui_event_create_breakpoint): Call tui_update_all_breakpoint_info.
(tui_event_delete_breakpoint): Likewise.
(tui_event_modify_breakpoint): Likewise.

22 years ago * bfd-in.h (align_power): Cast constants to bfd_vma type.
Dave Anglin [Fri, 30 Aug 2002 18:36:18 +0000 (18:36 +0000)]
* bfd-in.h (align_power): Cast constants to bfd_vma type.
* bfd-in2.h (align_power): Likewise.