Commit Graph

29618 Commits

Author SHA1 Message Date
Roland Pesch 5dfddc7fc6 * doc/refcard.tex (sec "Working Files"): consistent metavars, due
to Franc,ois Pinard (pinard@iro.umontreal.ca)
1991-10-16 06:35:14 +00:00
Roland Pesch 93ae2e889a * doc/gdb.texinfo (appendix "Installing GDB"): changes in configure. 1991-10-16 03:13:36 +00:00
John Gilmore 5d2cfefe93 * configure.in, tconfig/decstation, xconfig/decstation: Rename
dec3100 to decstation.
1991-10-16 01:06:01 +00:00
John Gilmore afe4ca159b Changes from Fred Fish:
* tm-68k.h (FPI_REGNUM):  Add.
* infrun.c (child_create_inferior):  flush stdout and stderr
before forking.
* configure.in:  Handle amigados, amix hosts and targets.
* inflow.c:  Handle TIOCGLTC_BROKEN for Amiga.

From Andreas Schwab:
* values.c (show_convenience):  Use printf_filtered.
* main.c (define_command):  Check result of lookup_command for
exact match.
(echo_command):  Use printf_filtered, and force output out.

* dbxread.c (read_enum_type):  Avoid Modula-2 kludge that breaks C
programs.
* i387-tdep.c (double_to_i387):  Fix typo for double_to_ieee_extended.
* utils.c (_initialize_utils):  If !ISATTY, don't paginate.
1991-10-15 23:29:34 +00:00
Roland Pesch 2109a7b736 * doc/gdb.texinfo
(nodes Continuing and Stepping; Memory; Targets) clarifications
	due to Larry Breed
1991-10-15 00:46:39 +00:00
John Gilmore 3c6c67143a Assorted patches from Fred Fish, Peter Schauer. 1991-10-12 07:19:13 +00:00
John Gilmore 9e77ff161f * copying.awk: Filter formfeeds out of copying & warrantee.
Make them available as `show copying' and `show warrantee' also.
1991-10-12 06:28:15 +00:00
John Gilmore 074274252f Read cross-core files on Mach 386. 1991-10-11 00:27:41 +00:00
John Gilmore 912456a503 * mipsread.c, coffread.c: initialise TYPE_VPTR_FIELDNO to -1.
This avoids coredumps under `set print object on' in value_headof
(called erroneously by value_from_vtable_info) for `p &struct'
or `p *struct'.  From Peter Schauer.
1991-10-10 00:05:52 +00:00
John Gilmore e7a6fb0120 oops 1991-10-05 05:38:12 +00:00
Per Bothner a18e791707 More patches from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
* mips-xdep.c (store_inferior_registers):  Don't try to
	write the (pseudo) FP.
	* mipsread.c (parse_partial_symbols):  Improved algorithm for
	setting pst->texthigh.
1991-10-05 00:25:09 +00:00
Roland Pesch 6e08f6d398 *** empty log message *** 1991-10-04 23:48:16 +00:00
John Gilmore 7cefc05e6a * coffread.c, dbxread.c, symfile.c, symmisc.c, symtab.h: Remove
vestiges of typevectors, which were for symsegs and are no longer
used.  (From a question by Eliot Dresselhaus
<dresselh@RFT30.nas.nasa.gov>).
1991-10-04 07:40:21 +00:00
John Gilmore 9bba3334a0 * dbxread.c, coffread.c: static-ize functions that were
gratuitiously external.  (From Fred Fish.)
1991-10-04 06:46:30 +00:00
John Gilmore 5b0a744f98 * c-exp.y: sym->class to SYMBOL_CLASS (sym).
* dbxread.c (dbx_lookup_type):  Keep doubling size of typevector
until it is large enough.
1991-10-04 03:17:46 +00:00
John Gilmore 5bc757e244 * dbxread.c (read_type): Handle error case slightly better.
Make complaint message not C++-specific.

* symtab.c (lookup_symtab_1, lookup_symbol):  "fatal" errors
between symtabs and psymtabs become ordinary error()s.

* dbxread.c (read_dbx_symtab):  Relocate end_of_text_addr
properly, making "end pc" correct in shared lib psymtabs.
(From Guy Harris <guy@auspex.com>.)
1991-10-03 16:35:17 +00:00
Stu Grossman a03c8dc452 *** empty log message *** 1991-10-03 00:28:29 +00:00
John Gilmore 9bb3045288 * dbxread.c: Enable, but soften, const_vol_complaint.
(read_dbx_symtab):  N_STSYM and N_LCSYM define static vars.
Ditto Gould N_NBSTS and N_NBLCS.  Also, all types in the psymtab
should be file-scope, not global.
(read_struct_type):  Remove ancient multiple-inheritance warning.
(read_range_type):  Check base type, complain & patch if undefined.
1991-10-01 13:29:10 +00:00
John Gilmore a187ef68c1 * stack.c (frame_info): Demangle the function name in `info stack'.
(From Peter Schauer)
1991-10-01 12:25:38 +00:00
John Gilmore dc9894c8b1 * symtab.c (lookup_method_type): Arguments were swapped in all
callers, so fix it here.  I'm amazed this worked at all!
1991-09-28 17:13:08 +00:00
John Gilmore 03e826bb51 * eval.c (evaluate_subexp_for_address): Don't use
TYPE_POINTER_TYPE directly (it might be zero if this type has
never had a pointer created before); use lookup_pointer_type.
1991-09-28 17:09:07 +00:00
John Gilmore 680c9dfa72 IN_SIGTRAMP bugfix. 1991-09-25 01:09:15 +00:00
Roland Pesch 513c6e2bc1 *** empty log message *** 1991-09-21 02:03:09 +00:00
John Gilmore dc4a4b2e6a Update for gdb-4.1 release. 1991-09-21 00:19:51 +00:00
John Gilmore 0b7984094d * language.c (set_language_command): Print useful help message,
and restore the language string after giving help.
* valprint.c (typedef_print):  Print typedef in C or M2.
* symtab.c (list_symbols):  Use it.
1991-09-20 23:59:13 +00:00
John Gilmore 5f3d478e7d * main.c (main): Avoid any output before (gdb) prompt when -q.
* language.c (set_language_command):  Handle errors by restoring
the language string to its current state (fix from A. Beers).
1991-09-20 23:17:32 +00:00
Roland Pesch 14e2990a5f *** empty log message *** 1991-09-20 22:51:22 +00:00
Roland Pesch b7ced3225a Fri Sep 20 15:46:00 1991 Roland H. Pesch (pesch at cygnus.com)
* doc/Makefile: generate aux version-no file doc/gdbVN.m4
	from main Makefile.in version definition
	doc/gdb.texinfo: use version recorded in doc/gdbVN.m4 for current
	GDB version no refs
	Makefile.in (setup-to-dist): generate doc/gdbVN.m4
