binutils-gdb.git
33 years ago*** empty log message ***
Jim Kingdon [Fri, 3 May 1991 00:50:18 +0000 (00:50 +0000)]
*** empty log message ***

33 years agoMerge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
John Gilmore [Thu, 2 May 1991 23:10:23 +0000 (23:10 +0000)]
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100.  It still has
trouble running but it can handle opening exec and symbol files in
ecoff format.

33 years agoMake it compile on DEC 3100.
John Gilmore [Thu, 2 May 1991 21:27:31 +0000 (21:27 +0000)]
Make it compile on DEC 3100.

33 years agoMinor cleanup to make it compile on DECstation.
John Gilmore [Thu, 2 May 1991 21:22:43 +0000 (21:22 +0000)]
Minor cleanup to make it compile on DECstation.

33 years agoMake bfd_filename return a char *, not a const char *.
Jim Kingdon [Thu, 2 May 1991 19:05:06 +0000 (19:05 +0000)]
Make bfd_filename return a char *, not a const char *.

33 years ago*** empty log message ***
Jim Kingdon [Thu, 2 May 1991 06:46:25 +0000 (06:46 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Jim Kingdon [Thu, 2 May 1991 04:38:14 +0000 (04:38 +0000)]
*** empty log message ***

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 04:37:41 +0000 (04:37 +0000)]
Merge devo/bfd with GDB's bfd.

33 years ago * xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE.
Jim Kingdon [Thu, 2 May 1991 04:37:28 +0000 (04:37 +0000)]
* xm-sun386.h: Don't define SET_STACK_LIMIT_HUGE.

33 years ago * blockframe.c, breakpoint.c, core.c, command.c, findvar.c,
Jim Kingdon [Thu, 2 May 1991 04:36:15 +0000 (04:36 +0000)]
* 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.

33 years agoThe list of changes is too long to fit in the cvs log (since it truncates!).
Jim Kingdon [Thu, 2 May 1991 04:28:42 +0000 (04:28 +0000)]
The list of changes is too long to fit in the cvs log (since it truncates!).
Look at the ChangeLog for Apr 30 and May 1.

33 years ago * signame.c: Include defs.h and param.h.
Jim Kingdon [Thu, 2 May 1991 04:17:41 +0000 (04:17 +0000)]
* signame.c: Include defs.h and param.h.

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 04:11:40 +0000 (04:11 +0000)]
Merge devo/bfd with GDB's bfd.

Remove obstack.h to ../include and obstack.c to ../libiberty.
Move COFF symbol swapping code to coffswap.c where GDB can call it but it
won't be duplicated if we have N different COFF targets.
Add support for traditional Unix core files (with a upage).  This support
is from an Ultrix port, but is probably slightly broken now.
Improve bfd_release's of obstack'd items on error returns.
gcc -Wall fixes.
Handle section alignment slightly better in coff, and comment where it
needs more work (on page-aligning virtual vs file addresses for DPAGED).
Use set_tdata everywhere that tdata is set, to avoid "cast to the left
of assignment" problems with some compilers.
Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h
(from bfd.h) since they are internal routines.
Remove the redundant suffix "_struct" from struct tags.
Set symbol count early in file reading, before slurping in the syms,
for GDB's use.

33 years agoInitial revision
John Gilmore [Thu, 2 May 1991 04:11:17 +0000 (04:11 +0000)]
Initial revision

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 03:39:15 +0000 (03:39 +0000)]
Merge devo/bfd with GDB's bfd.
Get getopt and obstack from -liberty rather than compiling them here.
* coffread.c: turn a printf into a complain(), and try to deal more
gracefully with botched-looking lineno pointers.
* dbxread.c:  Use bfd_get_symcount rather than bfd_get_symcount_upper_bound.
Don't coredump on files with zero symbols in them (a BFD bug showed this one).
* environ.c:  Pass GNUTARGET into the parent (gdb) as well as the child.

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 03:08:32 +0000 (03:08 +0000)]
Merge devo/bfd with GDB's bfd.
Things that use -lbfd must also use -liberty, to get obstacks.

