aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-05-18add support for i386-unixware target, m68k-vxworks5.1 target, ↵Angela Marie Thomas1-35/+74
i960-vxworks5.1 target... always configure with --enable-gdbtk
1995-05-18update target lists for all hostsAngela Marie Thomas1-33/+50
1995-05-18 * Makefile.in (xcoffread.o): Depend on partial-stab.h.Jim Kingdon4-45/+66
* xcoffsolib.c (sharedlibrary_command): New command. * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab. * xcoffsolib.c: Miscellaneous cleanups. * partial-stab.h: Ignore symbol descriptor '-' (for local variables with negative type numbers) without complaint. * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own local emulation thereof. Remove unused variable ostart.
1995-05-18 * libbfd.c (bfd_stat): If bfd_cache_lookup returns an error,Jim Kingdon1-0/+10
return an error to the caller. Call bfd_set_error on errors.
1995-05-18* Makefile.in (config.status): changed target so thatJ.T. Conklin2-5/+7
config.status --recheck is executed if configure script changes.
1995-05-18* Makefile.in (Makefile): Added config.status to dependency list.J.T. Conklin2-2/+12
(config.status): New target. (SHELL): New definition.
1995-05-17* monitor.c (monitor_printf): Changed format specification inJ.T. Conklin13-87/+312
error message to work with pre-ansi compilers. (monitor_load_srec): reduced length of s-records from 128 to 32 bytes so download is more reliable with the rom68k monitor. * rom68k-rom.c: Added trailing space to prompt string. * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed. * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING): Removed. * defs.h, config/{xm-lynx.h, xm-nbsd.h}, config/i386/{xm-i386bsd.h, xm-linux.h}, config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h, config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo (PSIGNAL_IN_SIGNAL_H): Removed.
1995-05-17Fix typo in keeping of ld.d.David Edelsohn1-1/+1
1995-05-16* config/obj-ecoff.c (ecoff_pop_insert): New function.Ken Raeburn1-0/+6
(ecoff_format_ops): Use it. (obj_ecoff_frob_symbol): Now static.
1995-05-16Little endian fixMichael Meissner2-25/+45
1995-05-16* config/tc-mips.c (mips_init_after_args): New function. Set byte_order here.Ken Raeburn1-0/+5
(md_parse_option): Not here. (byte_order): Don't bother initializing. * config/tc-mips.h (mips_init_after_args): Declare. (tc_init_after_args): New macro.
1995-05-16Make filenames unique to 8.3 characters for Powerpc.Michael Meissner3-9/+2
1995-05-16Make Irix 5 configuration work again:Ken Raeburn2-82/+77
* config/obj-multi.h (obj_frob_symbol, obj_frob_file, S_GET_SIZE, S_SET_SIZE, S_GET_ALIGN, S_SET_ALIGN, obj_copy_symbol_attributes, OBJ_PROCESS_STAB): New macros. * config/tc-mips.c: Protect against redefining them also when including obj-elf.h. Test only OBJ_ELF for including elf/mips.h.
1995-05-16Fix arc sanitization.David Edelsohn1-1/+6
1995-05-16read.c (s_lcomm): Do ELF/ECOFF test at run time, not compile time.Ken Raeburn1-0/+5
1995-05-16* configure.in: Added INIT-CMDS argument to AC_OUTPUT which setsJ.T. Conklin3-2/+19
gdb_host_cpu, gdb_target_cpu and nativefile. * configure: regenerated.
1995-05-16internal.h: declare NT_subsystem and NT_stack_heap extern, so bfd compilesKen Raeburn1-0/+54
better under picky compilers. also added some changelog entries steve forgot to check in.
1995-05-16 * mdebugread.c (parse_symbol): Do not relocate stBlock/scTextPeter Schauer3-11/+19
symbols, their value is the displacement from the procedure address. * top.c (init_main): Add missing newlines to help strings for `if' and `while' commands, fix help string for `show commands'.
1995-05-16 * breakpoint.c: Move defaults of watchpoint related macros intoStu Grossman1-0/+9
target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of constants. * infrun.c (wait_for_inferior): Enhance comment near STOPPED_BY_WATCHPOINT. * target.h: Macros from breakpoint.c.
1995-05-16* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},J.T. Conklin10-154/+2664
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh, mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured out by autoconf. * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf. * Makefile.in, configure.in: Converted to use autoconf * aclocal.m4: New file, local autoconf macro definitions. * configure: New file, generated with autoconf 2.3.
1995-05-15 * remote.c (remote_kill): Add prototype.Stan Shebs1-1/+1
* cpu32bug-rom.c (cpu32bug_open): Properly define as static. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 * remote.c (remote_kill): Add prototype.Stan Shebs2-1/+7
* cpu32bug-rom.c (cpu32bug_open): Properly define as static. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 * sparclite/salib.c (win_ovf win_unf): Make window size constantStu Grossman1-0/+6
into a variable (__WINSIZE) so that it can be controlled via the .h file. * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6 for the 933 board.
1995-05-15(SER_HARDWIRE): Comment out for now.David Edelsohn1-1/+2
1995-05-15 * config/tc-arc.c (md_longopts): -EB/-EL renamed toDavid Edelsohn1-0/+8
-mbig-endian/-mlittle-endian. (md_show_usage): Likewise.
1995-05-15 * infrun.c: Add #ifdef HP_OS_BUG to all references toStu Grossman2-75/+57
trap_expected_after_continue. * (wait_for_inferior): Fix for remote watchpoints. Don't try to insert breakpoints while target is running (this only works on *some* native targets). This may also speed up native watchpoints considerably.
1995-05-13 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon2-5/+5
mdebugread.c (struct symloc), hpread.c (struct symloc), xcoffread.c (struct symloc): Fix inaccurate comment introduced 20 Apr 1995.
1995-05-13 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon4-9/+12
mdebugread.c (struct symloc), hpread.c (struct symloc): Fix error in 20 Apr 1995 cleanup of comments.
1995-05-13 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.Jim Kingdon1-0/+7
* gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack of a text section.
1995-05-13 * rs6000-tdep.c (find_toc_address): Revise comment.Jim Kingdon6-666/+1214
* symfile.c, symfile.h (init_psymbol_list): New function; consolidate duplicated copies from os9kread.c, dbxread.c and dwarfread.c. * defs.h: Declare info_verbose. * xcoffread.c: Extensive changes to support psymtabs.
1995-05-13Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-0/+78
tekhex.c (first_phase): Understand type 0 symbols. (tekhex_write_object_contents): Fix typo in final record. Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> pr ld/6840 * coff-i960.c (optcall_callback): don't try and optimize undefined refs. (coff_write_relocs): Search for broken relocs on the way out and fix them up. (coff_renumber_symbols): Calculate and return index of first undefined symbol. (coff_write_object_contents): Call coff_renumber_symbols and coff_write_relocs with the new args. * libcoff.h: (coff_renumber_symbols, coff_renumber_symbols): Modified prototypes. Thu May 11 16:43:14 1995 Steve Chamberlain <sac@slash.cygnus.com> Tom Griest <griest@cs.yale.edu> Initial support for PE format. * Makefile.in, targets.c, configure.in, config.bfd: Add support for i386-*-winnt and i386-*-pe. * archive.c (do_slurp_coff_armap): Understand NTPE format archives. (_bfd_slurp_extended_name_table): Turn \ in a filename into /. * bfd-in.h (bfd_link_subsystem, _bfd_link_stack_heap): New. * coff-i386.c (howto_table): Conditionalize PCRELOFFSET. * coffcode.h (IMAGE_BASE): New. (coff_compute_section_file_positions): Throw away .junk sections for PE, align symbols. (coff_write_object_contents): Throw away .junk sections for PE. Remember info on .idata and .rsrc sections. Fill in the PE header. (coff_slurp_symbol_table): PE uses C_SECTION class. * cofflink.c (_bfd_coff_final_link): Keep PE info up to date. (_bfd_coff_generic_relocate_section): Cope with PE relocs. * coffswap.h (coff_swap_{aout/file/scn/sym}hdr_{in/out}): New code for PE headers.
1995-05-13Sat May 13 10:14:08 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+1
* 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.
1995-05-12Fri May 12 14:17:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-0/+10
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.
1995-05-12 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.Stu Grossman4-3/+7
1995-05-12Fri May 12 11:03:55 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain9-11/+367
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
1995-05-12* partial-stab.h: Expand comments.Jim Kingdon2-0/+15
1995-05-12 * Support debugging using native MACH primitives on hppa*-*-osf*.Jeff Law8-4/+241
* 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.
1995-05-12update for new filesKen Raeburn2-0/+7
1995-05-11 * config/monitor.exp (gdb_target_monitor): Fix loop interator soStu Grossman1-1/+2
that loop eventually terminates. Fix Connection refused logic so that testsuite will expire nicely.
1995-05-11 * config/monitor.exp (gdb_target_monitor): Fix loop interator soStu Grossman2-1/+6
that loop eventually terminates.
1995-05-11Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>Jason Merrill1-0/+15
* demangle.h: Don't include ansidecl.h if IN_GCC.
1995-05-11fix non-mips elf configKen Raeburn1-0/+15
1995-05-11 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.Stu Grossman5-60/+146
* (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.
1995-05-11Reflect deletion of always-sanitize stuffStan Shebs1-20/+0
1995-05-11Blasting old junkStan Shebs7-6820/+0
1995-05-11 * scripttempl/hppaelf.sc: Remove .PARISC.unwind section from textStu Grossman1-0/+5
segment. This allows ld -r to preserve unwind sections.
1995-05-11 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,Stu Grossman7-46/+178
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.
1995-05-10forgot to regenerate after last changeKen Raeburn1-16/+17
1995-05-10First cut at handling multiple emulation modes for some MIPS targets.Ken Raeburn12-510/+1357
Mostly works, not entirely. Details in ChangeLog.
1995-05-10Make clean targets work also when SUBDIRS is empty.Torbjorn Granlund1-0/+8