1991-09-20 22:50:11 +00:00
Per Bothner ab1e12a22e Kludge to allow compilation by non-ANSI compilers. 1991-09-20 22:03:49 +00:00
John Gilmore 1fea803977 * dbxread.c (read_dbx_symtab, process_one_symbol): N_FN and
N_WARNING are the same except for the N_EXT bit, so just use their
values alone, rather than OR-ing them with N_EXT.
1991-09-20 20:37:17 +00:00
Stu Grossman a4c53fb006 Sign extend extended line offsets in parse_lines correctly. 1991-09-20 20:15:20 +00:00
Stu Grossman e9f82257cf *** empty log message *** 1991-09-20 19:29:41 +00:00
John Gilmore a3a9ba23bc .gdbinit: move set complaints 1 to top. 1991-09-20 19:26:09 +00:00
John Gilmore 7cb8375793 * language.c (_initialize_language): Fix type check and range
check documentation strings.
1991-09-20 18:18:13 +00:00
John Gilmore c2536607c6 * utils.c (!HAVE_VPRINTF): Define vfprintf as a function, so
language.c can use it.  (Though language.c should really not be
handling warnings/errors the way it does, FIXME.)
* symtab.c (lookup_primitive_type):  const lint.
1991-09-20 18:13:28 +00:00
John Gilmore 9c85f3ceac Preparation for gdb-4.1 release. 1991-09-20 08:36:19 +00:00
Roland Pesch 613d64489a doc/gdbint.texinfo 1991-09-20 00:42:12 +00:00
Per Bothner c44582c81a Various mips changes from Peter Schauer. 1991-09-20 00:17:30 +00:00
John Gilmore c82e8a491c Minor fixes 1991-09-19 22:39:58 +00:00
John Gilmore 0def21a0f2 Andrew Beers' changes for Modula-2 support. 1991-09-19 11:48:49 +00:00
Per Bothner 0abfa8989a In mipsread.c (parse_symbol), put non-static procedures
in the global block.
1991-09-17 19:47:28 +00:00
John Gilmore a16f53e9e8 tm-ultra3.h slipped thru the cracks... 1991-09-13 05:13:34 +00:00
John Gilmore 07cfbae199 AMD 29000 changes from David Wood <wood@david.ultra.nyu.edu> 1991-09-13 01:21:18 +00:00
John Gilmore f5e011c68c * Makefile.in (documentation targets): Pass $(M4).
Bugfix from eggert@twinsun.com (Paul Eggert).

