binutils-gdb.git
20 years agoFix Typo.
Mark Kettenis [Sun, 25 Jan 2004 12:08:41 +0000 (12:08 +0000)]
Fix Typo.

20 years ago* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also sipply the
Mark Kettenis [Sun, 25 Jan 2004 12:03:36 +0000 (12:03 +0000)]
* sparcnbsd-tdep.c (sparc32nbsd_supply_gregset): Also sipply the
floating-point registers for traditional NetBSD core files.
(sparc32nbsd_init_abi): Initialize TDEP->sizeof_gregset and
TDEP->sizeof_fpregset here.

20 years ago* sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
Mark Kettenis [Sun, 25 Jan 2004 11:46:45 +0000 (11:46 +0000)]
* sparc-tdep.h (sparc32nbsd_sigcontext_saved_regs): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_saved_regs): New
function with code split out from
sparc32nbsd_sigcontext_frame_cache.
(sparc32nbsd_sigcontext_frame_cache): Use
sparc32nbsd_sigcontext_saved_regs.
(_initialize_sparc32nbsd_tdep): Don't register OS ABI handler for
OpenBSD.
* sparcobsd-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add sparcobsd-tdep.c.
(sparcobsd-tdep.o): New dependency.
* configure.tgt (sparc-*-openbsd*): Set gdb_target to obsd.
* config/sparc/obsd.mt: New file.

20 years agoFix typo.
Mark Kettenis [Sun, 25 Jan 2004 11:38:34 +0000 (11:38 +0000)]
Fix typo.

20 years ago2004-01-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 25 Jan 2004 06:01:03 +0000 (06:01 +0000)]
2004-01-24  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (hilo_interlocks): Change definition
        so that MIPS32, MIPS64 and later ISAs are included, along with
        the already-included machines.  Update comments.

20 years ago2004-01-24 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 25 Jan 2004 03:01:42 +0000 (03:01 +0000)]
2004-01-24  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/relax-swap1.s: Add extra space at end, so the
        disassembly will consistently have "..." at its end.
        * gas/mips/relax-swap2.s: Likewise.
        * gas/mips/relax-swap1-mips2.d: Expect "..." at end of disassembly.

20 years agodaily update
Alan Modra [Sun, 25 Jan 2004 02:42:20 +0000 (02:42 +0000)]
daily update

20 years ago* sparc-tdep.c (sparc32_gdbarch_init): Don't require
Mark Kettenis [Sun, 25 Jan 2004 00:58:53 +0000 (00:58 +0000)]
* sparc-tdep.c (sparc32_gdbarch_init): Don't require
TDEP->fpregset to be initialized to enable core file register
sets.

20 years ago*** empty log message ***
gdbadmin [Sun, 25 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg):
Mark Kettenis [Sat, 24 Jan 2004 22:18:22 +0000 (22:18 +0000)]
* sparc64-tdep.h (stryct_frame_info, struct trad_frame_saved_reg):
Add opaque declarations.
(sparc64nbsd_sigcontext_saved_regs): New prototype.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): New
function with code split out from
sparc64nbsd_sigcontext_frame_cache.
(sparc64nbsd_sigcontext_frame_cache): Use
sparc64nbsd_sigcontext_saved_regs.
(_initialize_sparc64nbsd_tdep): Don't register OS ABI handler for
OpenBSD.
* sparc64obsd-tdep.c: New file.
* Makefile.in (ALLDEPFILES): Add sparc64obsd-tdep.c.
(sparc64obsd-tdep.o): New dependency.
* configure.tgt (sparc64-*-openbsd*): Set gdb_target to obsd64 and
gdb_osabi to GDB_OSABI_OPENBSD_ELF.
* config/sparc/obsd64.mt: New file.

20 years ago2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 24 Jan 2004 21:59:03 +0000 (21:59 +0000)]
2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>

* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
* lib/compiler.cc: Likewise.
* lib/gdb.exp (get_compiler_info): Always call gdb_compile to
get the right preprocessor.  Eval the output directly.  Remove
special tests for hp_cc_compiler and hp_aCC_compiler.  Remove
hp_f77_compiler and hp_f90_compiler completely.
(gdb_preprocess): Delete.
(get_compiler): Delete.

20 years ago* sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
Mark Kettenis [Sat, 24 Jan 2004 21:34:45 +0000 (21:34 +0000)]
* sparc-tdep.c (sparc_fetch_instruction): Return zero if we can't
read the instruction at PC.

