deliverable/binutils-gdb.git
30 years agonew for /proc support on svr4 delta88
Jim Kingdon [Thu, 2 Sep 1993 05:57:31 +0000 (05:57 +0000)] 
new for /proc support on svr4 delta88

30 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:46:57 +0000 (05:46 +0000)] 
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

30 years ago* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:45:11 +0000 (05:45 +0000)] 
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

30 years ago * config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
Jim Kingdon [Thu, 2 Sep 1993 05:35:49 +0000 (05:35 +0000)] 
* config/m88k/xm-dgux.h: Renamed from config/m88k/xm-m88k.h.
* config/m88k/xm-m88k.h: New file, with HOST_BYTE_ORDER,
MAKEVA_END and MAKEVA_ARG.
* config/m88k/xm-*.h: Include m88k/xm-m88k.h.
* printcmd.c: Remove __INT_VARARGS_H code; now in xm-m88k.h.

30 years agorenamed from xm-m88k.h
Jim Kingdon [Thu, 2 Sep 1993 05:06:30 +0000 (05:06 +0000)] 
renamed from xm-m88k.h

30 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 05:00:48 +0000 (05:00 +0000)] 
* remote-udi.c (udi_wait): Call `warning' not `error'.

30 years ago* remote-udi.c (udi_wait): Call `warning' not `error'.
Jim Kingdon [Thu, 2 Sep 1993 04:39:59 +0000 (04:39 +0000)] 
* remote-udi.c (udi_wait): Call `warning' not `error'.

30 years ago * symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
Jim Kingdon [Thu, 2 Sep 1993 02:25:34 +0000 (02:25 +0000)] 
* symtab.c (COMPLETION_LIST_ADD_SYMBOL): If the symbol has a
demangling, don't put the mangled form in the completion list.

30 years ago * symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
Jim Kingdon [Thu, 2 Sep 1993 01:41:40 +0000 (01:41 +0000)] 
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c
partial-stab.h, symmisc.c, gdbtypes.c: Lint.  Remove (or put
inside #if) unused variables and labels.  Fix unclosed comment.
Deal with enumeration values unhandled in switch statements.  Make
sure non-void functions return values.  Include appropriate
headers.
* dbxread.c (elfstab_build_psymtabs): Don't check for unsigned
value < 0.

30 years agoLoad the udi library procedures.
Rob Savoye [Thu, 2 Sep 1993 01:12:20 +0000 (01:12 +0000)] 
Load the udi library procedures.

30 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Thu, 2 Sep 1993 00:24:46 +0000 (00:24 +0000)] 
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

* buildsym.c (end_symtab): Don't realloc subfile->linetable.

30 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:43:07 +0000 (23:43 +0000)] 
* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

30 years ago * coffread.c: Re-work a lot of the coff-specific stuff to use stuff
Jim Kingdon [Wed, 1 Sep 1993 23:11:30 +0000 (23:11 +0000)] 
* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

30 years agoindex -> strchr
K. Richard Pixley [Wed, 1 Sep 1993 22:24:34 +0000 (22:24 +0000)] 
index -> strchr

30 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:15:01 +0000 (22:15 +0000)] 
* remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
They are not called from anywhere.

Wed Sep  1 11:35:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

30 years ago * remote.c: Add comment explaining why dcache is disabled.
Jim Kingdon [Wed, 1 Sep 1993 22:10:37 +0000 (22:10 +0000)] 
* remote.c: Add comment explaining why dcache is disabled.
(remote_fetch_word, remote_store_word): Make static and #if 0.
They are not called from anywhere.

30 years ago * symtab.c (find_pc_line, find_line_common),
Jim Kingdon [Wed, 1 Sep 1993 22:08:13 +0000 (22:08 +0000)] 
* symtab.c (find_pc_line, find_line_common),
symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

30 years agobzero -> memset
K. Richard Pixley [Wed, 1 Sep 1993 21:56:42 +0000 (21:56 +0000)] 
bzero -> memset