33 years agoMerge devo/bfd with GDB's bfd.
John Gilmore [Thu, 2 May 1991 03:06:46 +0000 (03:06 +0000)]
Merge devo/bfd with GDB's bfd.
Use "libiberty" rather than "getopt" directory.
Add a few FIXME's to ar.c.

33 years agoUpdate for merge of main BFD and GDB's BFD. Remove "_struct" suffix
John Gilmore [Thu, 2 May 1991 02:52:21 +0000 (02:52 +0000)]
Update for merge of main BFD and GDB's BFD.  Remove "_struct" suffix
on all struct types -- they are in a separate namespace anyway.
Move bfd_alloc, bfd_zalloc, bfd_realloc, bfd_release into libbfd.h,
since external users shouldn't be calling them anyway.

33 years agoTue Apr 30 13:13:33 1991 Michael Tiemann (tiemann at cygint.cygnus.com)
Michael Tiemann [Tue, 30 Apr 1991 20:19:02 +0000 (20:19 +0000)]
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.

33 years ago*** empty log message ***
Jim Kingdon [Tue, 30 Apr 1991 19:51:50 +0000 (19:51 +0000)]
*** empty log message ***

33 years ago * sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to
Jim Kingdon [Tue, 30 Apr 1991 19:50:49 +0000 (19:50 +0000)]
* sun3-xdep.c, tm-sun3.h, tm-68k.h: Change TARGET_SUN3 to
GDB_TARGET_IS_SUN3.

33 years ago * Makefile.dist: Add comment about tm-sun3os4.h: tm-sun3.h, etc.
Jim Kingdon [Tue, 30 Apr 1991 19:50:07 +0000 (19:50 +0000)]
* Makefile.dist: Add comment about tm-sun3os4.h: tm-sun3.h, etc.

33 years ago * sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide empty
Jim Kingdon [Tue, 30 Apr 1991 19:49:40 +0000 (19:49 +0000)]
* sun386-xdep.c [!GDB_TARGET_IS_SUN386]: Just provide empty
functions which don't do anything.

33 years ago * Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h.
Jim Kingdon [Tue, 30 Apr 1991 19:49:22 +0000 (19:49 +0000)]
* Move BROKEN_LARGE_ALLOCA from tm-sun386.h to xm-sun386.h.

33 years ago * infrun.c: Don't include sys/user.h and friends (wrong for
Jim Kingdon [Mon, 29 Apr 1991 20:54:42 +0000 (20:54 +0000)]
* 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).

