Commit Graph

27887 Commits

Author SHA1 Message Date
Kevin Buettner
89727b6fbf Protoize ch-exp.c, core-regset.c. 2000-08-07 03:07:59 +00:00
Christopher Faylor
bfd7b64e23 Minor reformat. 2000-08-06 23:26:40 +00:00
Christopher Faylor
9d3789f7f1 * win32-nat.c: Perform various gcc warning cleanups.
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr.
(dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add.
(get_child_debug_event): Always reset last_sig.  Always reset inferior pid
appropriately.
(do_initial_child_stuff): New function.  Called when attaching or starting a
new inferior process.
(child_attach): Use do_initial_child_stuff.
(child_create_inferior): Ditto.
* config/i386/cygwin.mh (NAT_FILE): Set to modern location.
* config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
2000-08-06 23:25:32 +00:00
Denis Chertykov
463f102c0a * avr-dis.c (avr_operand): Use PARAMS macro in declaration.
Change return type from void to int.  Check the combination
	of operands, return 1 if valid.  Fix to avoid BUF overflow.
	Report undefined combinations of operands in COMMENT.
	Report internal errors to stderr.  Output the adiw/sbiw
	constant operand in both decimal and hex.
	(print_insn_avr): Disassemble ldd/std with displacement of 0
	as ld/st.  Check avr_operand () return value, handle invalid
	combinations of operands like unknown opcodes.
2000-08-06 14:12:36 +00:00
Denis Chertykov
45ee1401ab * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros.
Move related opcodes closer to each other.
	Minor changes in comments, list undefined opcodes.
2000-08-06 14:09:14 +00:00
Denis Chertykov
65b1d096bc * config/tc-avr.c: Use PARAMS macro in function declarations.
Don't declare md_pcrel_from_section (already in tc-avr.h).
	(avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros.
	(avr_operand): Don't set (unsigned) op_mask to -1.
2000-08-06 14:03:58 +00:00
Eli Zaretskii
3a45aed885 * go32-nat.c: (go32_wait): If child_cwd[] is empty, initialize
it to GDB's current directory.
	(go32_create_inferior, init_go32_ops): Initialize child_cwd[] to
	an empty string, to signal an uninitialized value.
	From Robert Hoehne <robert.hoehne@gmx.net>.
2000-08-06 07:19:38 +00:00
Ian Lance Taylor
f0dc282cbe Restore seemingly extraneous whitespace. It is required by older
versions of texinfo, including the one on sourceware.cygnus.com.
2000-08-05 18:41:46 +00:00
Jason Eckhardt
0e5136c692 2000-08-05 Jason Eckhardt <jle@cygnus.com>
* elf32-i860 (elf32_i860_howto_table): New structure.
        (lookup_howto): New function.
        (elf32_i860_reloc_type_lookup): New function.
        (elf32_i860_info_to_howto_rela): New function.
        (elf_code_to_howto_index): New structure.
        (elf_info_to_howto): Re-define as elf32_i860_info_to_howto_rela.
        (bfd_elf32_bfd_reloc_type_lookup): Re-define as
        elf32_i860_reloc_type_lookup.
2000-08-05 16:48:52 +00:00
Kevin Buettner
7a78d0eec8 Fixup SYMBOL_SECTION for objfiles_relocate(). 2000-08-04 23:13:50 +00:00
Nick Clifton
3d4ae3c0c6 Fix typo 2000-08-04 22:23:32 +00:00
Nick Clifton
9a29761041 Remove extraneous whotespace 2000-08-04 20:47:06 +00:00
Nick Clifton
c91d2e08dc Update to include descriptions of .popsection, .previous, .pushsection,
.subsection, .version, .vtable_entry, .vtable_inherit and .weak.
2000-08-04 20:39:01 +00:00
Kazu Hirata
ff5a4f04a2 Remove garbage. 2000-08-04 20:34:52 +00:00
Kazu Hirata
47926f603c 2000-08-05 Kazu Hirata <kazu@hxi.com>
* config/tc-cris.c: Fix formatting.
	* config/tc-i386.c: Likewise.
	* config/tc-sparc.c (sparc_ip): Simplify the code.
2000-08-04 18:43:45 +00:00
Kevin Buettner
afbb8d7a46 Add code for (re)building the minimal symbol hash tables. 2000-08-04 18:41:05 +00:00
Kevin Buettner
679ebd0f9c Fix date in comment. 2000-08-04 16:51:47 +00:00
Kevin Buettner
613e165759 DWARF2.1 64-bit support. 2000-08-04 16:25:30 +00:00
Jeff Law
7dca057bba * som.c (struct fixup_format): Constify `format'.
(som_hppa_howto_table): Use SOM_HOWTO macro.
        (try_prev_fixup, hppa_som_reloc): Decorate unused parameter.
        (som_bfd_reloc_type_lookup): Likewise.
        (compare_subspaces): Remove unused `count1', `count2'.
        (som_begin_writing): Remove unused `total_reloc_size'.
        (som_bfd_derive_misc_symbol_info): Decorate unused parameter.
        (som_print_symbol, som_bfd_is_local_label_name): Likewise.
        (som_set_reloc_info): Constify `cp'. Remove unused `addend'.
        (som_find_nearest_line): Decorate unused parameter(s).
        (som_sizeof_headers, som_get_symbol_info, som_write_armap): Likewise.
        (som_bfd_link_split_section): Likewise.
2000-08-04 15:17:37 +00:00
Andrew Cagney
d471ea57ab Re-implement ``set/show remote Z-packet ...'' commands so that each Z
packet sub-type can be explicitly controled.
2000-08-04 09:32:19 +00:00
Andrew Cagney
6688f7e9ab Revert SER_HARDWIRE regression. 2000-08-04 09:27:18 +00:00
Alan Modra
4b209b2234 Keep track of last optind value, and rename a couple of functions
for consistency.
2000-08-04 04:41:33 +00:00
Andrew Cagney
1dd4193b86 Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed. 2000-08-04 04:00:44 +00:00
Andrew Cagney
0a49d05ee0 Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED). 2000-08-04 03:17:57 +00:00
Ben Elliston
f6e6b40ff5 2000-08-04 Ben Elliston <bje@redhat.com>
* cgen-dis.in, cgen-asm.in, cgen-ibld.in: New files.
	* cgen.sh: Likewise.
2000-08-04 02:21:43 +00:00
Kazu Hirata
ab3e48dc5d 2000-08-04 Kazu Hirata <kazu@hxi.com>
* config/tc-cris.c: Rearrange code for readability.
	* config/tc-d10v.c: Fix formatting.
	* config/tc-m32r.c: Likewise.
	* config/tc-sparc.c: Likewise.
2000-08-04 01:01:32 +00:00
Nick Clifton
dcb5e6e634 If the destination of a BLX instruction is aligned on a half word boundary,
set the H bit.
2000-08-04 00:07:42 +00:00
Alexandre Oliva
24ffec7ab8 * configure.in (libstdcxx_flags): Don't use `"'. 2000-08-03 23:54:09 +00:00
Nick Clifton
bc67d8a6e3 Restore reverted code. Fix bug in reverted code which was eliminating too
many segments.
2000-08-03 19:40:29 +00:00
Alexandre Oliva
60523a834b * config-ml.in: Adjust multilib search paths to the
appropriate multilib tree.
2000-08-03 19:20:16 +00:00
Stephane Carrez
0922e2bfde Stephane Carrez maintainer of 68hc11 target 2000-08-03 19:17:27 +00:00
H.J. Lu
e1753d2c28 2000-08-03 H.J. Lu (hjl@gnu.org)
* ld-bootstrap/bootstrap.exp: Add strip.
2000-08-03 18:31:50 +00:00
Kevin Buettner
831662b3ca Protoization. 2000-08-03 18:17:58 +00:00
Nick Clifton
dac850af10 Add info about CGEN maintainers 2000-08-03 17:37:01 +00:00
H.J. Lu
c0f7859bc6 2000-08-03 H.J. Lu <hjl@gnu.org>
* section.c: Back out the change made by Nick Clifton
	<nickc@cygnus.com> on 2000-07-31. It breaks stripping dynamic
	binaries.
	* bfd-in2.h: Likewise.
	* elf.c: Likewise.
2000-08-03 13:50:35 +00:00
Alexandre Oliva
61ff180434 * elf32-sh.c (sh_elf_reloc_loop): Warning removal. 2000-08-03 09:30:50 +00:00
Andrew Cagney
98691afe51 Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* remote-mips.c (mips_expect, mips_expect_timeout, common_open,
 	fputs_readable): Make string pointer arguments constant.
2000-08-03 08:41:23 +00:00
Andrew Cagney
e255d535bb Minor tweeks. 2000-08-03 08:39:21 +00:00
Andrew Cagney
552054a8a4 List things for 5.1. 2000-08-03 05:49:02 +00:00
Kevin Buettner
732a6b2d95 Protoization. 2000-08-03 02:48:09 +00:00
Alexandre Oliva
daf644b5c9 * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to
commas in $LANGUAGES.
2000-08-03 02:22:11 +00:00
Alan Modra
28423a689e Select elf for Unixware 7 (ix86-*-sysv5*) 2000-08-03 01:01:05 +00:00
Jimmy Guo
c946fab65c * gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.
* gdb.hp/gdb.aCC/namespace.cc: Remove.	Moved to gdb.c++.
2000-08-03 00:47:59 +00:00
Jimmy Guo
7861024dc2 * gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSET
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P.

* gdbarch.c: Regenerated.
2000-08-02 22:18:42 +00:00
Jimmy Guo
bac5fc66f2 * gdb.base/sizeof.c: include <stdio.h>. 2000-08-02 22:13:01 +00:00
Jimmy Guo
73d28ce1c1 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
'finish', otherwise uncaptured gdb_prompt would potentially
throw remaining test points out of sync.
2000-08-02 22:10:10 +00:00
Jim Wilson
3d56ab850c Fix memory leaks for IA-64 opcode idescs.
gas/
	* config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode
	before ia64_find_opcode.
	(md_assemble): Likewise.
opcodes/
	* ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
2000-08-02 21:24:54 +00:00
DJ Delorie
63266560e9 2000-08-01 Alexandre Oliva <aoliva@redhat.com>
* configure.in (qCXX_FOR_TARGET): Use echo instead of expr.

2000-07-31  Alexandre Oliva  <aoliva@redhat.com>

	* configure.in (qCXX_FOR_TARGET): Quote `&' characters in
	CXX_FOR_TARGET for sed.

2000-07-30  Alexandre Oliva  <aoliva@redhat.com>

	* configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET):
	Do not override if already set in the environment or in configure.
	Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them.
	(FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses.
2000-08-02 18:56:20 +00:00
Elena Zannoni
8a90270125 2000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* remote-vx.c (vx_add_symbols): Fix typos.
2000-08-02 14:52:10 +00:00
Andrew Cagney
5a2402b8e0 Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (targetfile): Ignore TM_FILE, don't just issue
        warning.
        (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define.
        * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add.
        * config/nm-empty.h: Delete.
        * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE,
        GDB_NM_FILE or GDB_TM_FILE defined.
        * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h,
        xm_h and nm_h macro that are defined by configure.
        (tm_h, xm_h, tm_h): New.
        * configure, config.in: Regenerate
        * TODO: Update.
2000-08-02 11:11:47 +00:00