aboutsummaryrefslogtreecommitdiff
path: root/gdb
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-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-20* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.Jim Blandy2-0/+15
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 * 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* 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 * 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-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* 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*** 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* 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-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 * 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
2001-12-19* gdb.base/printcmds.exp: Expect the null character to be printedJim Blandy4-8/+15
as '\0', and the '\013' to be printed as '\v'. * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same. * gdb.base/setvar.exp: Same.
2001-12-19* c-lang.c (c_emit_char): Print ASCII 11 as '\v', to matchJim Blandy2-0/+12
ISO C, and our parser. Print ASCII 0 as '\0', since that's what people are used to seeing.
2001-12-19* c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):Jim Blandy2-36/+40
Fix indentation.
2001-12-19* Makefile.in (c-exp.tab.o): Delete duplicate build rule. FixJim Blandy2-7/+8
dependency list on remaining build rule.
2001-12-19*** empty log message ***gdbadmin1-1/+1
2001-12-182001-12-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-0/+10
* ser-tcp.c (tcp_open): Disable Nagle algorithm which improves performance in some cases.
2001-12-18*** empty log message ***gdbadmin1-1/+1
2001-12-17* gdb.base/completion.exp: Rather than completing very longJim Blandy2-18/+47
filenames, which can make the readline library produce output we don't recognize, cd to the directory first, and then complete using nice, short relative paths.
2001-12-17* gdb.base/completion.exp: On some systems, there is, in fact, aJim Blandy2-39/+85
variable named `b' in scope, since GDB treats all static variables as being in scope. So use `no_var_named_this' instead of `b'.
2001-12-172001-12-17 Ben Harris <bjh21@netbsd.org>Ben Harris4-3/+10
* armbsd-nat.c: Remove file, renamed to armnbsd-nat.c. * armnbsd-nat.c: New file, renamed from armbsd-nat.c. * Makefile.in: Rename armbsd-nat.c to armnbsd-nat.c. * config/arm/nbsd.mh: Likewise.
2001-12-17* gdb.base/corefile.exp: Recognize the message saying that GDBJim Blandy2-0/+8
can't find the core file's registers as a failure.
2001-12-17Remove accidentally committed ChangeLog entries for callfuncs.exp.Jim Blandy1-9/+0
2001-12-17 * NEWS: Note new target XStormy16.Corinna Vinschen3-1/+10
* MAINTAINERS: Add -Werror to XStormy16.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-8/+55
From Richard Earnshaw <rearnsha@arm.com>: * arm-tdep.c (arm_software_single_step): New function. Implements software single-stepping for ARM targets. (arm_get_next_pc, thumb_get_next_pc, bitcount, shifted_reg_val): Only needed for software single-stepping. * config/arm/tm-arm.h: Activate SOFTWARE_SINGLE_STEP_P.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+9
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-172001-12-17 Fernando Nasser <fnasser@redhat.com>Fernando Nasser9-1/+224
From Richard Earnshaw <rearnsha@arm.com>: * config/arm/nbsd.mh, config/arm/nbsd.mt, config/arm/tm-nbsd.h, config/arm/nm-nbsd.h, config/arm/xm-nbsd.h: New files. * armbsd-nat.c: New file. * Makefile.in: Build it. * configure.host, configure.tgt: Support NetBSD/arm.
2001-12-17 * MAINTAINERS: Add myself as XStormy16 maintainer.Corinna Vinschen2-0/+7
2001-12-17*** empty log message ***gdbadmin1-1/+1
2001-12-16Conditionally include solib.h.Kevin Buettner2-0/+11