33 years ago {x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files.
Jim Kingdon [Mon, 29 Apr 1991 05:28:47 +0000 (05:28 +0000)]
{x,t}m-tahoe.h, tahoe-pinsn.c, tahoe-opcode.h: New files.

33 years agoInitial revision
Jim Kingdon [Mon, 29 Apr 1991 05:28:45 +0000 (05:28 +0000)]
Initial revision

33 years ago * param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
Jim Kingdon [Mon, 29 Apr 1991 05:27:04 +0000 (05:27 +0000)]
* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
or not defined.  Don't define it based on TARGET_BYTE_ORDER if
it's already defined (in the tm.h file).
mips-opcode.h (BIT_FIELDS_*),
values.c (modify_field, unpack_field_as_long):
Use #if BITS_BIG_ENDIAN not #ifdef BITS_BIG_ENDIAN.

33 years ago * tm-sparc.h: Add comments about gcc version 2 and structure passing.
Jim Kingdon [Fri, 26 Apr 1991 23:09:53 +0000 (23:09 +0000)]
* tm-sparc.h: Add comments about gcc version 2 and structure passing.

33 years ago*** empty log message ***
Jim Kingdon [Fri, 26 Apr 1991 23:09:52 +0000 (23:09 +0000)]
*** empty log message ***

33 years ago * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Jim Kingdon [Fri, 26 Apr 1991 23:07:03 +0000 (23:07 +0000)]
* symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Return void not int. (also declarations in symfile.h and value.h).

33 years ago defs.h (TARGET_LONG_LONG_BIT): New macro.
Jim Kingdon [Fri, 26 Apr 1991 23:05:38 +0000 (23:05 +0000)]
defs.h (TARGET_LONG_LONG_BIT): New macro.

33 years ago * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
Jim Kingdon [Fri, 26 Apr 1991 23:05:17 +0000 (23:05 +0000)]
* symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
regardless of LONG_LONG.
symtab.c, symtab.h (allocate_stub_method): New function.

33 years ago * values.c, value.h: New functions value_{headof,from_vtable_info}.
Jim Kingdon [Fri, 26 Apr 1991 23:04:32 +0000 (23:04 +0000)]
* values.c, value.h: New functions value_{headof,from_vtable_info}.
* value.h: Remove redundant declaration of value_static_field.

33 years ago * values.c (check_stub_method): Do lookup_method_type and stuff
Jim Kingdon [Fri, 26 Apr 1991 23:04:10 +0000 (23:04 +0000)]
* values.c (check_stub_method): Do lookup_method_type and stuff
rather than smash_to_method_type.
* values.c (check_stub_method): Deal with operator names.
* values.c: Move declaration of cplus_demangle to top of file.
* values.c (baseclass_addr): If can't read memory, set *ERRP
rather than calling error().
* values.c (value_static_field): Recursively check all baseclasses.
Return NULL if not found.
* values.c, value.h: New functions value_{headof,from_vtable_info}.
values.c (value_virtual_fn_field):
Don't bother to do anything with
return value from fill_in_vptr_fieldno.CVS: Modified Files:

33 years ago * valprint.c (val_print): Print out first element of vtbl
Jim Kingdon [Fri, 26 Apr 1991 23:02:38 +0000 (23:02 +0000)]
* valprint.c (val_print): Print out first element of vtbl
specially.
* valprint.c: Move print controls to top and add objectprint.
Add command "set print object on/off".
* valprint.c (value_print, is_vtbl_member): Put things in local
variables rather than continually doing VALUE_TYPE (val), etc.

33 years ago * valops.c (typecmp): If t2 == 0, return 1.
Jim Kingdon [Fri, 26 Apr 1991 23:02:15 +0000 (23:02 +0000)]
* valops.c (typecmp): If t2 == 0, return 1.
* valops.c (value_struct_elt_for_address): Call check_stub_method.
* valops.c (value_struct_elt): Remove found, arg1_as_ptr.
* valops.c (search_struct_method): Give error if j > 0 && args == 0.
* valops.c (search_struct_field): New argument looking_for_baseclass.
Give error if value_static_field or value_primitive_field
return NULL.
valops.c (various): Call search_struct_field with extra parameter.

33 years ago * symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
Jim Kingdon [Fri, 26 Apr 1991 23:01:36 +0000 (23:01 +0000)]
* symtab.c, symtab.h: Have a builtin_type_{,unsigned_}long_long
regardless of LONG_LONG.
symtab.c, symtab.h (allocate_stub_method): New function.
* symtab.c (decode_line_1): Deal with operators specified as
"operator" <optional whitespace> <symbols for operator>.
(operator_chars): Help do it.
* symtab.c (lookup_struct_elt_type): Call check_stub_type.
Take additional argument noerr.
Don't dump core if TYPE_FIELD_NAME is NULL.
Check the baseclasses recursively.

33 years ago * symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Jim Kingdon [Fri, 26 Apr 1991 23:00:55 +0000 (23:00 +0000)]
* symfile.c (fill_in_vptr_fieldno): Don't call check_stub_type.
Return void not int. (also declarations in symfile.h and value.h).
Deal with multiple inheritance.

33 years ago * printcmd.c (x_command): Dereference references.
Jim Kingdon [Fri, 26 Apr 1991 23:00:32 +0000 (23:00 +0000)]
* printcmd.c (x_command): Dereference references.
* printcmd.c (print_command_1): Add if (objectprint) code.

33 years ago * eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcode
Jim Kingdon [Fri, 26 Apr 1991 22:59:54 +0000 (22:59 +0000)]
* eval.c (evaluate_subexp, case UNOP_LOGNOT): If following opcode
is OP_SCOPE, give an error.
* eval.c (evaluate_subexp): Pass third arg to lookup_struct_elt_type.
* eval.c (evaluate_subexp), values.c (value_virtual_fn_field):
Don't bother to do anything with
return value from fill_in_vptr_fieldno.
* eval.c (evaluate_subexp): If value_static_field returns NULL,
give an error.

33 years ago dbxread.c (read_type): If we get "##", don't lookup_function_type
Jim Kingdon [Fri, 26 Apr 1991 22:59:00 +0000 (22:59 +0000)]
dbxread.c (read_type): If we get "##", don't lookup_function_type
and start clobbering it; allocate_stub_method instead.
* dbxread.c (read_struct_type): Put "op$" instead of "operator"
in the symbol table.
* dbxread.c (read_struct_type): Set fcontext to 0 for normal member
function.
* dbxread.c (read_struct_type): Initialize name to 0.
* dbxread.c (read_ofile_symtab, N_CATCH): Add offset to bufp->n_value.
* dbxread.c (dbx_create_type): Zero TYPE_VPTR_BASETYPE.
(read_struct_type): Don't bother to set TYPE_VTPR_{BASETYPE,FIELDNO}
if it's just going to be {0,1}.

* dbxread.c (virtual_context): Use TYPE_BASECLASS starting at 0
(yes, it's #if 0, but just in case...).

33 years ago * cplus-dem.c (optable): Add "nw", "dl", "compound".
Jim Kingdon [Fri, 26 Apr 1991 22:58:14 +0000 (22:58 +0000)]
* cplus-dem.c (optable): Add "nw", "dl", "compound".
(cplus_mangle_opname): New function.
(do_type): Add case 'Q'.
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".

33 years ago * expread.y (abs_decl): Accept '&' and '&' abs_decl.
Jim Kingdon [Fri, 26 Apr 1991 22:57:44 +0000 (22:57 +0000)]
* expread.y (abs_decl): Accept '&' and '&' abs_decl.
expread.y (typebase): Add {unsigned,} long long {,int}.
* expread.y (variable): Allow for destructor with foo::~name.
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".

33 years ago * vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
Jim Kingdon [Fri, 26 Apr 1991 22:57:07 +0000 (22:57 +0000)]
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".

33 years ago gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.
Jim Kingdon [Fri, 26 Apr 1991 22:56:08 +0000 (22:56 +0000)]
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.
* gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.

33 years ago * xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096.
Jim Kingdon [Fri, 26 Apr 1991 22:55:42 +0000 (22:55 +0000)]
* xconfig/i386v{,32}{,-g}: Add XM_CFLAGS=-Dgetpagesize()=4096.
gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code.

33 years agoReplace all 5 BFD_FAILURE's with false's.
John Gilmore [Fri, 26 Apr 1991 16:32:55 +0000 (16:32 +0000)]
Replace all 5 BFD_FAILURE's with false's.

33 years agoRemove BFD_SUCCESS and BFD_FAILURE, replace with a comment about return
John Gilmore [Fri, 26 Apr 1991 16:32:20 +0000 (16:32 +0000)]
Remove BFD_SUCCESS and BFD_FAILURE, replace with a comment about return
values of functions.

33 years agoUse the new merged include directory.
John Gilmore [Thu, 25 Apr 1991 04:25:00 +0000 (04:25 +0000)]
Use the new merged include directory.

33 years agoMinor changes to accomodate merging of three include file directories.
John Gilmore [Thu, 25 Apr 1991 04:22:55 +0000 (04:22 +0000)]
Minor changes to accomodate merging of three include file directories.

33 years agoMerge intel-deliver and amd-deliver "include" directories, and the
John Gilmore [Thu, 25 Apr 1991 04:20:18 +0000 (04:20 +0000)]
Merge intel-deliver and amd-deliver "include" directories, and the
GDB include directory, all into a single include directory.

There are minor corresponding changes in a few files in bfd and gdb.

33 years agoInitial revision
John Gilmore [Thu, 25 Apr 1991 04:20:11 +0000 (04:20 +0000)]
Initial revision

33 years agoFix minor pointer type problems that "cc" complains about.
John Gilmore [Thu, 25 Apr 1991 04:06:21 +0000 (04:06 +0000)]
Fix minor pointer type problems that "cc" complains about.

33 years agoAdded the sizeof_headers keyword.
Steve Chamberlain [Wed, 24 Apr 1991 20:53:36 +0000 (20:53 +0000)]
Added the sizeof_headers keyword.

33 years agoAdded some depdenencies and fixed etags
Steve Chamberlain [Wed, 24 Apr 1991 20:52:21 +0000 (20:52 +0000)]
Added some depdenencies and fixed etags

33 years agoChanged the shape of the howto type yet again.
Steve Chamberlain [Wed, 24 Apr 1991 20:51:27 +0000 (20:51 +0000)]
Changed the shape of the howto type yet again.

Now m88kbcs support can self host.

33 years agoThis is the last one I gave to Telebit, minus all the print_msg's.
Jim Kingdon [Wed, 24 Apr 1991 19:33:31 +0000 (19:33 +0000)]
This is the last one I gave to Telebit, minus all the print_msg's.

33 years ago * WHATS.NEW: Remove mention of readline and more paging (in 3.5).
Jim Kingdon [Wed, 24 Apr 1991 19:30:10 +0000 (19:30 +0000)]
* WHATS.NEW: Remove mention of readline and more paging (in 3.5).
Try to keep command names up to date with renaming.

33 years ago * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.
Jim Kingdon [Wed, 24 Apr 1991 19:18:42 +0000 (19:18 +0000)]
* gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize.

33 years ago * infun.c (resume, resume_cleanups): New functions.
Jim Kingdon [Wed, 24 Apr 1991 19:17:58 +0000 (19:17 +0000)]
* infun.c (resume, resume_cleanups): New functions.
(wait_for_inferior, proceed, child_create_inferior): Use resume
not target_resume.

33 years agoThree staging checkpoint.
K. Richard Pixley [Wed, 24 Apr 1991 19:06:14 +0000 (19:06 +0000)]
Three staging checkpoint.

33 years ago * remote.c (getpkt): Don't set immediate_quit.
Jim Kingdon [Wed, 24 Apr 1991 17:14:10 +0000 (17:14 +0000)]
* remote.c (getpkt): Don't set immediate_quit.

33 years ago * blockframe.c, frame.h (reinit_frame_cache): New function.
Jim Kingdon [Wed, 24 Apr 1991 16:56:40 +0000 (16:56 +0000)]
* blockframe.c, frame.h (reinit_frame_cache): New function.
solib.c (solib_add), symfile.c ({,add_}symbol_file_command):
Use it.

33 years agoThree staging checkpoint.
K. Richard Pixley [Wed, 24 Apr 1991 16:52:32 +0000 (16:52 +0000)]
Three staging checkpoint.

33 years ago * symtab.c (lookup_symbol): Add 3 more of those loops through
Jim Kingdon [Wed, 24 Apr 1991 02:23:40 +0000 (02:23 +0000)]
* 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.

33 years ago values.c (value_virtual_fn_field): If there is no fcontext,
Jim Kingdon [Wed, 24 Apr 1991 01:01:09 +0000 (01:01 +0000)]
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.

33 years ago * main.c (cd_command): Call dont_repeat.
Jim Kingdon [Wed, 24 Apr 1991 00:08:50 +0000 (00:08 +0000)]
* 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'.

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 23 Apr 1991 22:44:20 +0000 (22:44 +0000)]
*** empty log message ***

33 years ago * printcmd.c (print_scalar_formatted): Add 't' for binary.
Jim Kingdon [Tue, 23 Apr 1991 17:27:49 +0000 (17:27 +0000)]
* printcmd.c (print_scalar_formatted): Add 't' for binary.

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 23 Apr 1991 16:02:09 +0000 (16:02 +0000)]
*** empty log message ***