30 years agobcmp -> memcmp
K. Richard Pixley [Wed, 1 Sep 1993 21:43:56 +0000 (21:43 +0000)] 
bcmp -> memcmp

30 years ago * symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Jim Kingdon [Wed, 1 Sep 1993 21:15:27 +0000 (21:15 +0000)] 
* symtab.h (struct linetable), xcoffread.c (arrange_linetable):
Revise comments re linetable sorting.
* buildsym.c (compare_line_numbers): Sort by pc, not by line.
* coffread.c: Tell end_symtab to sort the line table.

* coffread.c: Re-work a lot of the coff-specific stuff to use stuff
in buildsym.c.  This includes coff_finish_block, coff_context_stack,
coff_local_symbols, coff_file_symbols, coff_global_symbols,
coff_end_symtab and coff_add_symbol_to_list.
(read_enum_type): Deal with it now that we have a "struct pending"
not a "struct coff_pending".

* buildsym.c (end_symtab): Don't realloc subfile->linetable.

30 years agobcopy -> memcpy
K. Richard Pixley [Wed, 1 Sep 1993 20:37:15 +0000 (20:37 +0000)] 
bcopy -> memcpy

30 years agowrite.c, configure.in changes
Ken Raeburn [Wed, 1 Sep 1993 19:58:44 +0000 (19:58 +0000)] 
write.c, configure.in changes

