aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1994-05-14Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-34/+42
* inflow.c (job_control, attach_flag, generic_mourn_inferior): Remove, needed for both native and cross. * target.c (attach_flag, generic_mourn_inferior): Put here. * utils.c (job_control): Put here. (terminal.h): Don't include anymore.
1994-05-14 * source.c (find_source_lines): Always use code that was #ifdefJim Kingdon33-257/+106
BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than leaving it on the chain. Reindent much of this function. * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, config/ns32k/xm-ns32km3.h: Remove all references to BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. * main.c, fork-child.c, many config files: Remove all SET_STACK_LIMIT_HUGE code; with the above changes it should no longer be needed. * symtab.c (lookup_partial_symbol): Use if and abort, not assert. This avoids __eprintf troubles. * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move initialization code which needs to be called even if we bypass the command line stuff into gdb_init. * utils.c (fputs_unfiltered): Surround in #ifndef FPUTS_UNFILTERED_OVERRIDE. * Makefile.in (libgdb.a): New target. * utils.c: Rearrange I/O stuff a bit so that all output goes through fputs_unfiltered. Use vasprintf; removes arbitrary limit which made %s not work with arbitrarily large strings. * printcmd.c (printf_command): Use printf_filtered, not printf_unfiltered and printf, now that arbitrary limit is gone.
1994-05-14 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.Bill Cox2-2/+7
(CFLAGS): Delete it from here.
1994-05-13 gcc -Wall lint:Jim Kingdon22-254/+927
* breakpoint.c (watchpoint_check): Remove unused variable b. * stack.c (print_frame_info): Move sp and buf inside #if. * eval.c (evaluate_subexp): Remove unused variables pp, mangle_ptr, ptr, and mangle_tstr. * valarith.c (value_x_binop): Remove unused variables mangle_tstr and mangle_ptr. * symtab.c (lookup_symtab): Put variable copy inside #if. (decode_line_1): Put variable q1 inside #if 0. * target.h: Declare target_link. * infrun.c (wait_for_inferior): Remove unused variables signame. * remote.c (remote_resume): Remove unused variable name. * c-exp.y (parse_number): Parenthesize operand of shift. * dbxread.c (record_minimal_symbol): Parenthesize operand of && (this is a semantic change, the warning seems to have detected a bug). * dbxread.c (end_psymtab): Move variable p1 inside #if. * coffread.c: Move variable temptype inside #if. * ch-typeprint.c (chill_type_print_base): Remove unused variable name. * ch-valprint.c: #include typeprint.h and ch-lang.h. (chill_val_print): Remove unused variable in_range. (chill_val_print): Remove statement "length > TYPE_LENGTH (type);". (chill_val_print): Add default case for switch. * stabsread.h: Declare stabsect_build_psymtabs. * os9kread.c (read_minimal_symbols): Make this return void. (os9k_symfile_read): Remove unused variables stb_exist and val. (os9k_symfile_init): Remove unused variable val. (fill_sym): Remove unused variable id. (read_os9k_psymtab): Put variable back_to inside #if 0. Remove unused variable nsl. Remove unused variable symfile_bfd. #if 0 unused variables lbrac_unmatched_complaint and lbrac_mismatch_complaint. Remove declaration for non-existent function os9k_next_symbol_text. * annotate.c, annotate.h: New files, containing a function for each annotation which outputs it. * Move breakpoints_changed from breakpoint.c to annotate.c. * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c, printcmd.c, source.c, stack.c, utils.c, valprint.c: Use annotate.c functions to output annotations. * Makefile.in (OBS): Add annotate.o.
1994-05-13Changes for MacGDB:Stan Shebs7-40/+357
Thu May 12 17:04:58 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-make.in (INCLUDE_CFLAGS): Add readline source dir. (READLINE_CFLAGS, READLINE_SRC, READLINE_DIR): Uncomment. (TSOBS): Don't compile inflow.c. (all, install): Add MacGDB. * main.c (main): Do Mac-specific init and command loop if a standalone app, skip full option help message if compiling with MPW C. (gdb_readline): If MPW, add a newline after the (gdb) prompt. * utils.c (_initialize_utils): If MPW, don't try to use termcap to compute the window size. * config/m68k/xm-mpw.h (printf, fprintf, fputs, fputc, putc, fflush): Define as macros that expand into hacked_... versions. (StandAlone, mac_app): Declare. * macgdb.r (SIZE): Set the default partition to 4000K. * mac-xdep.c (readline.h, history.h): Include. (terminal.h): Don't include. (mac_app): Define. (gdb_has_a_terminal): Define Mac-specific version. (do_keyboard_command): Simplify search for command string. (readline): Define as gdb_readline. Add other history/readline stubs to make main gdb link. (hacked_fprintf, hacked_printf, hacked_vfprintf, hacked_fputs, hacked_fputc, hacked_fflush): New functions, intercept output to stdout and stderr, send to console window.
1994-05-12 * config/makefile.rel.in: : Add comment linesBill Cox2-2/+7
to Sanitize out CHILL references unless keep-chill was specified.
1994-05-12 * .Sanitize: Drop the gdb.t30 and gdb.t31 directoriesBill Cox3-6/+24
unless keep-chill was specified on the command line. * Makefile.in: Add comment lines to Sanitize out CHILL references unless keep-chill was specified.
1994-05-12 * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size andJeff Law2-0/+8
elf_unwind_entries are always initialized.
1994-05-12 * hppa-tdep.c (skip_trampoline_code): Handle argument relocationJeff Law2-3/+10
stubs which return directly to the caller rather than to the stub itself.
1994-05-12Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-19/+12
* c-exp.y (yyerror): Display a more informative error message. * ch-exp.y (yyerror): Ditto, don't use global yychar. * m2-exp.y (yyerror): Ditto.
1994-05-11Change kill-region to delete-regionJim Kingdon1-2/+2
1994-05-10Trivial change to prepare for a real oneStan Shebs2-4/+21
1994-05-10 * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY toIan Lance Taylor2-2/+14
SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd.
1994-05-08Remove debugging code.Jim Kingdon1-6/+0
1994-05-08Add a major mode for the breakpoints window.Jim Kingdon1-20/+56
1994-05-08Fix typo in gdb-goto-first-gdb-instance.Jim Kingdon1-23/+26
Re-write gdb-look-for-tagged-buffer to avoid recursion (I was getting errors because of too much nesting, obviously elisp lacks tail recursion optimization) Fix toggle-bp-this-line for new ways of communicating with gdb and rename to gdb-toggle-bp-this-line.
1994-05-06Fri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-1/+1
* Makefile.in (kdb): Remove old init.c creation commands. * configure.in (sparclite): Match on sparclite*. * sparclite/aload.c (main): Only change section addresses for a.out format object files.
1994-05-06 * config/i386/go32.mh: Define CC.Steve Chamberlain1-0/+4
1994-05-06Fri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-2/+313
* gdbserver/Makefile.in: Remove irrelevant definitions and comments inherited from the gdb Makefile. (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile. (VERSION): Update to 4.12.3. (gdbserver): Remove any existing executable first. (distclean, realclean): Remove nm.h. * gdbserver/low-lynx.c: Add Sparc Lynx support. * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h): Don't use absolute pathname.
1994-05-06Thu May 5 20:23:36 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+19
* stabs.texinfo (Stab Section Basics): Add comment about alignment of stabs-in-coff sections.
1994-05-05Thu May 5 12:00:22 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-6/+8
* rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an error.
1994-05-05 * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.cJim Kingdon1-0/+10
(print_it_normal): Add annotations for the inferior starting and stopping, and for all the various messages related to how it stopped. * printcmd.c (do_one_display): Annotate. * stack.c (print_frame_info): Annotate printing of stack frames.
1994-05-05 * annotate.texi: Change edition to 0.5 and date to May 1994.Jim Kingdon2-3/+295
Add index. (Frames): New node, for frame annotation. (Displays): New node, for display annotation.
1994-05-05 * remote.c (get_offsets): Handle case where stub doesn't supportStu Grossman1-0/+5
qOffsets message.
1994-05-05 Add partial support for g++ code compiled with -fvtable-thunks.Per Bothner5-24/+75
* c-valprint.c (c_val_print): Add vtblprint support when using thunks. * cp-valprint.c (cp_is_vtbl_member): A vtable can be an array of pointers (if using thunks) as well as array of structs (otherwise). * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name): Move to global level, and make the latter non-static (so define_symbol can use it). * stabsread.c (define_symbol): If the type being defined is a pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name. * symtab.h (VTBL_PREFIX_P): Allow "_VT" as well as "_vt". * values.c (value_virtual_fn_field): Handle thunks. * values.c (value_headof): Minor efficiency hack. * values.c (value_headof): Incomplete thunk support. FIXME.
1994-05-04 * valprint.c (print_longest): Clarify comment about use_local.Jim Kingdon9-44/+78
* printcmd.c, defs.h (print_address_numeric), callers in symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c, cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c, exec.c: New argument use_local. * source.c (identify_source_line): Use filtered output. Use print_address_numeric.
1994-05-04 * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),Jim Kingdon3-10/+15
language.c (type_error, range_error): Use filtered output. * utils.c (error_begin): Update comment to tell people to use filtered output.
1994-05-04 * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h.Jim Kingdon1-0/+6
(HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get bfd.h.
1994-05-04 * remote.texi (MIPS Remote): Say that set timeout doesn't applyJim Kingdon2-0/+10
when waiting for your program to stop.
1994-05-03 * procfs.c (procfs_wait): Reinstate code which deduces the signalJim Kingdon3-0/+31
from the fault, #ifndef FAULTED_USE_SIGINFO. * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO.
1994-04-30 * annotate.texi (Breakpoint Info): Document annotation of headerJim Kingdon2-8/+13
fields and record annotation.
1994-04-30 * breakpoint.c (breakpoint_1): Annotate each field of the headers.Jim Kingdon2-17/+96
Explicitly annotate each record.
1994-04-30Fri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs4-317/+354
* xcoffexec.c: Reformat to standards and lint. (language.h): Include. (exec_close): Declare arg "quitting". (file_command): Declare arg "from_tty". (map_vmap): Cast xmalloc result to PTR. * rs6000-nat.c: Reformat to standards and lint. (exec_one_dummy_insn): Use char array for saved instruction. (fixup_breakpoints): Declare. (vmap_ldinfo): Be more informative in fatal error messages. (xcoff_relocate_symtab): Define to return void. * xcoffsolib.h: Reformat to standards, improve comments. * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare.
1994-04-29Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+4
* Makefile.in (RUNTEST): Default to just "runtest".
1994-04-29new window management codeJim Kingdon1-7/+50
1994-04-28Back-migrate minor changes in these files from 94Q1 progressive into devo:Bill Cox1-1/+1
dejagnu/ChangeLog, dejagnu/Makefile.in, dejagnu/example/calc/Makefile.in, dejagnu/lib/remote.exp, dejagnu/testsuite/Makefile.in, dejagnu/testsuite/runtest.all/options.exp, gcc/testsuite/config/unix.exp, gdb/testsuite/Makefile.in, ld/ChangeLog, newlib/testsuite/ChangeLog, texinfo/testsuite/ChangeLog
1994-04-28* annotate.texi: New file, to document annotations.Jim Kingdon1-0/+37
1994-04-28 * utils.c, defs.h (error_begin): New function.Jim Kingdon6-39/+82
(quit): Print annotation before printing the error message. * main.c (return_to_top_level): Print annotation before doing the longjmp. * symtab.c (decode_line_1): Call error not warning and then return_to_top_level. Call error_begin and printf_unfiltered rather calling warning (before calls to return_to_top_level). * core.c (memory_error): Use error_begin, printf_unfiltered, print_address_numeric and return_to_top_level instead of error. Cleans up a FIXME-32x64. * language.c (type_error, range_error): Call error_begin not just target_terminal_ours.
1994-04-28 * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_infoJim Kingdon1-0/+7
directly, rather than via DBX_SYMFILE_INFO. A cast on the left side of an assignment is non-portable.
1994-04-28add gdba.elJim Kingdon1-0/+1
1994-04-28xJim Kingdon1-15/+23
1994-04-28* annotate.texi: New file, to document annotations.Jim Kingdon1-2/+6
1994-04-28new, emacs gdb mode with annotation stuffJim Kingdon2-0/+1798
1994-04-28* annotate.texi: New file, to document annotations.Jim Kingdon3-0/+367
1994-04-28(prompt_for_continue): Likewise for prompt-for-continue annotation.Jim Kingdon2-0/+8
1994-04-28 * utils.c (query): Change syntax of query annotations to beJim Kingdon2-5/+42
consistent with other input annotations.
1994-04-28new, to document annotationsJim Kingdon1-0/+0
1994-04-28 * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocksPeter Schauer2-2/+13
for stabs symtabs. * mips-tdep.c (mips_skip_prologue): Handle prologues for functions that have a stack frame size of 32k or larger (from Paul Flinders). Remove #if 0'd code.
1994-04-27Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs2-0/+11
* lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition for Lynx platforms that need it. * config/nm-lynx.h (__LYNXOS): Define if not already defined.
1994-04-27 * procfs.c (procfs_wait): Use the signal from the pr_info ratherJim Kingdon2-20/+10
than trying to deduce it from the fault.