Commit Graph

33286 Commits

Author SHA1 Message Date
Andrew Cagney 26806ce251 * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
Add Richard Earnshaw to Arm maintainers.
2002-02-08 02:31:15 +00:00
Andrew Cagney a6b982030f Zap warning_begin() declaration. (Attempt two). 2002-02-08 00:53:17 +00:00
Andrew Cagney 97fdab622f * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
Delete macro.

(second attempt).
2002-02-08 00:46:39 +00:00
Michael Snyder def71bfa3c 2002-02-07 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (overlays): Change @var(_ovly_debug_event)
	to @code(_ovly_debug_event).
2002-02-08 00:39:45 +00:00
gdbadmin ac90933784 *** empty log message *** 2002-02-08 00:00:04 +00:00
Andrew Cagney c928edc06b * gdb.texinfo (How Overlays Work): Shrink the overlay diagram. 2002-02-07 23:58:41 +00:00
Michael Snyder 78b29b405f 2002-02-07 Michael Snyder <msnyder@redhat.com>
* solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
	Logic bug, remove misplaced else.
2002-02-07 23:08:55 +00:00
Alan Modra c7ef9c3fe5 daily update 2002-02-07 23:00:05 +00:00
Daniel Jacobowitz e108f47052 2002-02-07 Daniel Jacobowitz <drow@mvista.com>
* bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has
        been included, not drag it in.
        * bfd-in2.h: Regenerate.
2002-02-07 22:28:31 +00:00
Jim Blandy 37225f62c4 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
from here...
* gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
To here.  Disable this test on non-HP platforms.  Add big comment.
2002-02-07 22:02:31 +00:00
Nick Clifton 72ca629fe1 Document check-in procedures 2002-02-07 09:09:13 +00:00
Klee Dienes d88499536e 2002-02-07 Klee Dienes <klee@apple.com>
* fork-inferior.c (fork_inferior): Add '!' to the list of
        characters that need to be quoted when building a string for the
        shell.  Quote '!' specifically with a backslash, since CSH chokes
        when trying to evaluate "str!str".
2002-02-07 06:11:55 +00:00
Hans-Peter Nilsson 9636f65c5e * ld-selective/keepdot.s: Remove section specifier. 2002-02-07 02:48:40 +00:00
gdbadmin 4f7ddf32cd *** empty log message *** 2002-02-07 00:00:03 +00:00
Alan Modra 98b969a551 daily update 2002-02-06 23:00:05 +00:00
H.J. Lu 259d18a35d 2002-02-06 H.J. Lu (hjl@gnu.org)
* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update
	the mach and ISA fields if necessary.