33 years ago*** empty log message ***
Steve Chamberlain [Tue, 23 Apr 1991 15:59:24 +0000 (15:59 +0000)]
*** empty log message ***

33 years agoInitial revision
Steve Chamberlain [Tue, 23 Apr 1991 15:59:23 +0000 (15:59 +0000)]
Initial revision

33 years agoUse unpush_target not pop_target in core_open.
Jim Kingdon [Tue, 23 Apr 1991 02:19:43 +0000 (02:19 +0000)]
Use unpush_target not pop_target in core_open.

33 years ago*** empty log message ***
Jim Kingdon [Tue, 23 Apr 1991 01:11:11 +0000 (01:11 +0000)]
*** empty log message ***

33 years agoRestore Schauer's version of ADD_SOLIB in core_open().
Jim Kingdon [Tue, 23 Apr 1991 00:43:20 +0000 (00:43 +0000)]
Restore Schauer's version of ADD_SOLIB in core_open().

33 years ago * Shared libaray/corefile changes from Peter Schauer:
Jim Kingdon [Tue, 23 Apr 1991 00:05:24 +0000 (00:05 +0000)]
* 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.

33 years ago * sparc-tdep.c (skip_prologue): Don't skip anything unless there
Jim Kingdon [Mon, 22 Apr 1991 21:40:42 +0000 (21:40 +0000)]
* sparc-tdep.c (skip_prologue): Don't skip anything unless there
is a "save" instruction in there somewhere.

