binutils-gdb.git
20 years ago * regcache.c (new_register_cache): Clear the allocated register
Daniel Jacobowitz [Fri, 30 Jan 2004 15:08:57 +0000 (15:08 +0000)]
* regcache.c (new_register_cache): Clear the allocated register
buffer.  Suggested by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.

20 years ago2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Fri, 30 Jan 2004 01:37:42 +0000 (01:37 +0000)]
2004-01-29  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/inherit.exp: Rewrite.  Use gdb_test_multiple and gdb
for all tests.  Remove old hp-ux and cygnus xfail cases.

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

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

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 21:54:54 +0000 (21:54 +0000)]
.

20 years ago2004-01-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 21:54:34 +0000 (21:54 +0000)]
2004-01-29  Roland McGrath  <roland@redhat.com>

* configure.in (NEW_PROC_API): Also match solaris2.9 for this test.
* configure: Regenerated.

20 years ago2004-01-29 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 21:54:22 +0000 (21:54 +0000)]
2004-01-29  Roland McGrath  <roland@redhat.com>

* procfs.c: Include gdb_string.h for str* decls, otherwise warnings.
* Makefile.in (procfs.o): Add dep.

20 years agoNew test to check that GDB does not crash due to memory corruption
Paul N. Hilfinger [Thu, 29 Jan 2004 11:15:44 +0000 (11:15 +0000)]
New test to check that GDB does not crash due to memory corruption
when a reload caused by a change in an executable invalidates
a breakpoint condition.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 02:41:25 +0000 (02:41 +0000)]
.

20 years ago2004-01-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 02:41:18 +0000 (02:41 +0000)]
2004-01-28  Roland McGrath  <roland@redhat.com>

* common.h (AT_SECURE): New macro.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 00:37:46 +0000 (00:37 +0000)]
.

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

* common.h (AT_SUN_UID, AT_SUN_RUID, AT_SUN_GID): New macros.
(AT_SUN_RGID, AT_SUN_LDELF, AT_SUN_LDSHDR, AT_SUN_LDNAME,
AT_SUN_LPAGESZ, AT_SUN_PLATFORM, AT_SUN_HWCAP, AT_SUN_IFLUSH,
AT_SUN_CPU, AT_SUN_EMUL_ENTRY, AT_SUN_EMUL_EXECFD,
AT_SUN_EXECNAME) AT_SUN_MMU, AT_SUN_LDDATA): Likewise.

20 years ago.
Roland McGrath [Thu, 29 Jan 2004 00:27:46 +0000 (00:27 +0000)]
.

20 years ago2004-01-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 29 Jan 2004 00:27:30 +0000 (00:27 +0000)]
2004-01-21  Roland McGrath  <roland@redhat.com>

* readelf.c (get_note_type): Match NT_AUXV.

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

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

* tui/tui-stack.h: Update copyright.
(struct frame_info): Add opaque declaration.
(tui_update_locator_filename): Rename tuiUpdateLocatorFilename.
(tui_show_locator_content): Rename tuiShowLocatorContent.
(tui_show_frame_info): Rename tuiShowFrameInfo.
* tui/tui-stack.c: Update copyright.  Update references.
* tui/tui-winsource.c: Update references.
* tui/tui-win.c: Update references.
* tui/tui-layout.c: Update references.
* tui/tui-hooks.c: Update copyright, update references.
* tui/tui.c: Update copyright, update references.
* tui/tui-disasm.c: Update references.

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

20 years ago2004-01-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 28 Jan 2004 23:00:02 +0000 (23:00 +0000)]
2004-01-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (emit_one_bundle): Add proper indentation.

20 years ago2004-01-28 David Carlton <carlton@kealia.com>
David Carlton [Wed, 28 Jan 2004 18:43:06 +0000 (18:43 +0000)]
2004-01-28  David Carlton  <carlton@kealia.com>

* dwarf2read.c (add_partial_structure): Use demangled name if
namespace equals "".

20 years ago * genscripts.sh: Fix typo.
Alan Modra [Wed, 28 Jan 2004 13:42:26 +0000 (13:42 +0000)]
* genscripts.sh: Fix typo.

20 years ago * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
Alan Modra [Wed, 28 Jan 2004 13:31:30 +0000 (13:31 +0000)]
* genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.

20 years ago* dwarf2read.c (read_func_scope): Re-indent comment.
Jim Blandy [Wed, 28 Jan 2004 04:05:22 +0000 (04:05 +0000)]
* dwarf2read.c (read_func_scope): Re-indent comment.

