Jim Kingdon [Tue, 28 Feb 1995 16:38:26 +0000 (16:38 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.
Jim Kingdon [Tue, 28 Feb 1995 16:35:11 +0000 (16:35 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.
Kung Hsu [Mon, 27 Feb 1995 21:05:00 +0000 (21:05 +0000)]
* configure.in: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:59:54 +0000 (20:59 +0000)]
* config.bfd: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:54:49 +0000 (20:54 +0000)]
* config.sub: add vxworks29k configuration.
Stan Shebs [Mon, 27 Feb 1995 20:03:49 +0000 (20:03 +0000)]
* monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.
Ian Lance Taylor [Fri, 24 Feb 1995 20:25:52 +0000 (20:25 +0000)]
tweak previous patch
Ian Lance Taylor [Fri, 24 Feb 1995 19:42:43 +0000 (19:42 +0000)]
* config/tc-mips.c (load_register): Correctly handle 32 bit values
with the high bit set in 64 bit mode.
PR 6381.
Stu Grossman [Fri, 24 Feb 1995 05:09:37 +0000 (05:09 +0000)]
* monitor.c (monitor_load_ascii_srec): Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.
Jeff Law [Fri, 24 Feb 1995 00:47:29 +0000 (00:47 +0000)]
* gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
Jeff Law [Fri, 24 Feb 1995 00:34:19 +0000 (00:34 +0000)]
* hppa.h (fstwx): Fix single-bit error.
Jeff Law [Thu, 23 Feb 1995 06:16:35 +0000 (06:16 +0000)]
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
add symbol if it's a common symbol (the value of a common symbol
is its size, not a value in the traditional sense).
Jim Kingdon [Thu, 23 Feb 1995 02:30:57 +0000 (02:30 +0000)]
* gdb.base/term.exp: Do not give a warning if not native, it is
not an abnormal condition.
Ian Lance Taylor [Thu, 23 Feb 1995 02:20:57 +0000 (02:20 +0000)]
* config/tc-mips.c (append_insn): If listing_prev_line is called,
call frag_grow to make sure there is still room for a variant.
Per Bothner [Wed, 22 Feb 1995 07:43:01 +0000 (07:43 +0000)]
* ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
(same as C's '(TYPE[])EXPR')
Angela Marie Thomas [Wed, 22 Feb 1995 04:56:32 +0000 (04:56 +0000)]
added regs.exp to Things-to-keep
Ian Lance Taylor [Wed, 22 Feb 1995 02:20:51 +0000 (02:20 +0000)]
* bout.c (b_out_slurp_reloc_table): Don't return an error if asked
for relocations for the .bss section.
PR 6377.
Angela Marie Thomas [Wed, 22 Feb 1995 01:36:16 +0000 (01:36 +0000)]
Added arc to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:34:47 +0000 (01:34 +0000)]
Added remote-mon.c and ser-go32-para.c to Things-to-lose
Jeff Law [Tue, 21 Feb 1995 22:15:19 +0000 (22:15 +0000)]
* som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
lengths.
Jim Kingdon [Tue, 21 Feb 1995 21:09:48 +0000 (21:09 +0000)]
* gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
t_char_array".
Stan Shebs [Tue, 21 Feb 1995 20:27:41 +0000 (20:27 +0000)]
* top.c (print_gdb_version): Update the year.
David Edelsohn [Tue, 21 Feb 1995 17:55:04 +0000 (17:55 +0000)]
Recognize arm-*-pe* (psion project).
David Edelsohn [Tue, 21 Feb 1995 17:39:52 +0000 (17:39 +0000)]
Remove CYG-LOC from lynx.
Peter Schauer [Tue, 21 Feb 1995 07:56:45 +0000 (07:56 +0000)]
* Makefile.in (ALL_MACHINES): Add w65-dis.o.
Jeff Law [Tue, 21 Feb 1995 05:14:22 +0000 (05:14 +0000)]
Add missing ChangeLog entry.
Jeff Law [Tue, 21 Feb 1995 05:12:58 +0000 (05:12 +0000)]
Add missed log entry for som.c.
Per Bothner [Tue, 21 Feb 1995 00:29:08 +0000 (00:29 +0000)]
* pr-5016.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Per Bothner [Tue, 21 Feb 1995 00:20:48 +0000 (00:20 +0000)]
* chillvars.ch: Add missing INIT's.
* chillvars.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Jim Kingdon [Sun, 19 Feb 1995 22:36:18 +0000 (22:36 +0000)]
* Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
`..' not in `../..'.
Jim Kingdon [Sun, 19 Feb 1995 21:47:32 +0000 (21:47 +0000)]
* lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.
Jim Kingdon [Sun, 19 Feb 1995 21:12:56 +0000 (21:12 +0000)]
* gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.
Peter Schauer [Sun, 19 Feb 1995 19:08:34 +0000 (19:08 +0000)]
Sun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* procfs.c (unconditionally_kill_inferior): Don't issue a PIOCKILL
in addition to a PIOCSSIG to kill the inferior.
Per Bothner [Fri, 17 Feb 1995 23:24:22 +0000 (23:24 +0000)]
* gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type.
Per Bothner [Fri, 17 Feb 1995 23:20:29 +0000 (23:20 +0000)]
* parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
* valops.c (value_cast): If a cast like (TYPE[])VALUE (i.e. array
of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
* c-typeprint.c (c_type_print_varspec_suffix): If array length
is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.
David Edelsohn [Fri, 17 Feb 1995 20:44:32 +0000 (20:44 +0000)]
* arc-dis.c (arc_get_disassembler): Change argument to int,
one of bfd_mach_arc_xxx. All callers updated.
Ian Lance Taylor [Fri, 17 Feb 1995 20:42:22 +0000 (20:42 +0000)]
--set-section-flags patch from dje.
David Edelsohn [Fri, 17 Feb 1995 20:41:34 +0000 (20:41 +0000)]
* dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.
Ian Lance Taylor [Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)]
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF. From gary@Intrepid.COM (Gary Funck).
Ian Lance Taylor [Fri, 17 Feb 1995 19:54:47 +0000 (19:54 +0000)]
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.
Ian Lance Taylor [Fri, 17 Feb 1995 19:21:24 +0000 (19:21 +0000)]
* objcopy.c (struct section_list): Add fields remove, set_flags,
and flags. Change adjust from boolean to enum.
(remove_sections): Remove static variable.
(sections_removed): New static variable.
(copy_options): Add --set-section-flags.
(copy_usage): Mention --set-section-flags.
(parse_flags): New static function.
(find_section_list): New static function.
(is_strip_symbol): Change return type from int to boolean.
(is_strip_section): New static function.
(filter_symbols): Call is_strip_section.
(copy_object): When adding sections, check for specified flags or
VMA. Call filter_symbols if any sections are being removed.
(setup_section): Use find_section_list function rather than
looking through remove_sections and adjust_sections. Handle
--set-section-flags.
(copy_section): Use find_section_list rather than looking through
remove_sections.
(strip_main): Use find_section_list instead of adding items to
sections_removed.
(copy_main): Use find_section_list instead of adding items to
sections_removed and adjust_sections. Handle --set-section-flags.
* binutils.texi, objcopy.1: Document --set-section-flags.
Ian Lance Taylor [Fri, 17 Feb 1995 18:35:40 +0000 (18:35 +0000)]
* hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Only define SEEK_SET and SEEK_CUR if they are not already defined.
Remove all external function declarations.
Michael Meissner [Fri, 17 Feb 1995 18:09:23 +0000 (18:09 +0000)]
Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from GOT start.
Michael Meissner [Fri, 17 Feb 1995 17:51:00 +0000 (17:51 +0000)]
Add PC relative support to PowerPC ELF assembler.
Michael Meissner [Fri, 17 Feb 1995 17:41:08 +0000 (17:41 +0000)]
Make GOT relocs offset by 32768, which allows the table to double in size.
Ian Lance Taylor [Fri, 17 Feb 1995 17:26:48 +0000 (17:26 +0000)]
* syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.
Ian Lance Taylor [Fri, 17 Feb 1995 16:57:18 +0000 (16:57 +0000)]
* coffgen.c (coff_real_object_p): Set start address and flags
before calling coff_mkobject_hook. Restore them on failure.
* ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
clear D_PAGED.
PR 6341.
Ian Lance Taylor [Fri, 17 Feb 1995 16:46:52 +0000 (16:46 +0000)]
* coffgen.c: Reindented.
J.T. Conklin [Fri, 17 Feb 1995 00:54:00 +0000 (00:54 +0000)]
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
(LDFLAGS): Set to -Xlinker -Ur.
Jim Kingdon [Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)]
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
David Edelsohn [Thu, 16 Feb 1995 22:40:19 +0000 (22:40 +0000)]
* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
(bfd_install_relocation): Likewise.
David Edelsohn [Thu, 16 Feb 1995 22:35:50 +0000 (22:35 +0000)]
* expr.c (operand): Move md_operand handling to default case
(so it works).
Ian Lance Taylor [Thu, 16 Feb 1995 22:35:36 +0000 (22:35 +0000)]
* mips-opc.c: Add r4650 mul instruction.
Michael Meissner [Thu, 16 Feb 1995 21:31:22 +0000 (21:31 +0000)]
Rewrite insque/remque support to cast all pointers to PTR.
Michael Meissner [Thu, 16 Feb 1995 21:09:22 +0000 (21:09 +0000)]
Rewrite Linux insque/remque support again.
J.T. Conklin [Thu, 16 Feb 1995 18:42:42 +0000 (18:42 +0000)]
add 1995 to copyright
J.T. Conklin [Thu, 16 Feb 1995 18:41:54 +0000 (18:41 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
Removed, these values are set by lib/gdb.exp.
* lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
Ian Lance Taylor [Thu, 16 Feb 1995 18:23:57 +0000 (18:23 +0000)]
* hosts/std-host.h: Remove all function declarations which return
int or void, except the one for free.
J.T. Conklin [Thu, 16 Feb 1995 01:10:04 +0000 (01:10 +0000)]
* config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
of replicating gdb startup code.
J.T. Conklin [Thu, 16 Feb 1995 00:44:43 +0000 (00:44 +0000)]
* config/mt-vxworks (LDFLAGS): Set to -r.
(CFLAGS_FOR_TARGET): Removed.
* config/vx-gdb.exp: always set prompt; gdb.exp sets it to
(gdb) and gdb for vxworks uses (vxgdb).
J.T. Conklin [Thu, 16 Feb 1995 00:35:53 +0000 (00:35 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
program_transform_name to determine the gdb name used by the
target.
Stan Shebs [Wed, 15 Feb 1995 23:19:55 +0000 (23:19 +0000)]
keep Windows GDB, believe it or not
Michael Meissner [Wed, 15 Feb 1995 22:59:36 +0000 (22:59 +0000)]
Declare insque/remque as int funcs if not Linux.
Michael Meissner [Wed, 15 Feb 1995 22:57:53 +0000 (22:57 +0000)]
Only protect insque/remque on Linux.
J.T. Conklin [Wed, 15 Feb 1995 22:28:51 +0000 (22:28 +0000)]
* configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
J.T. Conklin [Wed, 15 Feb 1995 22:01:50 +0000 (22:01 +0000)]
* all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
* remote.texi (NetWare): New node, how to use gdbserve.nlm on
NetWare targets. Mostly stolen from the Server node.
Ian Lance Taylor [Wed, 15 Feb 1995 21:11:10 +0000 (21:11 +0000)]
Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.
Ian Lance Taylor [Wed, 15 Feb 1995 21:08:05 +0000 (21:08 +0000)]
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF. From gary@Intrepid.COM (Gary Funck).
Ian Lance Taylor [Wed, 15 Feb 1995 20:47:31 +0000 (20:47 +0000)]
* mips-opc.c: Add uld and usd macros for unaligned double load and
store.
Ian Lance Taylor [Wed, 15 Feb 1995 20:45:35 +0000 (20:45 +0000)]
* gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
* gas/mips/usd.d: New file.
* gas/mips/usd.s: New file.
* gas/mips/mips.exp: Run new tests.
Ian Lance Taylor [Wed, 15 Feb 1995 20:43:57 +0000 (20:43 +0000)]
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
loads and stores).
Ian Lance Taylor [Wed, 15 Feb 1995 20:34:32 +0000 (20:34 +0000)]
Gas reloc handling reeks.
PR 6343.
Michael Meissner [Wed, 15 Feb 1995 20:15:07 +0000 (20:15 +0000)]
All ELF relocs.
Michael Meissner [Wed, 15 Feb 1995 19:57:56 +0000 (19:57 +0000)]
Fix powerpc PC relative reloc & add some 16 bit relocs.
Michael Meissner [Wed, 15 Feb 1995 18:51:31 +0000 (18:51 +0000)]
Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux.
Ian Lance Taylor [Wed, 15 Feb 1995 17:20:35 +0000 (17:20 +0000)]
* mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define.
Ian Lance Taylor [Wed, 15 Feb 1995 16:48:18 +0000 (16:48 +0000)]
* config/tc-mips.c (macro): Don't use the target register as a
base register when building the address for M_L{W,D}{L,R}_AB.
Ian Lance Taylor [Wed, 15 Feb 1995 05:19:44 +0000 (05:19 +0000)]
x
Stu Grossman [Wed, 15 Feb 1995 01:45:39 +0000 (01:45 +0000)]
* annotate.c, breakpoint.c, defs.h, gdbtk.c, top.c: Replace
enable/disable_breakpoint_hook with modify_breakpoint_hook.
* gdbtk.c: General cleanups, get rid of unused variables. Redo
handling of stdout/stderr to just return output as the result of
the tcl command that caused the output. Cleanup -Wall stuff.
* (breakpoint_notify): Now returns just action and breakpoint
number.
* (gdb_get_breakpoint_list): New routine. Does the obvious.
* (gdb_get_breakpoint_info): Mostly derived from the old
breakpoint_notify, but returns lots more info.
* (dsprintf_append_element): Helper routine, works like printf,
but appends a tcl element onto the specified DString. Good for
building up lists as return values.
* (gdbtk_enable/disable_breakpoint): Go away. Replaced with
gdbtk_modify_breakpoint.
* (*many routines*): Use new result protocol.
* (call_wrapper): Make sure that recursive calls don't trash results.
* gdbtk.tcl: New windows, autocmd, and breakpoints.
* (gdbtk_tcl_fputs): Don't use $current_output_win redirection
anymore. It's not needed (in fact, this routine may not be needed
anymore).
* (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
notification protocol.
* (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
catches.
* (interactive_cmd): Use this wrapper around button invocations
of many commands. This will catch errors and put the results into
the command window. It also updates all the other windows.
* Also, change reliefs of most things to sunken. This actually
looks better.
* (create_file_win): Fix margin binding to allow breakpoints to
work again.
* (create_asm_win): Use return value of gdb_disassemble instead
of implicit I/O to the command window.
* (create_command_window): Use new result protocol to get output
from commands.
Ian Lance Taylor [Tue, 14 Feb 1995 23:07:21 +0000 (23:07 +0000)]
* objdump.c (with_source_code): New global variable.
(usage): Mention -S/--source.
(long_options): Add --source.
(prev_functionname, prev_line): New static variables.
(struct print_file_list): Define.
(print_files): New static variable.
(skip_to_line, show_line): New static functions.
(disassemble_data): Call show_line to handle -l and -S.
(main): Handle -S.
* binutils.texi, objdump.1: Document -S/--source.
Ian Lance Taylor [Tue, 14 Feb 1995 23:03:45 +0000 (23:03 +0000)]
* elf32-mips.c (struct mips_elf_find_line): Define.
(mips_elf_find_nearest_line): New static function.
(bfd_elf32_find_nearest_line): Define.
* libelf.h (struct elf_obj_tdata): Add find_line_info field.
* ecoff.c (_bfd_ecoff_swap_tir_in): Move to ecofflink.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise.
(mk_fdrtab): Likewise.
(lookup): Likewise.
(_bfd_ecoff_find_nearest_line): Just call _bfd_ecoff_locate_line
to do most of the work. Allocate find_line_info if necessary.
* ecofflink.c: Include "aout/stab_gnu.h".
(_bfd_ecoff_swap_tir_in): Move in from ecoff.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise. Use PTR instead of void *.
(mk_fdrtab): Move in from ecoff.c. Add debug_info, debug_swap,
and line_info arguments, and use them instead of ecoff_data.
(fdrtab_lookup): Move in from lookup in ecoff.c. Remove abfd
argument, add line_info argument. Use it instead of ecoff_data.
(_bfd_ecoff_locate_line): New function, mostly from the old
_bfd_ecoff_find_nearest_line in ecoff.c.
* libecoff.h (ecoff_data_type): Remove find_buffer, fdrtab_len and
fdrtab fields, replacing them find_line_info field.
(_bfd_ecoff_swap_tir_in): Declare.
(_bfd_ecoff_swap_tir_out): Declare.
(_bfd_ecoff_swap_rndx_in): Declare.
(_bfd_ecoff_swap_rndx_out): Declare.
* libbfd-in.h (_bfd_ecoff_locate_line): Declare.
* libbfd.h: Rebuild.
* configure.in: Don't use ecoff.o for bfd_elf32_bigmips_vec or
bfd_elf32_littlemips_vec.
* Makefile.in: Rebuild dependencies.
Jim Kingdon [Tue, 14 Feb 1995 22:02:49 +0000 (22:02 +0000)]
* expression.h: Move declaration of evaluate_subexp_with_coercion
from here...
* value.h: ...to here.
* expression.h: Don't include value.h
Jim Kingdon [Tue, 14 Feb 1995 20:01:30 +0000 (20:01 +0000)]
* expression.h: Move include of value.h until after declaration of
enum exp_opcode.
Michael Meissner [Tue, 14 Feb 1995 19:20:16 +0000 (19:20 +0000)]
Reconize old versions of the PowerPC machine code (EM_PPC_OLD and EM_CYGNUS_POWERPC).
Ian Lance Taylor [Tue, 14 Feb 1995 17:49:30 +0000 (17:49 +0000)]
* aoutf1.h (MACHTYPE_OK): Don't define if already defined. Don't
accept M_SPARC if bfd_arch_sparc is not in the list of supported
architectures, and don't accept a 680x0 machine type if
bfd_arch_m68k is not in the list of supported architectures.
* aout0.c (MACHTYPE_OK): Define.
Ian Lance Taylor [Tue, 14 Feb 1995 04:27:39 +0000 (04:27 +0000)]
* aoutx.h (NAME(aout,swap_ext_reloc_in)): Don't return a pointer
to garbage if the symbol index is out of range.
(NAME(aout,swap_std_reloc_in)): Likewise.
Ian Lance Taylor [Mon, 13 Feb 1995 21:18:22 +0000 (21:18 +0000)]
* config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
* config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
value of a defined symbol; the value was added in by
fixup_segment. This was previously corrected, if the reloc was
changed to be against a section symbol, in tc_gen_reloc.
David Edelsohn [Mon, 13 Feb 1995 19:07:55 +0000 (19:07 +0000)]
* arc.h (ARC_OPERAND_LIMM): New flag.
Ian Lance Taylor [Mon, 13 Feb 1995 19:04:05 +0000 (19:04 +0000)]
Revert this patch, since it breaks linking PIC code with no dynamic
objects:
* elfcode.h (elf_bfd_final_link): Add assertion to make sure that
dynamic and dynobj are in synch.
Stan Shebs [Mon, 13 Feb 1995 00:26:39 +0000 (00:26 +0000)]
* remote-e7000.c: Comprehensive cleanup; removal of dead code,
simplify code, declare things, format to standards.
(inferior.h, value.h, command.h, remote-utils.h): Include.
(e7000_login): Rename to e7000_login_command.
(e7000_ftp): Rename to e7000_ftp_command.
(e7000_drain): Rename to e7000_drain_command.
Stan Shebs [Sun, 12 Feb 1995 22:59:44 +0000 (22:59 +0000)]
* irix5-nat.c (string.h): Include near beginning of file.
Jim Kingdon [Sun, 12 Feb 1995 21:54:20 +0000 (21:54 +0000)]
* valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
arg, it is a value not a symbol.
gcc -Wall lint:
* eval.c: Move declaration of evaluate_subexp_with_coercion from here..
* expression.h: ..to here.
* expression.h: Include value.h.
* ch-lang.c (evaluate_subexp_chill): Add default case in switch.
Jim Kingdon [Sun, 12 Feb 1995 21:34:19 +0000 (21:34 +0000)]
* gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
floats, chars, and shorts where there are ANSI-style function
definitions.
Per Bothner [Sun, 12 Feb 1995 19:47:48 +0000 (19:47 +0000)]
* pr-6292.ch, pr-6292.exp, Makefile.in: New test case.
Per Bothner [Sun, 12 Feb 1995 19:21:04 +0000 (19:21 +0000)]
* language.h (struct language_defn): New field evaluate_exp.
* c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
f-lang.c (f_language_defn), language.c (unknown_language_defn,
auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
Set evaluate_exp to evaluate_subexp_standard.
* ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
support for MULTI_SUBSCRIPT.
(chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
* eval.c (enum noside): Move from here ....
* expression.h (enum noside): ... to here.
(evaluate_subexp_standard): New prototype.
* eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
Removed lo-longer-needed test for chill_varying_type.
(evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
Per Bothner [Sun, 12 Feb 1995 19:18:00 +0000 (19:18 +0000)]
* ch-exp.y (maybe_expression_list): New non-terminal.
(primitive_value): Allow empty parameter list.
Per Bothner [Sun, 12 Feb 1995 18:54:50 +0000 (18:54 +0000)]
* symtab.c (add_param_to_type): Remove (commented-out) function,
since that functionality has been re-written.
* coffread.c: Remove commented-out add_param_to_type support.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
Per Bothner [Sun, 12 Feb 1995 18:51:42 +0000 (18:51 +0000)]
* valops.c (value_arg_coerce): Now takes param_type argument.
(call_function_by_hand): Convert arguments with value_arg_coerce
early, and overwrite original args with converted args.
No longer need multiple calls to value_arg_coerce.
(value_arg_push): Removed.
* hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
* mips-tdep.c (mips_push_arguments): Likewise.
* alpha-tdep.c (alpha_push_arguments): Likewise.
* rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
Likewise.
* value.h (value_arg_coerce): Remove declaration. (It's now static.)
* valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
Per Bothner [Sun, 12 Feb 1995 18:46:45 +0000 (18:46 +0000)]
* buildsym.c (finish_block): If finishing a function without known
parameter type info, set that from parameter symbols.
* c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
print parameter types, if available.
* ch-typeprint.c (chill_type_print_base): Likewise.
* gdbtypes.h (struct type): Remove function type field.
(TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
function types now that we're also storing parameter types.
And the payoff is much less.
* gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
(recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
* dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
Jim Kingdon [Sun, 12 Feb 1995 17:55:09 +0000 (17:55 +0000)]
* gdb.base/langs.exp, gdb.base/langs*: New test.
* gdb.base/Makefile.in: Build it.
* TODO: Remove item about checking that C names don't get C++
demangling applied; this test tests it.
This page took 0.039972 seconds and 4 git commands to generate.