aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1996-09-28Sanitize for v850.Stu Grossman1-0/+72
1996-09-28Sanitize v850 shit.Stu Grossman1-0/+14
1996-09-28Add configure.Stu Grossman1-1/+1
1996-09-28v850 shitStu Grossman1-6/+19
1996-09-28Sanitize out v850 stuff.Stu Grossman1-0/+2
1996-09-28 * configure.in: Recognize v850 target.Stu Grossman4-0/+130
* v850-tdep.c: New file, NEC V850 target support. * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
1996-09-28v850 stuffStu Grossman1-0/+41
1996-09-27 * infrun.c (wait_for_inferior): Update current_line andPeter Schauer1-0/+5
current_symtab when stepping continues in the middle of a new line.
1996-09-27 * top.c (print_gdb_version): Rewrote to comply with new GNU codingFred Fish4-20/+48
standards for the --version option. (print_gnu_advertisement): Remove, now part of print_gdb_version. (show_version): Remove call to print_gnu_advertisement. * top.h (print_gnu_advertisement): Remove prototype. * main.c (print_gdb_help): Move help to static function and add prototype. (main): Call print_gdb_help rather than inlining it. (main): Remove call to print_gnu_advertisement. * gdbtk.tcl (create_copyright_window): Increase timeout from 15 seconds to 30 seconds.
1996-09-27 * gdb.base/a1-selftest.exp: Tweak tests to account for newFred Fish1-1/+9
format for printing version. * gdb.base/default.exp: Ditto. * gdb.base/interrupt.exp: Fix problem with cascade of errors if child process dies while calling a function.
1996-09-27fix typoMichael Meissner1-1/+1
1996-09-27Set the sizes of the basic types that do not match the defaultsMichael Meissner2-0/+14
1996-09-27 * configure.in, config/i386/tm-linux.h: Fix configureMark Alexander2-0/+30
problem on older Linux systems that prevented core files from being recognized.
1996-09-26always keep dbug-rom.cStan Shebs1-0/+1
1996-09-26 * dbug-rom.c: New file, support for Motorola's dBUG monitor.Stan Shebs2-0/+173
* config/m68k/monitor.mt (TDEPFILES): Add it. * NEWS: Mention it.
1996-09-23Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+1
* tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. Now single-steps correctly.
1996-09-23Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-8/+8
* config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed. Now single-steps correctly. * d10v-tdep.c (d10v_pop_frame): Fixed.
1996-09-20 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers toStan Shebs4-64/+74
be consistent with GCC. (FPUL_REGNUM, etc): Renumber to match list changes. (ADDR_BITS_REMOVE): Delete. * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names): Rearrange to match REGISTER_NAMES. * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto. PR 9457
1996-09-19Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt3-27/+26
* d10v-tdep.c: Stack chain should work now.
1996-09-18Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+2
* tm-d10v.h: Snapshot.
1996-09-18Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt2-10/+266
* d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.