33 years agoInitial revision
Jim Kingdon [Mon, 22 Apr 1991 20:36:28 +0000 (20:36 +0000)]
Initial revision

33 years agoFix the fix to the appearance of the ChangeLog
Jim Kingdon [Mon, 22 Apr 1991 20:12:14 +0000 (20:12 +0000)]
Fix the fix to the appearance of the ChangeLog

33 years agoFix appearance of ChangeLog.
Jim Kingdon [Mon, 22 Apr 1991 20:11:42 +0000 (20:11 +0000)]
Fix appearance of ChangeLog.

33 years ago * symfile.c (symbol_file_add): Add comment.
Jim Kingdon [Mon, 22 Apr 1991 20:09:26 +0000 (20:09 +0000)]
* symfile.c (symbol_file_add): Add comment.
solib.c (solib_add): Don't malloc name passed to symbol_file_add.

33 years agoCheck for NULL selected_frame in various places.
Jim Kingdon [Mon, 22 Apr 1991 20:08:53 +0000 (20:08 +0000)]
Check for NULL selected_frame in various places.

33 years ago * breakpoint.c (bpstat_print): Try all elements on the bpstat
Jim Kingdon [Mon, 22 Apr 1991 07:08:07 +0000 (07:08 +0000)]
* 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.

33 years ago * tm-i386v{,-g}.h: Remove N_SET_MAGIC define.
Jim Kingdon [Mon, 22 Apr 1991 04:45:26 +0000 (04:45 +0000)]
* tm-i386v{,-g}.h: Remove N_SET_MAGIC define.

