aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-13/+16
* c-lang.c (c_printstr): Delete "extern inspect_it" declaration. * p-valprint.c (pascal_object_print_value_fields): Ditto. * p-lang.c (pascal_printstr): Ditto. * objc-lang.c (objc_printstr): Ditto. * m2-lang.c (m2_printstr): Ditto. * jv-valprint.c (java_print_value_fields): Ditto. * f-lang.c (f_printstr): Ditto. * cp-valprint.c (cp_print_value_fields): Ditto. Include "valprint.h". * ada-valprint.c (inspect_it, repeat_count_threshold): Ditto, and for repeat_count_threshold. * Makefile.in (cp-valprint.o): Update dependencies.
2003-05-152003-05-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-7/+84
* ia64-tdep.c: Increase max_skip_non_prologue_insns to 40. (examine_prologue): Support looking through leaf functions, knowing they start with mov r2,r12. Support skipping over indirect stores of the input registers. Upon hitting a non-nop branch instruction or predicated instruction, bail out by setting lim_pc to the current pc value in the loop. At the end, if the lim_pc value is still beyond our calculated value and we have trust_limit set, use the lim_pc value.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-7/+16
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Rename generic_find_dummy_frame. * dummy-frame.c (deprecated_find_dummy_frame_regcache): Update. (deprecated_generic_find_dummy_frame): Update. (deprecated_read_register_dummy): Update. * frame.c (deprecated_generic_get_saved_register): Update.
2003-05-15* avr-tdep.c (avr_breakpoint_from_pc): New function.Theodore A. Roth2-0/+18
(avr_gdbarch_init): Set breakpoint_from_pc method.
2003-05-152003-05-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-8/+9
* regcache.c (build_regcache): Set deprecated_register_valid directly. (deprecated_grub_regcache_for_register_valid): Delete function. * regcache.h (deprecated_grub_regcache_for_register_valid): Delete declaration.
2003-05-152003-05-15 David Carlton <carlton@bactrian.org>Elena Zannoni2-52/+17
Committed by Elena Zannoni <ezannoni@redhat.com> * symtab.c (lookup_symbol_aux): Delete calls to lookup_symbol_aux_minsyms. (lookup_symbol_aux_minsyms): Comment out function and prototype. Delete lookup by mangled name.
2003-05-15*** empty log message ***gdbadmin1-1/+1
2003-05-14 * dwarf2expr.c (new_dwarf_expr_context): Set ``stack_len'' toKevin Buettner2-14/+24
correctly indicate an empty stack and ``stack_allocated'' to the indicate the number of elements initially allocated. (dwarf_expr_grow_stack): Simplify method for computing new stack size. Don't loop infinitely if ``stack_len'' is zero. (execute_stack_op): Move ``ctx->in_reg'' initialization out of loop. Allow DW_OP_reg0 ... DW_OP_reg31 and DW_OP_regx to be used in conjuction with DW_OP_piece. Revise error message accordingly.
2003-05-14* gdbint.texinfo (Breakpoint Handling): Correct a double negative.Theodore A. Roth2-1/+5
2003-05-14* MAINTAINERS: Update my email address.Theodore A. Roth3-4/+9
* avr-tdep.c: Ditto.
2003-05-142003-05-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+38
Roland McGrath <roland@redhat.com> * gdb.threads/linux-dp.exp: Account for fact that in nptl model there is no manager thread.
2003-05-142003-05-14 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni50-446/+471
* symtab.h (enum domain_enum): Rename from namespace_enum. (UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN, VARIABLES_DOMAIN, FUNCTIONS_DOMAIN, TYPES_DOMAIN, METHODS_DOMAIN): Rename from UNDEF_NAMESPACE, VAR_NAMESPACE, STRUCT_NAMESPACE, LABEL_NAMESPACE, VARIABLES_NAMESPACE, FUNCTIONS_NAMESPACE, TYPES_NAMESPACE, METHODS_NAMESPACE. (SYMBOL_NAMESPACE): Rename to SYMBOL_DOMAIN. (struct symbol, struct partial_symbol): Rename field 'namespace_enum namespace' to 'domain_enum domain'. (PSYMBOL_NAMESPACE): Rename to PSYMBOL_DOMAIN. Delete old define kludge for namespace. * ada-exp.y, ada-lang.c, ada-lang.h, alpha-tdep.c, arm-tdep.c, blockframe.c, c-exp.y, c-valprint.c, coffread.c, dbxread.c, dwarf2read.c, dwarfread.c, f-exp.y, gdbtypes.c, gdbtypes.h, gnu-v3-abi.c, hppa-tdep.c, hpread.c, jv-exp.y, jv-lang.c, language.c, linespec.c, m2-exp.y, m3-nat.c, mdebugread.c, mips-tdep.c, nlmread.c, objc-exp.y, objc-lang.c, objfiles.c, p-exp.y, p-valprint.c, parse.c, printcmd.c, scm-lang.c, source.c, stabsread.c, stack.c, symfile.c, symfile.h, symmisc.c, symtab.c, valops.c, values.c, xcoffread.c, xstormy16-tdep.c: Replace all occurrences of the above. 2003-05-12 Elena Zannoni <ezannoni@redhat.com> * mi-mi-cmd-stack.c (list_args_or_locals): Rename VAR_NAMESPACE to VAR_DOMAIN.
2003-05-14 * Makefile.in (install-only): Use $(SHELL) when runningIan Lance Taylor2-2/+7
mkinstalldirs.
2003-05-14*** empty log message ***gdbadmin1-1/+1
2003-05-13 * MAINTAINERS (write after approval): Add myself.Ian Lance Taylor2-0/+3
2003-05-13 * ser-pipe.c (_initialize_ser_pipe): Correct call to memset--swapIan Lance Taylor4-3/+10
second and third arguments. * ser-tcp.c (_initialize_ser_tcp): Likewise. * ser-unix.c (_initialize_ser_hardwire): Likewise.
2003-05-132003-05-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney19-62/+77
* defs.h (store_address): Delete declaration. findvar.c (store_address): Delete function. * arm-tdep.c (arm_push_dummy_call): Replace store_address with store_unsigned_integer. * xstormy16-tdep.c (xstormy16_address_to_pointer): Ditto. * v850-tdep.c (v850_push_arguments): Ditto. * sparc-tdep.c (sparc_get_saved_register): Ditto. * sh-tdep.c (sh64_get_saved_register): Ditto. * rs6000-tdep.c (rs6000_push_arguments): Ditto. * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): Ditto. * mips-tdep.c (mips_eabi_push_arguments): Ditto. (mips_get_saved_register): Ditto. * ia64-tdep.c (ia64_get_saved_register): Ditto. (find_func_descr, ia64_push_arguments): Ditto. * i386-tdep.c (i386_push_arguments): Ditto. * hpux-thread.c (hpux_thread_fetch_registers): Ditto. * frv-tdep.c (frv_push_arguments): Ditto. * frame.c (legacy_saved_regs_prev_register): Ditto. (deprecated_generic_get_saved_register): Ditto. * findvar.c (unsigned_address_to_pointer): Ditto. * dwarf2read.c (dwarf2_const_value): Ditto. * arm-linux-tdep.c (arm_linux_push_arguments): Ditto. * alpha-tdep.c (alpha_push_arguments): Ditto.
2003-05-13 * NEWS: Mention that the hppa-hpux port has been partiallyJoel Brobecker2-0/+9
multiarched (32bit ABIT only, so far).
2003-05-13*** empty log message ***gdbadmin1-1/+1
2003-05-12Removed redundant call.Kris Warkentin1-2/+0
2003-05-12Index: gdb/ChangeLogAndrew Cagney8-5/+30
2003-05-11 Andrew Cagney <cagney@redhat.com> * Makefile.in (mi-symbol-cmds.o): Rename mi-cmd-symbol. * config/djgpp/fnchange.lst: Rename include/xtensa-isa-internal.h, include/xtensa-isa.h, sim/testsuite/sim/arm/misaligned1.ms, sim/testsuite/sim/arm/misaligned2.ms, and sim/testsuite/sim/arm/misaligned3.ms. * disasm.h (struct ui_file): Add opaque struct declaration. * config/pa/tm-hppa64.h (struct type, struct frame_info): Ditto. * frame.h (struct ui_file): Ditto. Index: gdb/mi/ChangeLog 2003-05-11 Andrew Cagney <cagney@redhat.com> * mi-symbol-cmds.c: Rename "mi-cmd-symbol.c", avoid 8.3 problem.
2003-05-12*** empty log message ***gdbadmin1-1/+1
2003-05-11*** empty log message ***gdbadmin1-1/+1
2003-05-10* value.h: Pretty print.Mark Kettenis2-157/+167
2003-05-10* config/i386/tm-linux.h (I386_GNULINUX_TARGET): Remove define.Mark Kettenis2-2/+4
2003-05-102003-05-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-4/+11
* Makefile.in (gdb-cfg.texi): Replace $$LN_S with $(LN_S). (gdb.dvi): Likewise. (gdb.pdf): Likewise. (links2roff): Likewise.
2003-05-10*** empty log message ***gdbadmin1-1/+1
2003-05-09*** empty log message ***gdbadmin1-1/+1
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney20-65/+58
* regcache.h (max_register_size): Delete declaration. * regcache.c (max_register_size): Delete function. (struct regcache_descr): Delete field "max_register_size". (init_regcache_descr, init_legacy_regcache_descr): Assert that all registers fit in MAX_REGISTER_SIZE. (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. * dve3900-rom.c, hppa-tdep.c: Ditto.
2003-05-082003-05-08 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+5
* valops.c (push_word): Fix typo.
2003-05-08* gdb.texinfo (Dump/Restore Files): Update documentation forJim Blandy2-53/+51
'dump', 'append', and 'restore': note that format argument is optional; simplify presentation of the command variants; and be more precise about the formats.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney32-118/+111
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. (legacy_max_register_raw_size): Delete declaration. * regcache.c (legacy_max_register_raw_size): Delete function. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update. * remote-rdp.c, remote-array.c, regcache.c: Update. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update. * findvar.c, dwarf2cfi.c: Update. Index: tui/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * tuiRegs.c: Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. Index: mi/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-34/+41
* mips-tdep.c (read_signed_register): New function, moved to here from "regcache.c". (read_signed_register_pid): Ditto. * regcache.c (read_signed_register_pid): Delete function, moved to "mips-tdep.c". (read_signed_register): Ditto. * regcache.h (read_signed_register): Delete declaration. (read_signed_register_pid): Delete declaration.
2003-05-082003-05-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+15
* gdb.threads/schedlock.exp: Remove assumption that all threads will run in a particular small time slice. Also ensure we break in one of the child threads rather than the main thread.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-64/+53
* gdbarch.sh: Add comments on MAX_REGISTER_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. (legacy_max_register_virtual_size): Delete declaration. * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. * d10v-tdep.c (d10v_print_registers_info): Ditto. * tracepoint.c (memrange_sortmerge): Ditto. * sparc-tdep.c (sparc_print_registers): Ditto. * regcache.c (legacy_max_register_virtual_size): Delete function.
2003-05-08 * fork-child.c (escape_bang_in_quoted_argument): New function.Joel Brobecker2-1/+31
(fork_inferior): Escape '!' characters in quoted arguments only when needed.
2003-05-08 * dwarf2read.c (set_cu_language): Set the language to "minimal" ifJoel Brobecker2-1/+6
the language of the CU is not currently supported by GDB.
2003-05-08 * defs.h (language): Add language_minimal enum value.Joel Brobecker3-1/+46
* c-lang.c (minimal_language_defn): New language definition. (_initialize_c_language): Add the new minimal language to the list of languages known to GDB.
2003-05-08 * frame.c (get_frame_type): Don't attempt to lazily initializeKevin Buettner2-1/+11
frame's unwinder for legacy frames.
2003-05-082003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+12
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" and "regcache" parameters. * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
2003-05-08*** empty log message ***gdbadmin1-1/+1
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+10
* dwarf2read.c (dwarf_decode_lines): Only use output of check_cu_functions() when calling record_line(). Do not update the current address.
2003-05-072003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+5
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR code.
2003-05-07Add support for assembly source testing on the s390x.Jim Blandy3-0/+76
* gdb.asm/asm-source.exp: Add a case for the s390x-*-* architecture. * gdb.asm/s390x.inc: New file.
2003-05-07* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not aJim Blandy2-52/+60
succession of 'if' statements.
2003-05-07gdb/ChangeLog:Jim Blandy9-47/+38
Rename commands 'maint list symtabs' and 'maint list psymtabs' to 'maint info symtabs' and 'maint info psymtabs'. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): Declarations updated. * maint.c (maintenance_list_command): Delete. (_initialize_maint_cmds): Update calls to add_cmd. * gdbcmd.h (maintenancelistlist): Delete declaration. * cli/cli-cmds.c (maintenancelistlist): Delete. (init_cmd_lists): Don't initialize it. * cli/cli-cmds.h (maintenancelistlist): Delete declaration. gdb/doc/ChangeLog: * gdb.texinfo (Symbols): Update documentation: 'maint list symtabs' and 'maint list psymtabs' have been renamed 'maint info symtabs' and 'maint info psymtabs'.
2003-05-07Index: gdb/ChangeLogAndrew Cagney7-63/+66
2003-05-07 Andrew Cagney <cagney@redhat.com> * d10v-tdep.c (remote_d10v_translate_xfer_address): Add "regcache". (d10v_print_registers_info): Update. (d10v_dmap_register, d10v_imap_register): Delete functions. (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" and "imap_register". (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". * arch-utils.c (generic_remote_translate_xfer_address): Add "regcache" and "gdbarch" parameters. * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" parameter. Change class to multi-arch. * gdbarch.h, gdbarch.c: Re-generate. * remote.c (remote_xfer_memory): Use gdbarch_remote_translate_xfer_address. Index: include/gdb/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * sim-d10v.h (sim_d10v_translate_addr): Add regcache parameter. (sim_d10v_translate_imap_addr): Add regcache parameter. (sim_d10v_translate_dmap_addr): Ditto. Index: sim/d10v/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * interp.c (sim_d10v_translate_addr): Add "regcache" parameter. (sim_d10v_translate_imap_addr): Ditto. (sim_d10v_translate_dmap_addr): Ditto. (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr. (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr. (dmap_register, imap_register): Add "regcache" parameter. (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr. (sim_fetch_register): Pass NULL regcache to imap_register and dmap_register.
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-13/+36
* infrun.c (prev_pc): Move declaration ahead of proceed(). (proceed): Refresh prev_pc value before resuming. (stop_stepping): Remove code to refresh prev_pc.
2003-05-07*** empty log message ***gdbadmin1-1/+1
2003-05-06Removed stray commentKris Warkentin2-7/+4