* stack.c (down_silently_command):  Check for stack existence.
1991-09-12 03:03:01 +00:00
John Gilmore 90d368c5ef * Makefile.in (VERSION): Update to 4.0.3. 1991-09-11 06:10:20 +00:00
John Gilmore cadbb07a69 * core.c (core_file_command): Print frame at coredump with
its level number, by calling print_stack_frame.
* frame.h:  Add selected_frame_level, print_stack_frame.
* frame.h, stack.c:  Remove print_sel_frame, print_selected_frame.
* convex-tdep.c, convex-xdep.c, infcmd.c, inflow.c, infrun.c:
Change print_sel_frame and print_selected_frame callers to
print_stack_frame.

* dbxread.c (read_ofile_symtab):  Avoid empty else clause.
* symfile.c (free_named_symtabs):  Ditto.
* main.c (main):  wrap_here needs an arg.
* solib.c (find_solib):  Avoid memory access if _DYNAMIC is zero.
(solib_add):  Avoid noise.
(solib_create_inferior_hook):  Lint.
(sharedlibrary_command):  Move dont_repeat to here.
* utils.c (error):  Call wrap_here to force buffered output.

Small patches from Peter Schauer:

* coffread.c (start_symtab):  Free any existing line_vector before
malloc-ing new one.
(read_coff_symtab):  Ditto for type_vector.

* source.c (lines_to_list):  New variable, replacing function.
(all uses):  Use as variable.
(_initialize_source):  Add 'set listsize' and 'show listsize'.
* utils.c (lines_to_list):  Remove function.
* stack.c (print_frame_info):  Use as variable.
* defs.h (lines_to_list):  Remove declaration.
1991-09-11 01:49:50 +00:00
John Gilmore 8106620887 * utils.c (error): if error_pre_print is set, print the string
first.
* main.c (main, print_gnu_advertisement, print_gdb_version):
Reformat legalese so it always prints, but acts as an "I'm here"
message while symbols are being read.  If any errors occur,
print a few newlines to set off the message and start it at the
left margin.  Remove mention of "help" command, and don't yak about
symbol reading.
(catch_errors):  Error string is now printed first in case of
error, not last.
* command.c (undef_cmd_error, lookup_cmd):  On undefined command,
suggest the "help" command.

* Makefile.in (VERSION):  Set to 4.0.2.
1991-09-10 08:56:09 +00:00
John Gilmore e92583d39c Host and targets with different sized types. &others. 1991-09-06 07:19:03 +00:00
John Gilmore bdbd5f5086 Make writing to files work properly. (Fixes to BFD are also needed.)
* core.c (core_open):  Open file ourselves, read or r/w, depending on
write_files.  Use bfd_fdopenr.
* gdbcore.h (write_files):  New variable.
* exec.c (write_files):  Define variable, add set&show for it.
(exec_file_command):  Use write_files to open for read or r/write.

Make shared library reading happen automatically.  These changes
are mostly from Peter Schauer <pes@regent.e-technik.tu-muenchen.de>.

* inferior.h (stop_soon_quietly):  Add to exported variables.
* infrun.c (child_create_inferior):  call solib hook, if defined.
(child_attach):  call solib hook, if defined.
* solib.c:  Include inferior.h.  Add from_tty to so_list as kludge.
(find_solib):  Use lookup_misc_func rather than hand-rolled.
(symbol_add_stub):  New stub for catch_errors.
(solib_add):  Avoid output if !from_tty.  Catch errors rather
than just calling symbol_file_add and bombing.
(solib_create_inferior_hook):  Interface with the target process
to let it read and alloc shared libs, then figure out what it did.

* core.c (validate_files):  Fix typo, soften warning.
(Fix from Hiroto Kagotani <kagotani@cs.titech.ac.jp>.)

* utils.c (fputs_demangled):  Avoid duplicate printing if
demangling is off.  (Fix from J.T. Conklin <jtc@cayenne.com>.)

* infrun.c (proceed):  Cast -1 to (CORE_ADDR) before comparing.
(Fix from pierre@la.tce.com (Pierre Willard).)

* main.c (catch_errors):  Change argument to a char * from an int,
since a char * can point to a struct full of glop, but an int
is not guaranteed to be able to hold a pointer.
* breakpoint.c (breakpoint_cond_eval, bpstat_stop_status,
breakpoint_re_set_one, breakpoint_re_set):  Adapt.
* core.c (core_open, solib_add_stub):  Adapt.
* remote-vx.c (symbol_stub, add_symbol_stub, callers):  Adapt.
1991-09-04 07:43:50 +00:00
Roland Pesch 1eddc5863e *** empty log message *** 1991-08-23 23:23:47 +00:00
Roland Pesch 2ecf020143 * Makefile.in: generate "gdb-all.texi" rather than "gdb-all.texinfo" 1991-08-23 22:47:36 +00:00
Roland Pesch ee4196dc5d *** empty log message *** 1991-08-23 22:39:16 +00:00
Roland Pesch b9def3d9df Reflect name change (doc/rdl-apps.texi) 1991-08-23 22:37:49 +00:00
Roland Pesch d7c2f2ddd5 * WHATS.NEW: correct pointer to refcard. 1991-08-23 21:10:02 +00:00
John Gilmore 81b0b547d6 * GDB-4.0 release!
* Makefile.in (VERSION):  Roll to 4.0.
        (gdb.tar.Z):  Make refcard.ps as well, for shipment.
