aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-07-28 * config/gdbremote.exp: New file. Testing framework usingJeff Law2-0/+6
gdbserver. Doesn't work with lynx yet, and you need to set a handful of variables in your site.exp, but it's worth checking in now.
1995-07-28 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail forFred Fish5-1/+33
"call function when asleep" and "send end of file". * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list for "backtrace in corefile.exp". * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list for "backtrace through signal handler". * gdb.base/corefile.exp: Make sure we actually generate a core file before trying the core tests. Some systems allow the user to suppress generation of core files and default to that (linux for example). * gdb.base/signals.exp: Change xfail for "next" acting like "continue" from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1995-07-28treat linuxoldld like linuxaout*Ken Raeburn1-0/+20
1995-07-28more vms changesKen Raeburn3-63/+78
1995-07-27(arm-*-pe): Build libg++.David Edelsohn1-2/+0
1995-07-27Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain9-12/+26
* scripttempl/i386pe.sc: Cope with constructors. * scripttempl/z8ksim.sc: Deleted. * scripttempl/z8000.sc: Resurrected as this, but can handle z8001 and z8002 formats. * emulparams/z8ksim.sh: Deleted. * emulparams/{z8001.sh, z8002.sh}: New files. * config/z8ksim.mt: Deleted * config/z8k-coff.mt: New, generates both emulations.
1995-07-27Document sed bug.David Edelsohn1-0/+1
1995-07-27 * cfg-ml-pos.in (dotdot): Work around SunOS sed bug.David Edelsohn2-1/+5
1995-07-27 * config.guess (*:Linux:*:*): First try asking the linker what theFred Fish1-0/+6
default object file format is (elf, aout, or coff). Then if this fails, try previous methods.
1995-07-27 * lynx-nat.c (child_wait): Handle threads exiting.Jeff Law1-0/+16
1995-07-27Forgot to commit .Santiize.Jeff Law1-0/+40
1995-07-27* configure.in: Don't build newlib for *-*-vxworks5.1.J.T. Conklin2-4/+5
1995-07-27 * configure.in: Don't build newlib for a29k-*-vxworks5.1.Brendan Kehoe2-2/+14
* test-build.mk: Add setting of --with-headers for a29k-vxworks5.1.
1995-07-27More V.4/AIX fixesMichael Meissner1-58/+53
1995-07-27 * hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for callingJeff Law2-23/+40
into shared libraries. Amazing... 7363 has required serious work in gcc, gas, bfd, and now gdb...
1995-07-27Better support V.4 calling sequences.Michael Meissner3-265/+266
1995-07-26 * remote.c: Add documentation for extended protocol operationsJeff Law1-0/+27
and for thread_alive change from a couple weeks ago. (extended_remote_ops): Declare and define a new target vector for the extended remote protocol. (extended_remote_restart): New function to restart the remote server & process. (remote_open): Just a stub routine. (extended_remote_open): New function to start a remote session using the extended gdb remote protocol. (remote_open_1): New function containing code common to both remote_open and extended_remote_open. (remote_mourn, extended_remote_mourn, remote_mourn_1): Similarly. (extended_remote_create_inferior): New function for the extended remote target. (initialize_remote): Add the extended_remote_ops target vector. * gdbserver/server.c (main, case '!'): Set extended_protocol. (main, case 'k'): If the extended protocol is in use, kill the inferior then start a new one. (main, case 'R'): New command to restart the remote server and inferior process. Only supported when using the extended protocol. (main, server loop): If the inferior terminates while using the extended protocol then start a new one. If getpkt fails when using the extended protocol then exit. New extended remote gdb protocol support; intended mainly for use with the gdbserver testing framework that I'll be checking in soon. Also useful for interactive remote debugging since it supports "run".
1995-07-26 * cfg-ml-pos.in (MULTITOP): Trim excess trailing "/.".David Edelsohn1-4/+7
1995-07-26 * gdb.threads: New directory with some crude multi-threadedJeff Law4-0/+257
gdb tests (step.exp and step2.exp). * config/mt-lynx (STEP_EXECUTABLE): Define. (THREADFLAGS): Define. Hiro's test for 6100 and a crude test of my own. They both need some major cleanup for non-lynx hosts; both are also a little too loose in their checks. But I'm too burnt out on lynx to address either concern.
1995-07-25Oops, forgot the parens.Stan Shebs1-3/+5
1995-07-25Clean up handling of COPYING.NEWLIB.David Edelsohn1-4/+7
1995-07-25 * mdebugread.c (psymtab_to_symtab_1): Relocate encoded stabStan Shebs2-0/+6
line numbers using the psymtab's section offsets. PR 7514
1995-07-25 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.Jeff Law1-0/+2
1995-07-25 * strings.c (DATA_FLAGS): Remove SEC_DATA.Ian Lance Taylor2-8/+8
(main): If no file names are given, scan standard input. * binutils.texi, strings.1: strings now scans non-data sections by default.
1995-07-25Change aix_framedata -> rs6000_framedataMichael Meissner3-12/+27
1995-07-25 * gdb.base/signals.exp: Disable whole file for lynx untilJeff Law2-0/+12
further notice. Looks like a bug in the lynx2.2.2 kernel scroggs the stack pointer in these tests leading to massive failures. I've sent a nice small concise example to Mark Rome @ lynx. Severe braindamage.
1995-07-25 * gdb.base/signals.exp: xfail test where "next" acts likeJeff Law2-1/+328
"continue" for lynx.
1995-07-25 * gdb.base/interrupt.exp: xfail test for calling function whileJeff Law1-0/+3
inferior is asleep for lynx.
1995-07-25 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing moreJeff Law1-0/+5
than one cr-lf after each command.
1995-07-25Add a more useful comment.David Edelsohn1-0/+8
And add a comment about where the "Right" place for cfg-*.in is (if any).
1995-07-25more vms work from patKen Raeburn1-786/+716
1995-07-25fix more compilation problemsKen Raeburn1-0/+8
1995-07-24Try even harder to draw attention to the comments about files that aren'tKen Raeburn1-2/+13
checked out with every module.
1995-07-24srconv.c (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytesJ.T. Conklin1-0/+3
for the sh.
1995-07-24 * ecofflink.c (_bfd_ecoff_locate_line): When handling stabs:Ian Lance Taylor1-0/+5
correct setting of sym_ptr_end to consider symbols skipped when setting sym_ptr; don't leave loop early unless an N_FUN is found with a larger value.
1995-07-24 * config/default.exp: Define objcopy if it is not defined.Ian Lance Taylor5-0/+195
* ld-sh/*: New tests for SH relaxing.
1995-07-24* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.J.T. Conklin2-17/+55
* sysdump.c (fillup): Return size - 1, the last byte is a checksum and shouldn't be counted. * sysroff.info (hd): Changed segment identifier from a byte to a 1 bit field. The sysroff 2.0-01 specification seems to be in error here. Reduce width of following "spare" field from 4 to 3 bits. (rl): Changed order and width of first 4 bitfields to correspond to sysroff specification. (dln_head, dln_inside, dln_tail): Removed.
1995-07-24 * ld-empic/empic.exp: If $CC does not exist, call untested ratherIan Lance Taylor2-0/+21
than unresolved.
1995-07-24 * ldlang.c (lang_process): Call reset_memory_regions for eachIan Lance Taylor1-0/+10
relaxation pass.
1995-07-24 * cofflink.c (coff_link_add_object_symbols): CallIan Lance Taylor1-0/+69
_bfd_coff_get_external_symbols, not coff_link_get_symbols. Call _bfd_coff_free_symbols, not coff_link_free_symbols. Call _bfd_coff_read_string_table, not coff_read_string_table. (coff_link_check_archive_element): Likewise. (coff_link_input_bfd): Likewise. (coff_link_get_symbols): Move to coffgen.c. (coff_read_string_table): Likewise. (coff_link_free_symbols): Likewise. (_bfd_coff_internal_syment_name): New static function. (coff_link_check_ar_symbols): Use _bfd_coff_internal_syment_name. (coff_link_add_symbols): Likewise. (coff_link_input_bfd): Likewise. (_bfd_coff_generic_relocate_section): Likewise. (_bfd_coff_read_internal_relocs): New function. (coff_link_input_bfd): Use cached section contents if available. Use _bfd_coff_read_internal_relocs. * coffcode.h (coff_slurp_symbol_table): Don't call bfd_seek. (coff_bfd_get_relocated_section_contents): Only define if not already defined. (coff_bfd_relax_section): Likewise. * coffgen.c (build_string_table): Remove. (_bfd_coff_get_external_symbols): New function, moved in from old coff_link_get_symbols in cofflink.c. (_bfd_coff_read_string_table): New function, moved in from old coff_read_string_table in cofflink.c. (_bfd_coff_free_symbols): New function, moved in frmo old coff_link_free_symbols in cofflink.c. (coff_get_normalized_symtab): Use _bfd_coff_get_external_symbols rather than reading the symbols directly. To free them, call _bfd_coff_free_symbols. Use _bfd_coff_read_string_table rather than build_string_table. * libcoff-in.h (obj_coff_keep_syms): Define. (obj_coff_keep_strings): Define. (coff_data_type): Add fields keep_syms and keep_strings. (coff_section_tdata): Define new structure. (coff_section_data): Define. (_bfd_coff_get_external_symbols): Declare. (_bfd_coff_read_string_table): Declare. (_bfd_coff_free_symbols): Declare. (_bfd_coff_read_internal_relocs): Declare. * libcoff.h: Rebuild.
1995-07-24 * coff-sh.c (sh_coff_howtos): Mark R_SH_PCDISP8BY2 and R_SH_PCDISPIan Lance Taylor1-159/+1351
as PC relative. Describe R_SH_IMM16. Add entries for R_SH_SWITCH16, R_SH_SWITCH32, R_SH_USES, R_SH_COUNT, and R_SH_ALIGN. (SWAP_IN_RELOC_OFFSET): Define. (SWAP_OUT_RELOC_OFFSET): Define. (CALC_ADDEND): Define. (sh_reloc): Change sym_value and addr to type bfd_vma. Skip reloc types other than R_SH_IMM32 and R_SH_PCDISP on an external symbol. (coff_bfd_relax_section): Define. (coff_bfd_get_relocated_section_contents): Define. (sh_relax_section): New static function. (sh_relax_delete_bytes): New static function. (sh_relocate_section): Handle R_SH_PCDISP on an external symbol. (sh_coff_get_relocated_section_contents): New static function.
1995-07-24 * config/tc-sh.c (md_pseudo_table): Add "uses".Ian Lance Taylor2-16/+110
(s_uses): New static function. (sh_coff_frob_file): New function. (md_convert_frag): Call subseg_change before calling fix_new. (sh_handle_align): New function. (SWITCH_TABLE): Define. (sh_force_relocation): New function. (md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN. (sh_coff_reloc_mangle): Likewise. Also handle switch table entries. * config/tc-sh.h (HANDLE_ALIGN): Define. (sh_handle_align): Declare. (TC_FORCE_RELOCATION): Define. (sh_force_relocation): Declare. (TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead. (tc_frob_file): Define. (sh_coff_frob_file): Declare. * config/obj-coff.c (write_object_file): Call tc_frob_file if it is defined. (fixup_mdeps): Call HANDLE_ALIGN if it is defined. (TC_FORCE_RELOCATION): Define if not defined. (fixup_segment): Use TC_FORCE_RELOCATION to decide whether to clear the symbol fields of fixP.
1995-07-24Add comment.David Edelsohn1-0/+3
1995-07-24 * configure.in: Reinstate setting of stabsdirs variable, fixPeter Schauer2-5/+20
typo in setting up configdirs for native builds. * gdb.base/return.exp: Fix typo in return double test. * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the compiler from optimizing them away.
1995-07-23(arc_files): Add cfg-ml-com.in.David Edelsohn1-1/+1
1995-07-23 * defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.Jeff Law1-0/+9
1995-07-22Add R_PPC_SDAREL relocation.Michael Meissner1-4/+5
1995-07-22(multi-do, multi-clean): Add comment regarding @-signs.David Edelsohn1-0/+4
1995-07-21 * lynx-nat.c (child_thread_alive): New function. Somehow IJeff Law1-0/+17
forgot to check this in with all the other thread_alive changes.
1995-07-21Rewrite so Makefiles do not reference undefined variables.David Edelsohn1-60/+41