aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2001-12-20*** empty log message ***gdbadmin1-1/+1
2001-12-192001-12-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni4-3/+52
* corefile.c (do_captured_read_memory_integer, safe_read_memory_integer): New functions. * gdbcore.h (safe_read_memory_integer): Export. * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer, to read the frame value, to capture calls to error().
2001-12-19 * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,Alan Modra2-1/+7
as can happen with a core file, before dereferencing.
2001-12-19* s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,Jim Blandy2-4/+14
the last register number, not one greater than the last register number. * s390-tdep.c (s390_register_virtual_type): Replace clever but incorrect range comparison with correct, legible equivalent.
2001-12-19daily updateAlan Modra1-1/+1
2001-12-19 * mi-var-display.exp: char* variables have a child. Update allKeith Seitz3-6/+12
occurences. * mi0-var-display.exp: Likewise.
2001-12-19* s390-tdep.c (s390_gdbarch_init): Revert accidentally committedJim Blandy1-1/+0
change.
2001-12-19* s390-tdep.c (s390_register_raw_size): Replace unnecessarilyJim Blandy2-5/+12
obscure range comparison with legible equivalent.
2001-12-19 * gdb.base/break.exp: Fix HP specific search string when testingJeff Law4-3/+24
backtracing in a called function. * gdb.base/constvars.exp: Only set lang to C++ if we're compiling the test with HP's compilers. * gdb.base/volatile.exp: Similarly.
2001-12-19 * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.Jeff Law3-32/+60
(EXTRACT_RETURN_VALUE): Similarly. * hppa-tdep.c (hppa_store_return_value): New function. (hppa_extract_return_value): New function.
2001-12-19 * configure.host: Add rules for x86_64-*linux-gnu. ChangeAndreas Jaeger2-4/+16
s390x-linux entry to use gcc to report configuration, replace gcc with $CC in s390-linux
2001-12-19 * infttrate.c (child_acknowledge_created_inferior): PassJeff Law2-2/+8
correct argument to add_thread. (update_thread_state_after_attach): Likewise.
2001-12-192001-12-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser4-9/+18
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P. Always define SOFTWARE_SINGLE_STEP. * config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P. * arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Always compile these functions. (arm_software_single_step): Fix second argument in function calls.
2001-12-19Add function gdbarch_info_init() replaces memset().Andrew Cagney5-9/+37