1991-08-23 20:48:14 +00:00
Roland Pesch 6d4100b71d note doc/gdb.texinfo changed. 1991-08-23 18:48:44 +00:00
John Gilmore 299eb5f15f Fix Makefile.in to build 4.0 rel. 1991-08-23 08:48:29 +00:00
Stu Grossman 7d003262a7 saber 1991-08-23 05:26:06 +00:00
Roland Pesch 0a3492951d Document ChangeLog catchup. 1991-08-23 04:38:47 +00:00
Roland Pesch 145d3d2666 *** empty log message *** 1991-08-23 03:08:36 +00:00
Roland Pesch a9686e9a53 * doc/refcard.tex: permuted Essential Commands sec 1991-08-22 23:38:40 +00:00
Roland Pesch ef33e8e680 Record new C++ chapter in gdb.texinfo 1991-08-22 23:25:16 +00:00
Stu Grossman 8d142c97b0 lint 1991-08-22 23:19:58 +00:00
John Gilmore 482be0362f Handle HP300bsd. 1991-08-22 07:09:55 +00:00
John Gilmore 9fa283782e HP 300 BSD port for machines at FSF. Also minor mips change. 1991-08-22 01:42:18 +00:00
John Gilmore 0a07b1f9d5 Remove warnings about system assembler for sunos4. 1991-08-20 23:01:50 +00:00
John Gilmore 5e5215eba7 * mcheck.c: Avoid warning about undeclared abort fn.
* tm-sparc.h (PC_ADJUST):  Avoid calling error() from this;
it causes recursive calls to error() when used in cleanups.
To do so requires that we make it a function, so we do.
* sparc-tdep.c (sparc_pc_adjust):  New implem of PC_ADJUST.
* utils.c (do_cleanups):  Remove the current cleanup from the
chain *before* calling it, in case error() is called from it.
The result won't be pretty, but won't be an infinite loop either.
1991-08-20 03:02:39 +00:00
John Gilmore 2791be2f81 BSD Net2 changes, and misc other fixes. 1991-08-19 20:55:31 +00:00
Michael Tiemann 7ce3bf92ca Describe C++ fixes. 1991-08-19 17:02:17 +00:00
John Gilmore 351b221ded * main.c: Remove unused terminating_signals and catch_termination().
(long_options):  Terminate with a zero element.
        [Bugfix from Atsuo Kawaguchi <atsuo@hark86.harl.hitachi.co.jp>.]
        (gdb_readline):  Make call-compatible with readline.
        (init_signals):  Improve comments re vfork vs. signal.

        * utils.c (prompt_for_continue):  Use new gdb_readline().
        If we prompt for continuation, we don't let CR repeat the previous
        command, once we get back to a prompt.  It's too easy to keep
        hitting CR, expecting "--more--" prompts, and have some long
        command start repeating on you.
1991-08-16 01:49:30 +00:00
John Gilmore e522fb52bf * source.c: #if defined => #ifdef.
* main.c (main):  Only try to attach "corefile" argument if
        it starts with a digit.
1991-08-14 00:11:20 +00:00
Roland Pesch 81536d662a * Makefile: use doc/Makefile for doc targets 1991-08-07 02:07:21 +00:00
Roland Pesch 594bdad7ad *** empty log message *** 1991-08-07 00:18:09 +00:00
John Gilmore 4f6f12f989 Only read the right number of bytes in reading basetypes, so we don't
overrun malloc.
1991-08-03 02:02:03 +00:00
John Gilmore 8bf75ff3ca Print UNOP_MEMVAL of an OP_LONG that ends up as a function specially 1991-08-02 09:23:23 +00:00
John Gilmore 10147c02f3 * infrun.c: Move DO_DEFERRED_STORES from proceed() to resume().
The child can be proceeded from inside wait_for_inferior in
        evaluating breakpoint conditions, and DO_DEFERRED_STORES was
        getting skipped in that case.

        * expprint.c (print_subexp):  Use filtered output, since the
        subroutines we call use it, otherwise the output is horribly
        mangled, since output of wrappable stuff comes out late.