33 years ago * i386-tdep.c: Remove unnecessary #includes.
Jim Kingdon [Sun, 21 Apr 1991 05:59:53 +0000 (05:59 +0000)]
* i386-tdep.c: Remove unnecessary #includes.

33 years ago * coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).
Jim Kingdon [Sun, 21 Apr 1991 05:17:05 +0000 (05:17 +0000)]
* coffread.c (find_linenos): Use LINESZ not sizeof (struct lineno).

* coffread.c (end_symtab): Initialize language, dirname, and
fullname fields.

33 years ago infrun.c (start_remote): Also call wait_for_inferior & normal_stop.
Jim Kingdon [Sat, 20 Apr 1991 03:59:44 +0000 (03:59 +0000)]
infrun.c (start_remote): Also call wait_for_inferior & normal_stop.

33 years ago * findvar.c (read_register_gen): Add "target byte-order" comment.
Jim Kingdon [Sat, 20 Apr 1991 03:57:50 +0000 (03:57 +0000)]
* findvar.c (read_register_gen): Add "target byte-order" comment.

Wed Apr 17 17:09:48 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)

* i386-tdep.c (i386_get_frame_setup): Use SWAP_TARGET_AND_HOST
before returning locals or slocals.

* i386-tdep.c (i386_follow_jump): Do not add data16 to pos in
call to codestream_seek; add one to pos if (and only if)
we are dealing with a jump with data16 == 1 (i.e. 0x66, 0xe9).

