aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-10-292004-10-27 Andrew Cagney <cagney@gnu.org>Andrew Cagney10-25/+86
* trad-frame.c (trad_frame_get_prev_register): Use frame_unwind_register instead of frame_register_unwind, do not recurse the register's location. * xstormy16-tdep.c (xstormy16_frame_prev_register): * sparc-tdep.c (sparc32_frame_prev_register): Ditto. * sparc64-tdep.c (sparc64_frame_prev_register): Ditto. * sh-tdep.c (sh_frame_prev_register): Ditto. * m68k-tdep.c (m68k_frame_prev_register): Ditto. * i386-tdep.c (i386_frame_prev_register): Ditto. * dwarf2-frame.c (dwarf2_frame_prev_register): Ditto. * amd64-tdep.c (amd64_frame_prev_register): Ditto.
2004-10-29*** empty log message ***gdbadmin1-1/+1
2004-10-28* proc-events.c: Fix several coding-style issues. ConsistentlyMark Kettenis2-530/+526
use #ifdef instead of #if defined(). (proc_prettyfprint_fault, proc_prettyfprint_faultset): Use ARRAY_SIZE. (_initialize_proc_events): New prototype.
2004-10-28* proc-why.c: Fix several coding-style issues.Mark Kettenis2-46/+52
(proc_prettyfprint_why): Use ARRAY_SIZE.
2004-10-28*** empty log message ***gdbadmin1-1/+1
2004-10-27* remote.c (fetch_register_using_p): Construct 'p' packet in aJim Blandy2-3/+9
manner independent of the host byte order.
2004-10-27* mips-tdep.c (id_delayed): Remove prototype.Mark Kettenis2-2/+4
2004-10-27*** empty log message ***gdbadmin1-1/+1
2004-10-26* mips-tdep.h: Add MIPS_ZERO_REGNUM, MIPS_AT_REGNUM,Mark Kettenis2-1/+22
MIPS_V0_REGNUM. MIPS_A0_REGNUM, MIPS_T9_REGNUM and MIPS_RA_REGNUM to enum with register numbers. (enum mips_insn_size): New enum.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-10/+8
* config/mips/tm-linux.h: Delete #undef SKIP_TRAMPOLINE_CODE. * mips-tdep.c (mips_skip_trampoline_code): Rename mips_skip_stub. (mips_gdbarch_init): Update. (mips_dump_tdep): Do not print SKIP_TRAMPOLINE_CODE.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-13/+12
* config/arm/tm-linux.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. * config/mips/tm-nbsd.h, config/mips/tm-linux.h: Delete #undef IN_SOLIB_RETURN_TRAMPOLINE. * mips-tdep.c (mips_dump_tdep): Do not print IN_SOLIB_RETURN_TRAMPOLINE. (mips_in_solib_return_trampoline): Rename mips_in_return_stub. (mips_gdbarch_init): Update.
2004-10-262004-10-26 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-8/+12
* mips-tdep.h (mips_software_single_step): Move to here ... * config/mips/tm-mips.h: ... from here. * config/mips/tm-linux.h (SOFTWARE_SINGLE_STEP_P) (SOFTWARE_SINGLE_STEP): Delete. * mips-linux-tdep.c (mips_linux_init_abi): Set software_single_step.
2004-10-26*** empty log message ***gdbadmin1-1/+1
2004-10-252004-10-25 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-2/+9
* NEWS: Add Changes since GDB 6.3 section.
2004-10-25*** empty log message ***gdbadmin1-1/+1
2004-10-24*** empty log message ***gdbadmin1-1/+1
2004-10-23 * ada-lang.c (grow_vect): Return the new array instead ofAndreas Schwab3-7/+14
expecting pointer to pointer to avoid violation of aliasing rules. * ada-lang.h (GROW_VECT): Adapt call to grow_vect.
2004-10-23 * s390-tdep.c (enum pv_boolean): Remove.Ulrich Weigand2-198/+139
(pv_is_array_ref): Remove. (s390_on_stack): Remove. (S390_NUM_SPILL_SLOTS): Remove. (struct s390_prologue_data): Remove members 'spill' and 'back_chain', add members 'gpr_slot', 'fpr_slot', and 'back_chain_saved_p'. (s390_store): Track all stores of orginal incoming registers to the stack constant offsets relative to the CFA, instead of only tracking stores into specific spill slots. (s390_load): Likewise. (s390_analyze_prologue): Adapt to struct s390_prologue_data changes. (s390_prologue_frame_unwind_cache): Likewise. Only track registers defined as call-saved by the ABI. (s390_push_dummy_call): Use bottom of dummy call argument save area as return value, not the top. Do not store to the called function's register save area. (s390_unwind_dummy_id): Adapt accordingly.
2004-10-232004-10-23 Andrew Cagney <cagney@gnu.org>Andrew Cagney12-75/+100
* objfiles.h (struct objfile): Rename obj_private to deprecated_obj_private, sym_private to deprecated_sym_private, and sym_stab_info to deprecated_sym_stab_info. * gdb-stabs.h: Update. * elfread.c: Update. * dbxread.c: Update. * coffread.c: Update. * xcoffread.c: Update. * symfile.c: Update. * somread.c: Update. * nlmread.c: Update. * mdebugread.c: Update. * hpread.c: Update. * coffread.c: Update.
2004-10-23 * gdb.texinfo (Core File Generation): New section.Eli Zaretskii2-0/+32
2004-10-23 (Calling): Expand and elaborate text. Add "print". Add theEli Zaretskii2-5/+24
description of problems with weak aliases.
2004-10-232004-10-23 Eli Zaretskii <eliz@gnu.org>Eli Zaretskii2-3/+6
* gdb.texinfo (Starting): Fix whitespace; make "elaboration" stand out where it is first used, and add an index entry for the term.
2004-10-232004-10-23 Eli Zaretskii <eliz@gnu.org>Eli Zaretskii2-0/+12
* gdb.texinfo(Files): Add a tip for decreasing memory used for symtabs from shared libraries.
2004-10-23 * gdb.texinfo (SVR4 Process Information): Document subcommands ofEli Zaretskii2-25/+63
"info proc" that are already implemented. Add index entries. (Working Directory): Add a cross-reference to "info proc" command.
2004-10-23* mips64obsd-nat.c, mips64obsd-tdep.c: New files.Mark Kettenis7-0/+228
* configure.host: Add mips64*-*-openbsd*. * configure.tgt: Add mips64*-*-openbsd*. * Makefile.in (ALLDEPFILES): Add mips64obsd-nat.o, mips64obsd-tdep.c. (mips64obsd-nat.o, mips64obsd-tdep.o): New dependecies. * config/mips/obsd64.mh, config/mips/obsd64.mt: New files.
2004-10-23*** empty log message ***gdbadmin1-1/+1
2004-10-22 * symtab.c (symbol_search_name): Minor reformatting.Joel Brobecker2-1/+7
2004-10-222004-10-21 msnyder <msnyder@redhat.com>Michael Snyder1-1112/+275
* mn10300-tdep.c: Replace struct mn10300_unwind_cache with struct trad_frame_cache. Don't seem to need any more. (mn10300_frame_unwind_cache): Use trad_frame_cache. Tentatively try using SP or A3 reg as frame base. (mn10300_frame_dummy_this_id): Rename to mn10300_frame_this_id. Call trad_frame_get_id. (mn10300_frame_prev_reg): Call trad_frame_get_reg. (mn10300_frame_base_address): Call trad_frame_get_this_base. (mn10300_frame_args_address, mn10300_frame_locals_address): Delete. Substitute mn10300_frame_base_address. (mn10300_frame_unwind_init): Call dwarf2_frame_sniffer (even though it doesn't seem to work yet).
2004-10-22*** empty log message ***gdbadmin1-1/+1
2004-10-21 * linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.Joel Brobecker2-0/+16
(ARCH_SET_FS): Likewise. (ARCH_GET_FS): Likewise. (ARCH_GET_GS): Likewise.
2004-10-21 * gdb.ada/null_record.exp: Check where we stopped afterJoel Brobecker2-1/+7
sending the start command, instead of where the associated temporary breakpoint was inserted.
2004-10-21 * symtab.h: Fix typo in comment.Joel Brobecker2-1/+5
2004-10-21*** empty log message ***gdbadmin1-1/+1
2004-10-20*** empty log message ***gdbadmin1-1/+1
2004-10-19* dwarf2read.c (struct comp_unit_head): Fix coding style.Mark Kettenis2-44/+51
(dwarf_decode_line_header): Likewise.
2004-10-192004-10-19 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-1/+13
* NEWS: GDB works with GCC -feliminate-dwarf2-dups.
2004-10-192004-10-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-1/+6
GDB 6.3 branch created. * version.in: Bump to version 6.3.50_2004-10-19-cvs.
2004-10-19*** empty log message ***gdbadmin1-1/+1
2004-10-18*** empty log message ***gdbadmin1-1/+1
2004-10-17*** empty log message ***gdbadmin1-1/+1
2004-10-16 * linux-i386-low.c (ps_get_thread_area): New.Daniel Jacobowitz7-101/+241
* linux-x86-64-low.c (ps_get_thread_area): New. * linux-low.c: Include <sys/syscall.h>. (linux_kill_one_process): Don't kill the first thread here. (linux_kill): Kill the first thread here. (kill_lwp): New function. (send_sigstop, linux_send_signal): Use it. * proc-service.c: Clean up #ifdefs. (fpregset_info): Delete. (ps_lgetregs): Update and enable implementation. (ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled implementations. * remote-utils.c (struct sym_cache, symbol_cache): New. (input_interrupt): Print a clearer message. (async_io_enabled): New variable. (enable_async_io, disable_async_io): Use it. Update comments. (look_up_one_symbol): Use the symbol cache. * thread-db.c (thread_db_look_up_symbols): New function. (thread_db_init): Update comments. Call thread_db_look_up_symbols.
2004-10-16 * configure.in: Test for -rdynamic.Daniel Jacobowitz4-3/+39
* configure: Regenerated. * Makefile (INTERNAL_LDFLAGS): New. (gdbserver, gdbreplay): Use it.
2004-10-16 * dwarf2read.c (set_cu_language): Set language to Ada forJoel Brobecker2-0/+7
DW_LANG_Ada83 and DW_LANG_Ada95.
2004-10-16*** empty log message ***gdbadmin1-1/+1
2004-10-152004-10-15 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-4/+10
From Andreas Schwab <schwab@suse.de>: * Makefile.in (.y.c, .l.c.): Fix the substitutions for for xmalloc and xrealloc.
2004-10-152004-10-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-16/+25
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out. * inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>. * Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc. Update dependencies.
2004-10-15* ada-lang.c (ada_lookup_symbol): Correct comment.Paul N. Hilfinger2-17/+110
(ada_evaluate_subexp): Change error message for OP_FUNCALL case so as not to indicate an internal error. From Joel Brobecker; committed by Paul Hilfinger. * ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus type sizes in XVE/XVU types, and emit a warning when that happens, instead of rounding up the size of the resulting type. Some minor reformatting. (ada_is_aligner_type): Do not consider a type as an aligner type if there is a corresponding XVS type as well. (ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we have several levels of pointer indirection to the array. From Jerome Guitton; committed by Paul Hilfinger. * ada-lang.c (check_size): New function. (coerce_unspec_val_to_type): call check_size to make sure that the object size is reasonable. (ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE: Implements the case when we get a reference when we evaluate the expression of one of the bounds of the slice. (ada_value_struct_elt): when a packed array field is a reference, use ada_coerce_ref to dereference it; use ada_value_ind only if it is a pointer.
2004-10-15 * mips-tdep.c (mips32_scan_prologue): Move the implementation upJoel Brobecker2-484/+484
a bit to avoid the necessity of an advance declaration. Remove declaration. (set_reg_offset): Move implemenation up. (mips16_get_imm): Likewise. (mips16_scan_prologue): Likewise. (reset_saved_regs): Likewise. (mips32_scan_prologue): Likewise.
2004-10-15 * mips-tdep.c (mips32_scan_prologue): Add advance declaration.Joel Brobecker2-19/+58
Remove sp as a parameter, compute it internally instead. Move prologue scanning limit from heuristic_proc_desc to here. (mips16_scan_prologue): Likewise. (mips_insn16_frame_cache): Replace call to heuristic_proc_desc by call to mips16_scan_prologue. (mips_insn32_frame_cache): Replace call to heuristic_proc_desc by call to mips32_scan_prologue. (heuristic_proc_desc): Remove code that's no longer necessary. Update calls to mips16_scan_prologue and mips32_scan_prologue. (mips_skip_prologue): Update calls to mips16_scan_prologue and mips32_scan_prologue.
2004-10-15 * mips-tdep.c (mips16_scan_prologue): Merge code fromJoel Brobecker2-96/+53
mips16_skip_prologue. Now return the address of the first instruction past the function prologue. (mips16_skip_prologue): Remove, no longer necessary. (mips_skip_prologue): Replace call to mips16_skip_prologue by call to mips16_scan_prologue.