aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-02-29 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:Stan Shebs1-0/+6
* remote.c (remote_detach): Send a command 'D' to the target when detaching, update the function's comments.
1996-02-29Add xm-nbsd.hFred Fish1-0/+1
1996-02-28 * Makefile.in (VERSION): Bump version to 4.15.2 to establishFred Fish1-0/+5
baseline for gdb 4.16 rerelease testing.
1996-02-28 * somsolib.c (som_solib_create_inferior_hook): Before returningJeff Law2-0/+14
call clear_symtab_users. Fixes minor hpux problem with 7763 patches.
1996-02-25Always keep mips vxworks filesStan Shebs1-0/+2
1996-02-25 * configure.in (mips*-*-vxworks*): New config.Stan Shebs6-28/+45
* configure: Regenerated. * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files. * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual): Remove, never used.
1996-02-24 * partial-stab.h (case N_FUN): Function symbols generatedPeter Schauer3-4/+19
by SPARCworks cc have a meaningless zero value, do not update pst->textlow if the function symbol value is zero. * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field for function prototype declaration symbols.
1996-02-24 * remote-e7000.c (e7000_load): New routine to download via theStu Grossman2-3/+172
network. * (e7000_wait): Don't backup PC when we hit a breakpoint. Apparantly new sh2 pods get this right... * (e7000_ops): Add call to e7000_load.
1996-02-22* config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},J.T. Conklin10-2/+183
m68knbsd-nat.c: New files, support for NetBSD/m68k. * configure.in (m68k-*-netbsd*): New config. * configure: Regenerated.
1996-02-22 * standalone.c (open, _initialize_standalone): Fix obvious typosFred Fish2-5/+7
reported by Martin Pool <martin@citr.uq.oz.au>.
1996-02-21Back out change to signals.exp (test_handle_all_print): Add setup_xfail for ↵Fred Fish1-1/+0
"alpha-dec-osf2*" This problem appears to be random, possibly a dejagnu problem.
1996-02-21 * solib.c (solib_create_inferior_hook): Fix thinko.Jeff Law2-1/+5
Don't screw sunos4 with 7763 fixes..
1996-02-21remove extraneous comment charactersIan Lance Taylor1-1/+1
1996-02-21Minor tweak.Jeff Law1-1/+2
1996-02-21 * solib.c (solib_break_names): Define for Solaris and Linux.Jeff Law3-55/+163
(enable_break): For SVR4 systems, first try to use the debugger interfaces in the dynamic linker to track shared library events as they happen, then fall back to BKPT_AT_SYMBOL code. Convert BKPT_AT_SYMBOL code to use shared library event breakpoints. (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code, it no longer needs to restart/wait on the inferior. * symfile.c (find_lowest_section): No longer static. * symfile.h (find_lowest_section): Corresponding changes. Wraps up 7763 work, simplifies BKPT_AT_SYMBOL code somewhat, and allows debugging of startup code.
1996-02-21Commit misplaced ChangeLog entry.Jeff Law1-0/+14
1996-02-21 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"Fred Fish3-6/+32
to "alpha-*-osf2*" and add comment. * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*" setup_xfail for "step over execarg initialization" and "step over corearg initialization". * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*". * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not gcc compiled for "print coremaker_bss", "print coremaker_ro", "print func2::coremaker_local", and "backtrace in corefile.exp". * gdb.base/signals.exp: Build and source signals.ci. (test_handle_all_print): Add setup_xfail for "alpha-dec-osf2*". Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp" to be for gcc only. * lib/gdb.exp: Move verbose statements outside conditionals.
1996-02-21 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.Fred Fish2-0/+19
* config/mips/tm-mips.h: Ditto. * config/pa/tm-hppa.h: Ditto. * config/rs6000/tm-rs6000.h: Ditto. * config/sparc/tm-sparc.h: Ditto.
1996-02-21 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.Fred Fish1-0/+10
(value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
1996-02-21* config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.J.T. Conklin3-2/+4
1996-02-21* config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.J.T. Conklin4-13/+86
* config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG): #ifdef'd out definitions --- Causes serious gdb failures on the i386. Need to investigate further before enabling. * i386b-nat.c (fetch_inferior_registers, store_inferior_registers, fetch_core_registers): New functions. These functions are defined if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored with ptrace PT_GETREGS/PT_SETREGS.
1996-02-21 * findvar.c (extract_floating store_floating): Replace `longStu Grossman1-0/+5
double' with `DOUBLEST'.
1996-02-20 * gdb.c++/misc.cc: Add test code from Mike Stump.Fred Fish1-0/+10
* gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1996-02-20* config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):J.T. Conklin2-0/+8
Define.
1996-02-20Add bcache.c and bcache.hFred Fish1-0/+2
1996-02-19 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LISTFred Fish2-11/+18
for CORE_ADDR values. (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values. * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
1996-02-19 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.Jeff Law1-43/+22
Minor build nit. * breakpoint.h (remove_solib_event_breakpoints): Declare. * breakpoint.c (remove_solib_event_breakpoints): New function. * somsolib.c (solib_create_inferior_hook): Remove all solib event breakpoints before inserting any new ones. Use a solib event breakpoint for the breakpoint at "_start". Remove extraneous "\n" from calls to warning. Don't leave bogus breakpoints in the breakpoint chain. Simplify solib_create_inferior_hook and allow for debugging of startup code (more 7763 related changes). * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes name array. Another minor nit.
1996-02-18 * mipsread.c (mipscoff_symfile_read): Unconditionally addPeter Schauer1-0/+7
alpha coff dynamic symbols for all symbol files. Makes skipping over the trampoline code work when stepping from a function in a shared library into a function in a different shared library.
1996-02-18 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. DefineStu Grossman2-0/+11
RETURN_VALUE_ON_STACK to return long doubles on the stack.
1996-02-17 * Makefile.in (ch-exp.o): Add dependencies.Fred Fish1-0/+5
(various): Add gdb_string.h to dependencies that need it.
1996-02-17 * symmisc.c (print_symbol_bcache_statistics): Update description forFred Fish1-0/+5
printing byte cache statistics.
1996-02-17 * Add native support for long double data type.Stu Grossman11-65/+250
* c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST to store actual data. Change types of INT and FLOAT tokens to typed_val_int and typed_val_float respectively. Create new token DOUBLE_KEYWORD to specify the string `double'. Make production for FLOAT use type determined by parse_number. Add production for "long double" data type. * (parse_number): Use sscanf to parse numbers as float, double or long double depending upon the type of typed_val_float.dval. Also allow user to specify `f' or `l' suffix to explicitly specify float or long double constants. Change typed_val to typed_val_int. * (yylex): Change typed_val to typed_val_int. Also, scan for "double" keyword. * coffread.c (decode_base_type): Add support for T_LNGDBL basic type. * configure, configure.in: Add check for long double support in the host compiler. * defs.h: Define DOUBLEST appropriatly depending on whether HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes for functions that handle this type. * expression.h (union exp_element): doubleconst is now type DOUBLEST. * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST. * findvar.c (extract_floating): Make return value be DOUBLEST. Also, add support for numbers with size of long double. * (store_floating): Arg `val' is now type DOUBLEST. Handle all floating types. * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now DOUBLEST. * valarith.c (value_binop): Change temp variables v1, v2 and v to type DOUBLEST. Coerce type of result to long double if either op was of that type. * valops.c (value_arg_coerce): If argument type is bigger than double, coerce to long double. * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and arg type is float and > 8 bytes, then use pointer-to-object calling conventions. * valprint.c (print_floating): Arg doub is now type DOUBLEST. Use appropriate format and precision to print out floating point values. * value.h: Fixup prototypes for value_as_double, value_from_double, and unpack_double to use DOUBLEST. * values.c (record_latest_value): Remove check for invalid floats. Allow history to store them so that people may examine them in hex if they want. * (value_as_double unpack_double): Change return value to DOUBLEST. * (value_from_double): Arg `num' is now DOUBLEST. * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target specific) to expect certain types to always be returned on the stack.
1996-02-16 * config/unix-gdb.exp: Remove extraneous newlines from end of file.Fred Fish2-9/+6
1996-02-16 * bcache.c, bcache.h: New files to implement a byte cache.Fred Fish16-115/+458
* Makefile.in (SFILES): Add bcache.c. (symtab_h): Add bcache.h. (HFILES_NO_SRCDIR): add bcache.h (COMMON_OBJS): Add bcache.o (bcache.o): New target. * dbxread.c (start_psymtab): Make global_syms & static_syms type "partial_symbol **". * hpread.c (hpread_start_symtab): Ditto. * os9kread.c (os9k_start_psymtab): Ditto. * stabsread.h (start_psymtab): Ditto. * {symfile.c, symfile.h} (start_psymtab_common): Ditto. * maint.c (maintenance_print_statistics): Call print_symbol_bcache_statistics. * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc and free pointers. * solib.c (allocate_rt_common_objfile): Ditto. * symfile.c (reread_symbols): Ditto. (free_objfile): Free psymbol bcache when objfile is freed. (objfile_relocate): Use new indirect psymbol pointers. * objfiles.h (struct objfile): Add psymbol cache. * symfile.c (compare_psymbols): Now passed pointers to pointers to psymbols. (reread_symbols): Free psymbol bcache when freeing other objfile resources. (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new psymbol using the psymbol bcache. (init_psymbol_list): Psymbol lists now contain pointers rather than the actual psymbols. * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically grown arrays of pointers. (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol bcache. * symmisc.c (print_partial_symbols): Now takes pointer to pointer to partial symbol. (print_symbol_bcache_statistics): New function to print per objfile bcache statistics. (print_partial_symbol, print_partial_symbols, maintenance_check_symtabs, extend_psymbol_list): Account for change to pointer to pointer to partial symbol. * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2, make_symbol_completion_list): Account for change to pointer to pointer to partial symbol. * symtab.h (bcache.h): Include. * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms type "partial_symbol **".
1996-02-16 * dwarfread.c (free_utypes): New function.Fred Fish2-3/+34
(read_file_scope): Call free_utypes as cleanup, rather than just freeing the utypes pointer.
1996-02-16 * demangle.c (is_cplus_marker): New function, checks if aFred Fish10-45/+104
character is one of the commonly used C++ marker characters. * defs.h (is_cplus_marker): Add prototype. * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle), cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol), stabsread.c (define_symbol, read_member_functions, read_struct_fields), symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P), values.c (vb_match): Use is_cplus_marker instead of comparison with CPLUS_MARKER.
1996-02-16 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possiblyFred Fish2-29/+46
delete entirely someday.
1996-02-15 * mpw-make.sed: Edit out makefile rebuild rule.Stan Shebs2-2/+12
(host_alias, target_alias): Comment out instead of deleting. (@LIBS@): Edit out references.
1996-02-15 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, upFred Fish2-2/+17
from dejagnu's apparent default of 10 seconds, which gives random results when running the tests over NFS on moderately loaded systems. * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1996-02-14 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):Fred Fish2-5/+17
Use n_psyms in OBJSTAT, not psyms.
1996-02-13 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test result reports.Fred Fish1-0/+4
1996-02-13 * configure.in (sparclet-*-aout*): New config.David Edelsohn2-112/+314
* configure: Regenerated.
1996-02-12 * somsolib.c (som_solib_add): Use xmalloc rather than bareFred Fish6-6/+15
unchecked call to malloc. * remote-mips.c (pmon_load_fast): ditto. * remote-mm.c (mm_open): ditto. * hpread.c (hpread_lookup_type): ditto. * remote-adapt.c (adapt_open): ditto.
1996-02-12 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,Fred Fish5-34/+26
allocate_saved_f77_common_node, allocate_common_entry_node, add_common_block): Use xmalloc rather than malloc, some of which were unchecked. * gnu-regex.c: At same point as other gdb specific changes #undef malloc and then #define it to xmalloc. * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than bare unchecked calls to malloc/realloc. * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare unchecked call to malloc.
1996-02-10 * gdb.texinfo (Print settings): DocumentPeter Schauer2-0/+17
`set/show print static-members' commands.
1996-02-09 * configure.in (CY_AC_PATH_TCLH): Remove.Fred Fish2-6/+5
* configure: Regenerate.
1996-02-09 * Makefile.in (clean): Add missing '{'.Fred Fish2-1/+5
1996-02-09 * gdb.c++/Makefile.in (clean): Add missing '{'.Fred Fish1-0/+6
1996-02-07 * symtab.c (gdb_mangle_name): Change opname var to be const toStu Grossman2-3/+9
match return val of cplus_mangle_name. * i960-tdep.c: Change arg types of next_insn to match callers.
1996-02-07 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding soTom Tromey2-9/+67
double-clicking will work again. (create_asm_win): Put "break" at end of all B1 bindings. (create_file_win): Lower "sel" tag, don't raise it. (ensure_line_visible): New proc. (update_listing, update_assembly): Use it. (create_copyright_window): Destroy window on Leave event. (create_command_window): Put "break" at end of all B2 bindings.