Mon Apr 15 12:04:32 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)

* valops.c (call_function_by_hand): Put dummy1 in target order
before FIX_CALL_DUMMY.

* tm-i386v.h (FIX_CALL_DUMMY): Don't depend on host byte order.

Sun Apr 14 11:55:19 1991  Jim Kingdon  (kingdon at cygint.cygnus.com)

* valops.c (push_word): Add SWAP_TARGET_AND_HOST.

* remote.c (remote_open): Send '+' before calling putpkt().

* tm-i386v.h (REGISTER_VIRTUAL_TYPE): Return pointer to void,
not int, for pc, fp, and sp.

* remote.c (remote_open): Call start_remote after putpkt("?");

33 years ago * mipsread.c (parse_symbol): Set startup_file_{start,end} if
Jim Kingdon [Sat, 20 Apr 1991 03:27:04 +0000 (03:27 +0000)]
* mipsread.c (parse_symbol): Set startup_file_{start,end} if
entry_point is in current file.

33 years ago * stddef.h (size_t): Let either _SIZE_T or _SIZE_T_ guard it.
Jim Kingdon [Sat, 20 Apr 1991 03:25:09 +0000 (03:25 +0000)]
* stddef.h (size_t): Let either _SIZE_T or _SIZE_T_ guard it.

33 years ago signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
Jim Kingdon [Sat, 20 Apr 1991 01:02:34 +0000 (01:02 +0000)]
signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
param-no-tm.h: Define SYS_SIGLIST_MISSING from USG.

33 years agoFix comment (coff-encap -> dbx-in-coff).
Jim Kingdon [Sat, 20 Apr 1991 00:41:55 +0000 (00:41 +0000)]
Fix comment (coff-encap -> dbx-in-coff).

33 years ago * tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
Jim Kingdon [Sat, 20 Apr 1991 00:31:01 +0000 (00:31 +0000)]
* tm-68k.h (NUM_REGS): Conditionalize on TARGET_SUN3 not sun.
tm-sun3.h: Define TARGET_SUN3.

33 years agoUpdated, amplified, and reorganized linker manual. Option-flag
Roland Pesch [Sat, 20 Apr 1991 00:07:39 +0000 (00:07 +0000)]
Updated, amplified, and reorganized linker manual.  Option-flag
description believed complete as of today; still holes---small
ones---in "commands" section.  BFD section also needs better table of
supported archs and formats; see FIXMEs for scattered q's and
desiderata.

33 years ago * utils.c: Use CPLUS_MARKER not '$'.
Jim Kingdon [Fri, 19 Apr 1991 23:50:06 +0000 (23:50 +0000)]
* utils.c: Use CPLUS_MARKER not '$'.

* cplus-dem.c: Use CPLUS_MARKER not '$'.  If CPLUS_MARKER isn't
defined, define it to '$'.

33 years ago * arm-opcode.h: New file (same contents as before; it had
Jim Kingdon [Fri, 19 Apr 1991 23:37:10 +0000 (23:37 +0000)]
* arm-opcode.h: New file (same contents as before; it had
just been left out of the distribution for a long time).

33 years agoInitial revision
Jim Kingdon [Fri, 19 Apr 1991 23:37:08 +0000 (23:37 +0000)]
Initial revision

33 years ago * tm-68k.h: Put declaration of ext_format_68881 outside the macros.
Jim Kingdon [Fri, 19 Apr 1991 22:04:24 +0000 (22:04 +0000)]
* tm-68k.h: Put declaration of ext_format_68881 outside the macros.

33 years ago * main.c: New HAVE_SIGSETMASK #ifdefs.
Jim Kingdon [Fri, 19 Apr 1991 21:49:27 +0000 (21:49 +0000)]
* main.c: New HAVE_SIGSETMASK #ifdefs.