John Gilmore [Mon, 30 Sep 1991 20:50:18 +0000 (20:50 +0000)]
* srec.c: Better error checking, partly from Peter Schauer.
(srec_object_p): Avoid assuming any file that starts with 'S' is
an S-record file! (Check for 3 uppercase-hex digits after it.)
(ISHEX): Define new macro for checking supposedly hex characters.
(pass_over): Treat as EOF any S-record line that:
* doesn't have hex in either size character
* produces a size larger than 0x7F
* has an unrecognized type number
Per Bothner [Mon, 30 Sep 1991 20:32:26 +0000 (20:32 +0000)]
Rename os for Sony News to newsos[34].
Per Bothner [Mon, 30 Sep 1991 19:54:08 +0000 (19:54 +0000)]
* sysdep.h: Define NEWSOS3_SYS, and use it.
Per Bothner [Mon, 30 Sep 1991 19:47:49 +0000 (19:47 +0000)]
* bucomm.c (fatal): Conditionally compile fatal() depending on
MISSING_VFPRINTF, and don't confuse the issue with NO_VARARGS.
* objdump.c (dump_headers): Trivial output format change.
* objdump.c (display_info): Loop over integers, not enums,
to appease old compilers.
John Gilmore [Sat, 28 Sep 1991 17:13:08 +0000 (17:13 +0000)]
* symtab.c (lookup_method_type): Arguments were swapped in all
callers, so fix it here. I'm amazed this worked at all!
John Gilmore [Sat, 28 Sep 1991 17:09:07 +0000 (17:09 +0000)]
* 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.
John Gilmore [Sat, 28 Sep 1991 14:10:47 +0000 (14:10 +0000)]
Typos.
John Gilmore [Sat, 28 Sep 1991 11:26:43 +0000 (11:26 +0000)]
* infrun.c (wait_for_inferior): Don't check if the PC is in a
call_dummy if we were stopped by a random signal that is being
passed to the program. This produced wierd results when calling
functions in the inferior and signals (e.g. SIGALRM) were in use.
John Gilmore [Sat, 28 Sep 1991 02:20:09 +0000 (02:20 +0000)]
* nindy-tdep.c (nindy_frame_chain_valid): Use lookup_misc_func.
(Reported by Mark Peek <mark@imagen.com>.)
John Gilmore [Sat, 28 Sep 1991 01:35:29 +0000 (01:35 +0000)]
* coffread.c (coff_symfile_read): Use xmalloc, not malloc.
* language.c, printcmd.c: Lint.
* language.h (get_frame_language): Declare.
* saber.suppress: update.
* stack.c (find_relative_frame): Remove complex code that was
#if 0'd, stick with simple code. Lint.
* saber.suppress: Update a bit.
* symfile.c (add_symbol_file_command): Add "?" to question.
* utils.c (parse_escape): Avoid \a due to bdead compilers.
* value.h: Declare typedef_print.
* valprint.c (val_print, type_print_base): TYPE_CODE_RANGE less
kludgey.
John Gilmore [Sat, 28 Sep 1991 01:31:23 +0000 (01:31 +0000)]
* core.c (core_files_info): Shorten output.
* exec.c (exec_files_info): Ditto.
(build_section_table): Ignore zero-length sections.
John Gilmore [Sat, 28 Sep 1991 01:30:41 +0000 (01:30 +0000)]
* c-exp.y, m2-exp.y: Define more yysymbols that happen to be
"bss" rather than "data" symbols, but which still conflict.
* m2-exp.y: Lint.
Roland Pesch [Fri, 27 Sep 1991 22:47:20 +0000 (22:47 +0000)]
Stop talking about obsolete "sharedlibrary" command in whats-new section.
Per Bothner [Fri, 27 Sep 1991 20:20:01 +0000 (20:20 +0000)]
Added {h,t}-news
Per Bothner [Fri, 27 Sep 1991 20:19:25 +0000 (20:19 +0000)]
Update for deleted (and some added) files.
Per Bothner [Fri, 27 Sep 1991 20:09:23 +0000 (20:09 +0000)]
* ldlnk960.c: Use new naming convention for *.x{,u,r} include scripts.
* ldm88k.sc: "Clean up" script, so that ldm88kUr.sc and ldm88kr.sc
can be automatically generated.
* ldemul.c, configure.in, config.h, Makefile.in:
Add support for Sony NewsOS3.
* Makefile.in: Re-do the way ldemulation scipts and structures
are done. do we only need one or two files for each emulation
target (a TARGET.sc and optionally TARGET.c, if ldtemplate
isn't suitable). This gets rid of lots of extra source files.
Per Bothner [Fri, 27 Sep 1991 19:59:17 +0000 (19:59 +0000)]
Initial revision
Per Bothner [Fri, 27 Sep 1991 19:55:28 +0000 (19:55 +0000)]
Fix/update HOSTING_LIBS path.
Steve Chamberlain [Thu, 26 Sep 1991 22:46:53 +0000 (22:46 +0000)]
Newly created
Steve Chamberlain [Thu, 26 Sep 1991 22:46:52 +0000 (22:46 +0000)]
Initial revision
John Gilmore [Thu, 26 Sep 1991 22:28:46 +0000 (22:28 +0000)]
Lint (saber actually).
Per Bothner [Thu, 26 Sep 1991 18:40:30 +0000 (18:40 +0000)]
* libaout.h (WRITE_HEADERS): Set header's a_text field always.
* newsos3.c: Fixed two types: newos3 -> newsos3.
Per Bothner [Thu, 26 Sep 1991 18:26:28 +0000 (18:26 +0000)]
Fix bfd_perform_relocation to handle pc-relative relocs better.
K. Richard Pixley [Wed, 25 Sep 1991 04:34:40 +0000 (04:34 +0000)]
Pass command names with absolute paths. Easier than keeping relative
paths right when dealing with sub/sub/directories.
John Gilmore [Wed, 25 Sep 1991 01:18:59 +0000 (01:18 +0000)]
iVS: Modified Files:
Print 9 digits for IEEE floats.
John Gilmore [Wed, 25 Sep 1991 01:09:15 +0000 (01:09 +0000)]
IN_SIGTRAMP bugfix.
K. Richard Pixley [Tue, 24 Sep 1991 02:30:20 +0000 (02:30 +0000)]
ldgram.h is not cvs'd source.
Steve Chamberlain [Mon, 23 Sep 1991 20:59:12 +0000 (20:59 +0000)]
Cleaned it up for 88k
Roland Pesch [Sat, 21 Sep 1991 05:15:13 +0000 (05:15 +0000)]
(1) fix typo ('_if_' and '_fi_' for '_if__' and '_fi__'!)
(2) prepare for semi-auto xref updating by rejoining xrefs broken across lines
Roland Pesch [Sat, 21 Sep 1991 03:59:06 +0000 (03:59 +0000)]
Formatting updates to "installing" appendix.
John Gilmore [Sat, 21 Sep 1991 03:41:23 +0000 (03:41 +0000)]
Doc updates for 4.1.
John Gilmore [Sat, 21 Sep 1991 03:29:09 +0000 (03:29 +0000)]
rtpc->romp
John Gilmore [Sat, 21 Sep 1991 02:59:57 +0000 (02:59 +0000)]
Rearrange "how to install" and "how to print the doc" stuff so it drops
easier into README.
Roland Pesch [Sat, 21 Sep 1991 02:55:37 +0000 (02:55 +0000)]
add missing index entries for set/show print sevenbit-strings.
Roland Pesch [Sat, 21 Sep 1991 02:03:09 +0000 (02:03 +0000)]
*** empty log message ***
Roland Pesch [Sat, 21 Sep 1991 02:01:41 +0000 (02:01 +0000)]
Update configs table.
John Gilmore [Sat, 21 Sep 1991 01:52:39 +0000 (01:52 +0000)]
Update for gdb-4.1.
John Gilmore [Sat, 21 Sep 1991 01:50:26 +0000 (01:50 +0000)]
Roll in information from README.
John Gilmore [Sat, 21 Sep 1991 00:19:51 +0000 (00:19 +0000)]
Update for gdb-4.1 release.
John Gilmore [Fri, 20 Sep 1991 23:59:13 +0000 (23:59 +0000)]
* 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.
John Gilmore [Fri, 20 Sep 1991 23:17:32 +0000 (23:17 +0000)]
* 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).
Roland Pesch [Fri, 20 Sep 1991 22:51:22 +0000 (22:51 +0000)]
*** empty log message ***
Roland Pesch [Fri, 20 Sep 1991 22:50:11 +0000 (22:50 +0000)]
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
Roland Pesch [Fri, 20 Sep 1991 22:43:47 +0000 (22:43 +0000)]
Extract GDB version number from main GDB dir Makefile.in.
Per Bothner [Fri, 20 Sep 1991 22:03:49 +0000 (22:03 +0000)]
Kludge to allow compilation by non-ANSI compilers.
John Gilmore [Fri, 20 Sep 1991 21:50:27 +0000 (21:50 +0000)]
Update N_FN value to 0x1F. Add comments about N_EXT bits.
Steve Chamberlain [Fri, 20 Sep 1991 21:47:46 +0000 (21:47 +0000)]
Removed all the stuff I added yesterday.
Roland Pesch [Fri, 20 Sep 1991 21:43:19 +0000 (21:43 +0000)]
Merged in new doc on language setting, C, and Mod-2 by Andrew Beers;
cleanups to node structure.
John Gilmore [Fri, 20 Sep 1991 20:37:17 +0000 (20:37 +0000)]
* 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.
Stu Grossman [Fri, 20 Sep 1991 20:15:20 +0000 (20:15 +0000)]
Sign extend extended line offsets in parse_lines correctly.
Stu Grossman [Fri, 20 Sep 1991 19:30:36 +0000 (19:30 +0000)]
#define yyerrflag and yynerrs to avoid global name conflicts.
Stu Grossman [Fri, 20 Sep 1991 19:29:41 +0000 (19:29 +0000)]
*** empty log message ***
John Gilmore [Fri, 20 Sep 1991 19:26:09 +0000 (19:26 +0000)]
.gdbinit: move set complaints 1 to top.
John Gilmore [Fri, 20 Sep 1991 18:18:13 +0000 (18:18 +0000)]
* language.c (_initialize_language): Fix type check and range
check documentation strings.
John Gilmore [Fri, 20 Sep 1991 18:13:28 +0000 (18:13 +0000)]
* 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.
John Gilmore [Fri, 20 Sep 1991 08:41:45 +0000 (08:41 +0000)]
New rules for building distributions. Normal distribution
is built by doing `make -f Makefile.in gdb.tar.Z' in the devo dir.
John Gilmore [Fri, 20 Sep 1991 08:36:19 +0000 (08:36 +0000)]
Preparation for gdb-4.1 release.
John Gilmore [Fri, 20 Sep 1991 08:18:16 +0000 (08:18 +0000)]
Remove rcfonts.tex after building refcard.
John Gilmore [Fri, 20 Sep 1991 06:35:16 +0000 (06:35 +0000)]
(HFILES): Add minimon.h.
(VERSION): Roll version number to 4.0.95.
John Gilmore [Fri, 20 Sep 1991 03:44:17 +0000 (03:44 +0000)]
Undo precipitous changes.
K. Richard Pixley [Fri, 20 Sep 1991 03:24:56 +0000 (03:24 +0000)]
Added Jim Wilson's pcrt->romp patches.
Roland Pesch [Fri, 20 Sep 1991 00:42:12 +0000 (00:42 +0000)]
doc/gdbint.texinfo
Roland Pesch [Fri, 20 Sep 1991 00:40:36 +0000 (00:40 +0000)]
Reorder contents; reorganize new-host, new-target, and new-config
chapters; fix minor typos; come closer to usual GNU markup conventions
for @file @samp @code @var.
Per Bothner [Fri, 20 Sep 1991 00:17:30 +0000 (00:17 +0000)]
Various mips changes from Peter Schauer.
Per Bothner [Fri, 20 Sep 1991 00:15:19 +0000 (00:15 +0000)]
Define HAVE_STRSTR.
John Gilmore [Thu, 19 Sep 1991 22:48:16 +0000 (22:48 +0000)]
Add language.h.
John Gilmore [Thu, 19 Sep 1991 22:39:58 +0000 (22:39 +0000)]
Minor fixes
John Gilmore [Thu, 19 Sep 1991 22:39:39 +0000 (22:39 +0000)]
* mipsread.c (_initialize_mipsread): Avoid using
builtin_type_void at initialize time.
(mipscoff_symfile_read): use it now.
Sean Eric Fagan [Thu, 19 Sep 1991 22:28:00 +0000 (22:28 +0000)]
*** empty log message ***
John Gilmore [Thu, 19 Sep 1991 22:16:40 +0000 (22:16 +0000)]
* c-exp.y, m2-exp.y: Lint.
* m2-exp.y: Avoid using yytname[] which is a Bison-ism.
John Gilmore [Thu, 19 Sep 1991 22:16:24 +0000 (22:16 +0000)]
Circumvent Sun Make bug on *-exp.tab.o.
Steve Chamberlain [Thu, 19 Sep 1991 21:05:02 +0000 (21:05 +0000)]
Stuff for new machiens
Steve Chamberlain [Thu, 19 Sep 1991 21:04:59 +0000 (21:04 +0000)]
Initial revision
Steve Chamberlain [Thu, 19 Sep 1991 21:04:10 +0000 (21:04 +0000)]
Modifications from James Tsillas for 386 and 68k machines
Steve Chamberlain [Thu, 19 Sep 1991 21:03:09 +0000 (21:03 +0000)]
Support for 386 and 68k machines
Steve Chamberlain [Thu, 19 Sep 1991 20:54:31 +0000 (20:54 +0000)]
*** empty log message ***
John Gilmore [Thu, 19 Sep 1991 11:51:26 +0000 (11:51 +0000)]
Lint
John Gilmore [Thu, 19 Sep 1991 11:48:49 +0000 (11:48 +0000)]
Andrew Beers' changes for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 11:43:22 +0000 (11:43 +0000)]
* language.h, language.c: New files for language-specific macros,
declarations, and definitions.
John Gilmore [Thu, 19 Sep 1991 11:42:25 +0000 (11:42 +0000)]
Eliminate uses of working_lang.
John Gilmore [Thu, 19 Sep 1991 10:44:20 +0000 (10:44 +0000)]
* valprint.c (type_print_base): Avoid printing garbage for ints
of unusual sizes.
(_initialize_valprint): Warn about host/target size assumption;
improve long long support slightly.
John Gilmore [Thu, 19 Sep 1991 10:40:34 +0000 (10:40 +0000)]
Add M2 to what's new.
John Gilmore [Thu, 19 Sep 1991 10:40:03 +0000 (10:40 +0000)]
Cope with new files and removed files for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 10:31:00 +0000 (10:31 +0000)]
* parse.c: New file with the common code remains of expread.y.
* expread.y, expread.tab.c: Remove.
* parser-defs.h: New file with common declarations from expread.y.
* c-exp.y: New file with the C parser from expread.y.
* m2-exp.y: New file with the Modula-2 parser.
John Gilmore [Thu, 19 Sep 1991 10:27:17 +0000 (10:27 +0000)]
* symtab.c (_initialize_symtab): Remove builtin type
definition and initialization to *-exp.y.
(lookup_primitive_typename): Use language-dependent vector.
(lookup_typename): Fix bug, make it work if primitive typename.
(lookup_unsigned_typename): Call above.
(create_array_type): Set up range type for array index.
(list_symbols): Call typedef_print to print typedefs.
(Currently #ifndef FIXME'd out awaiting integration.)
John Gilmore [Thu, 19 Sep 1991 09:13:50 +0000 (09:13 +0000)]
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 08:51:16 +0000 (08:51 +0000)]
* main.c (execute_command): Warn as language changes automatically.
(main): If error() is called during early initialization, print
its message and then exit(1) from GDB.
John Gilmore [Thu, 19 Sep 1991 08:31:37 +0000 (08:31 +0000)]
* stack.c (frame_info): Print language of stack frame.
(select_frame): Also select language, if in auto-mode.
(get_frame_language): New subroutine.
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 07:40:51 +0000 (07:40 +0000)]
Use parse_expression and parse_exp_1 rather than
parse_c_expression and parse_c_1.
John Gilmore [Thu, 19 Sep 1991 07:39:54 +0000 (07:39 +0000)]
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 03:07:56 +0000 (03:07 +0000)]
* values.c (unpack_long, value_from_longest): Handle
TYPE_CODE_BOOL and TYPE_CODE_CHAR.
John Gilmore [Thu, 19 Sep 1991 02:55:30 +0000 (02:55 +0000)]
Modula-2 support:
* defs.h (local_hex_format, local_hex_string): Add.
John Gilmore [Thu, 19 Sep 1991 02:54:17 +0000 (02:54 +0000)]
* breakpoint.c (breakpoint_cond_eval): Use new value_true to test
breakpoint condition language-independently.
Output hex with local_hex_string for Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 02:40:29 +0000 (02:40 +0000)]
* i386-xdep.c, pyr-tdep.c, pyr-xdep.c, remote-vx.c, solib.c,
source.c, symfile.c, dbxread.c: Output hex with local_hex_string for
Modula-2 support.
John Gilmore [Thu, 19 Sep 1991 02:32:35 +0000 (02:32 +0000)]
* symfile.c (allocate_symtab): New fn, consolidates the work
of allocating and initializing a new struct symtab. Set the
language of the symtab based on its filename extension.
* symfile.h: Declare it.
* mipsread.c (new_symtab): Use it. Minor formatting changes.
* dbxread.c (end_symtab): Use it.
* mipsread.c (parse_symbol, case stParam and stProc): Add #if 0'd
code for saving types of parameters with each function definition.
* dbxread.c (define_symbol, function and parameter cases): Ditto.
(read_dbx_symtab, case N_DEFD): Ignore.
(read_enum_type): Recognize FALSE/TRUE enum as Modula-2 BOOLEAN
type.
(read_range_type): Rename MAX_OF_TYPE to MAX_OF_C_TYPE, etc.
#if 0 out its uses, though, since they set a dead value.
* coffread.c (end_symtab): Use allocate_symtab.
(process_coff_symbol): #if 0'd for functions and params as above.
(read_enum_type): Recognize Modula-2 BOOLEAN.
Roland Pesch [Thu, 19 Sep 1991 02:20:06 +0000 (02:20 +0000)]
Update _MACH_DEP__ macro to be consistent with node references in both
generic and one-machine manuals.
Roland Pesch [Thu, 19 Sep 1991 02:18:43 +0000 (02:18 +0000)]
Structural cleanups (node structure and M4 preprocessing structure);
minor proofreading in passing. More modest editorial attribution.
John Gilmore [Wed, 18 Sep 1991 23:24:51 +0000 (23:24 +0000)]
* convex-tdep.c (comm_registers_info): Avoid parsing decimal and
hex -- let parse_and_eval_address do it.
John Gilmore [Wed, 18 Sep 1991 23:16:45 +0000 (23:16 +0000)]
* i387-tdep.c: New file, consolidates most 80387 support,
and eliminates host dependency on double<->extended conversions.
* i386-xdep.c, symm-xdep.c: Remove most 387 support.
* xconfig/i386{sco,v,v-g,v32,v32-g}: Now need i387-tdep.o.
John Gilmore [Wed, 18 Sep 1991 23:15:20 +0000 (23:15 +0000)]
* i386-xdep.c, symm-xdep.c: Remove most 387 support.
* i386-xdep.c: Output hex with local_hex_string for Modula-2 support.