binutils-gdb.git
29 years agoSat May 13 10:14:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Sat, 13 May 1995 17:16:31 +0000 (17:16 +0000)]
Sat May 13 10:14:08 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* coff/pe.h: New file.
* bfdlink.h (subsytem, stack_heap_parameters): New.
* coff/i386.h (NT_SECTION_ALIGNMENT, NT_FILE_ALIGNMENT,
NT_DEF_RESERVE, NT_DEF_COMMIT): New.
* coff/internal.h (internal_filehdr):  New fields for PE.
(IMAGE_DATA_DIRECTORY): New.
(internal_aouthdr): New fields for PE.

29 years agoFri May 12 14:17:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 12 May 1995 21:26:01 +0000 (21:26 +0000)]
Fri May 12 14:17:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>

Initial support for PE object files.
* configure.in, configure (i386-*-pe, i386-*-*nt): Add.
* config/obj-coff.c (fixup_segment): Cope with PE wierdness.
* config/obj-coff.h (TE_PE): New target format.

29 years ago * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.
Stu Grossman [Fri, 12 May 1995 20:52:11 +0000 (20:52 +0000)]
* cpu32bug-rom.c remote-est.c rom68k-rom.c:  Update line_term element.

29 years agoFri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Fri, 12 May 1995 18:55:06 +0000 (18:55 +0000)]
Fri May 12 11:03:55 1995  Steve Chamberlain  <sac@slash.cygnus.com>
  Tom Griest <griest@cs.yale.edu>

Initial support for PE executables (eg NT, win32)

* Makefile.in (configure.in, ei386pe): Add support.
* ldmain.c (main): Initialize PE argument info.
* ldwrite.c (print_file_stuff): Don't print out .drectve
and .debug section info.
* lexsup.c (set_subsystem, set_stack_heap, OPTION_HEAP,
 OPTION_SUBSYSTEM, parse_argsm set_subsystem, set_stack_heap):
 Handle new arguments.
* config/i386-pe.mt, emultempl/i386pe.em, scripttempl/i386pe.sc:
New files

29 years ago* partial-stab.h: Expand comments.
Jim Kingdon [Fri, 12 May 1995 13:41:52 +0000 (13:41 +0000)]
* partial-stab.h: Expand comments.

29 years ago * Support debugging using native MACH primitives on hppa*-*-osf*.
Jeff Law [Fri, 12 May 1995 01:10:28 +0000 (01:10 +0000)]
* Support debugging using native MACH primitives on hppa*-*-osf*.
* configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore.
* config/pa/hppaosf.mh: New file.
* config/pa/nm-hppao.h: Likewise.
* hppam3-nat.c: Likewise.
* config/pa/tm-hppao.h (PSW_SS): Define for single-stepping.
(MACHINE_CPROC_*_OFFSET): Define.
(TRACE_*): Define.
(START_INFERIOR_TRAPS_EXPECTED): Delete definition.

29 years agoupdate for new files
Ken Raeburn [Fri, 12 May 1995 00:04:35 +0000 (00:04 +0000)]
update for new files

29 years ago * config/monitor.exp (gdb_target_monitor): Fix loop interator so
Stu Grossman [Thu, 11 May 1995 22:13:46 +0000 (22:13 +0000)]
* config/monitor.exp (gdb_target_monitor):  Fix loop interator so
that loop eventually terminates.  Fix Connection refused logic so
that testsuite will expire nicely.

29 years ago * config/monitor.exp (gdb_target_monitor): Fix loop interator so
Stu Grossman [Thu, 11 May 1995 22:04:20 +0000 (22:04 +0000)]
* config/monitor.exp (gdb_target_monitor):  Fix loop interator so
that loop eventually terminates.

29 years agoThu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Thu, 11 May 1995 19:46:51 +0000 (19:46 +0000)]
Thu May  4 14:36:42 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* demangle.h: Don't include ansidecl.h if IN_GCC.

29 years agofix non-mips elf config
Ken Raeburn [Thu, 11 May 1995 19:03:53 +0000 (19:03 +0000)]
fix non-mips elf config

