aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1996-10-29Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-7/+12
* tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. (TARGET_READ_FP,TARGET_WRITE_FP): Define.
1996-10-29Tue Oct 29 12:48:04 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-58/+108
* d10v-tdep.c: Snapshot that supports D10V-EVA board. * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap. (TARGET_READ_FP,TARGET_WRITE_FP): Define.
1996-10-29 * mswin/genmakes mswin/recordit: New scripts to generate makeStu Grossman1-0/+11
files for MSVC.
1996-10-28add new filesIan Lance Taylor1-0/+4
1996-10-28 * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:Mark Alexander5-2/+58
New files. * configure.tgt: Modify cases for vr5000 to use new files.
1996-10-26 * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracingPeter Schauer3-7/+62
the entry to the exit system call to detect termination of the inferior stopped working. Trace termination of the inferior via PRFS_STOPTERM instead. (procfs_init_inferior): Do not trace entry to exit system call if PIOCSSPCACT is defined. (procfs_wait): Handle PR_DEAD event, which signals the termination of the inferior if PRFS_STOPTERM is set. * mdebugread.c (parse_partial_symbols): Ignore stNil section start address symbols. * sparc-tdep.c (get_saved_register): Get saved PC from the frame info if not in innermost frame.
1996-10-24 * configure.in, configure.tgt, configure.host, gdbserver/configure.in:Mark Alexander1-0/+1
Correct for pc-linux-gnu problem in config.guess.
1996-10-24 * dbxread.c (process_one_symbol): Interpret end-of-functionMark Alexander4-4/+7
markers correctly; this fixes problem on Vr5000 where all functions in a module had the same address. * configure.in, configure.tgt, configure.host, gdbserver/configure.in: Correct for pc-linux-gnu problem in config.guess. * configure: Regenerate.
1996-10-24 * dbxread.c: Don't swap symbols in place, since internal andStu Grossman5-24/+69
external forms may have different sizes. Don't assume that an internal_nlist has the same layout as an external_nlist. Create symbol for n_strx element so to hide specifics of nlist from partial-stab.h. * partial-stab.h: Don't reference dbxread symbols directly. Use CUR_SYMBOL_STRX instead. * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for MSVC builds. * mswin/gdbwin.c (reg_order): Define register order for V850. * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for V850. * mswin/regdoc.h: Define MAXREGS for V850.
1996-10-22 * v850-tdep.c (scan_prologue): Changes to deal with scheduledStu Grossman2-21/+52
prologues correctly. First, prologue end is now defined by presence of a branch, jump or call insn. Second, can no longer fix frame offsets because we may not know the offset until after a register has been saved. * (v850_init_extra_frame_info): Fixup frame offsets here because we have all the info at this time. * (v850_frame_chain): Use new calling convention for scan_prologue.
1996-10-22start-sanitize-d10vMartin Hunt1-0/+7
Tue Oct 22 10:25:29 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack backtraces and inferior function calls. end-sanitize-d10v
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.