binutils-gdb.git
20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:11:01 +0000 (04:11 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* linux-s390-low.c (s390_num_regs): Update.
(s390_regmap): Remove control registers.  Use __s390x__ predefine
instead of GPR_SIZE to distiguish s390 and s390x targets.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 04:07:48 +0000 (04:07 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* s390-tdep.c: Include "trad-frame.h", "frame-base.h", and
"frame-unwind.h".
(s390_readinstruction): Reformat.  Use read_memory_nobpt.
(GDB_TARGET_IS_ESAME, S390_GPR_SIZE, S390_FPR_SIZE): Remove.
(S390_SYSCALL_OPCODE, S390_SYSCALL_SIZE): Remove.
(S390_SIGCONTEXT_SREGS_OFFSET, S390X_SIGCONTEXT_SREGS_OFFSET,
S390_SIGREGS_FP0_OFFSET, S390X_SIGREGS_FP0_OFFSET,
S390_UC_MCONTEXT_OFFSET, S390X_UC_MCONTEXT_OFFSET,
S390_SIGNAL_FRAMESIZE,
s390_NR_sigreturn, s390_NR_rt_sigreturn): Remove.
(struct frame_extra_info): Remove.
(s390_memset_extra_info): Remove.
(op_*, op1_*, op2_* enums): Add several new opcodes.
(is_rse): Renamed to ...
(is_rsy): ... this.  Support long displacements.
(is_rxe): Renamed to ...
(is_rxy): ... this.  Support long displacements.
(compute_x_addr): Support long displacements.
(struct s390_prologue_data): New data type.
(s390_on_stack): Change API to use struct s390_prologue_data.
(s390_store): Reimplement.
(s390_load): New function.
(s390_get_signal_frame_info): Remove.
(s390_get_frame_info): Remove, replace by ...
(s390_analyze_prolog): ... this new function.
(s390_check_function_end): Remove.
(s390_function_start): Remove.
(s390_frameless_function_invokation): Remove.
(s390_is_sigreturn): Remove.
(s390_init_frame_pc_first): Remove.
(s390_init_frame_extra_info): Remove.
(s390_frame_init_saved_regs): Remove.
(s390_frame_saved_pc_nofix): Remove.
(s390_frame_saved_pc): Remove.
(s390_frame_chain): Remove.
(s390_fp_regnum, s390_read_fp): Remove.
(s390_pop_frame_regular, s390_pop_frame): Remove.
(s390_saved_pc_after_call): Remove.
(s390_skip_prologue): Reimplement.
(s390_in_function_epilogue_p): Support long displacements.
(struct s390_unwind_cache): New data structure.
(s390_frame_unwind_cache): New function.
(s390_prologue_frame_unwind_cache): Likewise.
(s390_backchain_frame_unwind_cache): Likewise.
(s390_frame_this_id, s390_frame_prev_register): Likewise.
(s390_frame_unwind): Define.
(s390_frame_sniffer): New function.
(struct s390_pltstub_unwind_cache): New data structure.
(s390_pltstub_frame_unwind_cache): New function.
(s390_pltstub_frame_this_id): Likewise.
(s390_pltstub_frame_prev_register): Likewise.
(s390_pltstub_frame_unwind): Define.
(s390_pltstub_frame_sniffer): New function.
(struct s390_sigtramp_unwind_cache): New data structure.
(s390_sigtramp_frame_unwind_cache): New function.
(s390_sigtramp_frame_this_id): Likewise.
(s390_sigtramp_frame_prev_register): Likewise.
(s390_sigtramp_frame_unwind): Define.
(s390_sigtramp_frame_sniffer): New function.
(s390_frame_base_address, s390_local_base_address): New functions.
(s390_frame_base): Define.
(s390_unwind_pc, s390_unwind_sp): New function.
(s390_push_dummy_call): Use new frame base location.
(s390_unwind_dummy_id): Likewise.
(s390_gdbarch_init): Remove calls to:
set_gdbarch_frameless_function_invocation,
set_gdbarch_deprecated_init_frame_pc,
set_gdbarch_deprecated_frame_chain,
set_gdbarch_deprecated_frame_init_saved_regs,
set_gdbarch_deprecated_pop_frame,
set_gdbarch_deprecated_init_extra_frame_info,
set_gdbarch_deprecated_init_frame_pc_first,
set_gdbarch_deprecated_target_read_fp,
set_gdbarch_deprecated_frame_saved_pc,
set_gdbarch_deprecated_saved_pc_after_call,
set_gdbarch_deprecated_fp_regnum.
Add calls to:
set_gdbarch_in_solib_call_trampoline,
frame_unwind_append_sniffer,
frame_base_set_default,
set_gdbarch_unwind_pc,
set_gdbarch_unwind_sp.
* Makefile.in (s390-tdep.o): Update dependencies.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:54:11 +0000 (03:54 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* s390-tdep.c (struct gdbarch_tdep): Add 'abi' member.
(S390_STACK_FRAME_OVERHEAD): Remove.
(S390_STACK_PARAMETER_ALIGNMENT): Remove.
(S390_NUM_FP_PARAMETER_REGISTERS): Remove.
(s390_promote_integer_argument): Remove.
(s390_cannot_extract_struct_value_address): Remove.
(s390_use_struct_convention, s390_store_struct_return): Remove.
(s390_extract_return_value, s390_store_return_value): Remove.
(s390_return_value_convention, s390_return_value): New functions.
(is_float_singleton): Handle typedefs.
(is_double_or_float, is_double_arg, is_simple_arg, pass_by_copy_ref):
Remove, replace by ...
(s390_function_arg_pass_by_reference, s390_function_arg_float,
s390_function_arg_integer): ... these new functions.
(s390_push_arguments, s390_push_return_address): Remove, replace by ...
(s390_push_dummy_call, s390_unwind_dummy_id): ... these new functions.
(s390_gdbarch_init): Remove s390_call_dummy_words and elf_flags.
Fill in tdep->abi.
Remove calls to:
set_gdbarch_deprecated_store_struct_return,
set_gdbarch_deprecated_extract_return_value,
set_gdbarch_deprecated_store_return_value,
set_gdbarch_use_struct_convention,
set_gdbarch_extract_struct_value_address,
set_gdbarch_deprecated_pc_in_call_dummy,
set_gdbarch_deprecated_push_arguments,
set_gdbarch_deprecated_save_dummy_frame_tos,
set_gdbarch_deprecated_push_return_address,
set_gdbarch_deprecated_sizeof_call_dummy_words,
set_gdbarch_deprecated_call_dummy_words,
set_gdbarch_deprecated_dummy_write_sp.
Add calls to:
set_gdbarch_push_dummy_call,
set_gdbarch_unwind_dummy_id,
set_gdbarch_return_value.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:47:35 +0000 (03:47 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.

* config/s390/nm-linux.h: Update comments.
(target_insert_watchpoint, target_remove_watchpoint): Redefine.
(STOPPED_BY_WATCHPOINT): Redefine.
(TARGET_CAN_USE_HARDWARE_WATCHPOINT): Redefine to 1.
(s390_insert_watchpoint, s390_remove_watchpoint): Update prototype.
(s390_stopped_by_watchpoint): Likewise.
(watch_area_cnt): Remove.
* s390-nat.c: Update comments.
(watch_area): Remove typedef.
Global replace watch_area by struct watch_area.
(watch_area_cnt, watch_lo_addr, watch_hi_addr): Remove.
(s390_stopped_by_watchpoint): Remove pid argument,
use s390_inferior_tid.  Add short-cut for the no watchpoint case.
(s390_fix_watch_points): Remove pid argument,
use s390_inferior_tid.  Recompute area spanned by watchpoints.
(s390_insert_watchpoint, s390_remove_watchpoint): Remove pid
argument.  Reimplement.

20 years ago2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Jim Blandy [Wed, 18 Feb 2004 03:42:51 +0000 (03:42 +0000)]
2004-02-17  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Jim Blandy  <jimb@redhat.com>.
* config/s390/nm-linux.h: Update comments.  Do not include "solib.h".
(KERNEL_U_ADDR, REGISTER_U_ADDR, U_REGS_OFFSET): Remove.
(FETCH_INFERIOR_REGISTERS): Define.
* config/s390/s390.mh (NATDEPFILES): Remove core-aout.o and
core-regset.o.
* config/s390/s390x.mt: Remove.
* config/s390/tm-s390.h: Remove.
* config/s390/tm-linux.h: Do not include "s390/tm-s390.h".
(TARGET_ELF64): Remove.
(SKIP_TRAMPOLINE_CODE): Do not undefine.
* configure.tgt [s390-*-*, s390x-*-*]: Merge into single
s390*-*-* case; always set gdb_target to s390.
* regformats/reg-s390.dat: Remove control registers.
* regformats/reg-s390x.dat: Likewise.
* s390-tdep.h: New file.
* s390-nat.c: Do not include <asm/processor.h> or <value.h>.
Include "inferior.h" and "s390-tdep.h".
Remove private definition of offsetof.
(s390_register_u_addr): Remove.
(regmap_gregset, regmap_fpregset): Define.
(supply_gregset, fill_gregset): Reimplement.
(supply_fpregset, fill_fpregset): Likewise.
(s390_inferior_tid): New function.
(fetch_regs, store_regs, fetch_fpregs, store_fpregs): Likewise.
(fetch_inferior_registers, store_inferior_registers): Likewise.
* s390-tdep.c: Do not define S390_TDEP.  Include "defs.h" instead
of <defs.h>.  Include "reggroups.h", "regset.h", and "s390-tdep.h".
Global replace of S390_GP0_REGNUM by S390_R0_REGNUM.
Global replace of S390_FP0_REGNUM by S390_F0_REGNUM.
(struct gdbarch_tdep): Define.
(struct s390_register_info): Define.
(s390_register_info): New variable.
(s390_register_name): Reimplement.
(s390_register_type): New function.
(s390_register_raw_size, s390x_register_raw_size): Remove.
(s390_cannot_fetch_register): Remove.
(s390_register_byte): Remove.
(s390_register_virtual_type, s390x_register_virtual_type): Remove.
(s390_dwarf_regmap): New variable.
(s390_dwarf_reg_to_regnum): New function.
(s390_stab_reg_to_regnum): Remove.
(s390_pseudo_register_read, s390_pseudo_register_write): New functions.
(s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
(s390_convert_register_p): Likewise.
(s390_register_to_value, s390_value_to_register): Likewise.
(s390_register_reggroup_p): Likewise.
(s390_regmap_gregset, s390x_regmap_gregset, s390_regmap_fpregset,
s390_gregset, s390x_gregset, s390_fpregset): New variables.
(s390_supply_regset, s390_regset_from_core_section): New functions.
(GDB_TARGET_IS_ESAME): Move here from tm-s390.h.
(S390_FPR_SIZE): Likewise.
(S390_GPR_SIZE): Likewise.  Redefine in terms of GDB_TARGET_IS_ESAME.
Global replace of DEPRECATED_REGISTER_SIZE by S390_GPR_SIZE.
(S390_NUM_GPRS): Move here from tm-s390.h.
(S390_NUM_FPRS): Likewise.
(s390_in_function_epilogue_p): New function.
(s390_is_sigreturn): Replace S390_PSW_ADDR_SIZE by S390_GPR_SIZE.
Replace S390_PC_REGNUM by S390_PSWA_REGNUM.
(s390_gdbarch_init): Allocate and set up gdbarch_tdep structure.
Replace s390_stab_reg_to_regnum by s390_dwarf_reg_to_regnum.
Replace S390_FP_REGNUM by S390_SP_REGNUM.
Remove calls to:
set_gdbarch_deprecated_max_register_raw_size,
set_gdbarch_deprecated_max_register_virtual_size,
set_gdbarch_deprecated_register_byte,
set_gdbarch_cannot_fetch_register,
set_gdbarch_cannot_store_register,
set_gdbarch_deprecated_register_size,
set_gdbarch_deprecated_register_raw_size,
set_gdbarch_deprecated_register_virtual_size,
set_gdbarch_deprecated_register_virtual_type,
set_gdbarch_deprecated_register_bytes.
Add calls to:
set_gdbarch_num_pseudo_regs,
set_gdbarch_register_type,
set_gdbarch_convert_register_p,
set_gdbarch_register_to_value,
set_gdbarch_value_to_register,
set_gdbarch_register_reggroup_p,
set_gdbarch_regset_from_core_section,
set_gdbarch_pseudo_register_read,
set_gdbarch_pseudo_register_write,
set_gdbarch_in_function_epilogue_p.
* Makefile.in (s390-nat.o, s390-tdep.o): Update dependencies.
(s390_tdep_h): New variable.

20 years ago* gdb.base/gdb1555.exp: New file.
Adam Fedor [Wed, 18 Feb 2004 03:35:08 +0000 (03:35 +0000)]
* gdb.base/gdb1555.exp: New file.
* gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.

20 years ago* findvar.c (value_from_register): If the type has no length, just
Jim Blandy [Wed, 18 Feb 2004 03:12:11 +0000 (03:12 +0000)]
* findvar.c (value_from_register): If the type has no length, just
return an acceptable value --- don't report an internal error.

20 years ago* stabsread.c (read_type): If we find any type numbers that are
Jim Blandy [Wed, 18 Feb 2004 01:09:03 +0000 (01:09 +0000)]
* stabsread.c (read_type): If we find any type numbers that are
forward references, complain if the references aren't resolved by
the time we're finished reading.
(cleanup_undefined_types): Make error message more appropriate for
a complaint.

20 years ago2004-02-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 18 Feb 2004 00:21:01 +0000 (00:21 +0000)]
2004-02-17  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (defs_h): Remove dependency on progress_h.
* defs.h (QUIT): Remove use of PROGRESS macro. Remove include of
progress.h.
* main.c (captured_main): Delete use of START_PROGRESS and
END_PROGRESS.

2004-02-17  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/selftest.exp (do_steps_and_nexts): Add comment.

20 years ago*** empty log message ***
gdbadmin [Wed, 18 Feb 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago2004-02-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 17 Feb 2004 19:37:37 +0000 (19:37 +0000)]
2004-02-17  Elena Zannoni  <ezannoni@redhat.com>

* objfiles.c (terminate_minimal_symbol_table): Add back
initialization of MSYMBOL_TYPE.

20 years ago2004-02-17 David Mosberger <davidm@hpl.hp.com>
Andrew Cagney [Tue, 17 Feb 2004 16:23:23 +0000 (16:23 +0000)]
2004-02-17  David Mosberger  <davidm@hpl.hp.com>

Committed by Andrew Cagney.
* Makefile.in (ia64_tdep_h): New macro.
(ia64-linux-tdep.o): Mention $(ia64_tdep_h).
(ia64-tdep.o): Likewise.
* ia64-tdep.h: New file.
* ia64-tdep.c: Update copyright notice.  Include "ia64-tdep.h".
(ia64_linux_sigcontext_register_address): Move decl to ia64-tdep.h.
(ia64_aix_sigcontext_register_address): Likewise.
(ia64_linux_getunwind_table): Delete declaration.
* ia64-linux-tdep.c: Likewise.

20 years ago * sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
Corinna Vinschen [Tue, 17 Feb 2004 16:04:19 +0000 (16:04 +0000)]
* sh-tdep.c (sh_dsp_register_sim_regno): Use DSP_Rx_BANK_REGNUM.
* sh-tdep.h: Rename R0_BANK_REGNUM and R7_BANK_REGNUM to
DSP_R0_BANK_REGNUM and DSP_R7_BANK_REGNUM.

20 years ago2004-02-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 17 Feb 2004 15:21:22 +0000 (15:21 +0000)]
2004-02-17  Andrew Cagney  <cagney@redhat.com>

* symtab.c (skip_prologue_using_sal): New function.
* symtab.h (skip_prologue_using_sal): Declare.
* frv-tdep.c: Include "symtab.h".
(skip_prologue_using_sal): Delete function.
* mips-tdep.c (skip_prologue_using_sal): Delete function.
* rs6000-tdep.c (refine_prologue_limit): Mention
skip_prologue_using_sal.
* ia64-tdep.c (refine_prologue_limit): Ditto.
* Makefile.in: Update dependencies.

20 years ago2004-02-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 17 Feb 2004 14:54:32 +0000 (14:54 +0000)]
2004-02-17  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Mode Options): Note that "mi1" is deprecated.

20 years agobfd/
Richard Sandiford [Tue, 17 Feb 2004 10:19:24 +0000 (10:19 +0000)]
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Use
_bfd_elf_symbol_refs_local_p to decide whether to decay
a GOT_PAGE/GOT_OFST pair to GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Add a global GOT entry for GOT_PAGE
relocs if the symbol wasn't defined by a regular object file.
Don't check the symbol's dynindx.

ld/testsuite/
* ld-mips/elf/elf-rel-xgot-{n32,n64-linux}.d: Update after 2004-02-02
changes to the way large constants are added.
* ld-mips/elf/elf-rel-got-{n32,n64-linux}.d: Likewise.  Adjust order
of GOT entries after today's change to the handling of GOT_PAGE
relocations.

20 years agomerge from gcc
DJ Delorie [Tue, 17 Feb 2004 02:11:39 +0000 (02:11 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Tue, 17 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-02-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 23:59:43 +0000 (23:59 +0000)]
2004-02-09  Andrew Cagney  <cagney@redhat.com>

* config/alpha/tm-nbsd.h: Update copyright, delete #undef
START_INFERIOR_TRAPS_EXPECTED.
* config/alpha/tm-fbsd.h: Update copyright, delete #undef
START_INFERIOR_TRAPS_EXPECTED.
* config/alpha/tm-alphalinux.h (START_INFERIOR_TRAPS_EXPECTED):
Delete macro.
* config/alpha/tm-alpha.h (START_INFERIOR_TRAPS_EXPECTED): Delete
macro, moved to "nm-osf.h".  Update copyright.
* config/alpha/nm-osf.h (START_INFERIOR_TRAPS_EXPECTED): Define,
update copyright.

20 years agodaily update
Alan Modra [Mon, 16 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 21:49:22 +0000 (21:49 +0000)]
2004-02-09  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_FRAMELESS_FUNCTION_INVOCATION): Predicate
and function replacing FRAMELESS_FUNCTION_INVOCATION.
* blockframe.c (legacy_frameless_look_for_prologue): Rename
frameless_look_for_prologue.
* frame.h (legacy_frameless_look_for_prologue): Rename
frameless_look_for_prologue.
* gdbarch.h, gdbarch.c: Re-generate.
* 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.
* ppc-linux-tdep.c (ppc_linux_init_abi): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
(delta68_frame_args_address): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
(frv_frameless_function_invocation): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
(cris_frameless_function_invocation): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* stack.c (frame_info): Update, call predicate.
* rs6000-tdep.c (rs6000_frame_chain): Update, call predicate..
* frame.c (legacy_get_prev_frame): Update, call predicate..
* arch-utils.c (generic_frameless_function_invocation_not): Delete.
* arch-utils.h (generic_frameless_function_invocation_not): Delete.
* alpha-tdep.c (alpha_gdbarch_init): Do not set frameless function
invocation.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 21:39:46 +0000 (21:39 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (arm_set_call_dummy_breakpoint_offset): Delete unused
function.

20 years ago * objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
Daniel Jacobowitz [Mon, 16 Feb 2004 21:14:24 +0000 (21:14 +0000)]
* objfiles.c (terminate_minimal_symbol_table): Remove unnecessary
initializations.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 21:05:09 +0000 (21:05 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* tui/tui-windata.c: Include "gdb_string.h".
* tui/tui-source.c, tui/tui-winsource.c: Ditto.
* tui/tui-layout.c, tui/tui-command.c: Ditto.
* Makefile.in: Update dependencies.

20 years ago * Makefile.in (infrun.o): Add $(gdb_assert_h).
Daniel Jacobowitz [Mon, 16 Feb 2004 20:49:51 +0000 (20:49 +0000)]
* Makefile.in (infrun.o): Add $(gdb_assert_h).
* infrun.c: Include "gdb_assert.h".
(singlestep_ptid, saved_singlestep_ptid)
(stepping_past_singlestep_breakpoint): New variables.
(resume): Set singlestep_ptid.  Check for singlestep thread
hop.
(init_wait_for_inferior): Clear stepping_past_singlestep_breakpoint.
(handle_inferior_event): Handle singlestep thread hop.

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

* dwarf2-frame.c (dwarf2_frame_ops): New function.
(dwarf2_frame_set_init_reg): Use, instead of gdbarch_data.
(dwarf2_frame_init_reg): Ditto.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 19:43:12 +0000 (19:43 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* printcmd.c (display_command): Check that EXP isn't NULL.  Fix
suggested by Joshua Neuheisel

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 19:33:42 +0000 (19:33 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* configure.in: Always check for curses, including pdcurses.
Warn, instead of error, when no curses are found.  Enable TUI when
curses is available.
* configure: Re-generate.

20 years ago 2004-02-16 Fred Fish <fnf@redhat.com>
Fred Fish [Mon, 16 Feb 2004 19:04:52 +0000 (19:04 +0000)]
2004-02-16  Fred Fish  <fnf@redhat.com>
* gdb.arch/gdb1291.c: Remove
* gdb.arch/gdb1291.s: New test input file.
* gdb.arch/gdb1291.exp: Expand test to check case that should not
fail.  Test for correct result, known incorrect result, other
failures and timeouts.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 18:49:09 +0000 (18:49 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* gdb.base/bigcore.exp: New file.
* gdb.base/bigcore.c: New file.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 18:46:40 +0000 (18:46 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* bfd-in.h (file_ptr, ufile_ptr): Configure type using
@bfd_file_ptr@.
* bfd-in2.h: Re-generate.

20 years ago2004-02-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 16 Feb 2004 18:20:05 +0000 (18:20 +0000)]
2004-02-16  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Coding): Mention -Wunused-function.

20 years ago * sh-tdep.c (sh_register_convert_to_virtual): Rename from
Corinna Vinschen [Mon, 16 Feb 2004 16:52:28 +0000 (16:52 +0000)]
* sh-tdep.c (sh_register_convert_to_virtual): Rename from
sh_sh4_register_convert_to_virtual.
(sh_register_convert_to_raw): Rename from
sh_sh4_register_convert_to_raw.
(sh_pseudo_register_read): Accomodate above name change.
(sh_pseudo_register_write): Ditto.

20 years ago * sh-tdep.c (sh_generic_register_name): Remove.
Corinna Vinschen [Mon, 16 Feb 2004 16:04:18 +0000 (16:04 +0000)]
* sh-tdep.c (sh_generic_register_name): Remove.
(sh_gdbarch_init): Use sh_sh_register_name in default case.

20 years ago*** empty log message ***
gdbadmin [Mon, 16 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 23:45:24 +0000 (23:45 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* configure.in (build_warnings): Add -Wunused-function.
* configure: Re-generate.

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

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 22:55:30 +0000 (22:55 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* config/tm-lynx.h (START_INFERIOR_TRAPS_EXPECTED): Delete macro.
* config/rs6000/tm-rs6000.h (START_INFERIOR_TRAPS_EXPECTED): Ditto.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 22:38:40 +0000 (22:38 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* procfs.c (procfs_init_inferior): Assume that
START_INFERIOR_TRAPS_EXPECTED is defined.
* config/ns32k/nbsdaout.mt (TM_FILE): Set to tm-ns32k.h.
* config/ns32k/tm-nbsd.h: Delete file,
START_INFERIOR_TRAPS_EXPECTED already defined as 2.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 22:14:45 +0000 (22:14 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* config/vax/tm-vaxbsd.h: Do not include "tm-vax.h".
* config/vax/tm-vax.h: Delete file.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 22:05:44 +0000 (22:05 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* config/mips/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
* config/i386/tm-i386bsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
* config/arm/tm-linux.h (SIGCONTEXT_PC_OFFSET): Delete macro.
* config/vax/tm-vaxbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
* vax-tdep.c (vax_sigtramp_saved_pc): Inline only reference.
* config/ns32k/tm-nbsd.h (SIGCONTEXT_PC_OFFSET): Delete macro.
* ns32k-tdep.c (ns32k_sigtramp_saved_pc): Inline only reference.

20 years ago* dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
Mark Kettenis [Sun, 15 Feb 2004 21:29:26 +0000 (21:29 +0000)]
* dwarf2-frame.h (dwarf2_frame_set_init_reg): New prototype.
* dwarf2-frame.c (dwarf2_frame_data): New variable.
(struct dwarf2_frame_ops): New.
(dwarf2_frame_default_init_reg): New function, based on
dwarf2_frame_init_reg.
(dwarf2_frame_init, dwarf2_frame_set_init_reg): New function.
(dwarf2_frame_init_reg): Call architecture-specific function.
(dwarf2_frame_objfile_data): Renamed from dwarf2_frame_data.
(dwarf2_frame_find_fde, add_fde): Use dwarf2_frame_objfile_data
instead of dwarf2_frame_data.
(_initialize_dwarf2_frame): Initailize new dwarf2_frame_data.
Initialize dwarf2_frame_objfile instead of old dwarf2_frame_data.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 15:22:06 +0000 (15:22 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (deprecated_register_gdbarch_swap): Rename
register_gdbarch_swap.
(DEPRECATED_REGISTER_GDBARCH_SWAP): Rename REGISTER_GDBARCH_SWAP.
* f-lang.c (_initialize_f_language): Update, use
DEPRECATED_REGISTER_GDBARCH_SWAP.
* remote.c (_initialize_remote): Ditto.
* regcache.c (_initialize_regcache): Ditto.
* parse.c (_initialize_parse): Ditto.
* infrun.c (_initialize_infrun): Ditto.
* mi/mi-main.c (_initialize_mi_main): Ditto.
* gdbtypes.c (_initialize_gdbtypes): Ditto.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 15:16:29 +0000 (15:16 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* solib.c (solib_map_sections): Use bfd_set_cacheable instead of
poking .cacheable directly.
* symfile.c (symfile_bfd_open): Ditto.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 15:03:01 +0000 (15:03 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Update all dependencies.

20 years ago2004-02-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 15 Feb 2004 14:49:23 +0000 (14:49 +0000)]
2004-02-15  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: (.SUFFIXES): Add ".l" and ".y".
(.y.c, .l.c): Specify implicit rule.  Instead of .tab.c, generate
.c.  Update references.  Delete unnecessary .tab.c and -lex.c rules.
(ada-exp.o, c-exp.o, f-exp.o): Replace ada-exp.tab.o et.al. rule.
(jv-exp.o, m2-exp.o, objc-exp.o, p-exp.o): Similar.

20 years agoUse bfd_cache_close, instead of accessing bfd->iostream directly.
Andrew Cagney [Sun, 15 Feb 2004 02:24:53 +0000 (02:24 +0000)]
Use bfd_cache_close, instead of accessing bfd->iostream directly.

20 years ago*** empty log message ***
gdbadmin [Sun, 15 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 14 Feb 2004 23:00:09 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 14 Feb 2004 22:23:46 +0000 (22:23 +0000)]
2004-02-14  Andrew Cagney  <cagney@redhat.com>

* arch-utils.c (legacy_convert_register_p): Check
DEPRECATED_REGISTER_CONVERTIBLE_P.
* findvar.c (value_of_register): Ditto.

20 years ago2004-02-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 14 Feb 2004 17:26:35 +0000 (17:26 +0000)]
2004-02-14  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_REGISTER_CONVERTIBLE): Add predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (deprecated_register_convertible_not): Delete.
* arch-utils.h (deprecated_register_convertible_not): Delete.
* mi/mi-main.c (get_register): Update.  Update copyright.
* infcmd.c (default_print_registers_info): Update.

20 years ago2004-02-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 14 Feb 2004 17:01:01 +0000 (17:01 +0000)]
2004-02-14  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_EXTRA_STACK_ALIGNMENT_NEEDED): Delete.
(DEPRECATED_CALL_DUMMY_STACK_ADJUST): Delete.
(DEPRECATED_CALL_DUMMY_ADDRESS): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (deprecated_get_next_frame_hack): Delete function.
* frame.h (deprecated_get_next_frame_hack): Delete declaration.
* blockframe.c (deprecated_pc_in_call_dummy_at_entry_point):
Update.
* infcall.c (call_function_by_hand): Update.

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

* gdbint.texinfo (Target Architecture Definition): Delete
description of DEPRECATED_CALL_DUMMY_STACK_ADJUST.

20 years ago2004-02-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sat, 14 Feb 2004 15:46:33 +0000 (15:46 +0000)]
2004-02-14  Elena Zannoni  <ezannoni@redhat.com>

* symfile.c (init_entry_point_info, entry_point_address): Move
from here...
* objfiles.c (init_entry_point_info, entry_point_address):..to
here.
* symfile.h (init_entry_point_info, entry_point_address): Remove
prototypes.
* objfiles.h (init_entry_point_info, entry_point_address):Add
prototypes.
* cris-tdep.c: Remove include of symfile.h. Add include of
objfiles.h.
* infcall.c: Ditto.
* mcore-tdep.c: Ditto.
* mn10300-tdep.c: Ditto.
* sh64-tdep.c: Ditto.
  * v850-tdep.c: Ditto.
* arm-tdep.c: Remove include of symfile.h.
* blockframe.c: Ditto.
* coffread.c: Ditto.
* dbxread.c: Ditto.
* dwarf2read.c: Ditto.
* dwarfread.c: Ditto.
* frv-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* mdebugread.c: Ditto.
* mipsread.c: Ditto.
* rs6000-tdep.c: Ditto.
* s390-tdep.c: Ditto.
* sh-tdep.c: Ditto.
* xstormy16-tdep.c: Ditto.
* gdbarch.sh: Remove include of symfile.h.
* gdbarch.c: Regenerate.
* solib-irix.c (enable_break): Use entry_point_address().
Add comment about include file.
* xcoffread.c: Add comment about include file.
* Makefile.in (arm-tdep.o, blockframe.o, coffread.o, cris-tdep.o)
(dbxread.o, dwarf2read.o, dwarfread.o, frv-tdep.o, gdbarch.o)
(ia64-tdep.o, infcall.o, mcore-tdep.o, mdebugread.o, mipsread.o)
(mn10300-tdep.o, rs6000-nat.o, s390-tdep.o, sh64-tdep.o)
(sh-tdep.o, v850-tdep.o, xstormy16-tdep.o): Update dependencies.

20 years ago2004-02-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 14 Feb 2004 15:38:20 +0000 (15:38 +0000)]
2004-02-14  Andrew Cagney  <cagney@redhat.com>

* configure.host (HDEFINES): When hppa*-*-hpux*, define
_LARGEFILE64_SOURCE.

20 years ago * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
Richard Sandiford [Sat, 14 Feb 2004 11:45:25 +0000 (11:45 +0000)]
* emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
.MIPS.content* and .MIPS.events* sections.

20 years ago2004-02-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 14 Feb 2004 04:41:33 +0000 (04:41 +0000)]
2004-02-13  Andrew Cagney  <cagney@redhat.com>

* corelow.c (core_xfer_partial): Use "struct bfd_section".
* config/sparc/nm-nbsd.h (struct target_ops): Declare, update
copyright.
* mips-linux-tdep.c: Use "GNU/Linux", update copyright.

20 years ago*** empty log message ***
gdbadmin [Sat, 14 Feb 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2004-02-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 13 Feb 2004 19:59:25 +0000 (19:59 +0000)]
2004-02-13  Andrew Cagney  <cagney@redhat.com>

* gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
* gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
* gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
* gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
* gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
* gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
* gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
* gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
* gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
* gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.

20 years ago2004-02-13 Hannes Reinecke <hare@suse.de>
Andreas Jaeger [Fri, 13 Feb 2004 16:12:47 +0000 (16:12 +0000)]
2004-02-13  Hannes Reinecke  <hare@suse.de>
            Jakub Jelinek  <jakub@redhat.com>

* dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.

20 years ago2004-02-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 13 Feb 2004 14:58:58 +0000 (14:58 +0000)]
2004-02-13  Andrew Cagney  <cagney@redhat.com>

* elf.c (vma_page_aligned_bias): New function.
(assign_file_positions_except_relocs)
(assign_file_positions_for_segments): Replace broken modulo
arithmetic with call to vma_page_aligned_bias.

20 years ago 2004-02-12 Fred Fish <fnf@redhat.com>
Fred Fish [Fri, 13 Feb 2004 06:09:36 +0000 (06:09 +0000)]
2004-02-12  Fred Fish  <fnf@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Remove duplicate call to
 set_gdbarch_store_return_value.

20 years ago * m32r-dis.c: Regenerate.
Ben Elliston [Fri, 13 Feb 2004 03:21:49 +0000 (03:21 +0000)]
* m32r-dis.c: Regenerate.

20 years ago2004-02-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 13 Feb 2004 00:01:19 +0000 (00:01 +0000)]
2004-02-02  Michael Snyder  <msnyder@redhat.com>

* gencode.c (movua.l): Set thislock to 0, not n.

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

20 years agodaily update
Alan Modra [Thu, 12 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 12 Feb 2004 22:29:48 +0000 (22:29 +0000)]
2004-02-12  Michael Snyder  <msnyder@redhat.com>

* and.s, movi.s, sett.s: New files.
* allinsn.exp: Add new tests.
* testutils.inc (set_sr_bit): Fix macro labels.

20 years ago2004-02-12 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 12 Feb 2004 19:32:12 +0000 (19:32 +0000)]
2004-02-12  Michael Snyder  <msnyder@redhat.com>

* gencode.c (table): Change from char to short.
(dumptable): Change generated table from char to short.
* interp.c (sh_jump_table, sh_dsp_table, ppi_table): char to short.
(init_dsp): Compute size of sh_dsp_table.
(sim_resume): Change jump_table from char to short.

20 years ago2004-02-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 12 Feb 2004 18:43:09 +0000 (18:43 +0000)]
2004-02-12  Andrew Cagney  <cagney@redhat.com>

* remote-rdi.c (arm_rdi_start_remote): Delete unused function.
(arm_rdi_interrupt, arm_rdi_interrupt_twice): Ditto.
(interrupt_query): Ditto.
(ofunc): Delete unused variable.
* cris-tdep.c (cris_abi): Delete unused function.
(reg_pop_op, move_reg_to_mem_index_inc_op): Ditto.
(cris_get_wide_opcode, cris_get_short_size): Ditto.
(cris_get_asr_quick_shift_steps): Ditto.
(cris_skip_prologue_frameless_p): Ditto.
* arm-tdep.c (arm_push_return_address): Delete unused function.
(arm_push_dummy_frame, arm_fix_call_dummy): Ditto.
* rs6000-tdep.c (rs6000_pc_in_call_dummy): Delete unused function.
* s390-tdep.c (s390_function_start): Delete unused function.

20 years ago2004-02-12 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 12 Feb 2004 17:46:40 +0000 (17:46 +0000)]
2004-02-12  Elena Zannoni  <ezannoni@redhat.com>

  * gdb.texinfo: Properly quote the name "C++".
  * gdbint.texinfo: Ditto.
  * stabs.texinfo: Ditto.

20 years ago2004-02-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 12 Feb 2004 16:52:45 +0000 (16:52 +0000)]
2004-02-12  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (PROLOGUE_FRAMELESS_P): Delete.
gdbarch.h, gdbarch.c: Re-generate.
* cris-tdep.c (cris_gdbarch_init): Do not set prologue_frameless_p
to generic_prologue_frameless_p.
* arch-utils.h (generic_prologue_frameless_p): Delete declaration.
* arch-utils.c (generic_prologue_frameless_p): Delete function.