2002-02-06 21:34:17 +00:00
Nick Clifton 095778a05e Only provide a typedef for bool if it is not defined. 2002-02-06 20:09:18 +00:00
Michael Snyder 1900040cf3 2002-02-04 Michael Snyder <msnyder@redhat.com>
* breakpoint.h (enum bptype): Add new overlay event bp type.
	(enable_overlay_breakpoints, disable_overlay_breakpoints): Export.

	* breakpoint.c (create_internal_breakpoint): New function.
	(internal_breakpoint_number): Moved into create_internal_breakpoint.
	(create_longjmp_breakpoint): Use create_internal_breakpoint.
	(create_thread_event_breakpoint): Ditto.
	(create_solib_event_breakpoint): Ditto.
	(create_overlay_event_breakpoint): New function.
	(enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
	(update_breakpoints_after_exec): Delete and re-initialize
	overlay event breakpoints after an exec.  Add FIXME comment
	about longjmp breakpoint.
	(print_it_typical): Ignore overlay event breakpoints.
	(print_one_breakpoint): Ditto.
	(mention): Ditto.
	(bpstat_what): Do not stop for overlay event breakpoints.
	(delete_breakpoint): Don't delete overlay event breakpoints.
	(breakpoint_re_set_one): Delete the overlay event breakpoint.
	(breakpoint_re_set): Re-create overlay event breakpoint.

	* symfile.c (overlay_auto_command): Enable overlay breakpoints.
	(overlay_manual_command): Disable overlay breakpoints.
	(overlay_off_command): Disable overlay breakpoints.
2002-02-06 18:31:07 +00:00
Michael Snyder 81d4647008 2002-02-06 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (overlays): Mention new magic symbol
	'_ovly_debug_event', which allows GDB to keep better track
	of overlays.
2002-02-06 18:29:38 +00:00
Alexandre Oliva 9f77fa0614 * MAINTAINERS: Added self as SH co-maintainer. 2002-02-06 18:23:16 +00:00
Nick Clifton f13b834e1d Select the highest known ARM architecture when an F_ARM_5 flag is detected,
since we cannot be sure exactly which architecture this represents.
2002-02-06 16:29:28 +00:00
Richard Earnshaw 082fc60dfc * arm-tdep.c: Include elf-bfd.h and coff/internal.h.
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
to here from config/tm-arm.h.
(coff_sym_is_thumb): Make static.
(arm_elf_make_msymbol_special): New function.
(arm_coff_make_msymbol_special): New function.
* config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
(MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
(coff_sym_is_thumb): Delete declaration.
(arm_elf_make_msymbol_special): Declare.
(arm_coff_make_msymbol_special): Declare.
(ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
(COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.
2002-02-06 15:21:17 +00:00
Richard Earnshaw 039c576668 * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. 2002-02-06 13:12:14 +00:00
Richard Earnshaw 5e74b15c0d * gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* arch-utils.c (default_print_float_info): New function.
* arch-utils.h (default_print_float_info): Prototype it.
* infcmd.c (float_info): Call PRINT_FLOAT_INFO.
* doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
(PRINT_FLOAT_INFO): Document it.

* arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
* config/arm/tm-arm.h (FLOAT_INFO): Delete.
(PRINT_FLOAT_INFO): Define.
2002-02-06 13:00:49 +00:00
Richard Earnshaw a8ec217795 Remove some extraneous conflict markers. 2002-02-06 10:31:07 +00:00
Pierre Muller 58fa08f090 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (_initialize_check_for_gdb_ini):
	Add typecast to sprintf argument to suppress a warning.
2002-02-06 09:27:29 +00:00
Pierre Muller 7393af7c90 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
win32-nat.c (last_sig): Changed type of variable to target_signal,
	to allow easier handling of pass state.
	(DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
	that gives exception name and address.
	(handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
	and set last_sig value to ourstatus->value.sig. Some missing
	exceptions added.
	(child_continue): Correctly report continue_status.
	(get_child_debug_event,do_initial_child_stuff): Set last_sig to
	TARGET_SIGNAL_0 (new default value).
	(child_resume): consider sig argument passed to decide if
	the exception should be passed to debuggee or not.
2002-02-06 09:14:50 +00:00
Alexandre Oliva 6b32719e57 * config/tc-sh.c (parse_at): Install the correct version of
2002-02-04's patch.
2002-02-06 06:26:14 +00:00
Alexandre Oliva e93c640ed2 * gas/sh/pic.d, gas/sh/pic.s: New test.
* gas/sh/basic.exp: Run it.
2002-02-06 06:18:28 +00:00
Alexandre Oliva ac3f04d7f1 * config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
assume fixP->fx_subsy is non-NULL.
2002-02-06 05:34:34 +00:00
Michael Snyder 6af4589cb6 2002-02-05 Michael Snyder <msnyder@redhat.com>
* regcache.c (fetch_register): Call target_fetch_register
	only if we don't call FETCH_PSEUDO_REGISTER.
	(store_register): Call target_store_register only if we
	don't call STORE_PSEUDO_REGISTER.
2002-02-06 03:16:38 +00:00
Elena Zannoni a2cf933af4 2002-02-04 Elena Zannoni <ezannoni@redhat.com>
* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and
	ELF_MAKE_MSYMBOL_SPECIAL.
	* gdbarch.c, gdbarch.h: Regenerate.
	* arch-utils.c (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): New functions.
	* arch-utils.h (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): Export.
	* elfread.c (elf_symtab_read): Compile use of
	ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
	multiarched.
	* coffread.c (coff_symtab_read): Ditto, for
	COFF_MAKE_MSYMBOL_SPECIAL.
2002-02-06 01:20:23 +00:00
gdbadmin 9a36a60b53 *** empty log message *** 2002-02-06 00:00:03 +00:00
Jim Blandy e1ad829b91 * mi-regs.exp: Various cleanups for SPARC-only tests.
(test_breakpoints_creation_and_listing): Format of breakpoint
table has changed.
(sparc_register_tests): Expand floating-point number regexp to
recognize NaN values, too.  Replace ineffectual single backslash
before a hyphen with a double backslash.  Don't check the exact
numbers of the registers which have changed, since there's no way
to know which registers changed, exactly; just check that the
result is well-formed.
* mi0-regs.exp: (sparc_register_tests): Same as for
sparc_register_tests in mi-regs.exp.
2002-02-05 23:58:45 +00:00
Jim Blandy 15002962be * mi-var-child.exp ("get children of struct_declarations", "get
children of struct_declarations.s2.u2.u1s2", "get children of
weird"): Tolerate argument types when they appear in function
types.  (Dwarf 2 includes prototype info; STABS does not.)
* mi0-var-child.exp: Same.
2002-02-05 23:56:45 +00:00
Jim Blandy 6bb7be4385 * solib-svr4.c (svr4_truncate_ptr): New function.
(svr4_relocate_section_addresses): Do the address arithmetic with
the appropriate truncation for target addresses, even when
CORE_ADDR is larger than a target address.
2002-02-05 23:28:13 +00:00
Alan Modra 91542be942 daily update 2002-02-05 23:00:06 +00:00
Daniel Jacobowitz e18651ecb3 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (mywait): Cast second argument of waitpid
        to (int *).
2002-02-05 22:14:09 +00:00
Daniel Jacobowitz 6b2725be39 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (kill_inferior): Remove commented out
        code.
2002-02-05 22:01:49 +00:00
Daniel Jacobowitz fca9e6033a 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.
2002-02-05 21:41:29 +00:00
Frank Ch. Eigler cadaa5224a * opcodes disassembler extension
[includes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

	* dis-asm.h (disassemble_info): New field `insn_sets'.
	(INIT_DISASSEMBLE_INFO): Clear it.

[opcodes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

	* cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.
2002-02-05 19:40:45 +00:00
Jim Blandy 39bf46527b * mi-cmd-stack.c (list_args_or_locals): Move declaration of
print_me inside the loop body, so it gets re-initialized every
iteration.  The cases for the different symbol kinds leave
print_me unchanged if they don't want the symbol printed.
2002-02-05 19:28:36 +00:00
Daniel Jacobowitz 6c537a5241 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c: Remove unused include files.
2002-02-05 19:09:34 +00:00
Daniel Jacobowitz d844cde6ca 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
        (read_inferior_memory): Use it.
        (write_inferior_memory): Likewise.
2002-02-05 19:06:26 +00:00
Daniel Jacobowitz d07c63e764 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c (create_inferior): Call strerror instead of
        grubbing through sys_errlist.
2002-02-05 18:49:55 +00:00
Daniel Jacobowitz da6d8c049c 2002-02-05 Daniel Jacobowitz <drow@mvista.com>
* gdbserver/linux-low.c: New file, copied exactly from low-linux.c.
2002-02-05 18:44:18 +00:00
DJ Delorie 44354ae183 merge from gcc 2002-02-05 17:53:17 +00:00
Nick Clifton c17aa31873 Modify previous patch so that it is only triggered for COFF format executables. 2002-02-05 11:22:26 +00:00
Nick Clifton 82f6addb56 Updated Turkish translations 2002-02-05 10:25:59 +00:00
Pierre Muller 5b421780f1 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
win32-nat.c (handle_exception): Handle Ctrl-Break exception.
2002-02-05 08:04:22 +00:00