20 years ago* sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
Mark Kettenis [Sat, 24 Jan 2004 20:55:41 +0000 (20:55 +0000)]
* sparcnbsd-tdep.c (GDB_OSABI_NETBSD_CORE): Define, based on the
value of GDB_OSABI_DEFAULT.
(sparcnbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_CORE
instead of GDB_OSABI_NETBSD_AOUT.

20 years ago* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
Mark Kettenis [Sat, 24 Jan 2004 18:25:06 +0000 (18:25 +0000)]
* gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
<string.h>.

20 years ago * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
Richard Sandiford [Sat, 24 Jan 2004 17:37:29 +0000 (17:37 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.

20 years ago * emulparams/elf64_ia64.sh: Put .rela.opd into
Jakub Jelinek [Sat, 24 Jan 2004 16:29:40 +0000 (16:29 +0000)]
* emulparams/elf64_ia64.sh: Put .rela.opd into
OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.

20 years ago * gdb.texinfo (KOD): Document "show os". Add index entries for
Eli Zaretskii [Sat, 24 Jan 2004 11:37:29 +0000 (11:37 +0000)]
* gdb.texinfo (KOD): Document "show os".  Add index entries for
"set/show os" and "info cisco" commands.

20 years agoUpdate copyright year.
Nick Roberts [Sat, 24 Jan 2004 04:22:51 +0000 (04:22 +0000)]
Update copyright year.

20 years ago*** empty log message ***
Nick Roberts [Sat, 24 Jan 2004 04:20:55 +0000 (04:20 +0000)]
*** empty log message ***

20 years ago* Makefile.def (target_modules) [libiberty]: Don't stage.
DJ Delorie [Sat, 24 Jan 2004 00:25:36 +0000 (00:25 +0000)]
* Makefile.def (target_modules) [libiberty]: Don't stage.
* Makefile.in: Rebuilt.

20 years ago*** empty log message ***
gdbadmin [Sat, 24 Jan 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-01-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 23 Jan 2004 23:25:17 +0000 (23:25 +0000)]
2004-01-23  Andrew Cagney  <cagney@redhat.com>

* printcmd.c (display_command): Replace tui_set_display call with
tui_set_layout_for_display_command.
* tui/tui.h (enum tui_win_type): Define.
(tui_set_layout): Delete declaration.
(tui_set_layout_for_display_command): Rename set_tui_layout.
* tui/tui-data.h (enum tui_layout_type): Define.
* tui/tui-layout.h: Update copyright.  Include "tui-data.h" and
"tui.h".
(tui_add_win_to_layout): Rename tuiAddWinToLayout.
(tui_default_win_height): Rename tuiDefaultWinHeight.
(tui_default_win_viewport_height): Rename
tuiDefaultWinViewportHeight.
(tui_set_layout): RenametuiSetLayout.
* tui/tui-layout.c: Update references.
* tui/tui.c: Update references.
* tui/tui-disasm.c: Update references.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 23:03:31 +0000 (23:03 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

Partial workaround for PR c++/1511:
* cp-namespace.c: Include frame.h.
(cp_lookup_transparent_type): New
(cp_lookup_transparent_type_loop): New.
* cp-support.h: Declare cp_lookup_transparent_type.
* symtab.c (basic_lookup_transparent_type): Renamed from
lookup_transparent_type.
(lookup_transparent_type): Replace old body by a call to
current_language->la_lookup_transparent_type.
* symtab.h: Update copyright.  Declare
basic_lookup_transparent_type.
* language.h: Update copyright.
(struct language_defn): Add la_lookup_transparent_type.
* language.c: Update copyright.
(unknown_language_defn): Add basic_lookup_transparent_type.
(auto_language_defn): Add basic_lookup_transparent_type.
(local_language_defn): Add basic_lookup_transparent_type.
* ada-lang.c: Update copyright.
(ada_language_defn): Add basic_lookup_transparent_type.
* c-lang.c: Update copyright.
(c_language_defn): Add basic_lookup_transparent_type.
(cplus_language_defn): Add basic_lookup_transparent_type.
(asm_language_defn): Add basic_lookup_transparent_type.
(minimal_language_defn): Add basic_lookup_transparent_type.
* f-lang.c: Update copyright.
(f_language_defn): Add basic_lookup_transparent_type.
* jv-lang.c: Update copyright.
(java_language_defn): Add basic_lookup_transparent_type.
* m2-lang.c: Update copyright.
(m2_language_defn): Add basic_lookup_transparent_type.
* objc-lang.c: Update copyright.
(objc_language_defn): Add basic_lookup_transparent_type.
* p-lang.c: Update copyright.
(p_language_defn): Add basic_lookup_transparent_type.
* scm-lang.c: Update copyright.
(scm_language_defn): Add basic_lookup_transparent_type.
* Makefile.in (cp-namespace.o): Depend on frame.h.

2004-01-23  David Carlton  <carlton@kealia.com>

* gdb.cp/rtti.exp: Don't include full path in ${srcfile}.  Add
test for cp_lookup_transparent_type.
* gdb.cp/rtti1.cc: Update copyright.  Add n2::func and refer_to;
call them.

20 years agodaily update
Alan Modra [Fri, 23 Jan 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
Daniel Jacobowitz [Fri, 23 Jan 2004 22:46:13 +0000 (22:46 +0000)]
* gdb.mi/mi-var-child.exp: Update copyright year.  Move new test
after -var-update.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 22:41:28 +0000 (22:41 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

Patch for PR c++/1520:
* dwarf2read.c (read_func_scope): Set processing_current_prefix
properly if we have a specification die.
(determine_prefix_aux): Rename from determine_prefix.
(determine_prefix): Like the old determine_prefix, but never
returns NULL.

20 years ago* avr-tdep.c: Update copyright.
Theodore A. Roth [Fri, 23 Jan 2004 22:37:14 +0000 (22:37 +0000)]
* avr-tdep.c: Update copyright.
(avr_iaddr_p): Delete unused function.
(avr_saddr_p): Delete unused function.

20 years ago2004-01-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Jan 2004 22:05:44 +0000 (22:05 +0000)]
2004-01-23  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update to include copyrights for new
        iconv code.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 21:55:57 +0000 (21:55 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

* gdb.cp/namespace.cc (C::ensureRefs): New.
* gdb.cp/namespace1.cc (C::ensureOtherRefs): New.

20 years ago2004-01-23 David Carlton <carlton@kealia.com>
David Carlton [Fri, 23 Jan 2004 17:56:46 +0000 (17:56 +0000)]
2004-01-23  David Carlton  <carlton@kealia.com>

* symfile.c (reread_symbols): Clear objfile->cp_namespace_symtab.
Fix for PR symtab/1534.

20 years ago * elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:48 +0000 (16:51 +0000)]
* elf32-arm.h (elf32_arm_check_relocs): Revert part of 2004-01-13
change.

20 years ago * ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
Daniel Jacobowitz [Fri, 23 Jan 2004 16:51:39 +0000 (16:51 +0000)]
* ld-arm/arm-app-abs32.s, ld-arm/arm-app-abs32.r,
ld-arm/arm-app-abs32.d: New files.
* ld-arm/arm-elf.exp: Add arm-app-abs32 testcase.

20 years ago * config/tc-arm.c (tc_gen_reloc): Improve error message for
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:34 +0000 (16:29 +0000)]
* config/tc-arm.c (tc_gen_reloc): Improve error message for
undefined local labels.

20 years ago * gas/arm/arm.exp: Add "undefined" test.
Daniel Jacobowitz [Fri, 23 Jan 2004 16:29:25 +0000 (16:29 +0000)]
* gas/arm/arm.exp: Add "undefined" test.
* gas/arm/undefined.s, gas/arm/undefined.l: New files.

20 years ago * config/tc-mips.c (load_address, macro): Update comments about
Richard Sandiford [Fri, 23 Jan 2004 13:11:00 +0000 (13:11 +0000)]
* config/tc-mips.c (load_address, macro): Update comments about
NewABI GP relaxation.

20 years ago * config/tc-mips.c (macro_build): Remove place and counter arguments.
Richard Sandiford [Fri, 23 Jan 2004 13:02:28 +0000 (13:02 +0000)]
* config/tc-mips.c (macro_build): Remove place and counter arguments.
(mips_build_lui, macro_build_ldst_constoffset): Likewise.
(mips16_macro_build, macro_build_jalr): Remove counter argument.
(set_at, load_register, load_address, move_register): Likewise.
(load_got_offset, add_got_offset): Likewise.
Update all calls and tidy accordingly.

20 years ago * gas/mips/macro-warn-[1234].[sdl]: New tests.
Richard Sandiford [Fri, 23 Jan 2004 13:01:07 +0000 (13:01 +0000)]
* gas/mips/macro-warn-[1234].[sdl]: New tests.
* gas/mips/macro-warn-[12]-n32.[dl]: New tests.
* gas/mips/mips.exp: Run them.

20 years ago * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
Richard Sandiford [Fri, 23 Jan 2004 13:00:18 +0000 (13:00 +0000)]
* config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
(RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
(RELAX_USE_SECOND): Bump to 0x10000.
(RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
(mips_macro_warning): New variable.
(md_assemble): Wrap macro expansion in macro_start() and macro_end().
(s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
(relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
of RELAX_ENCODE.
(append_insn): Update mips_macro_warning.sizes.
(macro_start, macro_warning, macro_end): New functions.
(macro_build): Don't emit warnings here.
(macro_build_lui, md_estimate_size_before_relax): ...or here.
(md_convert_frag): Check for cases where one macro alternative
needs a warning and the other doesn't.  Emit a warning if the
longer sequence was chosen.

20 years ago * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
Richard Sandiford [Fri, 23 Jan 2004 12:58:22 +0000 (12:58 +0000)]
* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
* config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
the first sequence, the size of the second sequence, and a flag
that says whether we should warn.
(RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
(RELAX_FIRST, RELAX_SECOND): New.
(mips_relax): New variable.
(relax_close_frag, relax_start, relax_switch, relax_end): New fns.
(append_insn): Remove "place" argument.  Use mips_relax.sequence
rather than "place" to check whether we're expanding the second
alternative of a relaxable macro.  Remove redundant check for
branch relaxation.  If generating a normal insn, and there
is not enough room in the current frag, call relax_close_frag()
to close it.  Update mips_relax.sizes[].  Emit fixups for the
second version of a relaxable macro.  Record the first relaxable
fixup in mips_relax.  Remove tc_gen_reloc workaround.
(macro_build): Remove all uses of "place".  Use mips_relax.sequence
in the same way as in append_insn.
(mips16_macro_build): Remove "place" argument.
(macro_build_lui): As for macro_build.  Don't drop the add_symbol
when generating the second version of a relaxable macro.
(load_got_offset, add_got_offset): New functions.
(load_address, macro): Use new relaxation machinery.  Remove
tc_gen_reloc workarounds.
(md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
version of a relaxable macro is needed.  Return -RELAX_SECOND if the
first version is needed.
(tc_gen_reloc): Remove relaxation handling.
(md_convert_frag): Go through the fixups for a relaxable macro and
mark those that belong to the unneeded alternative as done.  If the
second alternative is needed, adjust the fixup addresses to account
for the deleted first alternative.

testsuite/
* gas/mips/elf-rel19.[sd]: New test.
* gas/mips/mips.exp: Run it.

20 years ago * frags.h (frag_room): Declare.
Richard Sandiford [Fri, 23 Jan 2004 12:52:20 +0000 (12:52 +0000)]
* frags.h (frag_room): Declare.
* frags.c (frag_room): New function.
* doc/internals.texi: Document it.

20 years agoTighten constaints on a few sparc instructions
Nick Clifton [Fri, 23 Jan 2004 12:08:24 +0000 (12:08 +0000)]
Tighten constaints on a few sparc instructions

20 years ago * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
Ben Elliston [Fri, 23 Jan 2004 03:15:27 +0000 (03:15 +0000)]
* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
test passes.

20 years ago*** empty log message ***
gdbadmin [Fri, 23 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* NEWS (New native configurations): Mention OpenBSD/sparc and
Mark Kettenis [Thu, 22 Jan 2004 23:18:04 +0000 (23:18 +0000)]
* NEWS (New native configurations): Mention OpenBSD/sparc and
OpenBSD/sparc64.
* configure.tgt: Add sparc-*-openbsd* and sparc64-*-openbsd*.
* configure.host: Likewise.
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Register OS ABI
handler for OpenBSD.
* sparc64nbsd-tdep.c (_initialize_sparc64nbsd_tdep): Likewise.

20 years agodaily update
Alan Modra [Thu, 22 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
Mark Kettenis [Thu, 22 Jan 2004 22:57:59 +0000 (22:57 +0000)]
* sparcnbsd-tdep.c (sparcnbsd_core_osabi_sniffer): New function.
(_initialize_sparnbsd_tdep): Register sparcnbsd_core_osabi_sniffer.

20 years ago* ser-pipe.c (pipe_open): Use proper null pointer in execl call.
Mark Kettenis [Thu, 22 Jan 2004 22:20:39 +0000 (22:20 +0000)]
* ser-pipe.c (pipe_open): Use proper null pointer in execl call.
* cli/cli-cmds.c (shell_escape): Likewise.

20 years ago* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
Mark Kettenis [Thu, 22 Jan 2004 21:56:34 +0000 (21:56 +0000)]
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Recognize
OpenBSD .note.openbsd.ident sections.

20 years ago2004-01-22 David Carlton <carlton@kealia.com>
David Carlton [Thu, 22 Jan 2004 19:56:54 +0000 (19:56 +0000)]
2004-01-22  David Carlton  <carlton@kealia.com>

* dwarf2read.c (psymtab_to_symtab_1): Calculate lowpc, highpc via
get_scope_pc_bounds.
(read_file_scope): Ditto.
(get_scope_pc_bounds): New function, produced by extracting code
from the above two functions, consolidating it, and adding support
for DW_TAG_namespace.

20 years agomerge from gcc
DJ Delorie [Thu, 22 Jan 2004 19:34:11 +0000 (19:34 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Thu, 22 Jan 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/tc-mips.c (append_insn): Don't do r3900 interlock
Thiemo Seufer [Wed, 21 Jan 2004 23:25:38 +0000 (23:25 +0000)]
* config/tc-mips.c (append_insn): Don't do r3900 interlock
optimization for -mtune=r3900, as this will break on other CPUs.

20 years ago* osabi.c (MAX_NOTESZ): New define.
Mark Kettenis [Wed, 21 Jan 2004 23:07:26 +0000 (23:07 +0000)]
* osabi.c (MAX_NOTESZ): New define.
(check_note): New function.
(generic_elf_osabi_sniff_abi_tag_sections): Reorganize code using
check_note.

20 years agodaily update
Alan Modra [Wed, 21 Jan 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago.
Roland McGrath [Wed, 21 Jan 2004 20:50:57 +0000 (20:50 +0000)]
.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Jan 2004 20:50:41 +0000 (20:50 +0000)]
2004-01-21  Roland McGrath  <roland@redhat.com>

* MAINTAINERS (write after approval): Add myself.

20 years ago * utils.c (init_page_info): Move declarations of `rows' and
Eli Zaretskii [Wed, 21 Jan 2004 18:46:23 +0000 (18:46 +0000)]
* utils.c (init_page_info): Move declarations of `rows' and
`cols' before the __GO32__-specific code.  Move the closing brace
outside the #ifdef __GO32__..#endif block.
[__GO32__]: Use `rows' and `cols' to avoid compiler warnings.

20 years ago * Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).
Eli Zaretskii [Wed, 21 Jan 2004 18:44:52 +0000 (18:44 +0000)]
* Makefile.in (install-info): Prepend $(DESTDIR) to $(infodir).

20 years ago * infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
Paul Brook [Wed, 21 Jan 2004 16:32:07 +0000 (16:32 +0000)]
* infrun.c (handle_inferior_event): Check stop_stack_dummy if handling
BPSTAT_WHAT_CHECK_SHLIBS.

20 years ago * MAINTAINERS: Add myself to write-after-approval.
Paul Brook [Wed, 21 Jan 2004 16:30:42 +0000 (16:30 +0000)]
* MAINTAINERS: Add myself to write-after-approval.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 15:37:11 +0000 (15:37 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* ax-gdb.c (print_axs_value): Delete unused function.
* jv-lang.c (java_lookup_type): Delete unused function.
* cli/cli-dump.c (dump_filetype): Delete unused function.
* remote-mips.c (remote_mips_insert_hw_breakpoint)
(remote_mips_remove_hw_breakpoint): Delete unused functions.
(mips_getstring): Delete unused function.
(pmon_insert_breakpoint): Delete #if0ed function.
(PMON_MAX_BP): Delete #if0ed MACRO.
(mips_pmon_bp_info): Delete #if0ed variable.
(pmon_remove_breakpoint): Delete #if0ed function.
* monitor.c (monitor_write_even_block): Delete unused function.
(monitor_write_memory_block): Delete #if0ed code.
* dink32-rom.c (dink32_load): Delete unused function.
(_initialize_dink32_rom): Delete #if0ed code.
* d10v-tdep.c (d10v_daddr_p): Delete unused function.

20 years agoStop indexed move byte instructions from being relaxed.
Nick Clifton [Wed, 21 Jan 2004 11:17:53 +0000 (11:17 +0000)]
Stop indexed move byte instructions from being relaxed.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 04:16:53 +0000 (04:16 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* tui/tui-command.c: Update references.
* tui/tui-io.c: Update references.
* tui/tui-command.h: Update copyright.
(tui_dispatch_ctrl_char): Rename tuiDispatchCtrlChar.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 21 Jan 2004 04:11:16 +0000 (04:11 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* source.c (ambiguous_line_spec): Delete never-defined function.
* remote-rdi.c (arm_rdi_mourn, arm_rdi_send): Ditto.
* gdbtypes.c (add_name, add_mangled_type): Ditto.
* cli/cli-cmds.c (validate_comname): Ditto.

20 years ago*** empty log message ***
gdbadmin [Wed, 21 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 20 Jan 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 20 Jan 2004 21:56:22 +0000 (21:56 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* tui/tui-disasm.h: Update copyright.  Include "tui.h" and
"tui-data.h".
(tui_set_disassem_content): Rename tuiSetDisassemContent.
(tui_show_disassem): Rename tuiShowDisassem.
(tui_show_disassem_and_update_source): Rename
tuiVerticalDisassemScroll.
(tui_vertical_disassem_scroll): Rename tuiVerticalDisassemScroll.
(tui_get_begin_asm_address): Rename tuiGetBeginAsmAddress.
* tui/tui.h: Update copyright.
(enum tui_status): Define.
* tui/tui-data.h (enum tui_scroll_direction): Define.
* tui/tui-disasm.c: Update copyright.  Update references.
* tui/tui-winsource.c:  Update copyright.  Update references.
* tui/tui-win.c: Update references.
* tui/tui-layout.c: Update references.

20 years ago2004-01-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 20 Jan 2004 21:47:53 +0000 (21:47 +0000)]
2004-01-20  Andrew Cagney  <cagney@redhat.com>

* mi/mi-cmd-stack.c (list_args_or_locals): Move declaration of
sym2 to start of block.

20 years ago * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
Danny Smith [Tue, 20 Jan 2004 21:08:16 +0000 (21:08 +0000)]
* pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
* ld.texinfo (--omagic): Note that writable text section
does not conform to published PE-COFF specs.
(--enable-auto-import): Likewise.

20 years ago * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
Danny Smith [Tue, 20 Jan 2004 21:04:19 +0000 (21:04 +0000)]
* peXXigen.c (_bfd_XXi_swap_scnhdr_out): Don't remove
IMAGE_SCN_MEM_WRITE flag from .text section if WP_TEXT
flag has been cleared.

20 years agoUpdate the copyright year
Nick Clifton [Tue, 20 Jan 2004 13:08:47 +0000 (13:08 +0000)]
Update the copyright year

20 years ago2004-01-19 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 20 Jan 2004 09:29:18 +0000 (09:29 +0000)]
2004-01-19  Michael Chastain  <mec.gnu@mindspring.com>

* MAINTAINERS: Delete mmalloc.
* Makefile.in: Delete MMALLOC, MMALLOC_CFLAGS, -lmmalloc, mmalloc_h.
* NEWS: Mention removal of --with-malloc.
* acconfig.h: Delete USE_MMALLOC, MMCHECK_FORCE.
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Delete MMALLOC_CFLAGS, MMALLOC, --with-mmalloc, USE_MMALLOC, MMCHECK_FORCE.
* gdbinit.in: Remove mmalloc.
* utils.c: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE, malloc_botch.
* config/alpha/alpha-linux.mh: Delete MMALLOC, MMALLOC_CFLAGS.
* config/i386/go32.mh: Likewise.
* config/i386/interix.mh: Likewise.
* config/powerpc/xm-linux.h: Delete MMAP_BASE_ADDRESS, MMAP_INCREMENT.

2004-01-19  Michael Chastain  <mec.gnu@mindspring.com>

* gdbint.texinfo: Delete USE_MMALLOC, NO_MMCHECK, MMCHECK_FORCE,
MMAP_BASE_ADDRESS, MMAP_INCREMENT.

20 years ago2004-01-19 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Tue, 20 Jan 2004 07:06:14 +0000 (07:06 +0000)]
2004-01-19  Chris Demetriou  <cgd@broadcom.com>

        * mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
        (check_mult_hilo): Improve comments.
        (check_div_hilo): Likewise.  Also, fork off a new version
        to handle mips32/mips64 (since there are no hazards to check
        in MIPS32/MIPS64).

20 years ago2004-01-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 20 Jan 2004 02:04:19 +0000 (02:04 +0000)]
2004-01-19  Jeff Johnston  <jjohnstn@redhat.com>

        * linespec.c (decode_variable, symtab_from_filename):  Call
        error_silent with error message instead of throwing an exception
        directly.
        * defs.h (error_silent, error_output_message): Add prototypes.
        (catch_exceptions_with_msg): Ditto.
        * utils.c (error_silent, error_output_message): New functions.
        * top.c (catch_exceptions_with_msg): New function.

20 years agoTest for case "-var-list-children --all-values NAME".
Nick Roberts [Tue, 20 Jan 2004 00:54:04 +0000 (00:54 +0000)]
Test for case "-var-list-children --all-values NAME".

20 years ago(test_stack_locals_listing): Test for case "-stack-list-locals 2".
Nick Roberts [Tue, 20 Jan 2004 00:52:06 +0000 (00:52 +0000)]
(test_stack_locals_listing): Test for case "-stack-list-locals 2".

20 years ago*** empty log message ***
Nick Roberts [Tue, 20 Jan 2004 00:51:13 +0000 (00:51 +0000)]
*** empty log message ***

20 years ago(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
Nick Roberts [Tue, 20 Jan 2004 00:50:05 +0000 (00:50 +0000)]
(GDB/MI Stack Manipulation): Describe extension to -stack-list-locals.
(GDB/MI Variable Objects): Describe extension to -var-list-children.

20 years ago(mi_cmd_var_list_children): Print the values of the
Nick Roberts [Tue, 20 Jan 2004 00:46:36 +0000 (00:46 +0000)]
(mi_cmd_var_list_children): Print the values of the
children, if required.

20 years ago(mi_cmd_stack_list_locals): Print the name,
Nick Roberts [Tue, 20 Jan 2004 00:46:00 +0000 (00:46 +0000)]
(mi_cmd_stack_list_locals): Print the name,
type and value for simple data types and just the name and type
for complex ones, if required.

20 years ago(enum print_values): Add definition.
Nick Roberts [Tue, 20 Jan 2004 00:45:29 +0000 (00:45 +0000)]
(enum print_values): Add definition.

20 years ago*** empty log message ***
gdbadmin [Tue, 20 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
Kevin Buettner [Mon, 19 Jan 2004 23:11:36 +0000 (23:11 +0000)]
* frv-tdep.c (frv_push_arguments, frv_saved_pc_after_call): Delete
unused declarations.

20 years agodaily update
Alan Modra [Mon, 19 Jan 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago2004-01-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 19:56:02 +0000 (19:56 +0000)]
2004-01-19  Andrew Cagney  <cagney@redhat.com>

* top.h (mapped_symbol_files): Delete declaration.
* main.c (captured_main): Delete option "m" and "mapped".
* objfiles.c (mapped_symbol_files): Delete variable.
* symfile.c (symbol_file_command): Delete mmap code.
(symbol_file_add_with_addrs_or_offsets): Ditto.
(add_symbol_file_command, reread_separate_symbols): Ditto.
* objfiles.h (OBJF_MAPPED): Delete.
* objfiles.c (allocate_objfile) [USE_MMALLOC]: Delete.
(free_objfile) [USE_MMALLOC]: Ditto.
(open_existing_mapped_file): Delete function.
(open_mapped_file): Delete function.
(map_to_file): Delete function.

20 years ago* common.h (NT_OPENBSD_IDENT): Define.
Mark Kettenis [Mon, 19 Jan 2004 18:28:58 +0000 (18:28 +0000)]
* common.h (NT_OPENBSD_IDENT): Define.

20 years ago * infrun.c (step_into_function): Account for possible breakpoint
Kevin Buettner [Mon, 19 Jan 2004 17:28:52 +0000 (17:28 +0000)]
* infrun.c (step_into_function): Account for possible breakpoint
adjustment when computing ``stop_func_start''.

20 years ago * coff-h8300.c: Add and adjust comments about relaxation.
Kazu Hirata [Mon, 19 Jan 2004 17:02:45 +0000 (17:02 +0000)]
* coff-h8300.c: Add and adjust comments about relaxation.
* elf32-h8300.c: Likewise.

20 years ago * target.c (default_region_size_ok_for_hw_watchpoint): Compare
Kevin Buettner [Mon, 19 Jan 2004 16:49:35 +0000 (16:49 +0000)]
* target.c (default_region_size_ok_for_hw_watchpoint): Compare
the region size against the size of a pointer, not the size of
a register as given by DEPRECATED_REGISTER_SIZE.

20 years ago2004-01-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 16:06:04 +0000 (16:06 +0000)]
2004-01-19  Andrew Cagney  <cagney@redhat.com>

* tui/tui-regs.h: Include "tui-data.h".
(tuiFirstRegElementNoInLine): Delete declaration.
(tui_display_registers_from): Rename tuiDisplayRegistersFrom.
(tui_last_regs_line_no): Rename tuiLastRegsLineNo.
(tui_line_from_reg_element_no): Rename tuiLineFromRegElementNo.
(tui_calculate_regs_column_count): Rename
tuiCalculateRegsColumnCount.
(tui_check_register_values): Rename tuiCheckRegisterValues.
(tui_show_registers): Rename tuiShowRegisters.
(tui_display_registers_from_line): Rename
tuiDisplayRegistersFromLine.
(tui_first_reg_element_inline): Rename tuiFirstRegElementInLine.
(tui_toggle_float_regs): Rename tuiToggleFloatRegs.
(tui_first_reg_element_no_inline): Rename
tuiFirstRegElementNoInLine.
* tui/tui-data.h: Update copyright.
(enum tui_register_display_type): Rename _TuiRegisterDisplayType.
* tui/tui-windata.c: Update copyright, update references.
* tui/tui-regs.c: Update copyright, update references.
* tui/tui-win.c: Update copyright, update references.
* tui/tui-layout.c: Update copyright, update references.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 05:06:34 +0000 (05:06 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tui-io.c: Update copyright.
(key_is_end_sequence, key_is_backspace): New functions.
(key_is_command_char, key_is_start_sequence): New function.
(tui_getc): Update references.
* tui/tui-io.h: Update copyright.
(m_tuiStartNewLine): Delete macro.
(m_isBackspace, m_isDeleteChar): Delete macros.
(m_isDeleteLine, m_isDeleteToEol): Delete macros.
(m_isNextPage, m_isPrevPage): Delete macros.
(m_isLeftArrow, m_isRightArrow): Delete macros.
(m_isXdbStyleCommandChar): Delete macro.
(key_is_start_sequence): Declare, replace m_isStartSequence.
(key_is_end_sequence): Declare, replace m_isEndSequence.
(key_is_backspace): Declare ,replace m_isBackspace.
(key_is_command_char): Declare, replace m_isCommandChar.
* tui/tui-command.c: Update copyright.
(tuiDispatchCtrlChar): Update references.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 04:36:57 +0000 (04:36 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Delete tui/tuiSourceWin.c and
tuiSourceWin.h.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 04:31:53 +0000 (04:31 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tui-command.c: Rename tui/tuiCommand.c.
* tui/tui-command.h: Rename tui/tuiCommand.h.
* tui/tui-data.c: Rename tui/tuiData.c.
* tui/tui-data.h: Rename tui/tuiData.h.
* tui/tui-disasm.c: Rename tui/tuiDisassem.c.
* tui/tui-disasm.h: Rename tui/tuiDisassem.h.
* tui/tui-io.c: Rename tui/tuiIO.c.
* tui/tui-io.h: Rename tui/tuiIO.h.
* tui/tui-layout.c: Rename tui/tuiLayout.c.
* tui/tui-layout.h: Rename tui/tuiLayout.h.
* tui/tui-regs.c: Rename tui/tuiRegs.c.
* tui/tui-regs.h: Rename tui/tuiRegs.h.
* tui/tui-source.c: Rename tui/tuiSource.c.
* tui/tui-source.h: Rename tui/tuiSource.h.
* tui/tui-stack.c: Rename tui/tuiStack.c.
* tui/tui-stack.h: Rename tui/tuiStack.h.
* tui/tui-win.c: Rename tui/tuiWin.c.
* tui/tui-win.h: Rename tui/tuiWin.h.
* tui/tui-windata.c: Rename tui/tuiDataWin.c.
* tui/tui-windata.h: Rename tui/tuiDataWin.h.
* tui/tui-wingeneral.c: Rename tui/tuiGeneralWin.c.
* tui/tui-wingeneral.h: Rename tui/tuiGeneralWin.h.
* tui/tui-winsource.c: Rename tui/tuiSourceWin.c.
* tui/tui-winsource.h: Rename tui/tuiSourceWin.h.
* tui/tui-file.c: Update includes.
* tui/tui-hooks.c: Update includes.
* tui/tui-interp.c: Update includes.
* tui/tui.c: Update includes.
* Makefile.in: Update all tui/ dependencies.
(SUBDIR_TUI_OBS, SUBDIR_TUI_SRCS): Update file names.

20 years ago2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 19 Jan 2004 04:06:42 +0000 (04:06 +0000)]
2004-01-18  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 03:51:12 +0000 (03:51 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Update copyright.  Update dependencies.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 02:58:48 +0000 (02:58 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* tui/tuiSourceWin.c (tui_update_breakpoint_info): Fix compile
problem.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 02:50:15 +0000 (02:50 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* mn10300-tdep.c (_initialize_mn10300_tdep): Call gdbarch_register
instead of register_gdbarch_init.

20 years ago2004-01-18 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 19 Jan 2004 01:20:12 +0000 (01:20 +0000)]
2004-01-18  Andrew Cagney  <cagney@redhat.com>

* remote-sds.c (tohex): Delete unused function.  Update copyright.
* xstormy16-tdep.c (xstormy16_register_virtual_size): Ditto.
* v850-tdep.c (v850_register_virtual_size): Ditto.
* target.c (normal_target_post_startup_inferior): Ditto.
* source.c (ambiguous_line_spec): Ditto.
* remote.c (adapt_remote_get_threadinfo): Ditto.
* mi/mi-out.c (out_field_fmt): Ditto.
* mi/mi-interp.c (mi_interp_read_one_line_hook): Ditto.
(output_control_change_notification): Ditto.
* m68k-tdep.c (m68k_register_byte): Ditto.
(m68k_remote_breakpoint_from_pc): Ditto.
* ui-out.c (init_ui_out_state): Delete unused declaration.
* stabsread.c (search_value): Ditto.
* mi/mi-cmd-env.c (env_cli_command): Ditto.
* maint.c (print_section_table): Ditto.
* infrun.c (set_follow_fork_mode_command): Ditto.

20 years ago*** empty log message ***
gdbadmin [Mon, 19 Jan 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
Jakub Jelinek [Sun, 18 Jan 2004 23:47:03 +0000 (23:47 +0000)]
* config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
precision operands.