20 years agoClean up misapplied patch:
Jim Blandy [Wed, 28 Jan 2004 04:02:52 +0000 (04:02 +0000)]
Clean up misapplied patch:
* dwarf2read.c (determine_prefix): Change one of the two forward
declarations for 'determine_prefix_aux' to a declaration for this.
(read_func_scope): Use cu->language, not cu_language.  Pass 'cu'
argument to 'die_specification'.

20 years ago2004-01-27 Paul N. Hilfinger <hilfinger@gnat.com>
Andrew Cagney [Wed, 28 Jan 2004 01:39:51 +0000 (01:39 +0000)]
2004-01-27  Paul N. Hilfinger  <hilfinger@gnat.com>

* breakpoint.c (breakpoint_re_set_one): Set b->cond, b->val, and
b->exp to NULL after freeing so that error during re-parsing or
evaluation of expressions associated with breakpoint don't
eventually lead to re-freeing of storage.
Committed by Andrew Cagney.

20 years ago2004-01-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Wed, 28 Jan 2004 00:05:47 +0000 (00:05 +0000)]
2004-01-27  Michael Snyder  <msnyder@redhat.com>

        * sh-opc.h (sh_table): "fsrra", not "fssra".

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

20 years ago2004-01-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 27 Jan 2004 23:30:01 +0000 (23:30 +0000)]
2004-01-27  Michael Snyder  <msnyder@redhat.com>

* gencode.c: (op tab): Some refs and defs fixes.
"fsrra" -> "fsrra <FREG_N>".
        "sleep": replace array ref with array addr.
        "trapa": ditto.

20 years ago2004-01-27 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 27 Jan 2004 23:23:57 +0000 (23:23 +0000)]
2004-01-27  Michael Snyder  <msnyder@redhat.com>

        * gencode.c: Comment and whitespace clean-ups.

20 years ago2004-01-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 27 Jan 2004 23:19:51 +0000 (23:19 +0000)]
2004-01-27  Andrew Cagney  <cagney@redhat.com>

* source.c (ambiguous_line_spec): Delete undefined declaration.
* m32r-rom.c (m32r_set_board_address): Delete unused function.
(m32r_set_server_address, m32r_set_download_path): Ditto.
* remote-fileio.c (remote_fileio_to_fio_int): Ditto.

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

20 years ago2004-01-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 27 Jan 2004 22:25:15 +0000 (22:25 +0000)]
2004-01-27  Elena Zannoni  <ezannoni@redhat.com>

        Merge in official patches to readline-4.3 from
ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches:
NOTE: Patch-ID readline-43-004 was already applied (see below).

* bind.c (rl_generic_bind): Pressing certain key sequences
causes an infinite loop in _rl_dispatch_subseq with the `key' argument
set to 256.  This eventually causes bash to exceed the stack size
limit and crash with a segmentation violation.
Patch-ID: readline43-001.

* readline.c (_rl_dispatch_subseq): Repeating an edit in
vi-mode with `.' does not work.
Patch-ID: readline43-002.

* mbutil.c (_rl_get_char_len, _rl_compare_chars,
_rl_adjust_point): When in a locale with multibyte characters, the
readline display updater will occasionally cause a
segmentation fault when attempting to compute the length of the first
multibyte character on the line.
Patch-ID: readline43-003.

* vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing
mode's case-changing commands in a locale with multibyte characters
will cause garbage characters to be inserted into the editing buffer.
Patch-ID: readline43-005.

20 years ago * dwarf2read.c: Update calls to changed and renamed functions, and
Daniel Jacobowitz [Tue, 27 Jan 2004 20:47:20 +0000 (20:47 +0000)]
* dwarf2read.c: Update calls to changed and renamed functions, and
references to moved variables.

(struct dwarf2_cu): Add first_fn, last_fn, cached_fn,
language, language_defn, list_in_scope, and ftypes members.
(cu_first_fn, cu_last_fn, cu_cached_fn, cu_language)
(cu_language_defn, list_in_scope, ftypes, cu_header_offset)
(baseaddr): Remove globals.

(dwarf_attr): Renamed to dwarf2_attr.  Add CU argument.
(set_cu_language, die_is_declaration, die_specification)
(determine_prefix, determin_prefix_aux, class_name, namespace_name)
(dwarf2_linkage_name, dwarf2_name, dwarf2_extension)
(dwarf2_get_ref_die_offset, dwarf2_fundamental_type)
(initialize_cu_func_list, add_to_cu_func_list): Add CU argument.

(dwarf2_build_psymtabs_hard): Add local baseaddr.  Initialize
cu.list_in_scope.  Don't initialize cu_header_offset.
(add_partial_symbol): Add local baseaddr.
(psymtab_to_symtab_1): Add local baseaddr.  Use
objfile->section_offsets for consistency.  Don't initialize
cu_header_offset; do initialize cu.header.offset and
cu.list_in_scope.
(read_file_scope, read_func_scope, read_lexical_block_scope)
(dwarf_decode_lines, new_symbol): Add local baseaddr.

