aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-11-252003-11-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-4/+40
* infrun.c: Don't include "exec.h". (handle_inferior_event): Pass current_target, instead of exec_ops, to SOLIB_ADD. Add comments. * Makefile.in (infrun.o): Update dependencies.
2003-11-252003-11-25 Michael Chastain <mec@gnu.mindspring.com>Michael Chastain3-0/+186
* gdb/class2.exp: New file. * gdb/class2.cc: New file.
2003-11-252003-11-25 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain2-2/+7
* gdb.cp/templates.exp (test_ptype_of_templates): Accept output of new demangler.
2003-11-25*** empty log message ***gdbadmin1-1/+1
2003-11-24 * NEWS: Mention improved location expression support.Daniel Jacobowitz2-0/+10
2003-11-24*** empty log message ***gdbadmin1-1/+1
2003-11-232003-11-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-3/+10
* Makefile.in (infrun.o): Update dependencies. * infrun.c: Include "exec.h". (handle_inferior_event): Pass exec_ops to SOLIB_ADD.
2003-11-232003-11-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-19/+6
* frame.c (frame_unwind_signed_register): Delete function. * frame.h (frame_unwind_register_signed): Delete declaration. * mips-tdep.c (mips_frame_saved_pc): Use frame_unwind_register_signed.
2003-11-232003-11-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+3
* arch-utils.h (generic_cannot_extract_struct_value_address): Delete declaration.
2003-11-23* gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect insteadMark Kettenis2-2/+20
of gdb_test "run".
2003-11-232003-11-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney36-166/+184
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * defs.h (DEPRECATED_STREQN): Rename STREQN. (DEPRECATED_STREQ): Rename STREQ. * ada-exp.y, ada-lang.c, ada-lex.l, coffread.c: Update. * config/mips/tm-irix5.h, config/mips/tm-irix6.h: Update. * config/mips/tm-mipsv4.h, config/sparc/tm-sun4sol2.h: Update. * dbxread.c, dwarf2read.c, dwarfread.c, environ.c: Update. * eval.c, exec.c, f-lang.c, hppa-tdep.c, hpread.c: Update. * jv-exp.y, language.c, m2-exp.y, mcore-rom.c: Update. * mdebugread.c, mipsread.c, objc-exp.y, objfiles.c: Update. * p-exp.y, p-typeprint.c, p-valprint.c, rs6000-nat.c: Update. * source.c, sparc-tdep.c, stack.c, target.c: Update.
2003-11-23* gdb.arch/i386-unwind.exp: Don't use runto_main. ChangeMark Kettenis2-10/+7
"continue" into "run".
2003-11-232003-11-23 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-5/+8
* symfile.c (symbol_file_command): Replace STREQ with strcmp. * elfread.c (elf_symtab_read): Delete STREQ from comment.
2003-11-232003-11-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain6-11/+21
Partial fix for PR testsuite/1456. * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with call to test_compiler_info. * gdb.cp/ctti.exp: Likewise. * gdb.cp/derivation.exp: Likewise. * gdb.cp/member-ptr.exp: Likewise. * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused reference to gcc_compiled.
2003-11-232003-11-23 Michael Chastain <mec@shout.net>Michael Chastain2-0/+9
Fix PR testsuite/1463. * gdb.base/structs.exp (start_structs_test): Call get_debug_format before using the debug format.
2003-11-232003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-69/+26
* frame.c (deprecated_frame_xmalloc): Delete function. (deprecated_set_frame_extra_info_hack): Delete function. (deprecated_set_frame_saved_regs_hack): Delete function. * frame.h (deprecated_frame_xmalloc): Delete declaration. (deprecated_set_frame_extra_info_hack): Delete declaration. (deprecated_set_frame_saved_regs_hack): Delete declaration. * mcore-tdep.c (analyze_dummy_frame): Instead of deprecated_frame_xmalloc, deprecated_set_frame_saved_regs_hack, and deprecated_set_frame_extra_info_hack use deprecated_frame_xmalloc_with_cleanup. * mn10300-tdep.c (analyze_dummy_frame): Ditto. * mips-tdep.c (mips_init_extra_frame_info): Delete call to deprecated_set_frame_saved_regs_hack.
2003-11-232003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+3
* mips-tdep.c (mips_frame_chain): Delete call to deprecated_inside_entry_file.
2003-11-232003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-63/+24
* lib/gdb.exp (gdb_test_multiple): Add simple example. * gdb.base/structs.exp: Use gdb_test_multiple.
2003-11-232003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-20/+10
* frame.h (deprecated_set_frame_next_hack): Delete declaration. (deprecated_set_frame_prev_hack): Delete declaration. * frame.c (deprecated_set_frame_next_hack): Delete function. (deprecated_set_frame_prev_hack): Delete function. * mcore-tdep.c (analyze_dummy_frame): Delete calls to "deprecated_set_frame_next_hack" and "deprecated_set_frame_prev_hack". * mn10300-tdep.c (analyze_dummy_frame): Ditto.
2003-11-23*** empty log message ***gdbadmin1-1/+1
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-46/+37
* mips-tdep.c (mips_register_convertible): Delete function. (mips_register_convert_to_virtual): Delete function. (mips_register_convert_to_raw): Delete function. (mips_gdbarch_init): Do not set "deprecated_register_convertible", "deprecated_register_convert_to_virtual", or "deprecated_register_convert_to_raw". (mips_pseudo_register_write, mips_pseudo_register_read): Handle 32/64 cooked to raw register conversions.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-36/+6
* frame.c (deprecated_get_frame_context): Delete function. (deprecated_set_frame_prev_hack): Delete function. (struct frame_info): Delete member "context". * frame.h (deprecated_get_frame_context): Delete declaration. (deprecated_set_frame_context): Delete declaration.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-8/+6
* procfs.c (procfs_wait): Delete FAULTED_USE_SIGINFO comment. * config/sparc/tm-sun4sol2.h (FAULTED_USE_SIGINFO): Delete macro. * config/i386/tm-i386sol2.h (FAULTED_USE_SIGINFO): Delete macro. * config/alpha/nm-osf2.h (FAULTED_USE_SIGINFO): Delete macro.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-13/+13
* mips-tdep.c (SIGFRAME_REG_SIZE): Delete macro. (mips_find_saved_regs): Replace SIGFRAME_REG_SIZE with mips_regsize. (mips_dump_tdep): Do not print SIGFRAME_REG_SIZE. * config/mips/tm-irix6.h (SIGFRAME_REG_SIZE): Delete macro. * config/mips/tm-irix5.h: Update copyright. (SIGFRAME_REG_SIZE): Delete macro.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-65/+9
* hppa-tdep.c (hppa_value_returned_from_stack): Delete function. * config/pa/tm-hppa.h (hppa_value_returned_from_stack): Delete declaration. (DEPRECATED_VALUE_RETURNED_FROM_STACK): Delete macro. * infcall.c (call_function_by_hand): Delete #ifdef DEPRECATED_VALUE_RETURNED_FROM_STACK code. * infcmd.c (print_return_value): Ditto.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+71
* mips-tdep.c (skip_prologue_using_sal): New function. (mips32_skip_prologue, mips16_skip_prologue): Use skip_prologue_using_sal to get an upper bound on the search.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-17/+6
* config/powerpc/tm-linux.h (PROLOGUE_FIRSTLINE_OVERLAP): Delete #if 0'ed macro. * infrun.c (step_into_function): Delete #ifdef PROLOGUE_FIRSTLINE_OVERLAP code. * symtab.c (find_function_start_sal): Ditto.
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+23
* remote-rdp.c: Update copyright. (rdp_init): #if 0 references to "target_byte_order".
2003-11-222003-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-77/+74
* mips-tdep.c (mips_o32_store_return_value): Delete function. (mips_o32_return_value): Replace mips_o32_xfer_return_value. (mips_o32_extract_return_value): Delete function. (mips_n32n64_return_value): Replace mips_n32n64_xfer_return_value. (mips_n32n64_extract_return_value): Delete function. (mips_n32n64_store_return_value): Delete function. (mips_gdbarch_init): For o32 and n32n64, set "return_value" instead of "store_return_value", "extract_return_value", and "use_struct_convention". (mips_n32n64_use_struct_convention): Delete function.
2003-11-22*** empty log message ***gdbadmin1-1/+1
2003-11-21 * frv-tdep.c (frv_frame_this_id): Eliminate call toKevin Buettner2-5/+5
inside_entry_func().
2003-11-21*** empty log message ***gdbadmin1-1/+1
2003-11-20* i386-tdep.c (i386_extract_return_value,Mark Kettenis3-38/+78
i386_store_return_value): Add gdbarch argument. Use it instead of determining it from REGCACHE. Remove recursive call for structures with a single member. (i386_use_struct_convention): Remove. (i386_reg_struct_return_p): New function. (i386_return_value): New function. (i386_gdbarch_init): Set return_value, don't set extract_return_value, store_return_value and use_struct_convention. * x86-64-tdep.c (x86_64_init_abi): Set return_value to NULL.
2003-11-20* osabi.c (_initialize_gdb_osabi): Don't return before registeringJim Blandy2-2/+5
the 'set osabi' and 'show osabi' commands.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+28
* gdb.base/structs.exp: Handle and recover from internal errors. Replace "foo${n}" with "foo<n>" in test messages.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-163/+884
* gdb.base/structs.exp: Update copyright. Rewrite. * gdb.base/structs.c: Update copyright. Rewrite.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the resync count exceeded.
2003-11-202003-11-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-22/+71
* gdb.base/maint.exp: Use gdb_internal_error_resync to recover from the internal error. * lib/gdb.exp (gdb_internal_error_resync): New procedure. Original from Jim Blandy. (gdb_test_multiple): Use gdb_internal_error_resync.
2003-11-20*** empty log message ***gdbadmin1-1/+1
2003-11-192003-11-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-24/+26
* gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a KFAIL.
2003-11-19New testcase for PR backtrace/1435.Mark Kettenis3-0/+111
* gdb.arch/i386-unwind.exp: New file. * gdb.arch/i386-unwind.c: New file.
2003-11-19* frame.c (get_prev_frame): Use result fromMark Kettenis2-1/+11
get_frame_address_in_block instead of get_frame_pc as argument to inside_main_func. Fixes PR backtrace/1435.
2003-11-192003-11-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-24/+37
* stack.c (return_command): Handle "void", "legacy" and "unknown location" return values separatly. * values.c (using_struct_return): Return 0 for a "void" return type. Mention "register_value_being_returned". (register_value_being_returned): Mention "using_struct_return".
2003-11-19 * dwarf2read.c (offreg, basereg, isderef, frame_base_reg)Daniel Jacobowitz2-133/+30
(frame_base_offset): Delete. (read_func_scope): Delete call to decode_locdesc. (decode_locdesc): Update comments. Don't set the removed variables. Complain for DW_OP_reg* not at the end. Remove DW_OP_breg* and DW_OP_fbreg support.
2003-11-19*** empty log message ***gdbadmin1-1/+1
2003-11-18 * dwarf2read.c (optimized_out, islocal): Remove.Daniel Jacobowitz2-17/+11
(decode_locdesc): Update comments. Don't set optimized_out or islocal.
2003-11-18*** empty log message ***gdbadmin1-1/+1
2003-11-172003-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+639
David Mosberger <davidm@hpl.hp.com> * ia64-tdep.c: Include elf.h. [HAVE_LIBUNWIND_IA64_H]: Include libunwind-frame.h and libunwind-ia64.h. (ia64_rse_slot_num, ia64_rse_skip_regs): New for libunwind support. (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum): Ditto. (ia64_is_fpreg, ia64_access_reg): Ditto. (ia64_access_fpreg, ia64_access_mem): Ditto. (get_kernel_table): Ditto. (ia64_find_unwind_table): Ditto. (ia64_find_proc_info_x, ia64_put_unwind_info): Ditto. (ia64_get_dyn_info_list, ia64_libunwind_frame_this_id): Ditto. (ia64_libunwind_frame_prev_register): Ditto. (ia64_libunwind_frame_sniffer): Ditto. (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Add libunwind frame sniffer. Register libunwind functions needed by generic libunwind frame code using libunwind_frame_set_descr().
2003-11-17Oops, accidental commit, reverting.Andrew Cagney2-872/+163
2003-11-172003-11-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-163/+935
* lib/gdb.exp (compiler_info): New global. (test_compiler_info): New function. (get_compiler_info): Set compiler_info. * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set "compiler_info" to gcc-<major>-<minor>.