OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
Richard Henderson [Sun, 12 Aug 2001 20:16:29 +0000 (20:16 +0000)]
    * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
        to *VALUEP.  Regenerate all cgen files.

22 years ago* config/mn10300/mn10300.mt (TM_FILE): Delete.
Andrew Cagney [Sun, 12 Aug 2001 03:39:11 +0000 (03:39 +0000)]
* config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.

22 years agoConvert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
Andrew Cagney [Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)]
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.

22 years ago* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
Andrew Cagney [Sun, 12 Aug 2001 02:10:18 +0000 (02:10 +0000)]
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.

22 years ago* doublest.c (convert_doublest_to_floatformat): Rename
Andrew Cagney [Sun, 12 Aug 2001 01:45:49 +0000 (01:45 +0000)]
* doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest.  Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.

22 years ago* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
Andrew Cagney [Sun, 12 Aug 2001 01:11:12 +0000 (01:11 +0000)]
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.

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

22 years agoreplace direct invocation og elf vma print functions with indirect invocation
Nick Clifton [Sat, 11 Aug 2001 16:48:15 +0000 (16:48 +0000)]
replace direct invocation og elf vma print functions with indirect invocation

22 years ago2001-08-10 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sat, 11 Aug 2001 07:59:54 +0000 (07:59 +0000)]
2001-08-10  Andreas Jaeger  <aj@suse.de>

* elf64-sparc.c: Add missing prototypes.
* elf32-cris.c: Likewise.
* elf32-i370.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-s390.c: Likewise.

22 years ago* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
Andrew Cagney [Sat, 11 Aug 2001 00:59:29 +0000 (00:59 +0000)]
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.

* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.

* tracepoint.c (encode_actions): Make frame_reg an int.  Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static.  Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.

22 years ago * gdb-events.sh: Add architecture_changed event.
Keith Seitz [Sat, 11 Aug 2001 00:41:02 +0000 (00:41 +0000)]
* gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago(lbasename): Change function declaration to return a const char pointer.
Andrew Cagney [Fri, 10 Aug 2001 23:46:17 +0000 (23:46 +0000)]
(lbasename): Change function declaration to return a const char pointer.

22 years ago2001-08-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 10 Aug 2001 21:52:17 +0000 (21:52 +0000)]
2001-08-10  Michael Snyder  <msnyder@redhat.com>

* regcache.c (legacy_write_register_gen): Don't 'optimize out'
        a write_register to a pseudo-reg.  Target_store_pseudo_register
        needs to get called, because these regs may be computed and may
        have side-effects.