20 years agoFix obvious typo (completly -> completely) and update copyrights as needed
Fred Fish [Thu, 12 Feb 2004 00:17:53 +0000 (00:17 +0000)]
Fix obvious typo (completly -> completely) and update copyrights as needed

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

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 23:23:20 +0000 (23:23 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* bfd-in.h: Update copyright.
(bfd_tell): Change return type to file_ptr.
* bfd-in2.h: Re-generate.
* cache.c: Update copyright.
(bfd_cache_lookup_worker): Use real_fseek, do not cast offset
parameter.
(close_one): Use real_ftell.
* bfdio.c: Update copyright.
(real_ftell, real_fseek): New functions.
(bfd_tell): Use real_fseek and real_ftell, change return type to
file_ptr.
(bfd_seek): Use real_ftell and real_fseek, change type of
file_position to a file_ptr.
* libbfd-in.h: Update copyright.
(real_ftell, real_fseek): Declare.
* libbfd.h: Re-generate.

20 years agodaily update
Alan Modra [Wed, 11 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Feb 2004 22:15:06 +0000 (22:15 +0000)]
2004-02-11  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
        executed is an alloc instruction.

20 years ago* config.in: Re-generate.
Andrew Cagney [Wed, 11 Feb 2004 22:05:35 +0000 (22:05 +0000)]
* config.in: Re-generate.

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 22:01:00 +0000 (22:01 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* configure.in (AC_CHECK_FUNCS): Check for ftello, ftello64,
fseeko and fseeko64.  Determine bfd_file_ptr.
* configure: Re-generate.

20 years ago * mips-linux-tdep.c: Include "frame.h".
Daniel Jacobowitz [Wed, 11 Feb 2004 18:47:27 +0000 (18:47 +0000)]
* mips-linux-tdep.c: Include "frame.h".
(mips_linux_in_dynsym_stub, mips_linux_in_dynsym_resolve_code)
(mips_linux_skip_resolver): New functions.
(mips_linux_init_abi): Call set_gdbarch_skip_solib_resolver
and set_gdbarch_in_solib_call_trampoline.
* mips-tdep.c (mips_gdbarch_init): Move gdbarch_init_osabi call
to after set_gdbarch_in_solib_return_trampoline.  Only set the
solib hooks to mips16 functions if the OS ABI is unknown.
* config/mips/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Undefine after
including "config/tm-linux.h".
(IN_SOLIB_DYNSYM_RESOLVE_CODE): Define.
* Makefile.in (mips-linux-tdep.o): Update.

20 years ago2004-02-11 David Carlton <carlton@kealia.com>
David Carlton [Wed, 11 Feb 2004 18:04:14 +0000 (18:04 +0000)]
2004-02-11  David Carlton  <carlton@kealia.com>

* linespec.c (decode_compound): Only look for a class symbol when
considering all but the rightmost component.

2004-02-11  David Carlton  <carlton@kealia.com>

* gdb.cp/breakpoint.exp: New.
* gdb.cp/breakpoint.cc: New.

20 years ago* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
DJ Delorie [Wed, 11 Feb 2004 17:52:06 +0000 (17:52 +0000)]
* configure.in (powerpc-*-aix*): Add target-libada to noconfigdirs.
(rs6000-*-aix*): Same.
* configure: Regenerate.

20 years ago* configure.in (host): Add in missing $noconfigdirs to defines.
DJ Delorie [Wed, 11 Feb 2004 17:50:38 +0000 (17:50 +0000)]
* configure.in (host): Add in missing $noconfigdirs to defines.
* configure: Regenerate.

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 16:46:20 +0000 (16:46 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Re-order so that the frame and
abi code are are separatly grouped.

20 years ago2004-02-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 15:40:28 +0000 (15:40 +0000)]
2004-02-11  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (FRAME_ARGS_SKIP): Default to 0.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* m32r-tdep.c (m32r_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* d10v-tdep.c (d10v_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

20 years ago * sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
Corinna Vinschen [Wed, 11 Feb 2004 15:36:09 +0000 (15:36 +0000)]
* sh-tdep.c (sh_sh3_dsp_register_name): Fix formatting. Add missing
comma.
(sh_sh4al_dsp_register_name): Ditto.

20 years ago2004-02-11 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 11 Feb 2004 15:11:35 +0000 (15:11 +0000)]
2004-02-11  Elena Zannoni  <ezannoni@redhat.com>

       * gdbint.texinfo (Support Libraries): Add doco about obstacks and
       minimal information about libiberty.

20 years ago2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Wed, 11 Feb 2004 14:01:25 +0000 (14:01 +0000)]
2004-02-11  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR gdb/1543.
* gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
to bug-gdb@prep.ai.mit.edu .
* gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
Likewise.

20 years agoPatch from Steve Ellcey for ia64-hpux.
Jim Wilson [Wed, 11 Feb 2004 01:35:14 +0000 (01:35 +0000)]
Patch from Steve Ellcey for ia64-hpux.
* config/tc-ia64.h (ia64_frob_symbol): New declaration.
(tc_frob_symbol): New macro definition.
* config/tc-ia64.c (ia64_frob_symbol): New routine.

20 years ago2004-02-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Feb 2004 00:02:52 +0000 (00:02 +0000)]
2004-02-10  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_gdbarch_init): Delete deprecated frame code.
(mips_init_frame_pc_first): Delete function.
(mips_frame_saved_pc): Delete function.
(mips_frame_chain): Delete function.
(mips_init_extra_frame_info): Delete function.
(mips_xfer_register): Delete unused variable "reg".
(mips_n32n64_push_dummy_call): Delete unused variable "valbuf".
(mips_n32n64_return_value): Delete unused variable "reg".
(mips_n32n64_return_value): Delete unused variable "pos".
(mips_o32_push_dummy_call): Delete unused variable "valbuf".
(mips_o32_return_value): Delete unused variable "pos".
(mips_o64_push_dummy_call): Delete unused variable "valbuf".
(mips_print_fp_register): Delete unused variable "namelen"
(mips_print_fp_register): Delete unused variable "flt2"
(get_frame_pointer): Delete function.
(cached_proc_desc): Delete static variable.
(mips_pop_frame): Delete function.
(mips_find_saved_regs): Delete function.
(mips_get_saved_register): Delete function.
(mips_saved_pc_after_call): Delete function.
(SIGFRAME_BASE): Delete macro.
(SIGFRAME_FPREGSAVE_OFF): Delete macro.
(SIGFRAME_PC_OFF): Delete macro.
(SIGFRAME_REGSAVE_OFF): Delete macro.
(mips_dump_tdep): Do not print deleted macro definitions.

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

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