1991-08-02 08:46:10 +00:00
John Gilmore 3b271cf4c0 Roll VERSION to 3.98.1. Use path to find $SHELL in "run" command. 1991-08-02 07:15:20 +00:00
Roland Pesch 7bfa94e296 *** empty log message *** 1991-08-01 22:39:43 +00:00
Roland Pesch 5bff26001a *** empty log message *** 1991-07-31 23:37:41 +00:00
John Gilmore adf2bb5864 Update for 3.98 release. 1991-07-31 19:08:36 +00:00
John Gilmore dc0c3f64b6 Tighten up for gdb-3.98 release. 1991-07-31 00:34:07 +00:00
Roland Pesch a56a0f68ba *** empty log message *** 1991-07-29 22:21:57 +00:00
Roland Pesch a8b765617e *** empty log message *** 1991-07-27 00:52:01 +00:00
Roland Pesch 170d0c8527 Partial update to README for new configure script and new
documentation make targets.
1991-07-26 20:22:41 +00:00
Roland Pesch 920ba794a7 *** empty log message *** 1991-07-24 01:55:18 +00:00
John Gilmore 101f259c8f Make mipsread.c handle static symbols, both in psymtabs and symtabs. 1991-07-19 07:09:41 +00:00
John Gilmore 36b9d39cf4 * findvar.c (find_var_value): Handle &function better.
* TODO:  Document work needed on &fn and &array.
        * printcmd.c (print_address_symbolic):  New arg is the prefix
        to print if a name is printed.
        (print_address_demangle):  Honor "set print address" now.
        Use new arg above to improve spacing of output.
        * valprint.c (val_print):  When printing function pointers,
        print symbolic form too.
        * breakpoint.c (breakpoint_1):  Use new print_address_symbolic.
1991-07-14 07:48:06 +00:00
John Gilmore b8c50f0918 * core.c (memory_error): Reword error msg to mislead less.
* mips-pinsn.c (print_insn_arg 'd'):  Print $ with reg name.

        * mipsread.c (read_mips_symtab, read_the_mips_symtab,
        parse_partial_symbols): Use newer BFD internals (external_filehdr
        and external_aouthdr), byte-swap the fields that we care about
        before using them, and make the file header data local to
        read_the_mips_symtab rather than global.
1991-07-09 02:08:13 +00:00
John Gilmore d2ca8714e7 *** empty log message *** 1991-07-07 05:29:03 +00:00
John Gilmore 2a8afebabf * main.c (command_line_input): Flush stdout and stderr
before every call to readline.  This reportedly fixes a bug
        that comes up in Sys V running emacs-gdb and/or xxgdb,
        when stdin/out are pipes or sockets.
1991-07-06 08:36:34 +00:00
John Gilmore 6988f5c0ae Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)
* configure.in, Makefile.in:  Avoid rebuilding "depend" as much.
        Avoid declaring Makefile dependencies, because GNU Make stupidly
        tries to update it if we do.

        * coffread.c:  Revise for minor changes to bfd internal coff
        indexes.

        * configure:  If -template= is given a relative path, make it
        absolute before recurring in subdirectories.