22 years ago * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Andreas Jaeger [Fri, 10 Aug 2001 19:29:59 +0000 (19:29 +0000)]
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Aug 2001 18:43:44 +0000 (18:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
(bfd_fprintf_vma): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Aug 2001 16:32:03 +0000 (16:32 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Don't return void.
(bfd_fprintf_vma): Likewise.

22 years ago * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
Richard Sandiford [Fri, 10 Aug 2001 16:22:08 +0000 (16:22 +0000)]
* mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
argument.
* mips-opc.c (G6): Undefine.
(mips_builtin_opcodes): Remove gp32 entry for "move".  Add macro
as the first "move" alternative.

22 years ago * opcode/mips.h (INSN_GP32): Remove.
Richard Sandiford [Fri, 10 Aug 2001 16:20:43 +0000 (16:20 +0000)]
* opcode/mips.h (INSN_GP32): Remove.
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.

22 years ago * gdb-events.sh: Deal with event notifications with no
Keith Seitz [Fri, 10 Aug 2001 16:05:30 +0000 (16:05 +0000)]
* gdb-events.sh: Deal with event notifications with no
arguments.

22 years ago * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
Andreas Jaeger [Fri, 10 Aug 2001 10:56:47 +0000 (10:56 +0000)]
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.

22 years ago2001-08-10 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 10 Aug 2001 09:59:33 +0000 (09:59 +0000)]
2001-08-10  Orjan Friberg  <orjanf@axis.com>

* remote.c (read_frame): Correct off-by-one error in condition.

22 years ago * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
Alan Modra [Fri, 10 Aug 2001 08:06:23 +0000 (08:06 +0000)]
* elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
warning if not BFD64.  Add braces so emacs auto format works.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
Alan Modra [Fri, 10 Aug 2001 06:00:53 +0000 (06:00 +0000)]
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
of _xcoff_swap_ld*.
* coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
param to agree with libxcoff.h.
(xcoff_swap_ldhdr_out): Likewise.
(xcoff_swap_ldsym_in): Likewise.
(xcoff_swap_ldsym_out): Likewise.
(xcoff_swap_ldrel_in): Likewise.
(xcoff_swap_ldrel_out): Likewise.
(xcoff_create_csect_from_smclas): Likewise.
* coff64-rs6000.c: Add missing prototypes.
(xcoff64_swap_ldhdr_in): Modify type of external param to agree
with libxcoff.h.
(xcoff64_swap_ldhdr_out): Likewise.
(xcoff64_swap_ldsym_in): Likewise.
(xcoff64_swap_ldsym_out): Likewise.
(xcoff64_swap_ldrel_in): Likewise.
(xcoff64_swap_ldrel_out): Likewise.
(xcoff64_ppc_relocate_section): Make static.
(xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_sizeof_headers): Likewise.
(xcoff64_is_lineno_count_overflow): Likewise.
(xcoff64_is_reloc_count_overflow): Likewise.
(xcoff64_loader_symbol_offset): Likewise.
(xcoff64_loader_reloc_offset): Likewise.
* elf64-gen.c: Add missing prototypes.

22 years agoRevert 2001-08-08 changes.
Alan Modra [Fri, 10 Aug 2001 01:34:47 +0000 (01:34 +0000)]
Revert 2001-08-08 changes.

22 years ago*** empty log message ***
gdbadmin [Fri, 10 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 21:10:25 +0000 (21:10 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * library/prefs.tcl (pref_set_defaults): Add new font
Keith Seitz [Thu, 9 Aug 2001 20:43:54 +0000 (20:43 +0000)]
* library/prefs.tcl (pref_set_defaults): Add new font
color defaults for highlighting, headers, selecting, and "normal".
Get rid of gdb/variable/highlight_fg and gdb/reg/highlight_fg.
* library/variables.tcl (build_win): Use gdb/font/highlight_fg
and gdb/font/highilght_bg to set highlight style.
* library/memwin.itb (build_win): Use header_fg and header_bg.

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 16:46:02 +0000 (16:46 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
to ...
* elf-bfd.h: Here.
* bfd-in2.h: Regenerated.

22 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 16:00:21 +0000 (16:00 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_sprintf_vma): New prototype.
(bfd_fprintf_vma): Likewise.
(bfd_elf_sprintf_vma): Likewise.
(bfd_elf_fprintf_vma): Likewise.
(bfd_printf_vma): New. Defined with bfd_fprintf_vma.
* bfd-in2.h: Regenerated.

* bfd.c (bfd_sprintf_vma): New. Defined.
(bfd_fprintf_vma): Likewise.

* elf.c (bfd_elf_sprintf_vma): New. Defined.
(bfd_elf_fprintf_vma): Likewise.

22 years ago * dis-buf.c (generic_strcat_address): Add missing prototype.
Alan Modra [Thu, 9 Aug 2001 14:52:56 +0000 (14:52 +0000)]
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.

22 years ago * coff-rs6000.c: Add missing prototypes.
Alan Modra [Thu, 9 Aug 2001 14:38:04 +0000 (14:38 +0000)]
* coff-rs6000.c: Add missing prototypes.
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
xcoff_loader_reloc_offset): Make static.
* dwarf1.c: Add missing prototypes.
* dwarf2.c: Add missing prototypes.
(struct abbrev_info): Move definition.
(struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
* elf.c: Add missing prototypes.
* elf32-gen.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-ppc.c: Likewise.
(ppc_elf_sort_rela): Use PTR instead of "void *".
* elflink.h: Add missing prototypes.  Formatting fixes.
* merge.c: Add missing prototypes.
(last4_eq): Use PTR instead of "void *".
(last_eq): Likewise.
* syms.c: Add missing prototypes.

22 years agoFix formatting
Nick Clifton [Thu, 9 Aug 2001 09:09:03 +0000 (09:09 +0000)]
Fix formatting

22 years agoChange 'partial_inplace' to true (this target uses REL relocations) and
Nick Clifton [Thu, 9 Aug 2001 09:00:58 +0000 (09:00 +0000)]
Change 'partial_inplace' to true (this target uses REL relocations) and
'pcrel_offset' to false (the PC is implied, not stored in the offset).

22 years agomerge from gcc
DJ Delorie [Thu, 9 Aug 2001 00:05:37 +0000 (00:05 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Thu, 9 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-08 Don Howard <dhoward@redhat.com>
Don Howard [Wed, 8 Aug 2001 16:15:38 +0000 (16:15 +0000)]
2001-08-08  Don Howard  <dhoward@redhat.com>

* stabsread.c (read_type): Add support for const and volatile
modifiers.

22 years ago * ppc.h (struct powerpc_operand): New field `reloc'.
Alan Modra [Wed, 8 Aug 2001 13:19:36 +0000 (13:19 +0000)]
* ppc.h (struct powerpc_operand): New field `reloc'.
* ppc-opc.c: Include "bfd.h".
(powerpc_operands): Add new field for reloc type.

22 years ago * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
Alan Modra [Wed, 8 Aug 2001 13:09:33 +0000 (13:09 +0000)]
* elf-bfd.h (struct elf_backend_data): Add want_got_sym.
* elfxx-target.h (elf_backend_want_got_sym): Define.
(elfNN_bed): Add elf_backend_want_got_sym.
* elflink.c (_bfd_elf_create_got_section): Define
_GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.

22 years ago* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
Alexandre Oliva [Wed, 8 Aug 2001 11:17:34 +0000 (11:17 +0000)]
* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
(find_rela_addend): New function.
(parse_comp_unit): Call it to find the abbrev offset addend.
(_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
members of dwarf2_debug as debugging information is read.

22 years ago*** empty log message ***
gdbadmin [Wed, 8 Aug 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoSupport relocs for sh-coff targets as well as sh-pe.
Nick Clifton [Tue, 7 Aug 2001 18:32:07 +0000 (18:32 +0000)]
Support relocs for sh-coff targets as well as sh-pe.

22 years ago * mips-dis.c (print_insn_arg): Don't use software integer registers
Thiemo Seufer [Tue, 7 Aug 2001 12:36:13 +0000 (12:36 +0000)]
* mips-dis.c (print_insn_arg): Don't use software integer registers
for coprocessor registers.
(_print_insn_mips): Get distinction between old ABI and new ABI right.

22 years ago*** empty log message ***
gdbadmin [Tue, 7 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 6 Aug 2001 22:08:12 +0000 (22:08 +0000)]
2001-08-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.

22 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years ago2001-08-02 Dave Brolley <brolley@redhat.com>
Dave Brolley [Sat, 4 Aug 2001 15:56:41 +0000 (15:56 +0000)]
2001-08-02  Dave Brolley  <brolley@redhat.com>

* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.

22 years agomerge from gcc
DJ Delorie [Sat, 4 Aug 2001 01:07:57 +0000 (01:07 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Sat, 4 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
Daniel Jacobowitz [Fri, 3 Aug 2001 21:34:01 +0000 (21:34 +0000)]
    * core-regset.c (fetch_core_registers):  Remove HAVE_GREGSET_T
        and HAVE_FPREGSET_T checks.  Use gdb_gregset_t and gdb_fpregset_t.

22 years ago * library/srcbar.itcl (_post): New method.
Keith Seitz [Fri, 3 Aug 2001 18:46:41 +0000 (18:46 +0000)]
* library/srcbar.itcl (_post): New method.
(_update_file_menu): New method.
(create_file_menu): Move the guts to _update_file_menu.
Add a post command to the menu.
* library/interface.tcl (gdbtk_tcl_file_changed): Catch the
call to run_hooks.
(gdbtk_tcl_exec_file_display): Save the new session, too.
(set_exe_name): Don't bother saving the session here.
(_close_file): Save the session here, too.
(gdbtk_clear_file): Catch the call to run_hooks, too.
* library/gdbmenubar.itcl (menubar_new_menu): Allow caller
to specify optional arguments to be passed to Tk when
creating the menu.
Tk's "menu add" command returns an empty string. Save the
menu's index in the parent instead. This is what all
the menu subcommands want.

22 years agoInclude offset of reloc from start of section when computing value for
Nick Clifton [Fri, 3 Aug 2001 11:14:42 +0000 (11:14 +0000)]
Include offset of reloc from start of section when computing value for
R_ARM_REL32 reloc.

22 years ago * elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't
Alan Modra [Fri, 3 Aug 2001 05:10:39 +0000 (05:10 +0000)]
* elf32-i386.c (allocate_plt_and_got_and_discard_relocs): Don't
keep relocs for undefined syms if there are no dynamic sections in
executable.
* elf32-hppa.c (allocate_plt_and_got_and_discard_relocs): Likewise.

22 years ago * generic/gdbtk-bp.c (gdb_get_breakpoint_info): Update
Keith Seitz [Fri, 3 Aug 2001 03:37:40 +0000 (03:37 +0000)]
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Update
with recent breakpoint structure changes in gdb.
(gdb_set_bp_addr): Likewise.
(gdb_get_tracepoint_info): Update with recent tracepoint
structure changes in gdb.

22 years ago*** empty log message ***
gdbadmin [Fri, 3 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Thu, 2 Aug 2001 23:27:47 +0000 (23:27 +0000)]
merge from gcc

22 years ago * bfdlink.h (struct bfd_link_info): add new boolean
Charles Wilson [Thu, 2 Aug 2001 23:07:10 +0000 (23:07 +0000)]
    * bfdlink.h (struct bfd_link_info): add new boolean
        field pei386_auto_import.

22 years ago2001-08-02 Paul Sokolovsky <paul.sokolovsky@technologist.com>
Charles Wilson [Thu, 2 Aug 2001 23:05:54 +0000 (23:05 +0000)]
2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
        * cofflink.c (coff_link_check_ar_symbols): also search for
        __imp__symbol as well as _symbol.
        * linker.c (_bfd_generic_link_add_archive_symbols): also
        search for __imp__symbol as well as _symbol.

22 years ago * defs.h (SLASH_STRING): If not defined, set
Keith Seitz [Thu, 2 Aug 2001 20:57:19 +0000 (20:57 +0000)]
* defs.h (SLASH_STRING): If not defined, set
to "/", regardless of _WIN32, __CYGWIN__, or
whatnot.

22 years ago* cli/cli-decode.h: Include "gdb_regex.h" instead of
Mark Kettenis [Thu, 2 Aug 2001 20:18:29 +0000 (20:18 +0000)]
* cli/cli-decode.h: Include "gdb_regex.h" instead of
"gnu-regex.h".

22 years ago* NEWS: Update.
Mark Kettenis [Thu, 2 Aug 2001 18:42:18 +0000 (18:42 +0000)]
* NEWS: Update.

22 years ago * config/i386/xm-go32.h: Include xm-i386.h.
Eli Zaretskii [Thu, 2 Aug 2001 15:18:15 +0000 (15:18 +0000)]
* config/i386/xm-go32.h: Include xm-i386.h.
(HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.

22 years ago The following changes avoid polluting global namespace with the
Eli Zaretskii [Thu, 2 Aug 2001 11:58:29 +0000 (11:58 +0000)]
The following changes avoid polluting global namespace with the
`enable' and `disable' identifiers, because some platforms define
in their system headers symbols with global scope that go by those
names.

* breakpoint.h (enum enable_state): Rename from `enum enable'.
Also rename all the enum members to have the "bp_" prefix.
(struct breakpoint): Rename the `enable' member to `enable_state'.
(enum bpdisp): Rename all members to have the "disp_" prefix.

* breakpoint.c: All users of `enum enable' and `enum bpdisp'
changed.
(args_for_catchpoint_enable): Rename the `enable' member to
`enable_p'.  All users changed.

* tracepoint.h (enum enable): Remove.
(struct tracepoint): The member `enabled' is now `int enabled_p'.

* tracepoint.c: All users of the `enabled' member changed.

* printcmd.c (struct display): The `status' member is now an int.

* memattr.h (struct mem_region): Rename the `status' member to
`enabled_p'.
(enum enable): Remove.

* memattr.c: Change all users of the `status' member of struct
mem_region to use `enabled_p' instead.

* infcmd.c (run_stack_dummy): Use disp_del instead of del.

* go32-nat.c: Remove the kludgey work-around for conflicts between
<dos.h> and "breakpoint.h".
* tui/tuiSourceWin.c: Use disp_del instead of del.

* tui/tuiSource.c: Use disp_del instead of del.

* tui/tuiDisassem.c: Use disp_del instead of del.

22 years ago * gdb.texinfo: Explain omitting the hostname in the
Corinna Vinschen [Thu, 2 Aug 2001 10:52:07 +0000 (10:52 +0000)]
    * gdb.texinfo: Explain omitting the hostname in the
        `target remote' command.

22 years ago * MAINTAINERS: Add myself to the write-after-approval list.
Corinna Vinschen [Thu, 2 Aug 2001 09:08:03 +0000 (09:08 +0000)]
    * MAINTAINERS: Add myself to the write-after-approval list.
        * ser-tcp.c (tcp_open): Use `localhost' as default host if no
        hostname is given.

22 years agoRemoved a section of code that didn't do anything, but left values in
John R. Moore [Thu, 2 Aug 2001 00:50:38 +0000 (00:50 +0000)]
Removed a section of code that didn't do anything, but left values in
memory. This was labeled as a hack to set r0/r1 with argc/argv.

22 years ago*** empty log message ***
gdbadmin [Thu, 2 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* doublest.h (store_floating, floatformat_to_doublest): Make IN
Andrew Cagney [Wed, 1 Aug 2001 22:11:43 +0000 (22:11 +0000)]
* doublest.h (store_floating, floatformat_to_doublest): Make IN
paramter a const void pointer.
(floatformat_from_doublest): Make IN const, Make OUT a void
pointer.
* doublest.c (floatformat_to_doublest): Update.
(floatformat_from_doublest): Update.
(extract_floating): Update.

22 years ago* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
Andrew Cagney [Wed, 1 Aug 2001 18:39:27 +0000 (18:39 +0000)]
* defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
(HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
(floatformat_to_doublest, floatformat_from_doublest)
(floatformat_is_negative, floatformat_is_nan)
(floatformat_mantissa, store_floating)
(extract_floating): Move declaration from here.
* doublest.h: To here.  New file.
* utils.c (get_field, floatformat_to_doublest, put_field)
(ldfrexp, floatformat_from_doublest, floatformat_is_negative)
(floatformat_is_nan, floatformat_mantissa)
(FLOATFORMAT_CHAR_BIT): Move from here.
* doublest.c: To here.  New file.
* findvar.c (store_floating, extract_floating): Move from here.
* doublest.c: To here.
* Makefile.in (SFILES): Add doublest.c.
(COMMON_OBS): Add doublest.o.
(doublest.o): Specify dependencies.
(doublest_h): Define.

* config/m88k/tm-m88k.h: Include "doublest.h".
* config/i960/tm-i960.h: Ditto.
* config/i386/tm-symmetry.h: Ditto.
* rs6000-tdep.c, valarith.c: Ditto.
* valprint.c, stabsread.c, sh-tdep.c: Ditto.
* ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
* values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
* alpha-tdep.c, ax.h, expression.h: Ditto.
* sh-tdep.c, parse.c, top.c, value.h: Ditto.

* Makefile.in (arm-tdep.o): Add $(doublest_h).
(i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
(rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
(values.o, valprint.o, arm-linux-tdep.o): Ditto.
(alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
(parser_defs_h): Ditto.
(expression_h): Add $(doublest_h) and $(symtab_h).

22 years ago* Makefile.in: Sort header definitions.
Andrew Cagney [Wed, 1 Aug 2001 17:41:50 +0000 (17:41 +0000)]
* Makefile.in: Sort header definitions.
(parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
Replace parser-defs.h with $(parser_defs_h).  Replace $(dis-asm_h)
and $(dis-asm.h) with $(dis_asm_h).  Replace annotate.h with
$(annotate_h).  Replace target.h with $(target_h).  Replace
gdbthread.h with $(gdb_thread_h).  Replace symfile.h with $(symfile_h).

22 years agoReturn zero only as the last step of qsort function.
Nick Clifton [Wed, 1 Aug 2001 16:10:42 +0000 (16:10 +0000)]
Return zero only as the last step of qsort function.

22 years agoCleanups for z8k target
Nick Clifton [Wed, 1 Aug 2001 15:39:17 +0000 (15:39 +0000)]
Cleanups for z8k target

22 years agoReplace VXWORKS with ARM_COFF_BUGFIX.
Nick Clifton [Wed, 1 Aug 2001 15:18:32 +0000 (15:18 +0000)]
Replace VXWORKS with ARM_COFF_BUGFIX.

22 years ago2001-08-01 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Wed, 1 Aug 2001 11:33:45 +0000 (11:33 +0000)]
2001-08-01  Aldy Hernandez  <aldyh@redhat.com>

* include/opcode/mips.h (INSN_ISA_MASK): Nuke bits 12-15.

22 years agoFix a typo in my entry from 2001-06-13.
Eli Zaretskii [Wed, 1 Aug 2001 09:23:07 +0000 (09:23 +0000)]
Fix a typo in my entry from 2001-06-13.

22 years ago*** empty log message ***
gdbadmin [Wed, 1 Aug 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config/i386/xm-i386.h: New file.
Mark Kettenis [Tue, 31 Jul 2001 19:22:57 +0000 (19:22 +0000)]
* config/i386/xm-i386.h: New file.
* config/i386/xm-fbsd.h: Removed.
* config/i386/xm-linux.h: Removed.
* config/i386/fbsd.mh: Reorganize a bit.
(XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
* config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
xm-linux.h.

22 years ago * tui.c (tui_enable): Remove call to terminal_save_ours().
Stephane Carrez [Tue, 31 Jul 2001 19:00:50 +0000 (19:00 +0000)]
* tui.c (tui_enable): Remove call to terminal_save_ours().
(tui_disable): Likewise.

22 years ago2001-07-31 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 31 Jul 2001 17:34:56 +0000 (17:34 +0000)]
2001-07-31  Elena Zannoni  <ezannoni@redhat.com>

* generic/gdbtk-cmds.c: Don't include regcache.h.
* generic/gdbtk-register.c: Include regcache.h.

22 years ago * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
Daniel Jacobowitz [Tue, 31 Jul 2001 17:30:56 +0000 (17:30 +0000)]
    * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
        and END-INFO-DIR-ENTRY.

22 years ago2001-07-31 Ben Elliston <bje@redhat.com>
Ben Elliston [Tue, 31 Jul 2001 04:59:59 +0000 (04:59 +0000)]
2001-07-31  Ben Elliston  <bje@redhat.com>

* lib/sim-defs.exp (run_sim_test): Include a description such as
"assembling" or "linking" that identifies the phase a test fails
in, for easier analysis of failures.

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

22 years ago* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
Jim Blandy [Mon, 30 Jul 2001 23:16:45 +0000 (23:16 +0000)]
* dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.

22 years ago * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
Daniel Jacobowitz [Mon, 30 Jul 2001 22:08:41 +0000 (22:08 +0000)]
   * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
       Check for SETPGRP_VOID separately if cross-compiling and ISO C
       headers are available.

22 years ago* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
Mark Kettenis [Mon, 30 Jul 2001 21:45:26 +0000 (21:45 +0000)]
* config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.

22 years ago* i386-tdep.c (i386_register_convert_to_virtual): Replace
Mark Kettenis [Mon, 30 Jul 2001 21:09:44 +0000 (21:09 +0000)]
* i386-tdep.c (i386_register_convert_to_virtual): Replace
assertion with a warning if we're asked to convert towards a
non-floating-point type.  Zero out the the buffer where the data
is supposed to be stored in that case.

22 years agomerge from gcc
DJ Delorie [Mon, 30 Jul 2001 20:02:22 +0000 (20:02 +0000)]
merge from gcc

22 years agoFix prototype of _bfd_ecoff_styp_to_sec_flags
Nick Clifton [Mon, 30 Jul 2001 18:38:35 +0000 (18:38 +0000)]
Fix prototype of _bfd_ecoff_styp_to_sec_flags

22 years agomerge from gcc
DJ Delorie [Mon, 30 Jul 2001 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years ago* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
Mark Kettenis [Mon, 30 Jul 2001 10:17:46 +0000 (10:17 +0000)]
* config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
prototypes.
* config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
i386_dwarf_reg_to_regnum.
* i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
New functions.

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

22 years agoUnset CDPATH before doing annything else.
Eli Zaretskii [Sun, 29 Jul 2001 10:12:49 +0000 (10:12 +0000)]
Unset CDPATH before doing annything else.

22 years ago * go32-nat.c (get_cr3): Temporary disable support for page tables
Eli Zaretskii [Sun, 29 Jul 2001 08:06:28 +0000 (08:06 +0000)]
* go32-nat.c (get_cr3): Temporary disable support for page tables
in UMBs, as it is incomplete.

22 years ago Support for stepping through longjmp in DJGPP programs:
Eli Zaretskii [Sun, 29 Jul 2001 08:03:36 +0000 (08:03 +0000)]
Support for stepping through longjmp in DJGPP programs:

* config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
(GET_LONGJMP_TARGET): Define to call get_longjmp_target.
(get_longjmp_target): Add prototype.

22 years ago * i386-dis.c: Fix formatting.
Kazu Hirata [Sun, 29 Jul 2001 05:00:14 +0000 (05:00 +0000)]
* i386-dis.c: Fix formatting.

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

22 years agoFix some PID/TPID fallout for HP/UX.
Andrew Cagney [Sat, 28 Jul 2001 22:44:53 +0000 (22:44 +0000)]
Fix some PID/TPID fallout for HP/UX.
From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
* infttrace.c (ptrace_wait): Match external declaration,
and match target_post_wait declaration.

22 years ago(cris): Set --enable-gdb-build-warnings flag to -w.
Andrew Cagney [Sat, 28 Jul 2001 21:21:30 +0000 (21:21 +0000)]
(cris): Set --enable-gdb-build-warnings flag to -w.

22 years ago* MAINTAINERS: Add Orjan Friberg as cris target maintainer.
Andrew Cagney [Sat, 28 Jul 2001 20:23:53 +0000 (20:23 +0000)]
* MAINTAINERS: Add Orjan Friberg as cris target maintainer.