aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-09Add initX, finiX, ctors, dtors sections to respect C++ constructor/destructor.Nick Clifton3-0/+69
Add ctors/dtors start/stop definitions.
2003-04-09* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standardAlexandre Oliva2-17/+31
and IRIX-specific shift-to-64-bit 4-byte lengths before following addr_size.
2003-04-09* doc/binutils.texi (objdump) [--debugging]: Suggest readelf -wAlexandre Oliva2-0/+7
for debugging information types not supported by objdump.
2003-04-09 * configure.in: Recognize canonical form of i[3-6]86-pe*.Alan Modra3-250/+257
* configure: Regenerate.
2003-04-09* readelf.c (display_debug_info): Apply RELA relocations on theAlexandre Oliva2-15/+104
entire section. (byte_put_little_endian, byte_put_big_endian): New functions. (byte_put): New variable. (get_file_header): Initialize it.
2003-04-09* config/tc-mips.c (macro): Add comments explaining the rationaleAlexandre Oliva2-1/+22
for Chris' change.
2003-04-09* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bitAlexandre Oliva2-1/+9
constant address that Alexandre took out by accident. Reject 64-bit addresses that are not sign extensions of 32 bits only if we don't support 64-bit address constants.
2003-04-09* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)Alexandre Oliva2-4/+10
pointer size from ABI, not arch_bits_per_address.
2003-04-09 * mips.h: Correct comment typo.Alan Modra2-1/+5
2003-04-09*** empty log message ***gdbadmin1-1/+1
2003-04-09daily updateAlan Modra1-1/+1
2003-04-08 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.Alan Modra2-6/+21
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-18/+94
* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_saved_pc_after_call): Delete function. (d10v_gdbarch_init): Do not set saved_pc_after_call. * infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P conditionally, use frame_pc_unwind as an alternative. Add comments. * arch-utils.c (init_frame_pc_default): Only call SAVED_PC_AFTER_CALL when available.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
* gdb792.exp: Skip when C++.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+6
* gdbint.texinfo (Target Architecture Definition): Delete references to EXTRA_FRAME_INFO.
2003-04-082003-04-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+5
* gdbint.texinfo (Target Architecture Definition): Delete PRINT_TYPELESS_INTEGER.
2003-04-082003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni12-33/+75
* infrun.c (stop_soon): Rename from stop_soon_quietly. (struct inferior_status): Rename stop_soon_quietly field to stop_soon. (clear_proceed_status): Rename stop_soon_quietly to stop_soon. (start_remote): Ditto. (handle_inferior_event): Ditto. (save_inferior_status): Ditto. (restore_inferior_status): Ditto. * infcmd.c (attach_command): Ditto. * fork-child.c (startup_inferior): Ditto. * inferior.h (stop_soon): Rename from stop_soon_quietly. * alpha-tdep.c (heuristic_proc_start): Ditto. * mips-tdep.c (heuristic_proc_start): Ditto. * solib-svr4.c (svr4_solib_create_inferior_hook): Ditto. * solib-sunos.c (sunos_solib_create_inferior_hook): Ditto. * solib-osf.c (osf_solib_create_inferior_hook): Ditto. * solib-irix.c (irix_solib_create_inferior_hook): Ditto. * remote-vx.c (vx_create_inferior): Ditto.
2003-04-082003-04-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni11-27/+75
* infrun.c (stop_soon_quietly): Make it an enum, to better override the default behavior of handle_inferior_event. (clear_proceed_status): Update uses of stop_soon_quietly to reflect that it is now an enum. (start_remote): Ditto. (handle_inferior_event): Change logic a bit if stop_soon_quietly is set to handle the new GNU/Linux kernel behavior for attach/sigstop. Update uses of stop_soon_quietly. * inferior.h (enum stop_kind): New enum. * infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP. Reset normal handle_inferior_event behavior, afterwards. * fork-child.c (startup_inferior): Update. * alpha-tdep.c (heuristic_proc_start): Update. * solib-svr4.c (svr4_solib_create_inferior_hook): Update. * solib-sunos.c (sunos_solib_create_inferior_hook): Update. * solib-osf.c (osf_solib_create_inferior_hook): Update. * solib-irix.c (irix_solib_create_inferior_hook): Update. * remote-vx.c (vx_create_inferior): Update. * mips-tdep.c (heuristic_proc_start): Update.
2003-04-08* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.Nick Clifton8-0/+193
* cgen.c (gas_cgen_begin): New function. If flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok. * cgen.h: Prototype gas_cgen_begin. * testsuite/gas/m32r/m32r.exp: Run signed-relocs test. * testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs. * testsuite/gas/m32r/signed-relocs.d: New file: Expected results
2003-04-08* ia64-ic.tbl (fr-readers): Add mem-writers-fp.Nick Clifton7-85/+132
* ia64-asmtab.c: Regenerate. * gas/ia64/dependency-1.s: New file: Test read before write dependency. * gas/ia64/dependency-1.d: New file: Expected assembly results. * gas/ia64/ia64.exp: Run the new test.
2003-04-08* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.Alexandre Oliva2-1/+5
2003-04-082003-04-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+14
* disasm.c (dump_insns): Move variables inside loop, or they will be freed more than once, causing wild memory corruptions. (gdb_disassembly): Look for the substring "-thread", instead of "-threads" in the target name, to make sure to find the 'multi-thread' target. Also, make sure we do the right thing with the "core" target.
2003-04-08* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.Alexandre Oliva2-1/+5
2003-04-08*** empty log message ***gdbadmin1-1/+1
2003-04-08daily updateAlan Modra1-1/+1
2003-04-07 * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file relatedKevin Buettner2-2/+7
constants for n32 ABI.
2003-04-07 * mips-tdep.c (mips_print_fp_register): New function, created fromKevin Buettner2-111/+91
do_fp_register_row(). Registers are now (also) printed as hex. Only one register is printed per row. (mips_print_register, do_fp_register_row): Print floating point registers with mips_print_fp_register().
2003-04-07oops - omitted from previous deltaNick Clifton1-2/+2
2003-04-07 * write.c (write_relocs): Remove unused variable.Thiemo Seufer2-2/+4
2003-04-07*** empty log message ***gdbadmin1-1/+1
2003-04-07daily updateAlan Modra1-1/+1
2003-04-062003-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-9/+30
* valprint.h (inspect_it): Add extern declaration. * objc-lang.c (value_nsstring): Avoid assignment inside of "if". (selectors_info, classes_info): Ditto. (find_objc_msgcall): Fix indentation. (objc_printstr): Delete extern declarations.
2003-04-062003-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* arm-tdep.c (arm_frameless_function_invocation): Fix typo.
2003-04-062003-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-23/+37
* frame.h (legacy_frame_chain_valid): Rename frame_chain_valid. Update comment. * frame.c (legacy_saved_regs_this_id): Update. (legacy_get_prev_frame): Update. * xstormy16-tdep.c: Update comment. * sparc-tdep.c (sparc_frame_chain): Update comment. * blockframe.c (legacy_frame_chain_valid): Update.
2003-04-062003-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+3
* valprint.c (val_print_type_code_int): Delete #ifdef PRINT_TYPELESS_INTEGER code.
2003-04-062003-04-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-15/+18
* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES) (CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial multi-arch definition. * gdbarch.h: Re-generate.
2003-04-06Add notes about the target specific nature of i386 PE command line options.Nick Clifton2-0/+36
2003-04-06* simops.c (OP_40): Delete. Move code to...Nick Clifton4-46/+48
* v850-igen.c (): ...Here. Sign extend the first operand. * simops.h (OP_40): Remove prototype.
2003-04-06(bfd_simple_get_relocated_section_contents): Disable free that leads to GDBNick Clifton2-0/+16
vs BFD memory corruption.
2003-04-06* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.Alexandre Oliva2-3/+16
(macro): Use new macro to decide whether to emit constant address as 32 or 64 bits if addresses are 32-bit wide but registers are 64-bit wide.
2003-04-062003-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney14-181/+160
Eliminate FRAME_FIND_SAVED_REGS. * config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp): Change FSR parameter to a pointer. * config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Assume FSR parameter is a pointer. * hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp): Make fsr a pointer. * hppa-tdep.c (hppa_frame_find_saved_regs): New function. (hppa_frame_saved_pc): Call hppa_frame_init_saved_regs. Make saved_regs a pointer. (hppa_frame_saved_pc): Ditto. (find_dummy_frame_regs): Make frame_saved_regs a pointer (hppa_pop_frame): Call hppa_frame_init_saved_regs. Make fsr a pointer. (restore_pc_queue): Make fsr a pointer. (hppa_frame_find_saved_regs): Make frame_saved_regs a pointer. (hppa_frame_chain): Make saved_regs a pointer, call hppa_frame_init_saved_regs. * sparc-tdep.c: Include "gdb_assert.h". (sparc_frame_find_saved_regs): Replace internal_error with gdb_assert. * remote-vxsparc.c (vx_read_register): Delete reference to FRAME_FIND_SAVED_REGS. * gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS. * gdbarch.h: Regenerate. * frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. (deprecated_get_frame_saved_regs): Delete declaration. (struct frame_saved_regs): Delete definition. * frame.c (deprecated_get_frame_saved_regs): Delete function. * config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare. (hppa_frame_find_saved_regs): Delete declaration. (FRAME_FIND_SAVED_REGS): Delete macro. (DEPRECATED_FRAME_INIT_SAVED_REGS): Define. * config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete FRAME_FIND_SAVED_REGS in comment.
2003-04-06daily updateAlan Modra1-1/+1
2003-04-06*** empty log message ***gdbadmin1-1/+1
2003-04-052003-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney14-20/+72
* frame.c (frame_func_unwind, get_frame_func): New functions. * frame.h (get_frame_func, frame_func_unwind): Declare. (struct frame_info): Add field "prev_func" for caching the previous frame's function address. * arm-tdep.c (arm_frameless_function_invocation): Combine get_pc_function_start and get_frame_pc into get_frame_func. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. * s390-tdep.c (s390_function_start): Ditto. * rs6000-tdep.c (rs6000_pop_frame): Ditto. (rs6000_frameless_function_invocation): Ditto. (rs6000_frame_saved_pc): Ditto. * m68k-tdep.c (m68k_frame_init_saved_regs): Ditto. * ia64-tdep.c (ia64_frame_init_saved_regs): Ditto. * i386-tdep.c (i386_frameless_signal_p): Ditto. (i386_frame_init_saved_regs): Ditto. * hppa-tdep.c (hppa_frame_find_saved_regs): Ditto. * d10v-tdep.c (d10v_frame_unwind_cache): Combine get_pc_function_start and frame_pc_unwind into frame_func_unwind. * cris-tdep.c (cris_frame_init_saved_regs): Ditto. * blockframe.c (frameless_look_for_prologue): Ditto.
2003-04-052003-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-6/+17
* frame.c (legacy_get_prev_frame): Link prev to next at the function start. Update comments.
2003-04-052003-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-73/+12
* frame.c (get_frame_id): Update comment. (legacy_get_prev_frame): Update comment. * gdbarch.sh: Delete check for EXTRA_FRAME_INFO. * gdbarch.h: Regenerate. * config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete. * frame.h: Delete #ifdef EXTRA_FRAME_INFO code.
2003-04-052003-04-05 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+5
* stack.c (print_frame_info): Use get_frame_pc.
2003-04-05 * gdb.base/break.exp: marker4() is defined at line 46 when compiledStephane Carrez2-0/+9
with -DPROTOTYPES.
2003-04-05 * gas/m68hc11/bug-1825.d (_table): Update.Stephane Carrez3-1/+20
* gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs
2003-04-05 * gas/m68hc11/insns.s: Add %page and %addr checks.Stephane Carrez5-6/+23
* gas/m68hc11/insns12.s: Likewise. * gas/m68hc11/insns-dwarf2.d: Update. * gas/m68hc11/insns.d: Update.