Commit graph

13160 commits

Author SHA1 Message Date
Stan Shebs
1a0e5dd043 * wrapper.c (sim_do_command): New function. 1995-06-30 23:59:46 +00:00
Steve Chamberlain
ece22cd04c Fri Jun 30 16:07:18 1995 Steve Chamberlain <sac@slash.cygnus.com>
* cofflink.c (_bfd_coff_generic_relocate_section): Compare
	the full text of .reloc or .edata section names.
1995-06-30 23:19:57 +00:00
Fred Fish
d84d840f18 * cofflink.c (_bfd_coff_generic_relocate_section):
Remove extra '+'.
1995-06-30 22:53:13 +00:00
Steve Chamberlain
e5c5ce23fd Support for long filenames non-bfd coff. bfd/7288
* config/obj-coff.c (filename_list_head, filename_list_tail): New.
	(yank_symbols): Notice and record filenames which are too long.
	(w_strings): Write out filename strings.
	(c_dot_file_symbols): Put long filenames onto list.
1995-06-30 00:53:37 +00:00
Steve Chamberlain
69b799dfd7 * coff-h8300.c (COFF_LONG_FILENAMES): Define. 1995-06-30 00:26:53 +00:00
Fred Fish
7427b968f3 * interp.c: (SYS_wait): Define as SYS_wait4 if available and
SYS_wait is not already defined (SunOS 4.1.3 for example).
	(SYS_utime): Define as SYS_utimes if available and
	SYS_utime is not already defined.
1995-06-29 17:15:30 +00:00
Steve Chamberlain
8c7fd353f9 * configure.in: Add i386-pe configuration. 1995-06-29 07:08:00 +00:00
Steve Chamberlain
3ca120a5b3 * bfdlink.h (struct bfd_link_info): Added base_file member. 1995-06-29 07:03:35 +00:00
Steve Chamberlain
0d71f51b8b New files. 1995-06-29 06:59:07 +00:00
Steve Chamberlain
8ab7ddc813 * configure.in: Add i386-pe configuration. 1995-06-29 06:58:11 +00:00
Steve Chamberlain
89665c8562 Wed Jun 28 18:04:42 1995 Steve Chamberlain <sac@slash.cygnus.com>
* Makefile.in: versados.o is now conditionally built.
	* coffcode.h (add_data_entry): New function.
	(coff_write_object_contents): Clean up. Calculate
	data entries.
	* cofflink.c (_bfd_coff_generic_relocate_section):
	.reloc and .edata sections are IMAGE_BASED too.
	If there's a base_file then write out base information.
	* configure.host (i386-*-pe): New.
	* syms.c (coff_section_type): Only scan prefixes.
	* targets.c (bfd_target_vector): Versados is now conditionally
	built.
	* config/m68k-coff.mt: Build versados.o
	* hosts/i386pe.h: New file.
1995-06-29 01:17:58 +00:00
Steve Chamberlain
6f2d32120e * ar.c: (print_contents.c, extract_file, do_quick_append):
Malloc buffers rather than allocate on stack (so it works
	on NT).
	* deflex.l: Names can have an @ in them.
	* dlltool.c: Loads of stuff. Can now generate .imp files which
	work with NT .dlls.
1995-06-29 00:59:07 +00:00
Steve Chamberlain
30355216bd * config/obj-coff.c (fixup_segment): PE doens't use
the strange common symbol format that other 386s formats
	do.
	* config/tc-i386.c (md_begin): If LEX_AT defined then
	'@' is in the set of identifiers.
	(i386_operand): If LEX_AT, then don't look for @goto stuff.
	* config/te-pe.h: Define LEX_AT.
1995-06-29 00:41:02 +00:00
Steve Chamberlain
de71eb7786 Wed Jun 28 17:11:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
* ldmain.c (main): Always initialize PE info in link_info.
	* lexsup.c (OPTION_BASE_FILE): New option.
	(parse_args): Handle new option.
	* emulparams/armpe.sh: Output pei.
	* emultempl/i386pe.em: Add newline to end.
	* scripttempl/armpe.sc: Change output and quote the $s.
	* scripttempl/i386pe.sc: Change output and quote the $s.
1995-06-29 00:21:00 +00:00
Ken Raeburn
1a9924d8b3 doc update 1995-06-28 23:39:54 +00:00
Ken Raeburn
ba5ceb3060 describe --emulation option 1995-06-28 23:10:41 +00:00
Ken Raeburn
4a9983089e doc updates 1995-06-28 21:50:42 +00:00
Ken Raeburn
99c4053d0c fix description of h8/500, sh floating point 1995-06-28 21:49:26 +00:00
Ken Raeburn
b2521e5b15 get rid of unused m4 files 1995-06-28 21:35:38 +00:00
Ken Raeburn
694ea471a2 Move various files that are only checked out for certain modules into
the *_these_too lists before the check for existence of the items of those
lists.

Apply "sort -u" to the *_these_too lists to keep Sanitize from complaining
when it can't delete COPYING.NEWLIB twice.

I'm not convinced the right thing will be done with COPYING.NEWLIB when
keep-cygnus or keep-newlib (but not both) is supplied; that's unchanged.
1995-06-27 21:22:30 +00:00
Jeff Law
6cb964d4ef * elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
R_PARISC_DPREL21L handling.
1995-06-26 19:55:27 +00:00
Stan Shebs
fe442b4308 * remote.c (remote_read_bytes, remote_write_bytes): Second arg
should be char *, not unsigned char *.
	* dcache.h (memxferfunc): Ditto.
	* monitor.c (monitor_write_memory, monitor_read_memory_single):
	Ditto.
	(monitor_make_srec): Let compiler figure size of hextab.