29 years ago * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.
Stu Grossman [Thu, 11 May 1995 02:26:00 +0000 (02:26 +0000)]
* hppa-tdep.c (read_unwind_info):  Cosmetic cleanup.
* (unwind_command):  Clean it up and make it print things out
nicer.
* monitor.c:  Add ^C handling capability (mostly ripped off from
remote.c).
* (monitor_printf):  Make it check the command echo.
* (monitor_printf_noecho):  Similar to above, but doesn't check
for echo.
* (monitor_stop):  No longer waits for prompt.  That is the job of
the caller.  This makes things work much better for monitor_wait,
which waits for the prompt itself.
* (monitor_open):  Deal with new monitor_stop semantics.  Also,
flush input after sending init strings to get rid of junk that may
be output.  Also, don't always send \r to remote.  Use
monitor_ops->line_term cuz proper character isn't always \r.
* (monitor_fetch_register):  Switch to completely different
algorithm to deal with lame-ass monitors which put spaces in the
middle of numbers, and prompt with a space!!!!!
* (monitor_read_memory_single):  New routine to be used with
monitors that can only return one byte/short/long at a time.  This
is selected via MO_GETMEM_READ_SINGLE.
* (monitor_load_srec):  Use monitor_printf_noecho for sending S
records.  Most targets don't echo them.
* (monitor.h):  Get rid of cmd_delim.  Add line_delim.
* op50n-rom.c (op50n_cmds):  Fill it up.  Make it work.
* w89k-rom.c:  Change all eols from \r to \n.  Change load_resp to
^Q to prevent error message.
* config/pa/tm-hppa.h (CALL_DUMMY (for hppro)):   Add special
instruction sequence at end to make restore_pc_queue happy.

29 years agoReflect deletion of always-sanitize stuff
Stan Shebs [Thu, 11 May 1995 02:04:58 +0000 (02:04 +0000)]
Reflect deletion of always-sanitize stuff

29 years agoBlasting old junk
Stan Shebs [Thu, 11 May 1995 02:01:22 +0000 (02:01 +0000)]
Blasting old junk

29 years ago * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from text
Stu Grossman [Thu, 11 May 1995 01:40:42 +0000 (01:40 +0000)]
* scripttempl/hppaelf.sc:  Remove .PARISC.unwind section from text
segment.  This allows ld -r to preserve unwind sections.

