aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-10-22Sanitize out v850 stuff.Stu Grossman1-6/+6
1996-10-22 * mpw-make.sed: Update init.c editing to work with Oct 8 change.Stan Shebs2-12/+12
(@HLDFLAGS@): Always edit out.
1996-10-22Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-30/+51
* tm-d10v.h: Changes to allow stack backtraces and inferior function calls.
1996-10-22Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-5/+140
* d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack backtraces and inferior function calls.
1996-10-22 * mdebugread.c (parse_partial_symbols): Fix 64-bitMark Alexander3-6/+11
sign-extension problems in calculating psymtab addresses. * buildsym.c (end_symtab): Use macro to pop context.
1996-10-21 * v850-tdep.c: Cleanup lots of things. Add many comments.Stu Grossman2-137/+188
* testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so that cflags can contains -gstabs, and work correctly for other tests.
1996-10-21PR 8511, keep new test casesMichael Snyder1-0/+2
1996-10-21 * gdb.base/setshow.exp: New file, tests show and set.Michael Snyder2-0/+23
* gdb.base/setshow.c: New file, tests show and set. * gdb.base/help.exp: Add test for help set|show annotate. * gdb.base/default.exp: Add test for set|show annotate. PR 8511
1996-10-21 * top.c: Add new commands "set annotate" and "show annotate".Michael Snyder2-0/+11
PR 8511
1996-10-20 * corelow.c (core_close): Clear inferior_pid only if there isPeter Schauer3-4/+17
an open core_bfd. * cp-valprint.c (cp_print_value_fields): Pass correct address to val_print, not 0. From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase typedefs before checking for integral type of right operand.
1996-10-19 * mdebugread.c (parse_symbol): Fix crash when malloc hasMark Alexander2-1/+6
no type info and void type has no associated pointer type.
1996-10-18Keep new configure helpers, update conditional sanitizesStan Shebs1-2/+4
1996-10-18 * configure.host: New file, host configuration mapping.Stan Shebs5-780/+416
* configure.tgt: New file, target configuration mapping. * configure.in: Remove host and target mapping. * configure: Rebuild.
1996-10-17 * testsuite/gdb.base/break.exp: Make backtrace from factorialStu Grossman3-25/+40
errors unique. * testsuite/gdb.base/nodebug.exp: Whack out all -g options explicitly. * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix sign bugs with scanning prologues. Get a little smarter about calculating the length of uninteresting instructions.
1996-10-17 * breakpoint.c (must_shift_inst_regs): New global.Stan Shebs1-0/+7
(bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into equivalent expression uses. * infrun.c (wait_for_inferior): Ditto.
1996-10-16 * v850-tdep.c (v850_push_arguments): Use symbolic names for argStu Grossman3-4/+15
registers. * config/v850/tm-v850.h: Change FP to 29. Define arg regs.
1996-10-15 * Makefile.in (init.c): Don't use -s option with grep. It meansStu Grossman1-0/+3
something different under Digital Unix.
1996-10-15 * config/sim-gdb.exp (gdb_target_sim): Remove setting of heightStu Grossman2-8/+17
and width commands. This is done elsewhere. * (gdb_start): Don't call gdb_start_sim here. That's already done in gdb_load. This fixes lots of failures in default.exp.
1996-10-15 * buildsym.c (finish_block): Treat LOC_BASEREG_ARG andStu Grossman6-34/+247
LOC_LOCAL_ARG as arguments so that GDB will know about function args declared this way. Mostly affects dwarf. * dwarfread.c (decode_die_type): Change default type from int to void. This allows GDB to recognize void functions. * (new_symbol): If AT_PROTOTYPED is present, set a flag in the type structure. * findvar.c (extract_floating store_floating): Clean up comments to reflect reality. * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a function has a prototype. Currently, only dwarf supports this. * utils.c (floatformat_from_doublest): Fix logic error with converting from double to float. (It wasn't shifting mant_long if it had a hidden bit.) * v850-tdep.c: Add support for function calling. Fix some problems with debugging code w/o debug symbols. * config/v850/tm-v850.h: Ditto.
1996-10-15 * utils.c: Always ensure that size_t is defined. CheckIan Lance Taylor2-19/+26
HAVE_STDDEF_H rather than __STDC__ (xmalloc, xrealloc): Use size_t rather than long.
1996-10-15Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+10
* config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets can use single-step commands.
1996-10-13 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,Peter Schauer1-14/+18
follow typedefs before checking TYPE_CODE for structures and unions.
1996-10-12 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.Fred Fish1-0/+9
(distclean maintainer-clean realclean): No need to remove files twice. Nuke the duplicates. * gdb.base/Makefile.in (EXECUTABLES): Add "structs". * gdb.threads/Makefile.in (distclean maintainer-clean realclean): Remove config.h along with other config files.
1996-10-11 * expstruct.exp (objfile2): Set and use, like other chill tests.Fred Fish5-8/+19
* pr-4975.exp: Ditto. * pr-5646.exp: Ditto. * pr-8134.exp: Ditto.
1996-10-11 * frame.h: Move definition of struct frame_saved_args to beforeStu Grossman3-11/+263
struct frame to make it possible to use frame_saved_args in EXTRA_FRAME_INFO macro. * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and macros to make frame operations (such as backtrace) work.
1996-10-11 * dbxread.c (process_one_symbol): Check for null string directlyFred Fish2-1/+7
rather than using strcmp against "". * partial-stab.h: Ditto.
1996-10-11 * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:Mark Alexander2-3/+6
Make it compile on Linux and eliminate some warnings.
1996-10-11Revert last change. I was fooled by an old Makefile that didn'tFred Fish1-5/+0
get rebuilt.
1996-10-11 Bug reported by Paul Flinders <paul@dawa.demon.co.uk>:Fred Fish2-1/+6
* Makefile.in (init.c): Restore '-n' option in sed command.
1996-10-10 * Makefile.in (init.c): Fixup final sed script to work aroundStu Grossman2-1/+6
Linux bug with `p' operator.
1996-10-10 * remote-mips.c: Use the correct name everywhere (DDB) for NEC'sStan Shebs2-34/+40
VR4300 target. (ddb_ops, pmon_ops): Fix the documentation strings.
1996-10-09 * Makefile.in (init.c): Retro HPUX grep lacks -h option. StripStu Grossman2-2/+7
filenames with sed instead.
1996-10-09Add hpux-thread.c.Stu Grossman2-0/+2
1996-10-08 * defs.h: Remove decls of xmalloc and xrealloc. There is aStu Grossman1-0/+5
conflicting definition in libiberty.h.
1996-10-08Just some cleanups noticed while working on PR 10760Fred Fish8-88/+107
* dbxread.c (dbx_symfile_read): Call free_pending_blocks rather than poking global variable (which is now static). * hpread.c (hpread_build_psymtabs): Ditto. * os9kread.c (os9k_symfile_read): Ditto. * xcoffread.c (xcoff_initial_scan): Ditto. * buildsym.h (free_pending_blocks): Declare here. (pending_blocks): Remove declaration of global symbol. (free_pendings): Remove declaration of global symbol. (make_blockvector): Declare here. (record_pending_block): Declare here. * dstread.c (make_blockvector): Remove static copy that was old clone of version in buildsym.c. (process_dst_block): Call record_pending_block rather than doing it by hand. (read_dst_symtab): Ditto. * buildsym.c (make_blockvector): Make global rather than static, (record_pending_block): New function, code moved from finish_block. (finish_block): Use record_pending_block. (free_pending_blocks): New function. (really_free_pendings): Call free_pending_blocks. (pending_blocks): Make static instead of global. (free_pendings): Make static instead of global.
1996-10-08Add windows.mh and xm-windows.hStu Grossman1-4/+6
1996-10-08 * config/i386/windows.mh config/i386/xm-windows.h:: New configStu Grossman3-0/+59
files to support building Wingdb (built under Microsoft build environment).
1996-10-08Add osf-share directory.Stu Grossman1-0/+1
1996-10-08 * Makefile.in: Add rule for hpux-thread.o (needs special headerStu Grossman33-36/+4655
files). * (SUBDIRS): Remove mswin. * Change procedure for creating init.c. Speeds things up quite a bit. * config.in configure configure.in: Check for select, poll. * Check for OSF header files before including hpux-thread.o. * Don't configure doc or testsuite when building under MSVC. * findvar.c value.h (read_register_pid write_register_pid): Make global. Needed for hppa-tdep.c. * (supply_register): Don't set pid to inferior_pid when supplying registers. * hppa-tdep.c (saved_pc_after_call): frame_saved_pc -> FRAME_SAVED_PC. * (frame_saved_pc): Change name to hppa_frame_saved_pc. * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc. Use write_pc instead, which uses the correct pid. * (target_read_pc target_write_pc): Use read/write_register_pid instead of read/write_register to preserve the pid passed in. * inftarg.c (child_can_run): Add flag child_suppress_run to allow hpux-threads.c to override this as a runnable target. * config/pa/nm-hppah.h: Define target_new_objfile and target_pid_to_str. * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc instead of frame_saved_pc. * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb. * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since we can't easily determine the start file bounds with ELF. * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb. * hpux-thread.c: New file for HPUX/OSF thread support. * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF thread support.
1996-10-07 * buildsym.c (finish_block): Change innerblock_anon_complaint toFred Fish2-2/+40
print the addresses as part of the complaint. Add a complaint for cases where the block end address is smaller than the block start address, in case any such conditions slip through our fixup mechanism. * symmisc.c (dump_symtab): Only print blockvector for primary symtabs, to avoid massive duplication of output due to secondary symtabs that point to same blockvector. Also do some minor formatting tweaks.
1996-10-07 Replace header_files global by per-objfile field.Per Bothner5-55/+77
* gdb-stabs.h (struct dbx_symfile_info): Add fields header_files, n_header_files, n_allocated_header_files. * stabsread.h (header_files, n_header_files, n_allocated_header_files): Replace externs by macros HEADER_FILES, N_HEADER_FILES, and N_ALLOCATED_HEADER_FILES. * dbxread.c (dbx_symfile_finish): Free HEADER_FILES. (free_header_files, init_header-files): Don't free/init headerfiles. (various functions): Use macros instead of header_files globals. * stabsread.c (various functions): Likewise.
1996-10-07Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>Jason Merrill2-0/+54
* dwarf2read.c (read_tag_reference_type): New fn. (read_type_die): Call it. (dwarf_attr): Also look in the DIEs referred to by specification or abstract_origin attributes.
1996-10-03 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START andFred Fish4-4/+20
SIGTRAMP_END. * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END): Define with dummy pc arg. * config/m68k/tm-nbsd.h: Ditto. * doc/gdbint.texinfo: Document that SIGTRAMP_START and SIGTRAMP_END are macros that take an single argument.
1996-10-01Fix a stutterStan Shebs1-1/+0
Fix a stutter
1996-10-01 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail forFred Fish7-6/+116
"p func1 ()" and note that rests of tests are skipped. * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux* setup_xfails for "print func2::coremaker_local". Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp". * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't affected by the previous run test. * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for "print array () ubyte (foo)" and "print/x array () byte (\$i)" * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for "pass int powerset tuple" and "pass modeless int powerset tuple". * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for "real write 4" and "real write 8". * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux* setup_xfails for "print vs1 after tuple assign 2", "print \$i after tuple assign 2", and "print vs2 after tuple assign 2". * lib/gdb.exp (gdb_test): When a gdb aborts, print a more meaningful error message and return -1 so the caller can suppress further tests and avoid a cascade of errors.
1996-10-01 * defs.h: Remove define of PRIVATE_XMALLOC.Fred Fish2-15/+32
1996-09-30 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.Stu Grossman1-3/+4
1996-09-30 * top.c (execute_control_command): Free values from while_controlJeff Law2-1/+15
and if_control conditions after evaluation to avoid storage leaks. From Peter Schauer. Fixes 10442.
1996-09-28Make sanitize-v850 lines into comments and rebuild configureFred Fish2-4/+4
1996-09-28Remade configure, which appears to have gotten out of syncFred Fish1-39/+46
with the current files it is built from.