20 years agoFix capitalization in my last ChangeLog entry.
Michael Chastain [Tue, 27 Jan 2004 14:07:02 +0000 (14:07 +0000)]
Fix capitalization in my last ChangeLog entry.
"Add".

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

* ppc-instructions: Update copyright.
(convert_to_integer): Add trailing ";" to label.

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

* PROBLEMS: add gdb/1516.

20 years ago2003-12-29 Robert Millan <robertmh@gnu.org>
Andrew Cagney [Tue, 27 Jan 2004 04:10:38 +0000 (04:10 +0000)]
2003-12-29  Robert Millan  <robertmh@gnu.org>

Patch committed by Andrw Cagney.
* configure.host: Match knetbsd*-gnu and kfreebsd*-gnu.
* configure.tgt: Match knetbsd*-gnu.

20 years ago2004-01-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 27 Jan 2004 03:13:34 +0000 (03:13 +0000)]
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* breakpoint.c (catch_command_1): Delete #ifdef code.
(catch_fork_command_1): Delete #ifdef wrapper.
(catch_exec_command_1): Ditto.
(catch_load_command_1): Ditto.
(catch_unload_command_1): Ditto.

20 years ago2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Tue, 27 Jan 2004 02:43:35 +0000 (02:43 +0000)]
2004-01-24  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/local.exp: Rewrite "ptype Local".  Add "ptype l".
Provide arms for current output in all my configurations.

20 years ago2004-01-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 27 Jan 2004 00:11:39 +0000 (00:11 +0000)]
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* breakpoint.c (watchpoint_check): Delete #if0ed variable.
(catch_breakpoint): Delete #if0ed function.
(disable_catch_breakpoint): Ditto.
(delete_catch_breakpoint, enable_catch_breakpoint): Ditto.
(disable_catch, enable_catch, delete_catch): Ditto.

Index: breakpoint.c
===================================================================
RCS file: /cvs/src/src/gdb/breakpoint.c,v
retrieving revision 1.149
diff -u -r1.149 breakpoint.c
--- breakpoint.c 17 Jan 2004 21:56:12 -0000 1.149
+++ breakpoint.c 27 Jan 2004 00:11:06 -0000
@@ -2455,9 +2455,6 @@
   struct breakpoint *b;
   struct frame_info *fr;
   int within_current_scope;
-#if 0
-  struct frame_id current_frame_id;
-#endif

   b = bs->breakpoint_at;

@@ -5879,30 +5876,6 @@
     do_cleanups (old_chain);
 }

-#if 0
-/* These aren't used; I don't konw what they were for.  */
-/* Set a breakpoint at the catch clause for NAME.  */
-static int
-catch_breakpoint (char *name)
-{
-}
-
-static int
-disable_catch_breakpoint (void)
-{
-}
-
-static int
-delete_catch_breakpoint (void)
-{
-}
-
-static int
-enable_catch_breakpoint (void)
-{
-}
-#endif /* 0 */
-
 static void
 ep_skip_leading_whitespace (char **s)
 {
@@ -6482,30 +6455,6 @@
   b->thread = -1;
   return b;
 }
-
-#if 0
-/* These aren't used; I don't know what they were for.  */
-/* Disable breakpoints on all catch clauses described in ARGS.  */
-static void
-disable_catch (char *args)
-{
-  /* Map the disable command to catch clauses described in ARGS.  */
-}
-
-/* Enable breakpoints on all catch clauses described in ARGS.  */
-static void
-enable_catch (char *args)
-{
-  /* Map the disable command to catch clauses described in ARGS.  */
-}
-
-/* Delete breakpoints on all catch clauses in the active scope.  */
-static void
-delete_catch (char *args)
-{
-  /* Map the delete command to catch clauses described in ARGS.  */
-}
-#endif /* 0 */

 static void
 catch_command (char *arg, int from_tty)

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

20 years agoIndex: ChangeLog
Andrew Cagney [Mon, 26 Jan 2004 23:07:01 +0000 (23:07 +0000)]
Index: ChangeLog
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* remote.c (echo_check, quit_flag): Delete variables.
(cisco_kernel_mode): Delete variable.
(minitelnet_return, tty_input, escape_count): Delete variables.
(remote_cisco_mode): Delete variable.
(remote_cisco_open, remote_cisco_close): Delete function.
(remote_cisco_mourn, remote_cisco_wait): Delete function.
(init_remote_cisco_ops): Delete function.
(_initialize_remote): Do not install "remote cisco" code.
(read_frame): Delete cisco specific code.
(remote_info_process): Delete function.
(remote_wait): Delete cisco specific code.
(remote_cisco_section_offsets): Delete function.
(remote_cisco_objfile_relocate): Delete function.
(remote_async_wait): Delete cisco specific code.
(minitelnet, readtty, readsocket): Delete function.