20 years ago2004-02-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 10 Feb 2004 22:15:40 +0000 (22:15 +0000)]
2004-02-10  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (SFILES): Remove explictly listed tui files.
(SUBDIR_GDBTK_SRCS): Fix path to gdbtk-interp.c.

20 years ago2004-02-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 10 Feb 2004 21:00:15 +0000 (21:00 +0000)]
2004-02-10  Andrew Cagney  <cagney@redhat.com>

* lib/gdb.exp (gdb_expect_list): Recover from internal-errors
using gdb_internal_error_resync.

20 years agoReally add "gdb_curses.h".
Andrew Cagney [Tue, 10 Feb 2004 20:03:44 +0000 (20:03 +0000)]
Really add "gdb_curses.h".

20 years agoRemoving conflict indicators that CVS only told me about after it checked the
Jeff Johnston [Tue, 10 Feb 2004 19:36:49 +0000 (19:36 +0000)]
Removing conflict indicators that CVS only told me about after it checked the
file in.

20 years ago2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 10 Feb 2004 19:35:59 +0000 (19:35 +0000)]
2004-02-10  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_frame_this_id): Fix tracing print statement
        to use paddr functions to format ia64 addresses and long values.
        (ia64_frame_prev_register, ia64_sigtramp_frame_this_id): Ditto.
        (ia64_sigtramp_frame_prev_register, ia64_access_reg): Ditto.
        (get_kernel_table, ia64_find_proc_info_x): Ditto.
        (ia64_get_dyn_info_list, ia64_libunwind_this_frame_id): Ditto.
        (ia64_libunwind_frame_prev_register, ia64_unwind_dummy_id): Ditto.

