Steve Chamberlain [Tue, 1 Aug 1995 02:49:34 +0000 (02:49 +0000)]
moved.
Steve Chamberlain [Tue, 1 Aug 1995 02:48:52 +0000 (02:48 +0000)]
moved.
Steve Chamberlain [Tue, 1 Aug 1995 02:45:00 +0000 (02:45 +0000)]
new file.
Steve Chamberlain [Tue, 1 Aug 1995 02:39:21 +0000 (02:39 +0000)]
New order.
Stan Shebs [Tue, 1 Aug 1995 02:37:02 +0000 (02:37 +0000)]
* h8500-tdep.c: General linting and cleanup.
(opcodes/h8500-opc.h): Don't include.
(code_size, data_size): Make static.
(frame_locals_address, frame_args_address): Remove.
(h8300_pop_frame): Rename to h8500_pop_frame.
(big_command, medium_command, compact_command, small_command):
Define as regular functions rather than with macro trickery.
(tm_print_insn): Set to correct disassembler function.
* config/h8500/tm-h8500.h: Minor cleanup, add prototypes.
(ABOUT_TO_RETURN): #if 0 out.
(FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Use usual define.
(GDB_TARGET_IS_H8500): Remove duplicate definition.
(regoff): Remove, never used.
* config/h8500/h8500.mt (TDEPFILES): Add monitor.o.
Ken Raeburn [Tue, 1 Aug 1995 01:41:53 +0000 (01:41 +0000)]
yet more vms work
Steve Chamberlain [Tue, 1 Aug 1995 01:31:42 +0000 (01:31 +0000)]
* gasp.c (change_base): Don't modify numbers in strings. (pr7583)
* testsuite/gas/gasp/*: New.
J.T. Conklin [Mon, 31 Jul 1995 22:50:21 +0000 (22:50 +0000)]
Oops, don't edit a file when your checkin hasn't finished
J.T. Conklin [Mon, 31 Jul 1995 22:46:03 +0000 (22:46 +0000)]
* configure.in: Check for unistd.h.
* configure: Regenerated.
* command.c, cp-valprint.c, fork-child.c, i386-tdep.c,
i386b-nat.c, inflow.c, main.c, maint.c, objfiles.c, solib.c,
source.c, stack.c, symfile.c, top.c, utils.c: Include strings.h
and/or unistd.h to bring prototypes into scope.
Ken Raeburn [Mon, 31 Jul 1995 21:09:39 +0000 (21:09 +0000)]
remove local variables, change-log-mode does all of that
Ian Lance Taylor [Mon, 31 Jul 1995 17:24:17 +0000 (17:24 +0000)]
* strings.c (print_strings): For compatibility with existing
strings programs, print strings which are not terminated with a
null byte or a newline.
* binutils.texi, strings.1: Update documentation accordingly.
Steve Chamberlain [Mon, 31 Jul 1995 16:57:38 +0000 (16:57 +0000)]
* cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build.
Ian Lance Taylor [Mon, 31 Jul 1995 16:52:02 +0000 (16:52 +0000)]
* ar.c (replace_members): For compatibility with existing ar
programs, permit users to add the same file multiple times.
Fred Fish [Mon, 31 Jul 1995 15:57:25 +0000 (15:57 +0000)]
Add file documenting basic procedures for gdb release manager to produce
FSF releases. Set up .Sanitize to always remove this file.
Fred Fish [Mon, 31 Jul 1995 01:18:44 +0000 (01:18 +0000)]
* gdb.base/a2-run.exp: Change messages to be more explicit about
the status of args, and quote binfile in results.
Fred Fish [Sun, 30 Jul 1995 19:29:36 +0000 (19:29 +0000)]
* gdb.base/callfuncs.exp: Add tests for passing structs to
inferior functions and return various types.
* gdb.base/callfuncs.c: Add functions to receive a struct
and return a member of the struct, in various types.
Peter Schauer [Sun, 30 Jul 1995 08:45:15 +0000 (08:45 +0000)]
* rs6000-tdep.c (frame_saved_pc): Check for signal handler caller
before trying to determine the start of the function.
(skip_prologue): Skip subroutine call which might save the
floating point registers only if it is within the first three
instructions.
Reinstate setting of alloca_reg if setup of a gcc frame pointer
is found.
(frame_get_cache_fsr): Use new fields in rs6000_framedata.
Fred Fish [Sun, 30 Jul 1995 01:15:54 +0000 (01:15 +0000)]
Fix problem with configure script when run on systems where native shell
is bash or ksh, which handles "... $(TCL) ..." by trying to run TCL.
Changed configure.in and regenerated configure, including two lines
apparently inserted by custom cygnus version of autoconf 2.4.
Stan Shebs [Sat, 29 Jul 1995 22:43:07 +0000 (22:43 +0000)]
Remove mentions of nonexistent things, add lose-mswin to control inclusion
of WinGDB stuff separately.
Stan Shebs [Sat, 29 Jul 1995 21:59:26 +0000 (21:59 +0000)]
* sparclite: Removed subdirectory. aload and eload are now in
utils/sparclite, low-level library is in libgloss.
* configure.in (sparclite*): Don't configure sparclite subdir.
* configure: Update.
* Makefile.in (TARDIRS): Remove, no longer used.
Peter Schauer [Sat, 29 Jul 1995 21:24:39 +0000 (21:24 +0000)]
* gdb.base/Makefile.in (clean): Remove callf-info.exp.
Peter Schauer [Sat, 29 Jul 1995 20:56:22 +0000 (20:56 +0000)]
* procfs.c (unconditionally_kill_inferior): Clear current signal
if PROCFS_NEED_CLEAR_CURSIG_FOR_KILL is defined.
* config/alpha/nm-osf3.h (PROCFS_NEED_CLEAR_CURSIG_FOR_KILL): Define.
Peter Schauer [Sat, 29 Jul 1995 08:50:35 +0000 (08:50 +0000)]
* config/mips/tm-irix3.h, config/mips/tm-irix5.h,
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
Peter Schauer [Sat, 29 Jul 1995 08:50:00 +0000 (08:50 +0000)]
* alpha-tdep.c: Move sigtramp handling of saved registers from
read_next_frame_reg to alpha_find_saved_regs, handle saved
floating point registers.
* mips-tdep.c: Move sigtramp handling of saved registers from
read_next_frame_reg to mips_find_saved_regs, handle saved
floating point registers.
* config/mips/tm-irix3.h, config/mips/tm-irix5.h,
config/mips/tm-mipsv4.h (SIGFRAME_FPREGSAVE_OFF): Define.
* sparc-tdep.c (sparc_pc_adjust): Fix check for `unimp'
instruction to handle functions returning structures with
large sizes properly.
Brendan Kehoe [Fri, 28 Jul 1995 20:36:50 +0000 (20:36 +0000)]
* config/vxworks29k.exp: New file, sources vxworks.exp.
Steve Chamberlain [Fri, 28 Jul 1995 18:57:30 +0000 (18:57 +0000)]
* configure, configure.in (z8k-*-sim): deleted.
Jeff Law [Fri, 28 Jul 1995 07:31:40 +0000 (07:31 +0000)]
* config/gdbremote.exp: New file. Testing framework using
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.
Fred Fish [Fri, 28 Jul 1995 04:58:12 +0000 (04:58 +0000)]
* gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
"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.
Ken Raeburn [Fri, 28 Jul 1995 01:43:15 +0000 (01:43 +0000)]
treat linuxoldld like linuxaout*
Ken Raeburn [Fri, 28 Jul 1995 00:45:53 +0000 (00:45 +0000)]
more vms changes
David Edelsohn [Thu, 27 Jul 1995 23:17:59 +0000 (23:17 +0000)]
(arm-*-pe): Build libg++.
Steve Chamberlain [Thu, 27 Jul 1995 22:43:44 +0000 (22:43 +0000)]
Thu Jul 27 15:26:28 1995 steve chamberlain <sac@slash.cygnus.com>
* 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.
David Edelsohn [Thu, 27 Jul 1995 21:37:26 +0000 (21:37 +0000)]
Document sed bug.
David Edelsohn [Thu, 27 Jul 1995 21:36:29 +0000 (21:36 +0000)]
* cfg-ml-pos.in (dotdot): Work around SunOS sed bug.
Fred Fish [Thu, 27 Jul 1995 20:50:10 +0000 (20:50 +0000)]
* config.guess (*:Linux:*:*): First try asking the linker what the
default object file format is (elf, aout, or coff). Then if this
fails, try previous methods.
Jeff Law [Thu, 27 Jul 1995 19:57:16 +0000 (19:57 +0000)]
* lynx-nat.c (child_wait): Handle threads exiting.
Jeff Law [Thu, 27 Jul 1995 19:51:44 +0000 (19:51 +0000)]
Forgot to commit .Santiize.
J.T. Conklin [Thu, 27 Jul 1995 18:31:12 +0000 (18:31 +0000)]
* configure.in: Don't build newlib for *-*-vxworks5.1.
Brendan Kehoe [Thu, 27 Jul 1995 18:22:20 +0000 (18:22 +0000)]
* configure.in: Don't build newlib for a29k-*-vxworks5.1.
* test-build.mk: Add setting of --with-headers for a29k-vxworks5.1.
Michael Meissner [Thu, 27 Jul 1995 14:01:34 +0000 (14:01 +0000)]
More V.4/AIX fixes
Jeff Law [Thu, 27 Jul 1995 08:30:22 +0000 (08:30 +0000)]
* hppa-tdep.c (hppa_fix_call_dummy): Rewrite code for calling
into shared libraries.
Amazing... 7363 has required serious work in gcc, gas, bfd, and now gdb...
Michael Meissner [Thu, 27 Jul 1995 03:50:05 +0000 (03:50 +0000)]
Better support V.4 calling sequences.
Jeff Law [Wed, 26 Jul 1995 07:17:34 +0000 (07:17 +0000)]
* remote.c: Add documentation for extended protocol operations
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".
David Edelsohn [Wed, 26 Jul 1995 04:31:28 +0000 (04:31 +0000)]
* cfg-ml-pos.in (MULTITOP): Trim excess trailing "/.".
Jeff Law [Wed, 26 Jul 1995 00:35:07 +0000 (00:35 +0000)]
* gdb.threads: New directory with some crude multi-threaded
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.
Stan Shebs [Tue, 25 Jul 1995 23:35:55 +0000 (23:35 +0000)]
Oops, forgot the parens.
David Edelsohn [Tue, 25 Jul 1995 22:05:00 +0000 (22:05 +0000)]
Clean up handling of COPYING.NEWLIB.
Stan Shebs [Tue, 25 Jul 1995 20:16:48 +0000 (20:16 +0000)]
* mdebugread.c (psymtab_to_symtab_1): Relocate encoded stab
line numbers using the psymtab's section offsets.
PR 7514
Jeff Law [Tue, 25 Jul 1995 17:09:50 +0000 (17:09 +0000)]
* gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
Ian Lance Taylor [Tue, 25 Jul 1995 15:26:54 +0000 (15:26 +0000)]
* strings.c (DATA_FLAGS): Remove SEC_DATA.
(main): If no file names are given, scan standard input.
* binutils.texi, strings.1: strings now scans non-data sections by
default.
Michael Meissner [Tue, 25 Jul 1995 14:46:12 +0000 (14:46 +0000)]
Change aix_framedata -> rs6000_framedata
Jeff Law [Tue, 25 Jul 1995 08:52:39 +0000 (08:52 +0000)]
* gdb.base/signals.exp: Disable whole file for lynx until
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.
Jeff Law [Tue, 25 Jul 1995 07:05:21 +0000 (07:05 +0000)]
* gdb.base/signals.exp: xfail test where "next" acts like
"continue" for lynx.
Jeff Law [Tue, 25 Jul 1995 05:16:07 +0000 (05:16 +0000)]
* gdb.base/interrupt.exp: xfail test for calling function while
inferior is asleep for lynx.
Jeff Law [Tue, 25 Jul 1995 05:12:43 +0000 (05:12 +0000)]
* gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
than one cr-lf after each command.
David Edelsohn [Tue, 25 Jul 1995 00:40:09 +0000 (00:40 +0000)]
Add a more useful comment.
And add a comment about where the "Right" place for cfg-*.in is (if any).
Ken Raeburn [Tue, 25 Jul 1995 00:31:20 +0000 (00:31 +0000)]
more vms work from pat
Ken Raeburn [Tue, 25 Jul 1995 00:14:47 +0000 (00:14 +0000)]
fix more compilation problems
Ken Raeburn [Mon, 24 Jul 1995 23:41:29 +0000 (23:41 +0000)]
Try even harder to draw attention to the comments about files that aren't
checked out with every module.
J.T. Conklin [Mon, 24 Jul 1995 23:41:19 +0000 (23:41 +0000)]
srconv.c (writeINT): When size == -2, use 2 bytes for the h8300 and 4 bytes
for the sh.
Ian Lance Taylor [Mon, 24 Jul 1995 21:42:41 +0000 (21:42 +0000)]
* ecofflink.c (_bfd_ecoff_locate_line): When handling stabs:
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.
Ian Lance Taylor [Mon, 24 Jul 1995 21:03:12 +0000 (21:03 +0000)]
* config/default.exp: Define objcopy if it is not defined.
* ld-sh/*: New tests for SH relaxing.
J.T. Conklin [Mon, 24 Jul 1995 21:02:03 +0000 (21:02 +0000)]
* srconv.c (wr_hd): Set afl field to 4 for bfd_arch_sh.
* 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.
Ian Lance Taylor [Mon, 24 Jul 1995 19:36:57 +0000 (19:36 +0000)]
* ld-empic/empic.exp: If $CC does not exist, call untested rather
than unresolved.
Ian Lance Taylor [Mon, 24 Jul 1995 19:25:32 +0000 (19:25 +0000)]
* ldlang.c (lang_process): Call reset_memory_regions for each
relaxation pass.
Ian Lance Taylor [Mon, 24 Jul 1995 19:23:53 +0000 (19:23 +0000)]
* cofflink.c (coff_link_add_object_symbols): Call
_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.
Ian Lance Taylor [Mon, 24 Jul 1995 19:20:15 +0000 (19:20 +0000)]
* coff-sh.c (sh_coff_howtos): Mark R_SH_PCDISP8BY2 and R_SH_PCDISP
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.
Ian Lance Taylor [Mon, 24 Jul 1995 18:18:39 +0000 (18:18 +0000)]
* config/tc-sh.c (md_pseudo_table): Add "uses".
(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.
David Edelsohn [Mon, 24 Jul 1995 17:35:35 +0000 (17:35 +0000)]
Add comment.
Peter Schauer [Mon, 24 Jul 1995 06:35:58 +0000 (06:35 +0000)]
* configure.in: Reinstate setting of stabsdirs variable, fix
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.
David Edelsohn [Sun, 23 Jul 1995 06:12:31 +0000 (06:12 +0000)]
(arc_files): Add cfg-ml-com.in.
Jeff Law [Sun, 23 Jul 1995 05:47:32 +0000 (05:47 +0000)]
* defs.h (ATTR_FORMAT): Disable if ANSI_PROTOTYPES is not defined.
Michael Meissner [Sat, 22 Jul 1995 02:59:48 +0000 (02:59 +0000)]
Add R_PPC_SDAREL relocation.
David Edelsohn [Sat, 22 Jul 1995 01:27:06 +0000 (01:27 +0000)]
(multi-do, multi-clean): Add comment regarding @-signs.
Jeff Law [Fri, 21 Jul 1995 23:52:45 +0000 (23:52 +0000)]
* lynx-nat.c (child_thread_alive): New function. Somehow I
forgot to check this in with all the other thread_alive changes.
David Edelsohn [Fri, 21 Jul 1995 23:31:44 +0000 (23:31 +0000)]
Rewrite so Makefiles do not reference undefined variables.
David Edelsohn [Fri, 21 Jul 1995 21:12:18 +0000 (21:12 +0000)]
Delete extra semi-colons.
David Edelsohn [Fri, 21 Jul 1995 19:03:53 +0000 (19:03 +0000)]
Add some comments.
David Edelsohn [Fri, 21 Jul 1995 18:17:42 +0000 (18:17 +0000)]
Rename config-{com,pos}.multi to cfg-ml-{com,pos}.in.
David Edelsohn [Fri, 21 Jul 1995 17:42:32 +0000 (17:42 +0000)]
* config-com.multi: New file.
* config-pos.multi: New file.
Jeff Law [Fri, 21 Jul 1995 17:42:14 +0000 (17:42 +0000)]
* gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
sequences to be echo'd by gdb when using gdb_test.
* gdb.chill/chexp.exp: Likewise.
* gdb.fortran/exprs.exp: Likewise
Jeff Law [Fri, 21 Jul 1995 04:49:23 +0000 (04:49 +0000)]
* elf32-hppa.c (hppa_elf_gen_reloc_type): Add new (ignored)
argument.
* elf32-hppa.h: Corresponding change.
Jeff Law [Fri, 21 Jul 1995 04:26:39 +0000 (04:26 +0000)]
* somread.c (som_symtab_read): Add unsatisfied common symbols to
the minimal symbol table. All common symbols are "unsatisfied"
when -E is passed to the linker.
mentor-7462
Ken Raeburn [Thu, 20 Jul 1995 23:11:44 +0000 (23:11 +0000)]
fix some compilation problems
Fred Fish [Thu, 20 Jul 1995 22:13:40 +0000 (22:13 +0000)]
* core.c (get_src_info): Cast arg 7 of bfd_find_nearest_line
to proper type of "unsigned int *".
Fred Fish [Thu, 20 Jul 1995 22:04:37 +0000 (22:04 +0000)]
* top.c (show_endian): Cast first arg of printf_unfiltered to
correct type of "char *".
Jeff Law [Thu, 20 Jul 1995 21:25:12 +0000 (21:25 +0000)]
* lynx-nat.c (child_wait): A thread_id of zero from wait apparently
means the process is single threaded, so there's no need to add
it to the thread list. Handle case where multi-threaded process
reverts back to a single-threaded process.
Jeff Law [Thu, 20 Jul 1995 21:04:29 +0000 (21:04 +0000)]
* gdbserver/low-hppabsd.c: Remove error declaration.
* gdbserver/low-sparc.c: Likewise.
* gdbserver/low-sun3.c: Likewise.
* gdbserver/server.h: Remove error and fatal declaration.
* gdbserver/utils.c (error): Update to be compatable with recent
changes in defs.h.
(fatal): Likewise.
Ken Raeburn [Thu, 20 Jul 1995 20:35:03 +0000 (20:35 +0000)]
ldmain.c (constructor_callback): Allocate set_name in stack frame, rather than
always calling alloca with a fixed size.
Jeff Law [Thu, 20 Jul 1995 20:33:39 +0000 (20:33 +0000)]
* gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
after the inferior gdb has started.
'cuz lynx may take a couple minutes to start the inferior gdb...
* gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
after each command.
* gdb.base/funcargs.exp: Likewise.
* gdb.base/gdbvars.exp: Likewise.
* gdb.base/interrupt.exp: Likewise.
* gdb.base/list.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.c++/demangle.exp: Likewise.
* gdb.c++/inherit.exp: Likewise.
* gdb.chill/chexp.exp: Likewise.
* gdb.fortran/exprs.exp: Likewise.
Just in case we can't get a version of expect that sets the tty modes
right on lynx to avoid this problem.
Fred Fish [Thu, 20 Jul 1995 19:57:07 +0000 (19:57 +0000)]
* hosts/i386v4.h (getgid, getuid): Change prototypes to be
compatible with Unixware 1.x and Unixware 2.x, and probably other
i386 svr4 versions as well.
Jeff Law [Thu, 20 Jul 1995 19:21:28 +0000 (19:21 +0000)]
* gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
test if we can't handle IO to/from the inferior.
Jeff Law [Thu, 20 Jul 1995 19:03:51 +0000 (19:03 +0000)]
* gdb.c++/misc.exp: Always check for a program already being
started after sending a "run" command to gdb.
Jeff Law [Thu, 20 Jul 1995 18:52:10 +0000 (18:52 +0000)]
* gdb.base/twice.exp: Start with a fresh gdb.
Jeff Law [Thu, 20 Jul 1995 18:50:31 +0000 (18:50 +0000)]
* gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
only depend on gdb's expression code, not the chill runtime.
Jeff Law [Thu, 20 Jul 1995 18:43:53 +0000 (18:43 +0000)]
* gdb.base/return.c: Put return values into variables so we
can have gdb print them rather than depending on the program
to print them.
* gdb.base/return.exp: Corresponding changes.
Jeff Law [Thu, 20 Jul 1995 18:27:55 +0000 (18:27 +0000)]
* lib/gdb.exp: Provide default value for noinferiorio.
* gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
the inferior.
Ken Raeburn [Thu, 20 Jul 1995 17:56:18 +0000 (17:56 +0000)]
* targets.c (bfd_target_vector): Since armpe and armpei have been split into
big- and little-endian variants, list all of them, instead of the
now-nonexistant armpe[i]_vec.
Jeff Law [Thu, 20 Jul 1995 17:50:05 +0000 (17:50 +0000)]
* gdb.base/break.exp: Always check for a program already being
started after sending a "run" command to gdb.
(text_next_with_recursion): Don't check the output from the
program's printf statement. Instead just make sure the program
exited.
Jeff Law [Thu, 20 Jul 1995 17:41:18 +0000 (17:41 +0000)]
* gdb.base/commands.exp: Protect tests which need arguments with
$noargs conditionals.
This page took 0.040351 seconds and 4 git commands to generate.