Index: doc/ChangeLog
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Overview): Delete references to the cisco protocol
including the "N" response.

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

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

* gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS): Deprecate.  Add
comments mentioning extract_returned_value_address.
* infcmd.c (print_return_value): Update.  Add comments on
extract_returned_value_address.
* stack.c (return_command): Add comments on
extract_returned_value_address.
* values.c: Update comment.
* m32r-tdep.c: Update comment.
* sparc-tdep.c: Update comment.
* ia64-tdep.c (ia64_use_struct_convention): Update comment.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* m68klinux-tdep.c (m68k_linux_init_abi): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

Index: doc/ChangeLog
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
EXTRACT_STRUCT_VALUE_ADDRESS to
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS.

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

* dwarf2loc.c (dwarf_expr_frame_base): Use SYMBOL_OPS instead of
SYMBOL_LOCATION_FUNCS
(dwarf2_loclist_funcs, dwarf2_locexpr_funcs): Change type to
"struct symbol_ops".
* dwarf2loc.h (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Change
type to "struct symbol_ops".
* symtab.h (struct symbol_ops): Rename "struct location_funcs".
(struct symbol): Replace ".aux_value.loc.funcs" and
".aux_value.loc.baton" with ".ops" and ".aux_value.ptr".
(SYMBOL_OBJFILE): Delete macro.
(SYMBOL_LOCATION_FUNCS): Delete macro.
(SYMBOL_LOCATION_BATON): Update.
* dwarf2read.c (dwarf2_symbol_mark_computed): Set SYMBOL_OPS
intead of SYMBOL_LOCATION_FUNCS.
* ax-gdb.c (gen_var_ref): Ditto.
* printcmd.c (address_info): Ditto.
* findvar.c (read_var_value): Ditto.
(symbol_read_needs_frame): Ditto.

20 years ago2004-01-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 26 Jan 2004 20:32:08 +0000 (20:32 +0000)]
2004-01-25  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relocate_section): Disallow imm
relocations against dynamic symbols.

20 years agoIndex: ChangeLog
Andrew Cagney [Mon, 26 Jan 2004 19:55:45 +0000 (19:55 +0000)]
Index: ChangeLog
2004-01-26  Andrew Cagney  <cagney@redhat.com>

* dwarf2read.c (read_func_scope): Document frame-base hack.

20 years ago(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
Nick Clifton [Mon, 26 Jan 2004 18:09:30 +0000 (18:09 +0000)]
(EXTERN_FORCE_RELOC): Handle m68k-uclinux specially, like m68k-elf.
(RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead of hard-coded test for
 TARGET_OS=elf.

20 years agomerge from gcc
DJ Delorie [Mon, 26 Jan 2004 12:52:10 +0000 (12:52 +0000)]
merge from gcc

20 years ago[ sim/ChangeLog ]
Chris Demetriou [Mon, 26 Jan 2004 08:12:44 +0000 (08:12 +0000)]
[ sim/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * configure.in (mips*-*-*): Configure in testsuite.
        * configure: Regenerate.

[ sim/testsuite/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * sim/mips: New directory.  Tests for the MIPS simulator.

[ sim/testsuite/sim/mips/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * basic.exp: New file.
        * testutils.inc: New file.
        * sanity.s: New file.

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

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

20 years ago* infcmd.c (print_return_value): Plug memory leak; delete
Mark Kettenis [Sun, 25 Jan 2004 21:00:18 +0000 (21:00 +0000)]
* infcmd.c (print_return_value): Plug memory leak; delete
ui_stream object.  Rename argument `structure_return' to
`struct_return'.

20 years ago* infcmd.c (print_return_value): Wrap long lines.
Mark Kettenis [Sun, 25 Jan 2004 17:32:45 +0000 (17:32 +0000)]
* infcmd.c (print_return_value): Wrap long lines.
(finish_command_continuation, finish_command): Remove unused
variable `funcaddr'.  Fix some coding-standards problems.

20 years ago* sparc-tdep.c (sparc_regset_from_core_section): Check whether
Mark Kettenis [Sun, 25 Jan 2004 12:10:55 +0000 (12:10 +0000)]
* sparc-tdep.c (sparc_regset_from_core_section): Check whether
SECT_SIZE is large enough, not wheter it's exactly the right size.
(sparc32_gdbarch_init): Initialize TDEP->sizeof_gregset and
TDEP->fpregset to zero.

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.