1995-06-25 23:23:06 +00:00
Jeff Law
c9f7cd7b97 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist. 1995-06-25 18:56:52 +00:00
Steve Chamberlain
a900bc406e Fix pathnames right.. 1995-06-25 14:52:42 +00:00
Jeff Law
1657d50b38 * lynx-nat.c (child_wait): Don't restart new threads and loop
to the top of child_wait; let the machine independent code in
        wait_for_inferior deal with new thread notifications.

lynx-6100 (partial)
Fixes SEGV when multi-threaded program hits a breakpoint in a new
thread.
1995-06-25 02:33:33 +00:00
Steve Chamberlain
cd5431634a Fix filenames with two dots. 1995-06-24 02:48:48 +00:00
Kung Hsu
8a7143f461 * remote-nindy (nindy_load): Put in target specific load, it's
20 times faster.
1995-06-23 18:54:56 +00:00
Stan Shebs
31bda44a6d * utils.c (error): Move local `args' outside conditional,
move local `string1' inside, declare function as void if
	non-ANSI compiler, dereference error_hook when calling.
1995-06-23 04:41:37 +00:00
Stan Shebs
26a53fe826 * mac-xdep.c (stdarg.h): Don't include. 1995-06-23 03:37:58 +00:00
Stan Shebs
71fa3485f9 * mpw-make.in (demangle.c.o): Remove.
(arparse.h): Depend on arparse.c instead of arparse.y.
1995-06-23 03:02:53 +00:00
Ken Raeburn
a2fb6995e0 msdos and moss code from Bryan Ford 1995-06-23 02:05:04 +00:00
Stan Shebs
b0192f5129 * mpw-mh-mpw (CC): Define ANSI_PROTOTYPES. 1995-06-23 01:55:47 +00:00
Stan Shebs
9e000b3515 * mpw-config.in (elf/mips.h): Always forward-include, needed
for GDB to build.
1995-06-23 01:52:24 +00:00
Steve Chamberlain
32a9989d68 * interp.c: Don't include sys/times.h or sys/param.h 1995-06-23 00:26:40 +00:00
David Edelsohn
041038455c (newlib.tar.gz): Configure newlib subdir so .info files are made. 1995-06-23 00:25:15 +00:00
Victoria Mixon
f9e903ee03 inc-hist.texi: gdb manual up to date for 95q3
rluser.texinfo:
1995-06-22 21:30:02 +00:00
Victoria Mixon
af215b1a6a gdb.texinfo: gdb manual up to date for 95q3
remote.texi:
1995-06-22 21:28:02 +00:00
Kung Hsu
89fd75ae2b * remote-nindy.c (nindy_wait): Change timeout in SERIAL_READCHAR. 1995-06-22 20:16:56 +00:00
Michael Meissner
d513119138 Add .fixup section 1995-06-22 19:08:18 +00:00
Michael Meissner
3f4ca87446 Fix warning 1995-06-22 18:44:36 +00:00
Steve Chamberlain
b368d24697 Sanitize seems to care about trailing spaces. 1995-06-22 16:30:19 +00:00
Steve Chamberlain
f4761bb244 * reloc.c (bfd_perform_relocation): Add case for -ve words. 1995-06-22 15:59:14 +00:00
Ken Raeburn
3c1e89f836 remove rcs id string 1995-06-22 01:31:02 +00:00
Ken Raeburn
08a827b7b2 new test from Andreas Schwab 1995-06-22 01:29:50 +00:00
Fred Fish
b9f12fd911 * gdb.base/return.exp: Xfail `return double' test failure
on at least Solaris 2.3 and handle future/past versions on
	a case by case basis as appropriate.  Also update message
	to include i*86 failures.
1995-06-22 00:51:47 +00:00
Ken Raeburn
c151fd1e13 m68k fixes from Andreas Schwab, with minor changes 1995-06-21 22:43:13 +00:00
Ken Raeburn
a183540991 * config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#" value, don't
shift it an extra time.
1995-06-21 22:09:45 +00:00
Steve Chamberlain
edf6a84356 * interp.c: (SIGBUS, SIGTERM): Define if not.
(sim_memory_size): default to 2^19 on PCs.
	(sim_resume): Poll for quits on win32.
1995-06-21 22:05:47 +00:00
Ken Raeburn
652970ff68 fix diststuff/realclean handling of info files 1995-06-21 21:48:03 +00:00
Steve Chamberlain
45993f6118 Hmm.. The ChangeLog went in, but not the code....
* monitor.c: Turn on caching.
	(monitor_printf): If a ^C was sent, don't expect to see its
	echo.
	(monitor_open): Enable caching.
	(monitor_resume, monitor_load): Flush cache.
	(monitor_xfer_memory): Call cache routine.
	(monitor_dump_regs): New.
	(monitor_fetch_registers):  If monitor_dump_regs available
	then use it.
	(monitor_load): Don't ref exec_bfd if it's NULL.
	(monitor_load_srec): Use new monitor_make_srec calling convention.
	(monitor_make_srec): Rewrite to cope with two, three and four byte
	addresses.
	* remote-hms.c (hms_cmds): Initialze end-of-command delim.
	* dcache.h, dcache.h: Rewritten.
	* remote.c: Reenable caching.
	(getpkt): Reduce MAX_TRIES to 3.
	(remote_xfer_memory): Use dcache_xfer_memory.
	* defs.h (error_hook): New.
	* top.c (error_hook): New definition.
	* utils.c (error): Use error_hook if initialized.
	* sparcl-tdep.c (HAVE_SOCKETS): Don't define if GO32 or WIN32. Use
	HAVE_SOCKETS in place of #ifndef GO32.
1995-06-21 21:47:06 +00:00