aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-12-21 * elf32-sparc.c (_bfd_sparc_elf_howto_table): Fix dst_mask forJakub Jelinek18-16/+475
R_SPARC_DISP32. Support R_SPARC_PLT32. (sparc_reloc_map): Add BFD_RELOC_16_PCREL and BFD_RELOC_SPARC_PLT32. (elf32_sparc_check_relocs): Handle R_SPARC_PLT32. (elf32_sparc_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_howto_table): Fix dst_mask for R_SPARC_DISP32. Support R_SPARC_PLT32 and R_SPARC_PLT64. (sparc_reloc_map): Add BFD_RELOC_16_PCREL, BFD_RELOC_64_PCREL and BFD_RELOC_SPARC_PLT32. (sparc64_elf_check_relocs): Handle R_SPARC_PLT32 and R_SPARC_PLT64. (sparc64_elf_relocate_section): Likewise. * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SPARC_PLT32. * bfd-in2.h, libbfd.h: Rebuilt. * config/tc-sparc.h (TC_PARSE_CONS_EXPRESSION): Define. (sparc_cons): Provide prototype. * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_*_PCREL and BFD_RELOC_SPARC_PLT{32,64}. Enumerate for which relocs reloc->addend = fixp->fx_addnumber shouldn't be done instead of enumarating for which pc relative ones it should be done. (sparc_cons_special_reloc): New variable. (sparc_cons): New function. (cons_fix_new_sparc): Use sparc_cons_special_reloc. * testsuite/gas/sparc/pcrel.s: New test. * testsuite/gas/sparc/pcrel.d: Expected output. * testsuite/gas/sparc/pcrel64.s: New test. * testsuite/gas/sparc/pcrel64.d: Expected output. * testsuite/gas/sparc/plt.s: New test. * testsuite/gas/sparc/plt.d: Expected output. * testsuite/gas/sparc/plt64.s: New test. * testsuite/gas/sparc/plt64.d: Expected output. * testsuite/gas/sparc/sparc.exp: Add pcrel, pcrel64, plt and plt64 tests.
2001-12-21 * configure, config.in: Rebuilt.Tom Tromey9-5/+99
* configure.in: Check for realpath. * defs.h (gdb_realpath): Declare. * symtab.h (partial_symtab): Added fullname field. * source.c (openp): Use gdb_realpath. (forget_cached_source_info): Clear full name of each partial symtab. * utils.c (gdb_realpath): New function. * symtab.c (lookup_symtab): Removed. (lookup_symtab_1): Renamed to lookup_symtab. (lookup_symtab): Look for real path. (lookup_partial_symtab): Likewise.
2001-12-212001-12-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+54
* maint.c (match_substring): New function. Tokenizer for 'maintenance info sections' command arguments. (match_bfd_flag): Use match_substring. (print_bfd_section_info): Use match_substring. (print_objfile_section_info): Use match_substring. (maintenance_info_sections): Use match_substring.
2001-12-21 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.Jeff Law2-2/+4
2001-12-21Import Swedish translationNick Clifton4-2/+496
2001-12-21Use real binary file for .incbin testNick Clifton4-50/+53
2001-12-212001-12-21 Orjan Friberg <orjanf@axis.com>Orjan Friberg5-3/+339
* configure.tgt: Delete CRIS from multi-arch targets. * config/cris/tm-cris.h: New file. * config/cris/cris.mt (TDEPFILES): Add corelow.o solib.o solib-svr4.o. (TM_FILE): New macro. * cris-tdep.c (cris_examine): Correct check for srp register. (supply_gregset, fetch_core_registers, cris_linux_svr4_fetch_link_map_offsets, cris_fpless_backtrace): New functions. (_initialize_cris_tdep): Add core functions and new command. (cris_gdbarch_init): Define link map offsets.
2001-12-21 * run.c (usage): Fix a typo.Kazu Hirata2-1/+5
2001-12-21 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compilingJeff Law7-3/+81
with HP's compiler. * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise. * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with either HP's compilers or GCC.
2001-12-21 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get eitherJeff Law4-12/+26
a SIGBUS or SIGSEGV. * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command. * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test can be compiled with either HP's compiler or GCC.
2001-12-21*** empty log message ***gdbadmin1-1/+1
2001-12-20 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.Jeff Law4-0/+13
* gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely. * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2001-12-20 * somsolib.c (som_solib_add): Ignore the solib limit threshholdJeff Law2-7/+16
if AUTO_SOLIB_LIMIT is not greater than zero. * somsolib.c (som_solib_create_inferior_hook): No longer warn about missing __d_pid symbol.
2001-12-20 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect stringsJeff Law15-61/+76
to match current gdb output. Update due to using auto-solib-limit for limiting instead of overloading auto-solib-add. * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the test program. * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*" * gdb.hp/gdb.base-hp/dollar.exp: Likewise * gdb.hp/gdb.base-hp/pxdb.exp: Likewise. * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise. * gdb.hp/gdb.base-hp/reg.exp: Likewise. * gdb.hp/gdb.compat/xdb3.exp: Likewise. * gdb.hp/gdb.defects/bs15503.exp: Likewise. * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise. * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise. * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-18/+168
* ppc-linux-nat.c (ppc_ptrace_cannot_fetch_store_register): New function. (fetch_register): New function. (fetch_ppc_registers): New function. (fetch_inferior_registers): New function. (store_register): New function. (store_ppc_registers): New function. (store_inferior_registers): New function. (ppc_register_u_addr): Eliminate ustart parameter and its uses. Make static. (PT_READ_U, PT_WRITE_U, PTRACE_XFER_TYPE): Define if needed. Include sys/ptrace.h. * config/powerpc/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. (U_REGS_OFFSET, REGISTER_U_ADDR): Delete. * config/powerpc/linux.mh (NATDEPFILES): Delete core-aout.o.
2001-12-202001-12-20 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+11
* rs6000-nat.c (fetch_register): Don't error out unless the register number is really bogus.
2001-12-20daily updateAlan Modra1-1/+1
2001-12-202001-12-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+86
* maint.c (maintenance_info_sections): Accept new argument 'ALLOBJ', iterate over all object files. (print_section_table): Delete. Replaced by: (print_section_info): New function. (print_bfd_section_info): New function. (print_objfile_section_info): New function. (_initialize_maint_commands): Add help for new features.
2001-12-20 * gdb.asm/arm.inc: New file.Corinna Vinschen5-0/+51
* gdb.asm/asm-source.exp: Add arm targets. * gdb.asm/configure.in: Ditto. * gdb.asm/configure: Recreated from configure.in.
2001-12-20 * arm-tdep.c (arm_scan_prologue): Don't require "mov ip, sp"Kevin Buettner2-69/+79
to be the first instruction in the prologue. Also, revise the way the frame offset is computed for frameless functions.
2001-12-20Fix some ARM call dummy problems.Kevin Buettner2-45/+67
2001-12-20Special handling of AIX xcoff text alignment fix.Tom Rix2-1/+35
2001-12-20* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.Jim Blandy2-0/+15
2001-12-202001-12-20 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>Daniel Jacobowitz2-2/+81
Daniel Jacobowitz <drow@mvista.com> * config/tc-mips.c (file_mips_gp32): Initialize to invalid value. (file_mips_fp32): Likewise. (md_begin): Compatibility handling for -mipsN option.
2001-12-202001-12-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-22/+87
* maint.c (maintenance_info_sections): Pass string argument to print_section_table, so that it can be used to select sections. (print_section_table): Change PTR to void *. Look at string arg to select sections by name and by flag attributes. (match_bfd_flags): New function. (print_bfd_flags): New function.
2001-12-20 2001-12-19 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+6
* elf32-i386.c (elf_i386_grok_psinfo): Fix probable copy-and-paste error: target is i386 (not mips), and size of descdata is 124 (not 128).
2001-12-20 * cli/cli-decode.c (add_cmd): Initialize pre_show_hook inJeff Law2-0/+6
the new command.
2001-12-20* remote.c (struct packet_reg): Add field in_g_packet.Andrew Cagney2-29/+61
(struct remote_state): Rename field g_packet to regs; (free_remote_state): Update. (init_remote_state): Add pseudo-registers to table. Initialize in_g_packet. Drop sentinal from table. (packet_reg_from_regnum, packet_reg_from_pnum): Update. (remote_fetch_registers): Handle registers not in the g-packet. (remote_store_registers): Ditto.
2001-12-20 * compile.c: Fix formatting.Kazu Hirata2-22/+29
2001-12-20* gas/sh/err-at.s: New test.Alexandre Oliva2-0/+14
2001-12-20* config/tc-sh.c (parse_at): Reject @(r0) and @(r0,).Alexandre Oliva2-11/+28
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): Do not specify the printAndrew Cagney3-2/+7
format.
2001-12-20 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"Jeff Law2-4/+6
2001-12-20 * gdb.base/annota1.exp: Expect failure for hpux11 when postingJeff Law2-0/+14
a SIGTRAP to the inferior.
2001-12-20 * compile.c: Fix comment typos.Kazu Hirata2-22/+25
2001-12-20 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.Corinna Vinschen2-2/+10
Substitute call to target_link by call to gdb_compile.
2001-12-20When --wide is used, do not truncate symbol names.Nick Clifton3-19/+59
2001-12-20* s390-tdep.c (s390_pop_frame_regular): Make sure the saved_regsJim Blandy2-13/+19
array is actually set before we try to use it.
2001-12-20* s390-tdep.c (s390_frame_saved_pc_nofix): If we get the saved PCJim Blandy2-12/+15
out of the return address register, cache that in the frame's extra info, just as if we'd gotten it from the saved regs array; that way, it's not a lie to set the saved_pc_valid flag.
2001-12-20* s390-tdep.c (s390_get_frame_info): Give orig_sp a reasonableJim Blandy2-1/+5
value, even when fextra_info->stack_bought can't be trusted,
2001-12-20* s390-tdep.c (s390_readinstruction): Don't callJim Blandy2-2/+9
info->read_memory_func to read zero bytes. Some targets' xfer_memory functions can't cope with that.
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.Jim Blandy1-0/+11
* gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero, set the TYPE_FLAG_UNSIGNED bit on the type. * s390-tdep.c (s390_gdbarch_init): On the S/390, characters are unsigned by default. * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and RS6000.
2001-12-20* config/tc-ppc.c (md_parse_option): Make -maltivec defaultMatthew Green2-1/+11
to generating PowerPC instructions.
2001-12-20 * configure.tgt (mips*-dec-netbsd*): Delete alias forAlan Modra2-3/+8
mips*el-*-netbsd*. (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls.
2001-12-20 * configure.in (mips-dec-netbsd*): Delete.Alan Modra3-171/+172
* configure: Regenerate.
2001-12-20 * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*.Alan Modra2-1/+3
2001-12-20* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.Jim Blandy6-1/+56
* gdbarch.c, gdbarch.h: Regenerated. * gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero, set the TYPE_FLAG_UNSIGNED bit on the type. * s390-tdep.c (s390_gdbarch_init): On the S/390, characters are unsigned by default. * rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and RS6000.
2001-12-20 * configure.tgt (arm-*-netbsdelf*): Add target.Alan Modra5-1/+30
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. * emulparams/armelf_nbsd.sh: Added. * Makefile.am: Add rules for earmelf_nbsd. * Makefile.in: Regenerate.
2001-12-20 * configure.in (arm-*-netbsdelf*): Add target.Alan Modra3-186/+180
* configure: Regenerate.
2001-12-20 * config.bfd (arm-*-netbsdelf*): Add target.Alan Modra4-63/+75
* configure.in: Include netbsd-core.lo for native arm-*-netbsd*. * configure: Regenerate.