30 years ago(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.
Ken Raeburn [Wed, 1 Sep 1993 19:32:36 +0000 (19:32 +0000)] 
(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.

30 years agoDeleted explicit "return" statements without values at the ends of functions.
Ken Raeburn [Wed, 1 Sep 1993 19:29:02 +0000 (19:29 +0000)] 
Deleted explicit "return" statements without values at the ends of functions.

30 years ago * libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD. M_I386
Jim Kingdon [Wed, 1 Sep 1993 19:28:53 +0000 (19:28 +0000)] 
* libaout.h, netbsd386.c: Change M_I386 to M_386_NETBSD.  M_I386
is an SCO pre-define.

30 years agoadd an alias for data section type
K. Richard Pixley [Wed, 1 Sep 1993 19:20:54 +0000 (19:20 +0000)] 
add an alias for data section type

30 years agobreak dcache out of remote-nindy.c
K. Richard Pixley [Wed, 1 Sep 1993 19:16:57 +0000 (19:16 +0000)] 
break dcache out of remote-nindy.c

30 years ago * mipsread.c (parse_partial_symbols): Use language from FDR if it
Peter Schauer [Wed, 1 Sep 1993 12:10:55 +0000 (12:10 +0000)] 
* mipsread.c (parse_partial_symbols):  Use language from FDR if it
is unambigous.  Patch from ptf@delcam.co.uk (Paul Flinders).
* mipsread.c (ecoff_symfile_info):  New struct to hold the global
pending_list.
* mipsread.c (mipscoff_symfile_init, parse_partial_symbols):
Allocate the global pending list and link it to the objfile.
* mipsread.c (is_pending_symbol, add_pending):  Use global pending
list from objfile. Allocate pending list entries from the
psymbol_obstack.
* mipsread.c (free_pending):  Remove. The pending list is now
freed when the psymbol_obstack is freed.
* mipsread.c (psymtab_to_symtab1):  Remove pending list allocation,
the global pending list is used now.
* mipsread.c (parse_partial_symbols):  Skip only the first
file indirect entry when building the dependency list.

30 years agobreak dcache code out of remote.c
K. Richard Pixley [Wed, 1 Sep 1993 00:43:09 +0000 (00:43 +0000)] 
break dcache code out of remote.c

30 years agopulling dcache code out of remote.c
K. Richard Pixley [Wed, 1 Sep 1993 00:37:53 +0000 (00:37 +0000)] 
pulling dcache code out of remote.c

30 years ago * config/udi-gdb.exp: gdb_exit now kills any isstip processes
Rob Savoye [Tue, 31 Aug 1993 22:53:40 +0000 (22:53 +0000)] 
* config/udi-gdb.exp: gdb_exit now kills any isstip processes
still running and removes the leftover named socket so GDb can do
clean restarts.

30 years agoJust a little cleanup. Made gdb_exit "kill" any isstip's still running
Rob Savoye [Tue, 31 Aug 1993 22:50:11 +0000 (22:50 +0000)] 
Just a little cleanup. Made gdb_exit "kill" any isstip's still running
and blow away the socket. GDB now restarts beautifully.

30 years agocomment change
K. Richard Pixley [Tue, 31 Aug 1993 22:26:48 +0000 (22:26 +0000)] 
comment change

30 years agobreak dcache code out of remote-bug.c
K. Richard Pixley [Tue, 31 Aug 1993 22:13:29 +0000 (22:13 +0000)] 
break dcache code out of remote-bug.c

30 years ago * stabs.texinfo: Initial-caps all words in node names and
David MacKenzie [Tue, 31 Aug 1993 20:26:16 +0000 (20:26 +0000)] 
* stabs.texinfo: Initial-caps all words in node names and
non-trivial words in section names.

30 years ago* objdump.c (ARCH_all): Define ARCH_hppa too.
Ken Raeburn [Tue, 31 Aug 1993 18:15:50 +0000 (18:15 +0000)] 
* objdump.c (ARCH_all): Define ARCH_hppa too.
(dump_headers): Don't test for SEC_BALIGN if it's not defined by bfd.h.

(The latter is done with #ifdef in case it turns out SEC_BALIGN has to be
put back.  I didn't *see* any uses of it besides this one, though.)

30 years ago * nlmconv.c (main): Force creation of .bss section. Set up the
Ian Lance Taylor [Tue, 31 Aug 1993 17:47:58 +0000 (17:47 +0000)] 
* nlmconv.c (main): Force creation of .bss section.  Set up the
sections before looking at the symbols.  Move all common symbols
into .bss section.  Automatically define _edata and _end.  Only
export symbols in the export list, with multiple prefixes if
necessary.  Warn if no version.  Always create extended header.
Set date automatically if not already set.
(setup_sections): Count size of bss sections.
(mangle_relocs, i386_mangle_relocs): Accept section argument, and
take reloc_count as a changeable pointer; changed callers.
(i386_mangle_relocs): Remove PC relative relocs within a section,
as they require no adjustment.
* nlmheader.y: Fixed memory allocation throughout: token STRING is
now allocated on the heap, and freed if not needed.  Null
terminated copyright message.  Accept version with only two
strings.
(symbol_list_opt): New nonterminal, either symbol_list or empty.
(symbol_list): Use left recursion to avoid overflowing parser
stack.
(yylex): Rearranged beginning of line check.  Accept quoted
strings using single quotes.  End generic argument at comment
character or parentheses.
(string_list_append): Fixed.
(string_list_append1): New function.

30 years ago * Makefile.in (objdump.o): Depend upon config.status to notice
Ian Lance Taylor [Tue, 31 Aug 1993 17:46:56 +0000 (17:46 +0000)] 
* Makefile.in (objdump.o): Depend upon config.status to notice
--with-targets changes.
(nlmconv.o): Depend upon bucomm.h.

30 years ago * nlmcode.h (nlm_object_p): Set HAS_SYMS if there are external
Ian Lance Taylor [Tue, 31 Aug 1993 17:28:03 +0000 (17:28 +0000)] 
* nlmcode.h (nlm_object_p): Set HAS_SYMS if there are external
references.
(nlm_swap_auxiliary_headers_{in,out}): The copyright length is
only one byte.
(nlm_get_symtab_upper_bound): Include debugging symbols in symbol
count.
(nlm_slurp_symbol_table): Make symlength unsigned.  Read debugging
symbols as BFD local symbols.
(nlm_write_object_contents): Don't bother writing out exported
symbols more than once; they now appear in the symbol table more
than once (with and without a prefix) if necessary.  Set offset
values to be non-zero as NLMLINK does.

30 years ago* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.
Jim Kingdon [Tue, 31 Aug 1993 17:11:46 +0000 (17:11 +0000)] 
* libhppa.h: Restore #undefs of e_fsel and other e_* symbols.

30 years ago* configure.in: Match *-*-solaris2* not *-sun-solaris2*.
Jim Kingdon [Tue, 31 Aug 1993 16:03:04 +0000 (16:03 +0000)] 
* configure.in: Match *-*-solaris2* not *-sun-solaris2*.

30 years ago * c-typeprint.c (c_print_type_base): Treat show = 0 just like
Jim Kingdon [Tue, 31 Aug 1993 15:44:44 +0000 (15:44 +0000)] 
* c-typeprint.c (c_print_type_base): Treat show = 0 just like
show < 0.  The only case where we had been distinguishing is that
show = 0 used to print "struct  " or "enum  " instead of
"struct {...}" or "enum {...}" which seems clearly wrong.

30 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Tue, 31 Aug 1993 04:47:33 +0000 (04:47 +0000)] 
* stabs.texinfo: Many minor cleanups.

30 years ago* stabs.texinfo: Many minor cleanups.
Jim Kingdon [Tue, 31 Aug 1993 04:33:50 +0000 (04:33 +0000)] 
* stabs.texinfo: Many minor cleanups.

30 years agodon't run fixproto on gcc-no-fixedincludes
David D. Zuhn [Tue, 31 Aug 1993 01:30:23 +0000 (01:30 +0000)] 
don't run fixproto on gcc-no-fixedincludes

30 years agorecognize m88110
K. Richard Pixley [Tue, 31 Aug 1993 00:52:48 +0000 (00:52 +0000)] 
recognize m88110

30 years ago * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
Rob Savoye [Tue, 31 Aug 1993 00:01:56 +0000 (00:01 +0000)] 
* gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
console, not GDB.
* config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
cross testing works better with "make check"
* config/unix-gdb: Use default procedures for exit and version.
* config/vx-gdb.exp: Cleaned up and massaged back to working order
with the newest VxWorks.

30 years agoUse default version procedure.
Rob Savoye [Mon, 30 Aug 1993 23:28:57 +0000 (23:28 +0000)] 
Use default version procedure.

30 years agoAdd default gdb version so it can be shared.
Rob Savoye [Mon, 30 Aug 1993 23:12:28 +0000 (23:12 +0000)] 
Add default gdb version so it can be shared.

30 years agoMake gdb_exit into default_gdb_exit so it can be shared.
Rob Savoye [Mon, 30 Aug 1993 23:08:02 +0000 (23:08 +0000)] 
Make gdb_exit into default_gdb_exit so it can be shared.

30 years agoUse default_gdb_exit now.
Rob Savoye [Mon, 30 Aug 1993 23:06:57 +0000 (23:06 +0000)] 
Use default_gdb_exit now.

30 years agoWorks again.
Rob Savoye [Mon, 30 Aug 1993 23:06:03 +0000 (23:06 +0000)] 
Works again.

30 years agoAdd values for RUNTEST and RUNTESTFLAGS so cross testing works better.
Rob Savoye [Mon, 30 Aug 1993 22:26:03 +0000 (22:26 +0000)] 
Add values for RUNTEST and RUNTESTFLAGS so cross testing works better.

30 years ago * valops.c (call_function_by_hand): If we discard cleanups, call
Jim Kingdon [Mon, 30 Aug 1993 21:12:50 +0000 (21:12 +0000)] 
* valops.c (call_function_by_hand): If we discard cleanups, call
bpstat_clear (&inf_status.stop_bpstat).

30 years ago * stabsread.h, dbxread.c (end_psymtab): Return NULL if the psymtab
Peter Schauer [Mon, 30 Aug 1993 19:50:47 +0000 (19:50 +0000)] 
* stabsread.h, dbxread.c (end_psymtab):  Return NULL if the psymtab
was empty and thrown away.
* mipsread.c (parse_partial_symbols):  Do not add empty psymtabs to
dependency list, skip self dependencies.
* mipsread.c (parse_fdr):  Removed, obsolete.
* mipsread.c (parse_lines):  Check for cbLine being zero, not
cbLineOffset.
* mipsread.c (struct symloc):  Add pst_language.
* mipsread.c (parse_partial_symbols):  Set up proper language for header
files, save it in pst_language for psymtab_to_symtab_1.
* mipsread.c (psymtab_to_symtab_1):  Use pst_language.

30 years ago * stabs.texinfo: Many minor cleanups.
Jim Kingdon [Mon, 30 Aug 1993 18:36:03 +0000 (18:36 +0000)] 
* stabs.texinfo: Many minor cleanups.

* stabs.texinfo: Remove @deffn except from Expanded Reference node.

30 years ago * config/m88k/{delta88v4.mt,delta88v4.mh}: New files
Jim Kingdon [Mon, 30 Aug 1993 16:00:13 +0000 (16:00 +0000)] 
* config/m88k/{delta88v4.mt,delta88v4.mh}: New files
* config/m88k/delta88.mh: Fix comment.
* config/m88k/tm-delta88.h: Remove unused BCS define.
* config/m88k/{tm-delta88v4.h,xm-delta88v4.h,nm-delta88v4.h}:
New files.

30 years ago* configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.
Jim Kingdon [Mon, 30 Aug 1993 15:58:18 +0000 (15:58 +0000)] 
* configure.in: Fix typo m88*-motorola-svr4* -> sysv4*.

30 years agoCorrectly a spelling mistake.
Rob Savoye [Mon, 30 Aug 1993 04:53:24 +0000 (04:53 +0000)] 
Correctly a spelling mistake.

30 years agofix caps in menu entries
David MacKenzie [Sat, 28 Aug 1993 16:55:32 +0000 (16:55 +0000)] 
fix caps in menu entries

30 years ago * stabs.texinfo:
David MacKenzie [Sat, 28 Aug 1993 16:43:47 +0000 (16:43 +0000)] 
* stabs.texinfo:
Use consistent capitalization style in node and section names.

30 years agoSat Aug 28 12:08:09 1993 David J. MacKenzie (djm@edison.eng.umd.edu)
David MacKenzie [Sat, 28 Aug 1993 16:22:11 +0000 (16:22 +0000)] 
Sat Aug 28 12:08:09 1993  David J. MacKenzie  (djm@edison.eng.umd.edu)

* stabs.texinfo: Remove full description of big example.
It's not really helpful; just use pieces of it where appropriate.
Add more Texinfo formatting directives (@samp, etc.).
Use @deffn to define stab types.
Eliminate some wordiness.  Break up some nodes.
Add an (alphabetized) index of symbol types.

30 years agoFrom Utah, part of BFD HPPA cleanup:
Ken Raeburn [Sat, 28 Aug 1993 00:58:17 +0000 (00:58 +0000)] 
From Utah, part of BFD HPPA cleanup:

        * paread.c: Include som.h instead of libhppa.h.

30 years agoregenerated after section.c changes
Ken Raeburn [Sat, 28 Aug 1993 00:35:56 +0000 (00:35 +0000)] 
regenerated after section.c changes

30 years agosection.c, hppa changes
Ken Raeburn [Sat, 28 Aug 1993 00:17:05 +0000 (00:17 +0000)] 
section.c, hppa changes

30 years ago%$#@ cvs bugs
Ken Raeburn [Sat, 28 Aug 1993 00:16:15 +0000 (00:16 +0000)] 
%$#@ cvs bugs

30 years agoMore patches from Jeff Law, plus a little cleanup of my own.
Ken Raeburn [Sat, 28 Aug 1993 00:12:52 +0000 (00:12 +0000)] 
More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support.
A sun4-x-hppaosf assembler can now be built.

Include <stdlib.h> and <unistd.h>.  Do not define malloc or free.

30 years agoMore patches from Jeff Law, plus a little cleanup of my own.
Ken Raeburn [Sat, 28 Aug 1993 00:10:54 +0000 (00:10 +0000)] 
More patches from Jeff Law, plus a little cleanup of my own.
These changes separate PA-SOM support from PA-ELF support.
A sun4-x-hppaosf assembler can now be built.

* elf32-hppa.c (elf_hppa_howto_table): Now static.
(symext_rootP, symext_lastP, global_value, GOT_value, global_symbol,
global_sym_defined, symextn_contents, symextn_contents_real_size,
elf_hppa_stub_rootP, elf32_hppa_symextn_map, elf32_hppa_symextn_map_size): Rely
on default initialization.
(hppa_elf_gen_reloc_type): Macro "UNDEFINED" doesn't need a trailing semicolon.
(hppa_look_for_stubs_in_section): Introduce temporaries to make code more
readable in 80 columns.

* libhppa.h (all functions): Now inline under GNU C.

* elf32-hppa.c (AR_WARN): Give argument which caused the invalid argument
relocation.
(AR_UNIMP): Delete unused macro.
(hppa_elf_set_section_contents): Always return a value.
(elf32_hppa_backend_table_processing): Likewise.
(elf32_hppa_backend_section_processing: Likewise.

* som.c: New file containing SOM specific code extracted from hppa.c

* som.h: New file containing SOM specific code extracted from libhppa.h

* hppa.c: Deleted.

* libhppa.h: Delete SOM specific code.  Add generic PA code which can be shared
by both SOM and ELF backends.

* Makefile.in: Replace hppa.c with som.c.  elf32-hppa.o depends on libhppa.h
now.

* configure.in (hppa_vec): Needs som.o module instead of hppa.o.

* elf32-hppa.c: Include libhppa.h.  Do not define BYTES_IN_WORD.

* elf32-hppa.h (hppa_reloc_field_selector_type): Delete now lives in libhppa.h.
(hppa_reloc_field_selector_type_alt): Likewise.

* elf32-hppa.c (hppa_elf_relocate_unwind_table): Delete unused variables.
(elf_hppa_reloc_type_lookup): Likewise.
(elf_hppa_tc_make_sections): Likewise.
(hppa_elf_arg_reloc_needed_p): Likewise.
(hppa_elf_build_long_branch_stub): Likewise.
(elf_reloc_map): Delete, no longer used.
(elf_hppa_reloc_map): Likewise.
(elf32_hppa_symextn_map_max_size): Likewise.
(elf32_hppa_get_sym_extn): Abort if type is bogus.

* elf32-hppa.c (elf32_hppa_backend_fake_sections): Add processing
of the .hppa_unwind section.

30 years agoremoved some "#if 0" code
Ken Raeburn [Fri, 27 Aug 1993 23:59:37 +0000 (23:59 +0000)] 
removed some "#if 0" code

30 years ago(struct sec): Move position of user_set_vma, and document it.
Ken Raeburn [Fri, 27 Aug 1993 23:56:49 +0000 (23:56 +0000)] 
(struct sec): Move position of user_set_vma, and document it.
(SEC_BALIGN): Disable for now.  I don't think it's currently used.

30 years ago * Rename files for 14-character limits:
Jim Kingdon [Fri, 27 Aug 1993 23:27:02 +0000 (23:27 +0000)] 
* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, gdbserver/configure.in,
config/m68k/monitor.mt, config/i386/i386lynx.mh,
config/sparc/sun4os4.mh: Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

30 years ago * symmisc.c (dump_symtab): Use catch_errors around print_symbol.
Jim Kingdon [Fri, 27 Aug 1993 22:55:04 +0000 (22:55 +0000)] 
* symmisc.c (dump_symtab): Use catch_errors around print_symbol.
Change calling sequence of print_symbol to fit catch_errors.

30 years agodeleted -- no longer accurate
Ken Raeburn [Fri, 27 Aug 1993 19:44:58 +0000 (19:44 +0000)] 
deleted -- no longer accurate

30 years ago * mips-tdep.c: Call reinit_frame_cache every time the user does
Jim Kingdon [Fri, 27 Aug 1993 19:33:43 +0000 (19:33 +0000)] 
* mips-tdep.c: Call reinit_frame_cache every time the user does
"set heuristic-fence-post".

30 years ago * gdbserver/low-sun3.c: New file.
Jim Kingdon [Fri, 27 Aug 1993 17:38:42 +0000 (17:38 +0000)] 
* gdbserver/low-sun3.c: New file.
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.

* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt,
config/i386/i386lynx.mh, config/sparc/sun4os4.mh: Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

30 years ago * gdbserver/low-sun3.c: New file.
Jim Kingdon [Fri, 27 Aug 1993 17:34:30 +0000 (17:34 +0000)] 
* gdbserver/low-sun3.c: New file.
* gdbserver/Makefile.in, config/m68k/sun3.mh: Change accordingly.

30 years agonew for sun3 gdbserver
Jim Kingdon [Fri, 27 Aug 1993 17:23:11 +0000 (17:23 +0000)] 
new for sun3 gdbserver

30 years ago * Rename files for 14-character limits:
Jim Kingdon [Fri, 27 Aug 1993 16:59:46 +0000 (16:59 +0000)] 
* Rename files for 14-character limits:
gdbserver/remote-gutils.c -> gdbserver/utils.c
gdbserver/remote-inflow.c -> gdbserver/low-lynx.c
gdbserver/remote-inflow-sparc.c -> gdbserver/low-sparc.c
gdbserver/remote-server.c -> gdbserver/server.c
remote-monitor.c -> remote-mon.c
* Makefile.in, gdbserver/Makefile.in, config/m68k/monitor.mt:
Change accordingly.
* gdbserver/Makefile.in: Remove more junk inherited from gdb Makefile.

30 years ago * mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
Ian Lance Taylor [Fri, 27 Aug 1993 14:55:22 +0000 (14:55 +0000)] 
* mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
WR_31 hazard for bal, bgezal, bltzal.

30 years ago * infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
Jim Kingdon [Fri, 27 Aug 1993 03:22:33 +0000 (03:22 +0000)] 
* infcmd.c, inferior.h (run_stack_dummy): If we stop somewhere
besides the dummy, return 1 rather than calling error().
Let caller print the error message.  Remove name argument.
* valops.c (call_function_by_hand): Deal with changes to calling
sequence of run_stack_dummy.  Discard restore_inferior_status cleanup
if run_stack_dummy returns 1.

30 years ago * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
Jim Kingdon [Fri, 27 Aug 1993 03:03:54 +0000 (03:03 +0000)] 
* gdb.t20/classes.exp: For "ptype class Base1", continue to accept
old form.

* gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
name (e.g. devo gdb with gcc 2.4.5), it is still a pass.

30 years agobump VERSION to 4.10.2
David D. Zuhn [Fri, 27 Aug 1993 02:37:22 +0000 (02:37 +0000)] 
bump VERSION to 4.10.2

30 years ago* gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
Jim Kingdon [Fri, 27 Aug 1993 02:26:25 +0000 (02:26 +0000)] 
* gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).

30 years ago * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Jim Kingdon [Fri, 27 Aug 1993 00:33:20 +0000 (00:33 +0000)] 
* config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Get struct return address from v0, not a0.

30 years ago * config/unix-gdb.exp: Remove this version of gdb_exit
Jim Kingdon [Thu, 26 Aug 1993 23:04:07 +0000 (23:04 +0000)] 
* config/unix-gdb.exp: Remove this version of gdb_exit
* lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
Rob says he'll look at it when he gets back to testing boards.

30 years ago * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by
David Edelsohn [Thu, 26 Aug 1993 22:22:36 +0000 (22:22 +0000)] 
  * ld.h (BYTE_SIZE, SHORT_SIZE, LONG_SIZE): Define as suggested by
        Steve.

30 years ago * config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Jim Kingdon [Thu, 26 Aug 1993 21:49:40 +0000 (21:49 +0000)] 
* config/mips/tm-mips.h (EXTRACT_STRUCT_VALUE_ADDRESS):
Get struct return address from v0, not a0.

30 years ago * infrun.c (restore_inferior_status): Use catch_errors when
Jim Kingdon [Thu, 26 Aug 1993 21:38:34 +0000 (21:38 +0000)] 
* infrun.c (restore_inferior_status): Use catch_errors when
restoring selected frame.

30 years agomake config.bfd executable
Ken Raeburn [Thu, 26 Aug 1993 20:29:28 +0000 (20:29 +0000)] 
make config.bfd executable

30 years ago * gdb.t22/virtfunc.exp: Accept missing struct/class names as
Fred Fish [Thu, 26 Aug 1993 18:35:26 +0000 (18:35 +0000)] 
* gdb.t22/virtfunc.exp:  Accept missing struct/class names as
an expected fail for certain ptype commands.

30 years agoadd comments re stub types
Jim Kingdon [Thu, 26 Aug 1993 15:37:03 +0000 (15:37 +0000)] 
add comments re stub types

30 years ago * gdb.texinfo: Change typo "Two two" to "The two".
Fred Fish [Thu, 26 Aug 1993 13:37:22 +0000 (13:37 +0000)] 
* gdb.texinfo:  Change typo "Two two" to "The two".

30 years ago * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
Fred Fish [Thu, 26 Aug 1993 00:36:15 +0000 (00:36 +0000)] 
* config/{udi-gdb.exp, gdb-unix.exp}:  Replace calls to obsolete
"alldone" proc with call to cleanup and exit.
* {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
gdb.t12/scope.exp, gdb.t13/bitfields.exp}:  Replace calls to
"alldone" proc with simple returns that suppress remaining
tests.  The alldone proc went away many months ago.

30 years agorecognize m88110
K. Richard Pixley [Wed, 25 Aug 1993 23:16:39 +0000 (23:16 +0000)] 
recognize m88110

30 years agomore hppa elf support from utah
Ken Raeburn [Wed, 25 Aug 1993 20:15:17 +0000 (20:15 +0000)] 
more hppa elf support from utah

30 years agoMerged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELF
Ken Raeburn [Wed, 25 Aug 1993 01:15:07 +0000 (01:15 +0000)] 
Merged in changes from Jeff Law and Pete Hoogenboom at Utah for PA ELF
support.  Compiles, not particularly well tested.  See ChangeLog for details.

30 years agoFrom Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
Ken Raeburn [Tue, 24 Aug 1993 23:45:26 +0000 (23:45 +0000)] 
From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:

* emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA
ELF emulation is "elf32-hppa" not "elf-big".
(hppaosf_before_parse): Remove unneeded processing of environment variables.
* scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in
.text segment of output file.
* emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.

30 years agomove BYTE_SIZE, SHORT_SIZE, LONG_SIZE from ldlang.c into ld.h
K. Richard Pixley [Tue, 24 Aug 1993 23:34:32 +0000 (23:34 +0000)] 
move BYTE_SIZE, SHORT_SIZE, LONG_SIZE from ldlang.c into ld.h

30 years agodefine BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.
K. Richard Pixley [Tue, 24 Aug 1993 23:17:52 +0000 (23:17 +0000)] 
define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no longer in bfd.h.

30 years ago * frame.h, symtab.h, findvar.c (read_var_value): Change basereg
Jim Kingdon [Tue, 24 Aug 1993 21:38:24 +0000 (21:38 +0000)] 
* frame.h, symtab.h, findvar.c (read_var_value):  Change basereg
support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID.
* dwarfread.c: Use LOC_BASEREG where appropriate.
* Various: Support LOC_BASEREG and LOC_BASEREG_ARG.

This page took 0.048272 seconds and 4 git commands to generate.