1991-07-05 00:04:59 +00:00
John Gilmore 76b4be1296 * sparc-opcode.h (trap opcodes): Avoid leading spaces or
tabs, which end up in the disassembler output inadvertently.
1991-06-25 06:50:31 +00:00
Roland Pesch 59500745a4 * Makefile.dist, doc/gdb.texinfo, doc/*-m4.texinfo: split up GDB
docn into separate sections---basically chapters, plus two loose
	pieces that can be configured to go in different places.  This
	allows GNU m4 to preprocess the manual without coredumping.

	* Makefile.dist: tell TeX where to find texinfo.
1991-05-23 01:22:06 +00:00
Roland Pesch bce4bf525f * Makefile.dist, doc/gdb.texinfo: respectively create, and use,
the new target "rdl-apps.texinfo" which captures the Makefile
	variable that records where to find the Readline libraries.
1991-05-20 19:19:41 +00:00
John Gilmore 32ce076dc6 Add rev # 1991-05-19 16:09:01 +00:00
John Gilmore 361cc81add update for release 1991-05-19 16:01:39 +00:00
John Gilmore 477cf2a958 Update from Rich's damage and try for a releasable directory.
Minor Bothner changes.
1991-05-19 15:08:57 +00:00
Roland Pesch 2ec11e91b5 *** empty log message *** 1991-05-17 23:19:08 +00:00
Roland Pesch 2e4fd3d631 *** empty log message *** 1991-05-17 22:53:05 +00:00
Roland Pesch e9d6f412f0 *** empty log message *** 1991-05-17 21:43:25 +00:00
Roland Pesch 8e34c36073 *** empty log message *** 1991-05-17 01:14:04 +00:00
Roland Pesch 0f98282646 *** empty log message *** 1991-05-16 04:09:54 +00:00
Roland Pesch 55a64af6ea *** empty log message *** 1991-05-16 02:20:20 +00:00
Roland Pesch d84e045fc7 *** empty log message *** 1991-05-16 00:46:44 +00:00
Roland Pesch 8dc805ad84 *** empty log message *** 1991-05-15 18:11:10 +00:00
John Gilmore a37c68f7a2 readline update 1991-05-15 17:36:32 +00:00
John Gilmore 68cf97936e Fix duplicated entry in ChangeLog. 1991-05-15 17:30:02 +00:00
Roland Pesch 72f6386b5f * Makefile.dist: put gdb.dvi stuff (updated to use M4 preprocessor
stuff for config manual) here where it counts; updated
	to use new subdir structure (gdb/doc/).

	* Makefile: generated from above via
		    config.gdb none
	before checkin
1991-05-14 23:34:41 +00:00
Roland Pesch 9c416cbdb8 (1) removed "gdb.info*" files (just introduced) from CVS;
(2) instead,
	* gdbint.texinfo: added instructions on generating gdb.info* files
	locally for release.
1991-05-14 22:34:12 +00:00
Roland Pesch 2c85a5a97b * gdb.info*: added to distribution. These are ordinary info
files, formatted from gdb.texinfo (via gdb-all.texinfo, see
	Makefile)---but due to use of texinfo 2, can't count on makeinfo
	to generate these, so we distribute them already formatted.

	* gdb.texinfo: included full Info node and menu crud (as generated
	by C-u M-x texinfo-master-menu using the texinfo-2 elisp code).

	* Makefile: updated "gdb.dvi" target to use M4 preprocessor;
	put in comments-for-future gdb.info target (one day makeinfo will
	work again).
1991-05-14 22:07:52 +00:00
Roland Pesch 14719f8df6 *** empty log message *** 1991-05-14 20:55:08 +00:00
John Gilmore e072c73824 * mipsread.c: Rather than keeping count of how many symtabs
and psymtabs we have, for sorting purposes, count them when
        we need to sort.  This fixes bug in rereading of symbol tables.
1991-05-13 21:59:43 +00:00
Roland Pesch 616da99975 *** empty log message *** 1991-05-10 22:46:08 +00:00
John Gilmore 5594d534a2 Saber C (lint) cleanups, and a few bug fixes. See ChangeLog. 1991-05-04 23:15:02 +00:00
John Gilmore 77ac93922c See ChangeLog. 1991-05-04 05:07:07 +00:00
Roland Pesch 1722479547 *** empty log message *** 1991-05-03 20:19:18 +00:00
Jim Kingdon 8e7457b2aa *** empty log message *** 1991-05-03 06:06:53 +00:00
John Gilmore 8ffd75c8a9 Mips bringup and general cleanup
* cplus-dem.c:  Move CPLUS_MARKER define to after defs.h.
        * infptrace.c (PT_WRITE_D, PT_READ_D):  Use correct values.
        (This still doesn't seem to make MIPS bkpts work.)
        * mipsread.c:  Remove dup "Reading symbol data..." msg.
        (symbol_file_command, add_file_command):  Remove, obsol.
        * printcmd.c (ptype_command):  Say "an enum" rather than "a enum".
        Wrap output appropriately.
        * stack.c (locals_info, catch_info, args_info):  Check
        selected_frame rather than target_has_stack or coredumping.
        * valprint.c (type_print_varspec_suffix):  Wrap "ptype" output of
        enums appropriately.
1991-05-03 01:07:12 +00:00
Jim Kingdon 2d0c090e48 * blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
eval.c, expprint.c, infcmd.c, infrun.c, main.c, printcmd.c,
	remote.c, source.c, stack.c, dbxread.c, coffread.c, symfile.h,
	symfile.c, utils.c, valarith.c, values.c, valops.c, tm-68k.h,
	target.c, inftarg.c, ieee-float.c, environ.c, defs.h,
	command.h, inferior.h, gdbcore.h, symtab.h, expression.h,
	symtab.c, cplus-dem.c, value.h, expread.y, valprint.c,
	copying.awk, solib.c, inflow.c, symmisc.c
	: Lint.  Use read_memory not read_memory_integer on CORE_ADDR's.
	Use {value_as,unpack}_pointer (added to values.c)
	not {value_as,unpack}_long on CORE_ADDR's.
	Use longest_to_int (added to defs.h) instead of cast to int.
	Remove from_tty arg to mod_path.
	Put symfile_bfd in {coff,dbx}read.c not symfile.h.
	Use OP_NULL instead of 0 where dummy enum exp_opcode needed.
1991-05-02 04:36:15 +00:00
Jim Kingdon 04a0511c0a * signame.c: Include defs.h and param.h. 1991-05-02 04:17:41 +00:00
Michael Tiemann aec4cb918e Tue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)
* valprint.c (type_print_base): If the type being printed is a
	struct containing undefined types, print "<undefine type>"
	as the type instead of crashing.
	* values.c (value_headof): Get the vtable pointer taking
	TYPE_VPTR_BASETYPE into account.
	* symtab.c, symtab.h, dbxread.c: Fix various whitespace splotches.
1991-04-30 20:19:02 +00:00
Jim Kingdon 98c1b9e79b *** empty log message *** 1991-04-30 19:51:50 +00:00
Jim Kingdon 79043f9ee8 * infrun.c: Don't include sys/user.h and friends (wrong for
cross-debugging and not necessary anymore (see IN_SIGTRAMP in
	xm-vax.h)).
	[SET_STACK_LIMIT_HUGE]: Include <sys/{resource,time}.h>.
	xm-tahoe.h: Don't define _DIRENT_.

	* xm-tahoe.h: Remove USE_OLD_TTY (not needed now that terminal.h
	includes sgtty.h before sys/ioctl.h).
1991-04-29 20:54:42 +00:00
Jim Kingdon 192040b131 {x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files. 1991-04-29 05:28:47 +00:00
Jim Kingdon 5d98a45f63 * tm-sparc.h: Add comments about gcc version 2 and structure passing. 1991-04-26 23:09:53 +00:00
Jim Kingdon 689f801a79 *** empty log message *** 1991-04-26 23:09:52 +00:00
Jim Kingdon a36f604047 This is the last one I gave to Telebit, minus all the print_msg's. 1991-04-24 19:33:31 +00:00
Jim Kingdon a1002e9ab0 * WHATS.NEW: Remove mention of readline and more paging (in 3.5).
Try to keep command names up to date with renaming.
1991-04-24 19:30:10 +00:00
Jim Kingdon be11d1119a * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize. 1991-04-24 19:18:42 +00:00
Jim Kingdon eb7ba50c7c * remote.c (getpkt): Don't set immediate_quit. 1991-04-24 17:14:10 +00:00
Jim Kingdon 2403f49b37 * blockframe.c, frame.h (reinit_frame_cache): New function.
solib.c (solib_add), symfile.c ({,add_}symbol_file_command):
	Use it.
1991-04-24 16:56:40 +00:00
Jim Kingdon b039ac3a20 * symtab.c (lookup_symbol): Add 3 more of those loops through
the symtabs which we all know and love: (1) Look in the
	STATIC_BLOCK for mangled symbols right after we check the blocks,
	(2, 3) Look in the STATIC_BLOCK for all the symtabs and psymtabs
	at the end.
1991-04-24 02:23:40 +00:00
Jim Kingdon 9107291db4 * main.c (cd_command): Call dont_repeat.
* dbxread.c (read_struct_type): If const/volatile character is
	missing, don't complain, just continue.

	* dbxread.c (read_struct_type): Only try to read the fcontext if
	it is there.  Also change "error_type " to "return error_type ".
	values.c (value_virtual_fn_field): If there is no fcontext,
	then do things the way GDB 3.x did.
	valops.c (search_struct_method): Add type to value_virtual_fn_field
	arguments.

	* dbxread.c (read_struct_type): Fix typo: *pp != '\0' -> **pp != '\0'.
1991-04-24 00:08:50 +00:00
Jim Kingdon 269c301158 Use unpush_target not pop_target in core_open. 1991-04-23 02:19:43 +00:00
Jim Kingdon 9a822037b1 *** empty log message *** 1991-04-23 01:11:11 +00:00
Jim Kingdon d0237a54e5 * Shared libaray/corefile changes from Peter Schauer:
core.c (core_close): Call CLEAR_SOLIB.
	(core_open): Remove comment about "should deal with shared lib".
	(core_xfer_memory): If we can't xfer the usual way, try the
	shared libraries.
	solib.c (so_list): New fields so_bfd and so_sections{,_end}.
	(find_solib): Use solib_map_sections to get ld_text.
	(solib_map_sections, solib_xfer_memory): New functions.
	(clear_solib): Free so_sections and close so_bfd.
	tm-sunos.h: Add solib_xfer_memory, solib_add.
1991-04-23 00:05:24 +00:00
Jim Kingdon 192cbba944 * sparc-tdep.c (skip_prologue): Don't skip anything unless there
is a "save" instruction in there somewhere.
1991-04-22 21:40:42 +00:00
Jim Kingdon 5730a14e76 Fix the fix to the appearance of the ChangeLog 1991-04-22 20:12:14 +00:00
Jim Kingdon 0e000acdc9 Fix appearance of ChangeLog. 1991-04-22 20:11:42 +00:00
Jim Kingdon b3fdaf3d36 * symfile.c (symbol_file_add): Add comment.
solib.c (solib_add): Don't malloc name passed to symbol_file_add.
1991-04-22 20:09:26 +00:00
Jim Kingdon fcb887ffcd * breakpoint.c (bpstat_print): Try all elements on the bpstat
chain before giving up with an internal error.

Sun Apr 21 21:43:10 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)

	* value.h, values.c (value_{,free_to_}mark): New functions.
	breakpoint.c (bpstat_stop_status): Use them.
1991-04-22 07:08:07 +00:00
Jim Kingdon 33614d0fc6 * tm-i386v{,-g}.h: Remove N_SET_MAGIC define. 1991-04-22 04:45:26 +00:00
Jim Kingdon 2b325024a8 * i386-tdep.c: Remove unnecessary #includes. 1991-04-21 05:59:53 +00:00
Jim Kingdon b203fc1803 * coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).
* coffread.c (end_symtab): Initialize language, dirname, and
	fullname fields.
1991-04-21 05:17:05 +00:00
Jim Kingdon ff8aef1993 signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
param-no-tm.h: Define SYS_SIGLIST_MISSING from USG.
1991-04-20 01:02:34 +00:00
Jim Kingdon 696d660be0 * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
tm-sun3.h: Define TARGET_SUN3.
1991-04-20 00:31:01 +00:00
Jim Kingdon f88e7af831 * utils.c: Use CPLUS_MARKER not '$'.
* cplus-dem.c: Use CPLUS_MARKER not '$'.  If CPLUS_MARKER isn't
	defined, define it to '$'.
1991-04-19 23:50:06 +00:00
Jim Kingdon 9ba8a5a46b * arm-opcode.h: New file (same contents as before; it had
just been left out of the distribution for a long time).
1991-04-19 23:37:10 +00:00
Jim Kingdon de6060deb1 * tm-68k.h: Put declaration of ext_format_68881 outside the macros. 1991-04-19 22:04:24 +00:00
Jim Kingdon d566d62a5a * main.c: New HAVE_SIGSETMASK #ifdefs. 1991-04-19 21:49:27 +00:00
Jim Kingdon c1ace5b596 * Makefile.dist (cplus-dem.o): Hack in an #include "param.h"
before we compile it.
	defs.h: Protect against multiple inclusion.
	param.h: Include defs.h.
1991-04-19 17:28:32 +00:00
Jim Kingdon c93a350722 * i386-pinsn.c (OP_E): Change %d to 0x%x for consistency. 1991-04-19 07:06:13 +00:00
Jim Kingdon 15a4241049 *** empty log message *** 1991-04-19 04:42:29 +00:00
John Gilmore 3ead667539 One more time 1991-04-19 02:01:49 +00:00
Jim Kingdon 9136fe4948 *** empty log message *** 1991-04-19 01:58:50 +00:00
Jim Kingdon a7d50b0adf *** empty log message *** 1991-04-19 01:45:22 +00:00
John Gilmore 543e29f11a Update for Jim Kingdon to merge his stuff in. 1991-04-19 01:22:24 +00:00
John Gilmore 447b99fa65 * exec.c (exec_ops): Add_syms_addr is valid in our tvec.
(set_section_command):  New command ("section xxx yyy" -- should
	be renamed to "set section xxx yyy" FIXME) which sets the
	base address of a section of the exec file, overriding the
	virtual address that BFD reports.
1991-04-09 07:04:22 +00:00
John Gilmore 3f2e006b77 *** empty log message *** 1991-04-05 09:02:10 +00:00
K. Richard Pixley bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00
John Gilmore 831c851165 Initial revision 1990-09-05 17:54:31 +00:00
gdb-3.5 7a67dd45ca gdb-3.5 2012-06-03 15:36:32 +01:00
gdb-3.4 1c997a4ae8 gdb-3.4 2012-06-03 15:36:32 +01:00
gdb-3.3 4187119d59 gdb-3.3 2012-06-03 15:36:32 +01:00
gdb-3.1 e91b87a368 gdb-3.1 2012-06-03 15:36:31 +01:00
gdb-2.8 3bf57d2108 gdb-2.8 2012-06-03 15:36:31 +01:00
gdb-2.5.1 632ea0ccc5 gdb-2.5.1 2012-06-03 15:36:30 +01:00
gdb-2.4+.aux.coff 7b4ac7e1ed gdb-2.4+.aux.coff 2012-06-03 15:36:30 +01:00