aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1992-03-25* mipsread.c (fixup_sigtramp): Make sure that current_objfile is setupStu Grossman1-0/+7
when calling new_symbol. * mips-tdep.c (mips_frame_chain): Use symfile_objfile instead of current_objfile.
1992-03-24 * config/rs6000.mh: Update (for Fred's new mmalloc)Per Bothner4-6/+14
flags to disable use of GNU malloc/mmalloc. * munch: Change SYSV rule to allow .text before the label, as well as after, to work for AIX. * gdbtypes.h: Minor clarifiction.
1992-03-24Fixed a place where dbx symbol name continuation was appearing in anMichael Tiemann2-0/+6
unexpected place, causing the `Trace' type in gperf/main.o to be mis-parsed.
1992-03-24* mips-tdep.c: include symfile.h and objfiles.h to fixStu Grossman2-1/+8
compilation errors.
1992-03-23 * valops.c (value_struct_elt_for_reference): Added 'offset'Per Bothner1-0/+6
parameter to handle multiple inheritance. * eval.c, value.h: Update accordingly.
1992-03-21Many changes, most related to creating entry point information on a per-objfileFred Fish32-185/+458
basis. See comments in objfiles.h and details in ChangeLog. Also remove redundant definitions of FRAME_CHAIN_VALID from most of the tm-* files and use a default definition in frame.h.
1992-03-20More C++ improvements (pointers to members, qualified names). See ChangeLog.Per Bothner6-379/+574
1992-03-19 * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c,Fred Fish10-310/+520
elfread.c (coff_symfile_finish): Add function, prototype, and add to the xxxx_sym_fns struct for each file type. Also reformat the xxxx_sym_fns vector to a standard format and add comments. * coffread.c, mipsread.c, xcoffread.c, coffread.c, dbxread.c, elfread.c (xxx_symfile_new_init, xxx_symfile_init, xxx_symfile_read): Pass pointer to struct objfile rather than pointer to sym_fns. Change references inside each function accordingly. Allocate any symbol file specific info in the per-objfile memory region. * dbxread.c (free_and_init_header_files): Break function into free_header_files(), called from dbx_symfile_finish(), and init_header_files(), called from dbx_new_init(). * dbxread.c (dbx_new_init): Move deallocation things to new dbx_symfile_finish function. * elfread.c (elf_new_init): Call buildsym_new_init(). * objfiles.c (free_objfile): Call the appropriate symfile_finish() routine for the objfile before deallocating other stuff. * sparc-tdep.c (get_longjmp_target): Cast target_read_memory arg. * symfile.h: Move struct sym_fns to before struct objfile def. Add sym_finish function pointer and change prototypes of other function pointers to reflect passing struct objfile pointer rather than struct sym_fns pointer. * symfile.c: Remove now obsolete symtab_fns pointer. * symfile.c (symfile_init): Renamed to find_sym_fns, and now only locates the correct sym_fns struct for the given objfile. * symfile.c (syms_from_objfile, symbol_file_add): Restructured for better support of mapped symbol tables. * symfile.c (symbol_file_command): Remove obsolete code using symfile_fns. * symfile.h: Remove duplicate declarations for symfile_objfile, entry_point, and object_files. * target.c (target_info): Compare symfile_objfile to NULL. * xcoffread.c (aixcoff_new_init): Move deallocation stuff to aixcoff_symfile_finish().
1992-03-19Add and use definition for IN_SOLIB_TRAMPOLINE which allows wait_for_inferiorFred Fish2-0/+20
to test whether or not it has stepped into the glue that binds an application to a shared library routine.
1992-03-19 Some improvements to g++ debugging.Per Bothner4-54/+192
* symtab.c (list_symbols): demangle before pattern matching. * symtab.c: Other fixes to improve handing of operators. * valprint.c (type_print_base): Fix test for constructor. * values.c (value_static_field): Allow evaluation of CLASS::METHOD, returning a function pointer.
1992-03-18Remove currently unused state.c and state.h files from list of filesFred Fish1-2/+0
to keep.
1992-03-18Changes to implement the -mapped and -readnow options for commands thatFred Fish11-621/+579
read symbol tables.
1992-03-15Remove unused file mtrace.awk, remove entries from .Sanitize forFred Fish2-8/+1
mtrace.awk and previously removed files.
1992-03-15These files are replaced by the mmalloc library.Fred Fish1-0/+3
1992-03-15Missed in last checkin.Fred Fish1-3/+8
1992-03-15Globs of changes. See the ChangeLog for details. Most related toFred Fish28-915/+1980
using the new mmalloc package.
1992-03-14Only enable compilation of debugging functions when IBM6000 is definedFred Fish2-1/+6
as well as DEBUG. Fails to compile otherwise.
1992-03-14Add config directory to list of things to keep.Fred Fish1-0/+1
1992-03-14* mipsread.c (mipscoff_symfile_read): Eliminate a lot ofJohn Gilmore2-15/+19
useless code, including an lseek to an uninitialized variable. Reported by Jim Williams <jimbo@wrs.com>.
1992-03-14pass MAKEINFO down on infoK. Richard Pixley2-27/+49
1992-03-14(1) GDB 4.5: another Grossman/Gilmore co-production!Roland Pesch1-8/+67
(2) Add fnf to GDB credits for SVr4 stuff. (Need to sift ChangeLog again for more recent credits). (3) document "mapped", "readnow" keywords (with file or symbol-file commands; for now no mention of add-symbol-file in this context), -m and -mapped cmd-line options, and associated explanations.
1992-03-14Run TeX *three* times to get better index, xrefs.Roland Pesch1-0/+1
1992-03-13(1) Document printmsyms; slight clarifications to description of printsyms,Roland Pesch1-13/+57
printpsyms. (2) Fix errors found by makeinfo. (3) Initial docn for "info proc" and its subcommands. Should probably be expanded somewhat after implementation complete.
1992-03-13Patches from fnf for SVr4Roland Pesch2-2/+11
1992-03-13Reflect file name changesSteve Chamberlain2-109/+109
1992-03-13Mostly merged in changes from IBM (Metin); see ChangeLog.Per Bothner5-90/+388
1992-03-12Reinstate "gdb-all.texi" as target. (Thanks, Rich, for the reminder).Roland Pesch1-10/+10
1992-03-12.Sanitize: reflect removal of gdb-all.texi from repositoryRoland Pesch4-68/+228
lucid.m4: config for Lucid/NCR (like "all.m4" but also turns on _LUCID__) none.m4: turn _LUCID__ off by default gdb.texinfo: 1) Use bold rather than italic for user input in intro, to avoid discord with meta-variable convention throughout manual (jim@wrs.com suggestion). 2) Some mumbling about using GDB under Energize/Cadillac. (conditionalized on _LUCID__, not included yet in general-doc config) 3) more remarks about debugging optimized code, incl vanishing unused vars (rms/gnu/net suggestion). 4) @emph replaces @i in a few spots (emphasis should affect info file as well as printed manual). 5) "memory tracing", "breakpoint on variable modification" index entries added, pointing to watchpoints (gnu suggestion). 6) Less passive, more index entries, in breakpoint-number description 7) doc new convenience var $bpnum (due to grossman?) 8) Update "info breakpoints" to describe new Grossman format; note now synonymous with "info watchpoints". 9) Describe negative (GDB internal) breakpoints and new "info all-breakpoints" 10) Slight change to description of colon-colon GDB expression notation, describing function::var as well as file::var and noting var is static (lmb question, gnu suggestion) 11) Doc Per's new &(&foo) for debugging C++ 12) Rephrase paragraph in configure appendix to avoid overfull box (in *large* format!) 13) Additional warning re VPATH feature required for --srcdir= config. (gnu suggestion)
1992-03-12 * solib.h, infrun.c, tm-rs6000.h: Add a PID parameterPer Bothner3-3/+8
to SOLIB_CREATE_INFERIOR_HOOK macro.
1992-03-10keep ChangeLog and gdb-all.texiK. Richard Pixley1-2/+4
1992-03-09Interface routines for Lucid's tool protocol.Stu Grossman1-0/+286
1992-03-09 * symfile.h: Add prototype for iterate_over_msymbols().Fred Fish2-2/+35
* symtab.c (cplus_mangled_symbol): Add function. * symtab.c (lookup_symbol): Call cplus_mangled_symbol via iterate_over_msymbols to find demangled C++ symbol. * xcoffexec.c (relocate_minimal_symbol): Return meaningful value to iterate_over_msymbols(). * xcoffexec.c (vmap_symtab): Ignore return from iterate_over_ msymbols().
1992-03-08This is the second batch of makefile changes. Libg++ makefiles wereK. Richard Pixley2-16/+30
checked in earlier. These are Makefiles relevant to the progressive release currently in progress. * added exec_prefix * default bindir now exec_prefix/bin * default libdir now exec_prefix/lib * default mandir now prefix/man * default infodir now prefix/info * added oldincludedir, default NULL * remove all traces of the old -subdirs and -namesubdir support, including code, for loops, and all subdir/unsubdir stuff. * remove old style staging targets {de-}stage[1234], comparison, bootstrapN, from all but the bootstrappable tools. * added check targets. * removed any "Last Mod" lines. * forced copyrights to '92 and shifted some from Cygnus to FSF. * added tooldir and program_prefix where needed. * updated texinfo and man pages, removed all references to multiple hosts or targets.
1992-03-06Fix punctuation error in node Disabling, spotted by gnu.Roland Pesch2-2/+2
1992-03-06Remove (or comment out) local-formatting commands accidentally checked in.Roland Pesch2-6/+4
(Fix for info-making problems spotted by Rich.)
1992-03-06this file will be needed as long as we use a tool that we don't support (m4)K. Richard Pixley1-0/+8438
1992-03-06* mips-tdep.c (heuristic_proc_start): Avoid long delaysJohn Gilmore1-1/+2
for remote MIPS by limiting heuristic to 200 byte search. (heuristic_proc_desc): Byte-swapping. (mips_print_register): Cope with failure of read_relative_register_raw_bytes. Byte-swap integers for printing. * mips-pinsn.c (print_insn): Byte-swap instruction.
1992-03-06* remote.c (): Add newline to initial +.John Gilmore1-0/+1
(remote_resume): Mention how to cope with signals. (remote_interrupt): Add debug msg. (remote-wait): Implement new 'T' reply, which includes status, PC, and FP all in a single short message. (putpkt): Add further debugging of packet acks. * Makefile.in (VERSION): Roll to 4.4.5.
1992-03-06* mipsread.c (fixup_symtab): Also swap RFD's.John Gilmore1-0/+8
(parse_partial_symbols): Avoid bug on unknown symbol types.
1992-03-06Remove sym.h and symconst.h from 'depend'.John Gilmore1-1/+1
1992-03-06* ecoff.c: Move to ../bfd/coff-msym.c.John Gilmore3-10/+15
* config/mt-*mips: Remove ecoff.o from the configuration.
1992-03-06* ecoff.c: Move to ../bfd/coff-msym.c.John Gilmore2-2/+2
* config/mt-*mips: Remove ecoff.o from the configuration.
1992-03-05* config.sub configure.in config/.Sanitize config/mh-irix4Stu Grossman1-0/+8
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x. Actually, just pick up a couple of files that I forgot.
1992-03-05* config.sub configure.in config/.Sanitize config/mh-irix4Stu Grossman12-7/+230
gdb/.Sanitize gdb/configure.in gdb/mips-tdep.c gdb/mipsread.c gdb/procfs.c gdb/signame.h gdb/tm-irix3.h gdb/tm-mips.h gdb/xm-irix4.h gdb/config/.Sanitize gdb/config/mt-irix3 gdb/config/mh-irix4 texinfo/configure.in: Port to SGI Irix-4.x.
1992-03-04 * defs.h, utils.c: xrealloc takes PTR as first arg.Fred Fish5-15/+69
* defs.h: Reword confusing comment about ANSI prototypes. * defs.h: Some minor whitespace changes. * infrun.c (wait_for_inferior): Compare int tmp to int 0, not NULL, which can be (void *). * tm-amix.h, tm-i386v4.h: Add defines for setjmp/longjmp handling. * tm-i386v.h (SP_ARG0): Define * xm-sysv4.h: Back out of change for missing prototypes. * i386-tdep.c (get_longjmp_target): Add function.
1992-03-04H8/300 config, startup doc, and related mods.Roland Pesch6-106/+246
1992-03-03Tue Mar 3 15:11:52 1992 Michael Tiemann (tiemann@cygnus.com)Michael Tiemann84-476/+990
* All GDB files that #include defs.h: Removed stdio.h. (defs.h): #include stdio.h. This has been tested by building GDBs for all targets hosted on Sun4. None of the build problems were related to stdio.h inclusion. (n.b. many configurations don't build for other reasons.)
1992-03-03 * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, useSteve Chamberlain1-3/+12
it before printing out the hex shape of an address.
1992-03-03 * gdbtypes.c (lookup_pointer_type): initialize the TYPE_LENGTH ofSteve Chamberlain5-76/+118
a ptype to reflect the setting of TARGET_PTR_BIT. Set the TYPE_FLAGS of a ptype to TYPE_FLAG_UNSIGNED. * tm-h8300.h, h8300-tdep.c, remote-hms.c: personal checkpoint * printcmd.c (print_address): if ADDR_BITS_REMOVE is defined, use it before printing out the hex shape of an address.
1992-03-02Check in ChangeLog entries for the recent massive changes for prototypes,Fred Fish1-86/+342
objfile changes, etc.