20 years ago2004-02-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 10 Feb 2004 19:08:19 +0000 (19:08 +0000)]
2004-02-10  Andrew Cagney  <cagney@redhat.com>

* defs.h: Do not include "tui.h".
* gdb_curses.h: New file.
* tui/tui-hooks.h: New file.
* tui/tui.h (tui_update_all_exec_infos): Delete declaration.
(tui_install_hooks, tui_remove_hooks): Delete declarations.
(tui_initialize_io): Delete declaration.
(tui_initialize_readline: Delete redundant declaration.
(struct tui_point): Delete definition.
* tui/tui-data.h (struct tui_point): Define.
* cli/cli-decode.c [TUI]: Include "tui/tui.h".
* utils.c: Include "tui/tui.h".
* tui/tui-data.h: Include "tui/tui.h" and "gdb_curses.h".
* printcmd.c [TUI]: Include "tui/tui.h".
* cli/cli-cmds.c [TUI]: Include "tui/tui.h".
* tui/tui-command.c: Include "gdb_curses.h".
* tui/tui.c, tui/tui-winsource.c, tui/tui-wingeneral.c: Ditto.
* tui/tui-windata.c, tui/tui-win.c, tui/tui-stack.c: Ditto.
* tui/tui-source.c, tui/tui-regs.c, tui/tui-layout.c: Ditto.
* tui/tui-io.c, tui/tui-disasm.c, tui/tui-data.c: : Ditto.
* tui/tui-hooks.c: Include "tui-hooks.h" and "gdb_curses.h".
* Makefile.in: Update all dependencies.
(tui_hooks_h, gdb_curses_h): Define.
(SUBDIR_TUI_CFLAGS): Remove -I${srcdir}/tui.

20 years ago2004-02-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 10 Feb 2004 18:22:02 +0000 (18:22 +0000)]
2004-02-10  Elena Zannoni  <ezannoni@redhat.com>

* objfiles.h (struct objfile): Remove unused fields auxf1 and
auxf2. Add comments about some other rarely used fields.

20 years ago2004-02-10 Arnaud Charlet <charlet@act-europe.fr>,
DJ Delorie [Tue, 10 Feb 2004 17:57:02 +0000 (17:57 +0000)]
2004-02-10  Arnaud Charlet  <charlet@act-europe.fr>,
    Nathanael Nerode  <neroden@gcc.gnu.org>
PR ada/6637, PR ada/5911
Merge with libada-branch:
* configure.in, Makefile.tpl, Makefile.def: Add target-libada,
with appropriate dependencies. Add --enable-libada configure switch.
* configure, Makefile.in: Regenerate.

20 years ago2004-02-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 10 Feb 2004 16:43:58 +0000 (16:43 +0000)]
2004-02-10  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (init.c): Fix script removing duplicates. Problem
reported by Peter Schauer.