29 years ago * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
Stu Grossman [Thu, 11 May 1995 01:03:50 +0000 (01:03 +0000)]
* config/cpu32bug.exp, config/est.exp, config/hppro.exp,
config/rom68k.exp:  New tcl glue for the appropriate monitors.
These all just end up calling monitor.exp.
* config/monitor.exp (gdb_target_monitor):  Handle `Connection
refused' by retrying.  Cleanup some timeout issues.
* (gdb_load):  Reduce timeout.  Cleanup some timeout issues.
* lib/gdb.exp (gdb_test gdb_test_exact):  Upvar timeout so that
callers don't have to set/restore global timeout variable.

* The following set of changes centralizes management of the global
timeout variable.  This way, it can be set in one target dependent
place instead of dozens of places scattered throughout the test suite.
If you need to lengthen a timeout, then you should either set timeout
in one of the config/{target}.exp files, or multiply it by a factor.
Setting it to an absolute value is always going to lose for some
targets.
* gdb.base/a1-selftest.exp (test_with_self):  Only use local timeout.
* gdb.base/callfuncs.exp (do_function_calls):  Don't set timeout.
* gdb.base/funcargs.exp:  Don't set timeout.
* gdb.base/list.exp (test_forward_search):  Only use local timeout.
* gdb.base/printcmds.exp (test_print_string_constants
test_print_array_constants):  Don't set timeout.
* gdb.base/ptype.exp:  Don't set timeout.
* gdb.base/recurse.exp:  Don't set timeout.
* gdb.base/return.exp:  Don't set timeout.
* gdb.base/watchpoint.exp:  Don't set timeout.
* gdb.c++/classes.exp (do_tests):  Don't set timeout.
* gdb.c++/virtfunc.exp (test_virtual_calls):  Don't set timeout.

29 years agoforgot to regenerate after last change
Ken Raeburn [Wed, 10 May 1995 23:30:49 +0000 (23:30 +0000)]
forgot to regenerate after last change

29 years agoFirst cut at handling multiple emulation modes for some MIPS targets.
Ken Raeburn [Wed, 10 May 1995 23:08:40 +0000 (23:08 +0000)]
First cut at handling multiple emulation modes for some MIPS targets.
Mostly works, not entirely.
Details in ChangeLog.

29 years agoMake clean targets work also when SUBDIRS is empty.
Torbjorn Granlund [Wed, 10 May 1995 23:05:52 +0000 (23:05 +0000)]
Make clean targets work also when SUBDIRS is empty.

29 years agoremote-est.c (est_open): Make static to match prototype.
Torbjorn Granlund [Wed, 10 May 1995 23:02:46 +0000 (23:02 +0000)]
remote-est.c (est_open): Make static to match prototype.

29 years agoFix sed'iting of files with gdbtk stuff in them
Stan Shebs [Wed, 10 May 1995 01:25:02 +0000 (01:25 +0000)]
Fix sed'iting of files with gdbtk stuff in them

29 years agoAdd little endian PowerPC support.
Michael Meissner [Tue, 9 May 1995 21:23:44 +0000 (21:23 +0000)]
Add little endian PowerPC support.

29 years agoAdd little endian PowerPC support.
Michael Meissner [Tue, 9 May 1995 21:17:19 +0000 (21:17 +0000)]
Add little endian PowerPC support.

29 years agoAdd little endian PowerPC support.
Michael Meissner [Tue, 9 May 1995 21:07:06 +0000 (21:07 +0000)]
Add little endian PowerPC support.

29 years agoAdd support for little endian PowerPC; add P5, P6, Nexgen, K5 aliases for pentium
Michael Meissner [Tue, 9 May 1995 20:54:05 +0000 (20:54 +0000)]
Add support for little endian PowerPC; add P5, P6, Nexgen, K5 aliases for pentium

29 years ago * config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
Jeff Law [Tue, 9 May 1995 17:00:48 +0000 (17:00 +0000)]
* config/tc-hppa.c (md_apply_fix): Cast *valp to an integer when
comparing against signed values.
(hppa_force_relocation): Make "distance" an integer.

29 years ago* obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
Ken Raeburn [Tue, 9 May 1995 04:53:50 +0000 (04:53 +0000)]
* obj.h (struct format_ops) [BFD_ASSEMBLER]: New type.
(this_format) [BFD_ASSEMBLER]: Declare new variable, if not already defined as
a macro.

29 years ago* subsegs.h (seg_info): Provide dummy version for non-BFD_ASSEMBLER,
Ken Raeburn [Tue, 9 May 1995 01:50:04 +0000 (01:50 +0000)]
* subsegs.h (seg_info): Provide dummy version for non-BFD_ASSEMBLER,
non-MANY_SEGMENTS configuration.  It should never get invoked, but this is
easier than conditionalizing some of the uses.
(struct seg_info_trash): Dummy type used by above to make code compile.

29 years ago* nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
J.T. Conklin [Mon, 8 May 1995 20:16:37 +0000 (20:16 +0000)]
* nlm/configure.in (gdb_host, gdb_host_cpu, gdb_target): Removed.
  These variables not used.

29 years ago* config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.
J.T. Conklin [Mon, 8 May 1995 19:18:31 +0000 (19:18 +0000)]
* config/m68k/monitor.mt (TDEPFILES): Added cpu32bug-rom.o.

29 years ago * stabs.texinfo: Remove node `XCOFF differences'. Describe value of
Jim Kingdon [Mon, 8 May 1995 16:40:50 +0000 (16:40 +0000)]
* stabs.texinfo: Remove node `XCOFF differences'.  Describe value of
C_FUN stab.  Other cleanups.

29 years agoSEPARATE_STAB_SECTIONS should be defined to 1, not empty.
Ken Raeburn [Fri, 5 May 1995 21:44:11 +0000 (21:44 +0000)]
SEPARATE_STAB_SECTIONS should be defined to 1, not empty.

29 years ago* read.h (get_stab_string_offset): Declare unconditionally.
Ken Raeburn [Thu, 4 May 1995 23:44:28 +0000 (23:44 +0000)]
* read.h (get_stab_string_offset): Declare unconditionally.

29 years ago* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument, ignored.
Ken Raeburn [Thu, 4 May 1995 23:41:32 +0000 (23:41 +0000)]
* config/obj-ecoff.h (OBJ_PROCESS_STAB): Add new first argument, ignored.
* config/obj-elf.h (OBJ_PROCESS_STAB) [ECOFF_DEBUGGING]: Ditto.

* config/obj-ecoff.h (ECOFF_DEBUGGING): Define to 1, not empty.
* config/obj-elf.h (ECOFF_DEBUGGING): Ditto.  Test value, not whether it's
defined.

29 years ago* stabs.c (get_stab_string_offset): Always define. If SEPARATE_STAB_SECTIONS
Ken Raeburn [Thu, 4 May 1995 23:40:26 +0000 (23:40 +0000)]
* stabs.c (get_stab_string_offset): Always define.  If SEPARATE_STAB_SECTIONS
isn't set, abort.
(SEPARATE_STAB_SECTIONS): Default to zero.
(aout_process_stab): New function, split out from s_stab_generic.
(OBJ_PROCESS_STAB) [AOUT_STABS]: Define to call aout_process_stab, if not
already defined.
(s_stab_generic): Test SEPARATE_STAB_SECTIONS at run time.  If it's not set,
and OBJ_PROCESS_STAB isn't defined, abort.  Always pass six arguments to
OBJ_PROCESS_STAB.
* config/obj-aout.h (AOUT_STABS): Define.
* config/obj-bout.h (AOUT_STABS): Define.

29 years ago* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already defined, define
Ken Raeburn [Thu, 4 May 1995 01:56:40 +0000 (01:56 +0000)]
* as.h (LOCAL_LABELS_DOLLAR, LOCAL_LABELS_FB): If not already defined, define
them to zero.
* config/tc-*.h, config/te-*.h: If defining them, define them to be 1 instead
of empty.
* expr.c (integer_constant, operand): Test them at run time instead of compile
time.
* read.c (read_a_source_file): Ditto.
* symbols.c (colon): Ditto.
(dollar_*, define_dollar_label, fb_*): Define unconditionally.
* symbols.h (dollar_*, define_dollar_label, fb_*): Declare unconditionally.

29 years ago * monitor.c (monitor_command): Don't use PROMPT until monitor
Stan Shebs [Thu, 4 May 1995 01:00:29 +0000 (01:00 +0000)]
* monitor.c (monitor_command): Don't use PROMPT until monitor
target is known to be open.
(monitor_make_srec): Don't define size of hextab.

29 years ago* Makefile.in, configure.in: Converted to use autoconf.
J.T. Conklin [Thu, 4 May 1995 00:21:18 +0000 (00:21 +0000)]
* Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mh-go32, mh-irix, mh-ncr3000, mh-sunos4,
  mh-sysv4}: Removed.

29 years ago * gas/hppa/reloc/longcall.s: New test.
Jeff Law [Wed, 3 May 1995 19:17:14 +0000 (19:17 +0000)]
* gas/hppa/reloc/longcall.s: New test.
* gas/hppa/reloc/reloc.exp: Run it.

29 years ago * config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
Jeff Law [Wed, 3 May 1995 19:10:55 +0000 (19:10 +0000)]
* config/tc-hppa.c (md_apply_fix): Do nothing for an out of range
PC relative call since those only occur in cases where the linker
can fix them up.
(hppa_force_relocation): Force relocations for out of range PC
relative calls.

29 years ago* ldlang.c (print_output_section_statement): Check subsection_alignment,
Ken Raeburn [Wed, 3 May 1995 18:08:09 +0000 (18:08 +0000)]
* ldlang.c (print_output_section_statement): Check subsection_alignment,
instead of checking section_alignment twice.  Noticed by Alan Modra
<alan@spri.levels.unisa.edu.au>.

29 years agoFix typo in hppa elf.
Mike Stump [Wed, 3 May 1995 13:58:38 +0000 (13:58 +0000)]
Fix typo in hppa elf.

29 years agoKeep remote-nrom.c
Stan Shebs [Wed, 3 May 1995 01:44:08 +0000 (01:44 +0000)]
Keep remote-nrom.c

29 years ago * configure.in (--enable-netrom): New configuration option.
Stan Shebs [Wed, 3 May 1995 01:43:27 +0000 (01:43 +0000)]
* configure.in (--enable-netrom): New configuration option.
* Makefile.in (REMOTE_OBS): Rename from REMOTE_O, append
value of NETROM_OBS.
(NETROM_OBS): New variable.
* remote-nrom.c: New file, NetROM target support.
* config/a29k/a29k-udi.mt, config/i960/vxworks960.mt: Use
REMOTE_OBS instead of REMOTE_O.
start-sanitize-arc
* config/arc/arc.mt: Ditto.
end-sanitize-arc

29 years agoAdd hppa1.1-hp-lites support.
Jeff Law [Tue, 2 May 1995 22:39:41 +0000 (22:39 +0000)]
Add hppa1.1-hp-lites support.

29 years ago* gas/mips/ld.d: Modified for gas delay-slot fixes.
Ken Raeburn [Tue, 2 May 1995 20:40:22 +0000 (20:40 +0000)]
* gas/mips/ld.d: Modified for gas delay-slot fixes.

29 years agoread.c, tc-mips changes
Ken Raeburn [Tue, 2 May 1995 19:33:44 +0000 (19:33 +0000)]
read.c, tc-mips changes

29 years ago* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.
Ken Raeburn [Tue, 2 May 1995 19:33:00 +0000 (19:33 +0000)]
* config/tc-mips.c: Use USE_STDARG and USE_VARARGS instead of NO_STDARG &c.

* config/tc-mips.c (mips_target_format): Changed to a function, checking flavor
and byte order at run time.
(md_parse_option, cases OPTION_EB and OPTION_EL): Set target_big_endian here.
(md_begin): Not here.
* config/tc-mips.h (mips_target_format): Adjust declaration.
(TARGET_FORMAT): Call mips_target_format.

* config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Define in terms of OUTPUT_FLAVOR.
* config/tc-mips.c (g_switch_value, g_switch_seen): Define unconditionally.
(md_begin, mips_ip, md_parse_option, s_change_sec, s_option, s_abicalls,
nopic_need_relax): Check USE_GLOBAL_POINTER_OPT at run time, instead of
compiling conditionally on GPOPT.
(GPOPT): Don't define.
(md_shortopts): Always include -G.
(RDATA_SECTION_NAME): Select at run time.
(md_begin): Test for ELF format at run time instead of compile time.
(mips_ip, s_change_sec): Ditto.
(md_parse_option, cases OPTION_CALL_SHARED and OPTION_NON_SHARED): Ditto.
(OPTION_CALL_SHARED, OPTION_NON_SHARED, mips_regmask_frag): Define
unconditionally.

29 years ago(pop_insert): New function.
Ken Raeburn [Tue, 2 May 1995 19:30:17 +0000 (19:30 +0000)]
(pop_insert): New function.
(pop_override_ok, pop_table_name): New variables.
(md_pop_insert, obj_pop_insert): New macros.
(pobegin): Use them.

(target_big_endian): If TARGET_BYTES_BIG_ENDIAN is defined, initialize to 1.

29 years agoMove cpu-specific dependencies into Makefile.in, instead of having sometimes
Ken Raeburn [Tue, 2 May 1995 06:46:21 +0000 (06:46 +0000)]
Move cpu-specific dependencies into Makefile.in, instead of having sometimes
multiple copies in config/*.mt.  Select between several make variables with
autoconf substitution of cpu_type into a variable name reference.

29 years agodeleting more unused macros
Ken Raeburn [Tue, 2 May 1995 06:26:15 +0000 (06:26 +0000)]
deleting more unused macros

29 years agodelete some unused TE_* macros
Ken Raeburn [Tue, 2 May 1995 04:47:35 +0000 (04:47 +0000)]
delete some unused TE_* macros

29 years ago* read.c (s_app_file): If obj_app_file is defined, call it with string as argument.
Ken Raeburn [Mon, 1 May 1995 20:44:46 +0000 (20:44 +0000)]
* read.c (s_app_file): If obj_app_file is defined, call it with string as argument.
Don't call c_dot_file_symbol or elf_file_symbol.
* config/obj-coff.h (obj_app_file): Define as c_dot_file_symbol.
* config/obj-elf.h (obj_app_file): Define as elf_file_symbol.

* as.h (OUTPUT_FLAVOR): Don't define here.
* config/obj-aout.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-bout.h (OUTPUT_FLAVOR): Define.
* config/obj-coff.h (OUTPUT_FLAVOR) [BFD_ASSEMBLER]: Define.
* config/obj-ecoff.h (OUTPUT_FLAVOR): Define.
* config/obj-elf.h (OUTPUT_FLAVOR): Define.

29 years ago(gas-dg-test): Detect invalid values of `do_what'.
David Edelsohn [Sun, 30 Apr 1995 20:16:22 +0000 (20:16 +0000)]
(gas-dg-test): Detect invalid values of `do_what'.

29 years agoNew testcase to test ARC specific warnings.
David Edelsohn [Sun, 30 Apr 1995 06:38:13 +0000 (06:38 +0000)]
New testcase to test ARC specific warnings.

29 years ago * lib/gas-dg.exp: New file.
David Edelsohn [Sun, 30 Apr 1995 06:35:49 +0000 (06:35 +0000)]
* lib/gas-dg.exp: New file.

29 years agoNew file (interfaces to dg.exp).
David Edelsohn [Sun, 30 Apr 1995 06:34:53 +0000 (06:34 +0000)]
New file (interfaces to dg.exp).

29 years agoInitial pass at ARC docs.
David Edelsohn [Sun, 30 Apr 1995 06:14:16 +0000 (06:14 +0000)]
Initial pass at ARC docs.

29 years agoARC stuff.
David Edelsohn [Sun, 30 Apr 1995 04:48:46 +0000 (04:48 +0000)]
ARC stuff.

29 years agoAvoid "8 byte insn in delay slot" warning message.
David Edelsohn [Sun, 30 Apr 1995 04:30:57 +0000 (04:30 +0000)]
Avoid "8 byte insn in delay slot" warning message.

29 years ago * array-rom.c (_initialize_array array_open): Move baud_rate
Stu Grossman [Sat, 29 Apr 1995 06:34:44 +0000 (06:34 +0000)]
* array-rom.c (_initialize_array array_open):  Move baud_rate
initialization from _initxxx to array_open to fix bug with
overriding -b command line option.

29 years ago * Makefile.in (RUNTEST): Fix reference of `srcdir'.
David Edelsohn [Fri, 28 Apr 1995 03:32:06 +0000 (03:32 +0000)]
* Makefile.in (RUNTEST): Fix reference of `srcdir'.

29 years ago * Makefile.in (RUNTEST): Use one in srcdir if present.
David Edelsohn [Fri, 28 Apr 1995 03:08:55 +0000 (03:08 +0000)]
* Makefile.in (RUNTEST): Use one in srcdir if present.
(RUNTESTFLAGS): Define.

29 years agoSupport Linux systems that do not have the BFD linker installed.
Michael Meissner [Thu, 27 Apr 1995 18:40:32 +0000 (18:40 +0000)]
Support Linux systems that do not have the BFD linker installed.

29 years agoWed Apr 26 19:01:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 27 Apr 1995 02:07:44 +0000 (02:07 +0000)]
Wed Apr 26 19:01:08 1995  Steve Chamberlain  <sac@slash.cygnus.com>

   * remote-hms.c: Rewrite to use new monitor conventions.

29 years agoWed Apr 26 18:26:21 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 27 Apr 1995 01:59:19 +0000 (01:59 +0000)]
Wed Apr 26 18:26:21 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* srconv.c (main): Add support for -n option which disables
prescan of common symbols.
(wr_ob): If reading past the end of a section, fill with zeros.

29 years agoSupport for more portable alignment handling in assembly code, based on patches
Ken Raeburn [Wed, 26 Apr 1995 20:02:18 +0000 (20:02 +0000)]
Support for more portable alignment handling in assembly code, based on patches
from Bryan Ford <baford@schirf.cs.utah.edu>:
* read.c (potable): Added balign and p2align, for aligning by bytes or powers
of two independent of what ".align" does for a given target.
* doc/as.texinfo: Document them.

29 years ago * config.guess: Add hppa1.1-hp-lites support.
Jeff Law [Wed, 26 Apr 1995 16:59:33 +0000 (16:59 +0000)]
* config.guess: Add hppa1.1-hp-lites support.

29 years ago * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
Jim Kingdon [Wed, 26 Apr 1995 14:39:10 +0000 (14:39 +0000)]
* gdb.base/scope.exp: Make test names unique.  Use gdb_test.  Make
each test pass or fail.

29 years ago* objdump.c (dump_section_header): Display load address after virtual memory
Ken Raeburn [Wed, 26 Apr 1995 01:16:41 +0000 (01:16 +0000)]
* objdump.c (dump_section_header): Display load address after virtual memory
(run-time) address.

29 years ago* Makefile.in (install): Depend on "all".
Ken Raeburn [Wed, 26 Apr 1995 01:11:57 +0000 (01:11 +0000)]
* Makefile.in (install): Depend on "all".

29 years agoAdd comment regarding stringtab_global and psymtabs.
Jim Kingdon [Tue, 25 Apr 1995 22:58:03 +0000 (22:58 +0000)]
Add comment regarding stringtab_global and psymtabs.

29 years ago* dbxread.c: Add comment explaining lowest_text_address.
Jim Kingdon [Tue, 25 Apr 1995 18:31:31 +0000 (18:31 +0000)]
* dbxread.c: Add comment explaining lowest_text_address.

29 years ago * configure, configure.in: Look for m68k-*-vxworks* rather than
Rob Savoye [Tue, 25 Apr 1995 18:14:45 +0000 (18:14 +0000)]
    * configure, configure.in: Look for m68k-*-vxworks* rather than
just m68k-wrs-vxworks so gas can be configured for
m68k-vxworks5.1.

29 years agoDon't build newlib for m68k-vxworks5.1.
Rob Savoye [Tue, 25 Apr 1995 18:10:53 +0000 (18:10 +0000)]
Don't build newlib for m68k-vxworks5.1.

29 years ago * hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
Jason Molenda [Tue, 25 Apr 1995 18:07:43 +0000 (18:07 +0000)]
    * hosts/std-host.h: #include ansidecl.h 'cause PTR is used in
        std-host.h.

29 years agoMon Apr 24 16:23:41 1995 Michael Meissner <meissner@tiktok.cygnus.com>
Jason Merrill [Tue, 25 Apr 1995 01:18:25 +0000 (01:18 +0000)]
Mon Apr 24 16:23:41 1995  Michael Meissner  <meissner@tiktok.cygnus.com>

* config.guess (*:Linux:*:*): Determine whether the default
compiler is ELF or a.out.

29 years agoLinux configuration name fixes
Jason Merrill [Tue, 25 Apr 1995 01:07:46 +0000 (01:07 +0000)]
Linux configuration name fixes

29 years ago * configure.in: use ../../bfd/hosts/std-host.h, not
Jason Molenda [Mon, 24 Apr 1995 22:10:32 +0000 (22:10 +0000)]
    * configure.in: use ../../bfd/hosts/std-host.h, not
        ../bfd/hosts/std-host.h (which doesn't exist).

29 years ago * sh-opc.c (sh_nibble_type, sh_arg_type): remove trailing , from
Jason Molenda [Mon, 24 Apr 1995 21:21:58 +0000 (21:21 +0000)]
    * sh-opc.c (sh_nibble_type, sh_arg_type): remove trailing , from
        enum list.

some native cc's barf on this (and K&R says it's naughty)

29 years agoProvide escape hatch for HAVE_PROCFS being defined.
Michael Meissner [Mon, 24 Apr 1995 14:38:05 +0000 (14:38 +0000)]
Provide escape hatch for HAVE_PROCFS being defined.

29 years agoDo not continue processing unknown symbols.
Michael Meissner [Mon, 24 Apr 1995 12:41:37 +0000 (12:41 +0000)]
Do not continue processing unknown symbols.

29 years ago * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
Jim Kingdon [Mon, 24 Apr 1995 04:37:45 +0000 (04:37 +0000)]
* gdb.base/opaque.exp: Remove xfails for aix; print a warning if
xlc not gcc.

29 years ago * config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.
Jeff Law [Sat, 22 Apr 1995 07:51:21 +0000 (07:51 +0000)]
* config/pa/tm-hppa.h (EXTRACT_STRUCT_VALUE_ADDRESS): Fix.

29 years ago * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
Jeff Law [Sat, 22 Apr 1995 07:42:36 +0000 (07:42 +0000)]
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.

29 years ago * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
Jeff Law [Sat, 22 Apr 1995 07:30:32 +0000 (07:30 +0000)]
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Rewrite to correctly
handle "short", "int" and small structures returned in registers.

29 years ago * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
Stu Grossman [Fri, 21 Apr 1995 22:45:59 +0000 (22:45 +0000)]
* cpu32bug.exp est.exp rom68k.exp:  Delete.  Unify into monitor.exp.

29 years ago * minsyms.c: add new function lookup_minimal_symbol_text, to look
Kung Hsu [Fri, 21 Apr 1995 20:02:50 +0000 (20:02 +0000)]
* minsyms.c: add new function lookup_minimal_symbol_text, to look
for text symbol only.
* breakpoint.c (create_longjmp_breakpoint): call
lookup_minimal_symbol_text instead of lookup_minimal_symbol.
* symtab.h: add lookup_minimal_symbol_text prototype.

29 years ago * sh-tdep.c (sh-opc.h): Don't include.
Stan Shebs [Fri, 21 Apr 1995 19:09:01 +0000 (19:09 +0000)]
* sh-tdep.c (sh-opc.h): Don't include.
(gdbcore.h): Include.
(frame_find_saved_regs): Remove unused local.

29 years agoPatches from H.J. Lu for Linux ELF core file support.
Ken Raeburn [Fri, 21 Apr 1995 16:53:57 +0000 (16:53 +0000)]
Patches from H.J. Lu for Linux ELF core file support.
* elfcode.h (elf_core_file_matches_executable_p) [HAVE_PROCFS]: Use prpsinfo_t
instead of struct prpsinfo, for consistency.
* hosts/i386linux.h (HAVE_PROCFS): Define.

29 years ago * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
Jim Kingdon [Fri, 21 Apr 1995 13:19:22 +0000 (13:19 +0000)]
* dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),
mdebugread.c (struct symloc), hpread.c (struct symloc): Clean
up comments.

29 years ago* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
Ken Raeburn [Thu, 20 Apr 1995 21:30:10 +0000 (21:30 +0000)]
* Makefile.in: Change all references to MY_MACHINE to MY_TARGET, to match
configure script.

29 years agoThu Apr 20 09:07:39 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 20 Apr 1995 16:10:44 +0000 (16:10 +0000)]
Thu Apr 20 09:07:39 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* linker.c (link_action): Do the right thing when a undefined
strong symbol appears after an undefined weak symbol.

29 years ago * config/est.exp: Fix copyright and comments. Remove dead code.
Stu Grossman [Thu, 20 Apr 1995 00:46:15 +0000 (00:46 +0000)]
* config/est.exp:  Fix copyright and comments.  Remove dead code.
Use targetname, serialport and baud variables instead of fixed
constants.
* config/rom68k.exp:  Fix copyright and comments.  Remove dead code.
* config/cpu32bug.exp:  New file to support cpu32bug monitors.

29 years ago * hppa-tdep.c (deposit_17): New routine to deposit 17 bit
Stu Grossman [Thu, 20 Apr 1995 00:15:14 +0000 (00:15 +0000)]
* hppa-tdep.c (deposit_17):  New routine to deposit 17 bit
constants into PA instructions.
* Put #ifdefs around all signal handling code.  Not generally
needed for embedded boards.
* (hppa_fix_call_dummy):  Parameterize offsets into call dummy to
allow different dummys to be used by this code.  Use
INSTRUCTION_SIZE instead of REGISTER_SIZE for things.
Conditionalize setup of _sr4export fixup.  Improve comments.
* config/pa/tm-hppa.h:  Define INSTRUCTION_SIZE.  Use a different
call dummy if PA_LEVEL_0 is defined.  Better comments for call
dummys.  Define offsets for LDIL/LDO instructions which load
function addresses.
* config/pa/tm-pro.h:  Get rid of signal handling stuff.  Define
PA_LEVEL_0 to disable mucking with space regs and such.

29 years ago * configure.in (mips-sgi-irix6): Use mh-irix5.
Jim Wilson [Thu, 20 Apr 1995 00:04:20 +0000 (00:04 +0000)]
* configure.in (mips-sgi-irix6): Use mh-irix5.

29 years ago * gdb.base/watchpoint.exp: Don't run
Jim Kingdon [Wed, 19 Apr 1995 20:50:56 +0000 (20:50 +0000)]
* gdb.base/watchpoint.exp: Don't run
test_watchpoint_triggered_in_syscall for sunos.

29 years ago* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
J.T. Conklin [Wed, 19 Apr 1995 18:27:35 +0000 (18:27 +0000)]
* gen-c-prog.awk: Changed reference to "make-c-prog.awk" in
  comment emitted by this script to gen-c-prog.awk.

* Makefile.in, configure.in: Converted to use autoconf.
* configure: New file, generated with autoconf 2.3.
* config/{mt-alpha, mt-dummy, mt-i386, mt-ns532, mt-sparc,
  mt-tahoe, mt-vax}: Removed.

29 years agoFix April 17th change.
Michael Meissner [Wed, 19 Apr 1995 18:14:20 +0000 (18:14 +0000)]
Fix April 17th change.

29 years ago * remote.texi (Bootstrapping): Clarify that flush_i_cache is only
Jim Kingdon [Wed, 19 Apr 1995 14:07:31 +0000 (14:07 +0000)]
* remote.texi (Bootstrapping): Clarify that flush_i_cache is only
for the sparc stub.