summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* 2003-01-08 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-082-1/+5
| | | | * mn10300-tdep.c (analyze_dummy_frame): Fix typo.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-087-11/+30
| | | | | | | | | | | | | * cris-tdep.c (cris_frame_init_saved_regs): Use get_frame_saved_regs and SIZEOF_FRAME_SAVED_REGS when copying a saved_regs buffer. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * arm-tdep.c: Use deprecated_set_frame_saved_regs_hack. * mips-tdep.c (mips_init_extra_frame_info): Ditto. * mcore-tdep.c (analyze_dummy_frame): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
* * minsyms.c (lookup_minimal_symbol): Update comment.Daniel Jacobowitz2003-01-082-24/+36
| | | | | (lookup_minimal_symbol_text): Update comment. Use the hash table. (lookup_minimal_symbol_solib_trampoline): Likewise.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-082-1/+5
| | | | | * d10v-tdep.c (d10v_init_extra_frame_info): Use frame_relative_level.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0816-352/+383
| | | | | | | | * alpha-tdep.c: Use get_frame_extra_info. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * h8300-tdep.c, ia64-tdep.c, m68hc11-tdep.c, mcore-tdep.c: Ditto. * mips-tdep.c, mn10300-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. * sparc-tdep.c, xstormy16-tdep.c: Ditto.
* 2003-01-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0824-167/+193
| | | | | | | | | | | * alpha-tdep.c: Use get_next_frame. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * dwarf2cfi.c, h8300-tdep.c, i386-tdep.c, ia64-tdep.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Ditto. * mips-tdep.c, mn10200-tdep.c, mn10300-tdep.c: Ditto. * ns32k-tdep.c, s390-tdep.c, sh-tdep.c, sparc-tdep.c: Ditto. * v850-tdep.c, vax-tdep.c, x86-64-linux-tdep.c: Ditto. * xstormy16-tdep.c: Ditto.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0826-299/+407
| | | | | | | | | | | | * alpha-tdep.c: Use get_frame_base. * arm-tdep.c, avr-tdep.c, cris-tdep.c, d10v-tdep.c: Ditto. * h8300-tdep.c, i386-tdep.c, ia64-tdep.c, m68hc11-tdep.c: Ditto. * m68k-tdep.c, mcore-tdep.c, mips-tdep.c, mn10200-tdep.c: Ditto. * mn10300-tdep.c, ns32k-tdep.c, s390-tdep.c, sh-tdep.c: Ditto. * sparc-tdep.c, v850-tdep.c, vax-tdep.c: Ditto. * x86-64-linux-tdep.c, xstormy16-tdep.c: Ditto. * config/h8500/tm-h8500.h, config/mn10200/tm-mn10200.h: Ditto. * config/sparc/tm-sparc.h: Ditto.
* *** empty log message ***gdbadmin2003-01-081-1/+1
|
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-074-2/+36
| | | | | | | | | * frame.c (deprecated_get_frame_context): New function. (deprecated_set_frame_context): New function. * frame.h (deprecated_get_frame_context): Declare. (deprecated_set_frame_context): Declare. * dwarf2cfi.c (UNWIND_CONTEXT): Use deprecated_get_frame_context. (cfi_init_extra_frame_info): Use deprecated_set_frame_context.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-075-4/+36
| | | | | | | | | | * frame.c (deprecated_set_frame_next_hack): New function. (deprecated_set_frame_prev_hack): New function. * frame.h (deprecated_set_frame_next_hack): Declare. (deprecated_set_frame_prev_hack): Declare. * mcore-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_next_hack and deprecated_set_frame_prev_hack. * mn10300-tdep.c (analyze_dummy_frame): Ditto.
* 2003-01-07 David Carlton <carlton@math.stanford.edu>David Carlton2003-01-072-63/+87
| | | | | * linespec.c (decode_line_1): Move code into decode_dollar. (decode_dollar): New function.
* zap #define FRAME_C.Andrew Cagney2003-01-071-1/+0
|
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-075-17/+24
| | | | | | | | | * arm-tdep.c (arm_init_extra_frame_info): Use deprecated_update_frame_base_hack. * xstormy16-tdep.c (xstormy16_scan_prologue): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Ditto. (fix_frame_pointer): Ditto. (mn10300_analyze_prologue): Ditto.
* 2003-01-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0717-36/+47
| | | | | | | | | | | | | | | | | | | | | | | | * xstormy16-tdep.c (xstormy16_init_extra_frame_info): Allocate extra_info using frame_extra_info_zalloc. * sparc-tdep.c (sparc_init_extra_frame_info): Ditto. * sh-tdep.c (sh_init_extra_frame_info): Ditto. (sh64_init_extra_frame_info): Ditto. * mn10300-tdep.c (mn10300_init_extra_frame_info): Ditto. * s390-tdep.c (s390_init_extra_frame_info): Ditto. * mips-tdep.c (mips_init_extra_frame_info): Ditto. * mcore-tdep.c (mcore_init_extra_frame_info): Ditto. * frv-tdep.c (frv_init_extra_frame_info): Ditto. * m68hc11-tdep.c (m68hc11_init_extra_frame_info): Ditto. * ia64-tdep.c (ia64_init_extra_frame_info): Ditto. * h8300-tdep.c (h8300_init_extra_frame_info): Ditto. * d10v-tdep.c (d10v_init_extra_frame_info): Ditto. * cris-tdep.c (cris_init_extra_frame_info): Ditto. * arm-tdep.c (arm_init_extra_frame_info): Ditto. * alpha-tdep.c (alpha_init_extra_frame_info): Ditto. * mn10300-tdep.c (analyze_dummy_frame): Use deprecated_set_frame_extra_info_hack. * mcore-tdep.c (analyze_dummy_frame): Ditto.
* * mdebugread.c (parse_symbol): Skip stProc entries which storageJoel Brobecker2003-01-072-22/+71
| | | | | class is not scText. These do not define "real" procedures. (parse_partial_symbols): Likewise.
* 2003-01-06 Michael Chastain <mec@shout.net>Michael Chastain2003-01-073-2/+14
| | | | | | * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): When selecting a thread, 'line' and 'file' are optional. * gdb.mi/mi1-pthreads.exp: Likewise.
* *** empty log message ***gdbadmin2003-01-071-1/+1
|
* chael Snyder <msnyder@redhat.com>Michael Snyder2003-01-062-31/+191
| | | | | * lin-lwp.c: Added or elaborated on "debug lin-lwp" info. qCVS: Committing in .
* 2003-01-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-069-47/+81
| | | | | | | | | | | * frame.h (deprecated_frame_xmalloc_with_cleanup): Declare. * frame.c (deprecated_frame_xmalloc_with_cleanup): New function. * arm-tdep.c (arm_frame_chain): Allocate caller_fi using deprecated_frame_xmalloc_with_cleanup. * m32r-tdep.c (m32r_virtual_frame_pointer): Allocate `fi' using deprecated_frame_xmalloc. * mcore-tdep.c (analyze_dummy_frame): Ditto for dummy. * mn10200-tdep.c (mn10200_frame_chain): Ditto for dummy_frame.
* 2003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-063-2/+7
| | | | | * x86-64-linux-tdep.c: Include "osabi.h". * Makefile.in (x86-64-linux-tdep.o): Update dependencies.
* 2003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-062-1/+5
| | | | * sparc-tdep.c (sparc_dump_tdep): Fix typo, match -> mach.
* 2003-01-06 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-01-0615-29/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | * MAINTAINERS (Target Instruction Set Architectures): Update arm-elf. Can be built with -Werror, has been multiarched. * value.h (unpack_long): Make buffer parameter constant. (unpack_double, unpack_pointer, unpack_field_as_long): Ditto. * scm-lang.h (scm_parse): Ditto. * defs.h (extract_typed_address, extract_address): Ditto. (extract_long_unsigned_integer): Ditto. * inferior.h (unsigned_pointer_to_address): Ditto. (signed_pointer_to_address): Ditto. * gdbarch.sh (POINTER_TO_ADDRESS): Ditto. * gdbarch.h, gdbarch.c: Regenerate. * findvar.c (extract_long_unsigned_integer): Update. (extract_address): Update. (extract_typed_address): Update. (unsigned_pointer_to_address): Update. * values.c (unpack_long): Update. (unpack_double): Update. (unpack_pointer): Update. (unpack_field_as_long): Update. * d10v-tdep.c (d10v_pointer_to_address): Update. * avr-tdep.c (avr_pointer_to_address): Update. * scm-lang.c (scm_unpack): Update. * findvar.c (signed_pointer_to_address): Update.
* * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuiteAndreas Schwab2003-01-062-0/+8
| | | | failures.
* 2003-01-06 Michal Ludvig <mludvig@suse.cz>Michal Ludvig2003-01-062-11/+5
| | | | | * x86-64-linux-nat.c (i386_sse_regnum_p): Deleted. Not needed anymore since it is in i386-tdep.c.
* * alpha-tdep.c (alpha_gdbarch_init): Fix a small compilationJoel Brobecker2003-01-062-1/+6
| | | | failure introduced in the previous change.
* *** empty log message ***gdbadmin2003-01-061-1/+1
|
* 2003-01-05 Michael Chastain <mec@shout.net>Michael Chastain2003-01-052-15/+6
| | | | | | * README: Remove references to deleted remote-*.c files: remote-adapt.c, remote-eb.c, remote-mm.c, remote-nindy.c, remote-nrom.c, remote-os9k.c, remote-udi.c.
* * i386-tdep.c (i386_get_longjmp_target): Make usable on x86-64.Mark Kettenis2003-01-053-10/+13
| | | | | * x86-64-tdep.c (x86_64_init_abi): Remove FIXME about i386_get_longjmp_target.
* 2003-01-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-052-18/+25
| | | | | | | | * arm-tdep.c (prologue_cache): Change to a pointer. (_initialize_arm_tdep): Allocate prologue_cache. (check_prologue_cache): Update. (save_prologue_cache): Update. (arm_gdbarch_init): Update.
* * stabsread.c (update_method_name_from_physname): Call complaint()Daniel Jacobowitz2003-01-052-1/+10
| | | | instead of error.
* * gdb.texinfo (Controlling GDB): Add @kindex forDaniel Jacobowitz2003-01-052-0/+10
| | | | | "show osabi". (Backtraces): Add @kindex's for backtrace-below-main.
* * gdb.texinfo (Controlling GDB): Document "set osabi".Daniel Jacobowitz2003-01-052-0/+27
|
* * arm-tdep.c (arm_frame_chain_valid): Remove unnecessary test.Daniel Jacobowitz2003-01-0540-206/+203
| | | | | | | | | | | | | | | | | | | | | | | | * d10v-tdep.c (d10v_frame_chain_valid): Remove unnecessary tests. * hppa-tdep.c (hppa_frame_chain_valid): Remove unnecessary test. * blockframe.c: Include "gdbcmd.h" and "command.h". (backtrace_below_main): New variable. (file_frame_chain_valid, func_frame_chain_valid) (nonnull_frame_chain_valid, generic_file_frame_chain_valid) (generic_func_frame_chain_valid): Remove functions. (frame_chain_valid, do_flush_frames_sfunc): New functions. (_initialize_blockframe): New function. * Makefile.in (blockframe.o): Update dependencies. * frame.c (frame_saved_regs_id_unwind, get_prev_frame): Remove FIXME comment. Call frame_chain_valid (). * frame.h: Remove old prototypes. Add prototype for frame_chain_valid and update comments to match. * gdbarch.sh: Change FRAME_CHAIN_VALID into a predicated function. Remove old comment. * gdbarch.h: Regenerated. * gdbarch.c: Regenerated. Plus updates to all other targets not to provide a FRAME_CHAIN_VALID.
* * gdb.texinfo (Backtraces): Document "set backtrace-below-main".Daniel Jacobowitz2003-01-053-21/+32
| | | | * gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation.
* *** empty log message ***gdbadmin2003-01-051-1/+1
|
* * Makefile.in (acconfig_h): Remove incorrect macro.Daniel Jacobowitz2003-01-047-24/+178
| | | | | | | | | | | | | | | | | | (config_h): Define. (osabi.o): Update dependencies. * configure.tgt: Set gdb_osabi based on target triplet. * configure.in: Define GDB_OSABI_DEFAULT based on gdb_osabi. * configure: Regenerated. * config.in: Regenerated. * osabi.c: Include "arch-utils.h", "gdbcmd.h", and "command.h". (GDB_OSABI_DEFAULT): Define if not already defined. (user_osabi_state, user_selected_osabi, gdb_osabi_available_names) (set_osabi_string): New variables. (gdbarch_register_osabi): Add new OS ABI to gdb_osabi_available_names. (gdbarch_lookup_osabi): Honor specified and default OS ABIs. (set_osabi, show_osabi): New functions. (_initialize_gdb_osabi): Add "set osabi" and "show osabi" commands.
* * arch-utils.c (gdbarch_info_init): Set osabi toDaniel Jacobowitz2003-01-0443-371/+390
| | | | | | | | | | | | | | | | | | | GDB_OSABI_UNINITIALIZED. * gdbarch.sh: Add osabi to struct gdbarch and to struct gdbarch_info. Include "osabi.h" in gdbarch.c. Check osabi in gdbarch_list_lookup_by_info and in gdbarch_update_p. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * osabi.c (gdbarch_lookup_osabi): Return GDB_OSABI_UNINITIALIZED if there's no BFD. (gdbarch_init_osabi): Remove osabi argument; use info.osabi. * osabi.h (enum gdb_osabi): Move to defs.h. (gdbarch_init_osabi): Update prototype. * defs.h (enum gdb_osabi): Moved here. * Makefile.in: Update dependencies. Plus updates to alpha, arm, hppa, i386, mips, ns32k, ppc, sh, sparc, and vax ports to match.
* * breakpoint.c (insert_breakpoints): Skip disabled breakpointsDaniel Jacobowitz2003-01-042-12/+13
| | | | | | entirely. (breakpoint_re_set_one): Don't fetch the value for a disabled watchpoint.
* Fix PR gdb/844Daniel Jacobowitz2003-01-048-105/+29
| | | | | | | | | | | | | | | * lib/gdb.exp (gdb_compile): Handle "quiet" option. (gdb_compile_pthreads): Pass "quiet" to gdb_compile. * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return instead of calling gdb_suppress_entire_file. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/schedlock.exp: Likewise. * gdb.threads/killed.exp: Return instead of calling gdb_suppress_entire_file. * gdb.threads/linux-dp.exp: Likewise. * gdb.threads/pthreads.exp: Likewise.
* gdb/Daniel Jacobowitz2003-01-0434-328/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * buildsym.h (processing_hp_compilation): Remove obsolete variable. * gdbarch.sh Remove include of "value.h" in gdbarch.h. (COERCE_FLOAT_TO_DOUBLE): Remove. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * Makefile.in: Remove value_h from gdbarch_h. * valops.c (coerce_float_to_double): New variable. (default_coerce_float_to_double): Remove. (standard_coerce_float_to_double): Remove. (value_arg_coerce): Use coerce_float_to_double. (_initialize_valops): Add "set coerce-float-to-double". * value.h (default_coerce_float_to_double): Remove prototype. (standard_coerce_float_to_double): Remove prototype. * hpread.c (hpread_process_one_debug_symbol): Mark C++ functions as prototyped. * mdebugread.c (parse_symbol): Likewise. * stabsread.c (define_symbol): Mark all functions as prototyped. * hppa-tdep.c (hppa_coerce_float_to_double): Remove. * alpha-tdep.c (alpha_gdbarch_init): Remove call to set_gdbarch_coerce_float_to_double. * arm-tdep.c (arm_gdbarch_init): Likewise. * frv-tdep.c (frv_gdbarch_init): Likewise. * h8300-tdep.c (h8300_gdbarch_init): Likewise (commented out). * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. (mips_coerce_float_to_double): Remove. * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. (rs6000_coerce_float_to_double): Remove. * s390-tdep.c (s390_gdbarch_init): Likewise. * sh-tdep.c (sh_gdbarch_init): Likewise. (sh_coerce_float_to_double): Remove. * sparc-tdep.c (sparc_gdbarch_init): Likewise. (sparc_coerce_float_to_double): Remove. * v850-tdep.c (v850_gdbarch_init): Likewise. * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. * config/m32r/tm-m32r.h (COERCE_FLOAT_TO_DOUBLE): Remove. * config/pa/tm-hppa.h: (COERCE_FLOAT_TO_DOUBLE): Remove. (hppa_coerce_float_to_double): Remove prototype. * config/sparc/tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Remove. doc/ * gdb.texinfo (Controlling GDB): Add ABI section. Document "set coerce-float-to-double". * gdbint.texinfo (COERCE_FLOAT_TO_DOUBLE): Remove documentation. testsuite/ * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for stabs. * gdb.base/completion.exp: Allow marker1(void) as well as marker1(). * gdb.base/whatis.exp: Always allow (void) after function names.
* * gdb.c++/casts.exp: Correct regexp.Daniel Jacobowitz2003-01-042-2/+6
|
* * regformats/reg-m68k.dat: Remove fpcode and fpflags.Daniel Jacobowitz2003-01-042-2/+4
|
* * linux-m68k-low.c (m68k_num_regs): Define to 29 instead of 31.Daniel Jacobowitz2003-01-042-2/+6
|
* Update copyright date with last commit.Daniel Jacobowitz2003-01-041-1/+1
|
* Suggested by Stewart Brown <sb24@avaya.com>:Daniel Jacobowitz2003-01-042-13/+31
| | | | | | * c-typeprint.c (c_type_print_varspec_prefix): Pass value of show in recursive calls. Handle TYPE_CODE_TYPEDEF. (c_type_print_varspec_suffix): Likewise.
* * configure.in: Don't set and AC_SUBST SUBDIRS.Mark Kettenis2003-01-043-21/+19
| | | | * configure: Regenerated.
* * configure.in: Remove code dealing with shared libraries.Mark Kettenis2003-01-044-630/+507
| | | | | * Makefile.in: Remove HLDFLAGS and HLDENV. * configure: Regenerated.
* * configure.in: Call AC_CONFIG_HEADER. Don't callMark Kettenis2003-01-0430-7854/+297
| | | | | | | | | | | | | | | | | | | | | AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java, gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call AC_CHECK_HEADERS on pthread.h. Put Makefiles in the aforementioned directories in the AC_OUPUT call. * config.hin: New file. * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp, gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp, gdb.threads/killed.exp, gdb.threads/print-threads.exp, gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we pass -I$objdir instead of -I$objdir/$subdir in compilation. * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in, gdb.asm/configure, gdb.base/configure.in, gdb.base/configure, gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in, gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure, gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in, gdb.threads/configure.in, gdb.threads/configure, gdb.threads/config.in, gdb.trace/configure.in, gdb.trace/configure: Removed.
* 2003-01-04 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2003-01-043-0/+51
| | | | | | | | | * frame.c (deprecated_frame_xmalloc): New function. (deprecated_set_frame_saved_regs_hack): New function. (deprecated_set_frame_extra_info_hack): New function. * frame.h (deprecated_frame_xmalloc): Declare. (deprecated_set_frame_saved_regs_hack): Declare. (deprecated_set_frame_extra_info_hack): Declare.
* 2003-01-03 Michael Chastain <mec@shout.net>Michael Chastain2003-01-042-1/+6
| | | | | * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in testsuite/gdb.base/miscexprs.c, off-by-1 array reference".