]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
22 years agoUse helpful names instead of cryptically overloaded bfd_reloc error codes.
Nick Clifton [Mon, 2 Sep 2002 14:23:43 +0000 (14:23 +0000)] 
Use helpful names instead of cryptically overloaded bfd_reloc error codes.
Replace caching of external symbols with caching of internal symbols obtained
from calling bfd_elf_get_elf_syms().
Fixup problems with freeing cached allocated memory blocks.

22 years ago * cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
Alan Modra [Mon, 2 Sep 2002 11:52:01 +0000 (11:52 +0000)] 
* cpu-pj.c (scan_mach, compatible, arch_info_struct): Remove.
(bfd_pj_arch): Use bfd_default_scan.
* cpu-v850.c (scan): Remove.
(N): Use bfd_default_scan.
* cpu-z8k.c (scan_mach): Remove.
(arch_info_struct, bfd_z8k_arch): Reorganize so that the default is
first.  Use bfd_default_scan.

22 years ago * ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
Alan Modra [Mon, 2 Sep 2002 11:47:42 +0000 (11:47 +0000)] 
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants.
(ecoff_get_magic): Likewise.
* elf32-v850.c (v850_elf_object_p): Likewise.
(v850_elf_final_write_processing): Likewise.
* mipsbsd.c (MY(set_arch_mach)): Likewise.
(MY(write_object_contents)): Likewise.
* coff64-rs6000.c (xcoff64_write_object_contents): Likewise.
* coffcode.h (coff_write_object_contents): Likewise.
(coff_set_arch_mach_hook): Add comment describing machine == 0.
Remove unnecessary "machine" assignments.
(coff_write_relocs): Test for the absolute section sym by testing
section and flags.

* pdp11.c (NAME(aout,machine_type)): Like aoutx.h.

22 years agoRemove redundant references to V850EA architecture.
Nick Clifton [Mon, 2 Sep 2002 11:44:39 +0000 (11:44 +0000)] 
Remove redundant references to V850EA architecture.

22 years ago * arc-opc.c: Include bfd.h.
Alan Modra [Mon, 2 Sep 2002 06:00:05 +0000 (06:00 +0000)] 
* arc-opc.c: Include bfd.h.
(arc_get_opcode_mach): Subtract off base bfd_mach value.

22 years ago * aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
Alan Modra [Mon, 2 Sep 2002 05:58:55 +0000 (05:58 +0000)] 
* aoutx.h (NAME(aout,machine_type)): Recognize bfd_mach_i386_i386
and bfd_mach_i386_i386_intel_syntax.

22 years ago*** empty log message ***
gdbadmin [Mon, 2 Sep 2002 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 2 Sep 2002 00:00:06 +0000 (00:00 +0000)] 
daily update

22 years ago* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
Jason Thorpe [Sun, 1 Sep 2002 23:24:19 +0000 (23:24 +0000)] 
* Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h),
$(i386_tdep_h), and nbsd-tdep.h to dependency list.
* i386-tdep.h (i386bsd_init_abi): New prototype.
* i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from
function declaration.
(_initialize_i386bsd_tdep): Don't register OS ABI handlers
for NetBSD-a.out or NetBSD-ELF.
(i386nbsd_sigtramp_start, i386nbsd_sigtramp_end)
(i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset)
(i386nbsd_init_abi, i386nbsdelf_init_abi): Move to...
* i386nbsd-tdep.c: ...here.  Include arch-utils.h, i386-tdep.h,
and nbsd-tdep.h.
(i386nbsd_pc_in_sigtramp): New function.
(i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to
i386nbsd_pc_in_sigtramp.
(_initialize_i386nbsd_tdep): Register i386nbsd_init_abi
and i386nbsdelf_init_abi OS ABI handlers.
* config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o.
* config/i386/nbsdelf.mt (TDEPFILES): Likewise.

22 years ago*** empty log message ***
Mark Kettenis [Sun, 1 Sep 2002 22:16:04 +0000 (22:16 +0000)] 
*** empty log message ***

22 years ago* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
Mark Kettenis [Sun, 1 Sep 2002 22:05:42 +0000 (22:05 +0000)] 
* i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE
registers if the target really has them.

* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".
Fix some whitespace problems.

22 years ago * tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
Stephane Carrez [Sun, 1 Sep 2002 17:23:59 +0000 (17:23 +0000)] 
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
is not displayed.

22 years ago * tui-out.c (tui_out_new): Clear start_of_line.
Stephane Carrez [Sun, 1 Sep 2002 16:12:52 +0000 (16:12 +0000)] 
* tui-out.c (tui_out_new): Clear start_of_line.
* tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines
to update the current source line.

22 years ago * tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
Stephane Carrez [Sun, 1 Sep 2002 12:49:32 +0000 (12:49 +0000)] 
* tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
(tui_install_hooks): Install it.
(tui_remove_hooks): Remove it.

22 years ago * tuiData.h (FILE_PREFIX): Don't define.
Stephane Carrez [Sun, 1 Sep 2002 10:49:00 +0000 (10:49 +0000)] 
* tuiData.h (FILE_PREFIX): Don't define.
(blankStr, locationStr, breakStr): Don't declare.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Likewise.
(displayableWinContentOf, displayableWinContentAt): Likewise.
(winElementHeight, winByName, freeAllWindows): Likewise.

* tuiData.c (blankStr, locationStr, breakStr): Remove.
(breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Remove.
(displayableWinContentOf, displayableWinContentAt): Remove.
(winElementHeight, winByName, freeAllWindows): Remove.

22 years ago * tuiStack.c (tui_make_status_line): New function to create the
Stephane Carrez [Sun, 1 Sep 2002 10:20:48 +0000 (10:20 +0000)] 
* tuiStack.c (tui_make_status_line): New function to create the
status line.
(tuiShowLocatorContent): Use it instead of displayableWinContentAt.
* tuiData.h (PROC_PREFIX): Use "In:" to reduce length of prefix.
(PC_PREFIX): Use upper case.
(SINGLE_KEY, MIN_LINE_WIDTH, MIN_PROC_WIDTH): Define.
(MAX_TARGET_WIDTH, MAX_PID_WIDTH): Define.

22 years ago * gdb.texinfo (TUI Overview): Document breakpoint markers.
Stephane Carrez [Sun, 1 Sep 2002 08:52:36 +0000 (08:52 +0000)] 
* gdb.texinfo (TUI Overview): Document breakpoint markers.

22 years ago * gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
Stephane Carrez [Sun, 1 Sep 2002 08:39:48 +0000 (08:39 +0000)] 
* gdb.texinfo (TUI Single Key Mode): Document new SingleKey mode.
(TUI Keys): Likewise.

22 years agodaily update
Alan Modra [Sun, 1 Sep 2002 00:00:07 +0000 (00:00 +0000)] 
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 1 Sep 2002 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
Jason Thorpe [Sat, 31 Aug 2002 22:47:41 +0000 (22:47 +0000)] 
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

(ChangeLog check-in missed in previous commit.)

22 years ago* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
Jason Thorpe [Sat, 31 Aug 2002 22:46:20 +0000 (22:46 +0000)] 
* Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather
than nbsd-tdep.h.

22 years ago* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
Jason Thorpe [Sat, 31 Aug 2002 22:43:38 +0000 (22:43 +0000)] 
* Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency
list.
* alphanbsd-tdep.c (alphanbsd_sigcontext_addr)
(alphanbsd_skip_sigtramp_frame): New functions.
(alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to
alphanbsd_skip_sigtramp_frame.  Set tdep->sigcontext_addr
to alphanbsd_sigcontext_addr.

22 years ago* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
Jason Thorpe [Sat, 31 Aug 2002 20:28:37 +0000 (20:28 +0000)] 
* Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency
list.
(nbsd-tdep.o): Add $(gdb_string_h) to dependency list.
* alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use
nbsd_pc_in_sigtramp.
* mipsnbsd-tdep.c: Include nbsd-tdep.h.
(mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp.
* nbsd-tdep.c: Include gdb_string.h.
(nbsd_pc_in_sigtramp): New function.
* nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype.
* ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function.
(ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
ppcnbsd_pc_in_sigtramp.
* shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function.
(shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to
shnbsd_pc_in_sigtramp.
* sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set
gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp.
* config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.

22 years ago * read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
Hans-Peter Nilsson [Sat, 31 Aug 2002 18:51:07 +0000 (18:51 +0000)] 
* read.c (do_align): Use ATTRIBUTE_UNUSED_LABEL for label, not
ATTRIBUTE_UNUSED.

22 years ago * ld-mmix/bpo-10.d: Tweak for change in symbols handling.
Hans-Peter Nilsson [Sat, 31 Aug 2002 17:23:58 +0000 (17:23 +0000)] 
* ld-mmix/bpo-10.d: Tweak for change in symbols handling.
* ld-mmix/bpo-11.d: Ditto.

* ld-mmix/b-nosym.d: Adjust for changed output for absence of
symbols.

* ld-mmix/sec-7m.d: Rename tested section from .debug_info to
.di.
* ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s,
ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto.

22 years ago * tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
Stephane Carrez [Sat, 31 Aug 2002 12:25:29 +0000 (12:25 +0000)] 
* tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
(tuiClearAllExecInfosContent): Likewise.
(tuiEraseAllExecInfosContent): Ditto.
(tuiUpdateSourceWindowsFromLocator): Ditto.
* tuiSourceWin.c (tuiUpdateAllExecInfos): Remove.
* tui.h (tui_vCheckDataValues): Don't declare.
(tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise.
(tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto.
(tui_vShowFrameInfo): Ditto.

22 years ago2002-08-31 Stephane Carrez <stcarrez@nerim.fr>
Stephane Carrez [Sat, 31 Aug 2002 12:02:14 +0000 (12:02 +0000)] 
2002-08-31  Stephane Carrez  <stcarrez@nerim.fr>

* tui.c (tui_commands): Table of single key commands.
(tui_rl_command_key): New function to execute gdb command.
(tui_rl_command_mode): New function to temporarily leave SingleKey.
(tui_rl_next_keymap): New function to enter/leave the SingleKey mode.
(tui_rl_startup_hook): New function to avoid prompt display by
readline functions.
(tui_set_key_mode): New function to set the key mode and install
the readline keymap.
(tui_initialize_readline): Create TUI SingleKey readline map.
(tui_enable): Install rl_startup_hook.
(tui_disable): Remove it.
* tui.h (enum tui_key_mode): Declare.
(tui_set_key_mode, tui_current_key_mode): Declare.
* tuiIO.c (tui_redisplay_readline): Don't display the prompt in
SingleKey mode.
* tuiIO.h (tui_redisplay_readline): Declare.

22 years ago*** empty log message ***
gdbadmin [Sat, 31 Aug 2002 00:00:31 +0000 (00:00 +0000)] 
*** empty log message ***

22 years agodaily update
Alan Modra [Sat, 31 Aug 2002 00:00:08 +0000 (00:00 +0000)] 
daily update

22 years ago * tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
Stephane Carrez [Fri, 30 Aug 2002 21:49:49 +0000 (21:49 +0000)] 
* tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
current line.

22 years ago * tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
Stephane Carrez [Fri, 30 Aug 2002 20:23:34 +0000 (20:23 +0000)] 
* tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
(_hasBreak): Remove.
(tuiShowSource): Fix comment indentation.
(tuiSourceIsDisplayed): Likewise.
(tuiVerticalSourceScroll): Likewise.

22 years ago * tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
Stephane Carrez [Fri, 30 Aug 2002 20:07:05 +0000 (20:07 +0000)] 
* tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
(tui_update_breakpoint_info): Declare.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.

* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint
information using tui_update_breakpoint_info.
(tui_update_all_breakpoint_info): New function to refresh all
execution windows.
(tui_update_breakpoint_info): New function to recompute the status
of exec info window from breakpoints.
(tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
(tuiSetExecInfoContent): Use the exec info flags computed by
tui_update_breakpoint_info to display a short status about breakpoints.

* tuiData.h (TuiExecInfoContent): New for exec info string.
(TuiWhichElement): Use it.
(TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines.
(TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines.
(TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise.
(TUI_EXECINFO_SIZE): Likewise.
* tuiData.c (initContentElement): Clear exec info string.

* tui-hooks.c (get_breakpoint): Remove.
(tui_event_create_breakpoint): Call tui_update_all_breakpoint_info.
(tui_event_delete_breakpoint): Likewise.
(tui_event_modify_breakpoint): Likewise.

22 years ago * bfd-in.h (align_power): Cast constants to bfd_vma type.
Dave Anglin [Fri, 30 Aug 2002 18:36:18 +0000 (18:36 +0000)] 
* bfd-in.h (align_power): Cast constants to bfd_vma type.
* bfd-in2.h (align_power): Likewise.

22 years agoUpdate description to reflect D10V TS3 board.
Nick Clifton [Fri, 30 Aug 2002 11:34:40 +0000 (11:34 +0000)] 
Update description to reflect D10V TS3 board.

22 years ago * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
Alan Modra [Fri, 30 Aug 2002 08:30:41 +0000 (08:30 +0000)] 
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".

22 years ago * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
Alan Modra [Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)] 
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.

* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.

22 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 30 Aug 2002 08:11:44 +0000 (08:11 +0000)] 
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.

22 years ago2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr>
Pierre Muller [Fri, 30 Aug 2002 07:14:19 +0000 (07:14 +0000)] 
2002-08-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* breakpoint.c (breakpoint_init_inferior): Reset the val field of
watchpoints to NULL.
(insert_breakpoints): set val field of watchpoints if NULL.

22 years ago* symtab.c (lookup_symbol_aux): In the cases where we find a
Jim Blandy [Fri, 30 Aug 2002 03:24:00 +0000 (03:24 +0000)] 
* symtab.c (lookup_symbol_aux): In the cases where we find a
minimal symbol of an appropriate name and use its address to
select a symtab to read and search, use `name' (as passed to us)
as the demangled name when searching the symtab's global and
static blocks, not the minsym's name.

22 years agodaily update
Alan Modra [Fri, 30 Aug 2002 00:00:04 +0000 (00:00 +0000)] 
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 30 Aug 2002 00:00:01 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago* gdb.threads/pthreads.exp: Move the portable thread compilation
Jim Blandy [Thu, 29 Aug 2002 22:36:52 +0000 (22:36 +0000)] 
* gdb.threads/pthreads.exp: Move the portable thread compilation
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.

22 years ago * stack.c (print_frame_info_base): Always set current_source_symtab
Keith Seitz [Thu, 29 Aug 2002 19:59:35 +0000 (19:59 +0000)] 
    * stack.c (print_frame_info_base): Always set current_source_symtab
        and current_source_line.

22 years ago2002-08-29 Dave Brolley <brolley@redhat.com>
Dave Brolley [Thu, 29 Aug 2002 19:27:52 +0000 (19:27 +0000)] 
2002-08-29  Dave Brolley  <brolley@redhat.com>

* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.

22 years ago * linux-low.c (linux_create_inferior): Call setpgid. Return
Daniel Jacobowitz [Thu, 29 Aug 2002 18:50:25 +0000 (18:50 +0000)] 
    * linux-low.c (linux_create_inferior): Call setpgid.  Return
        the new PID.
        (unstopped_p, linux_signal_pid): Remove.
        (linux_target_ops): Remove linux_signal_pid.
        * remote-utils.c (putpkt, input_interrupt): Use signal_pid
        global instead of target method.
        * target.h (struct target_ops): Remove signal_pid.  Update comment
        for create_inferior.
        * server.c (signal_pid): New variable.
        (create_inferior): Set signal_pid.  Block SIGTTOU and SIGTTIN in
        gdbserver.  Set the child to be the foreground process group.
        (attach_inferior): Set signal_pid.

22 years agoMakefile.in: Add gen-zero-r0 option.
Nick Clifton [Thu, 29 Aug 2002 16:59:20 +0000 (16:59 +0000)] 
Makefile.in: Add gen-zero-r0 option.
sim-main.h (GPR_SET, GPR_CLEAR): Define.
simops.c (OP_24007E0):  Sign extend the imm9 operand of a mul instruction.

22 years ago * lib/mi-support.exp (mi_gdb_test): Add global declaration for
Keith Seitz [Thu, 29 Aug 2002 16:10:13 +0000 (16:10 +0000)] 
    * lib/mi-support.exp (mi_gdb_test): Add global declaration for
        expect_out so that callers can get at it.

22 years agoRemove redundant reference to E_V850EA_ARCH.
Nick Clifton [Thu, 29 Aug 2002 15:43:47 +0000 (15:43 +0000)] 
Remove redundant reference to E_V850EA_ARCH.

22 years ago * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
Joel Brobecker [Thu, 29 Aug 2002 15:08:54 +0000 (15:08 +0000)] 
    * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

22 years ago * chew.c (paramstuff, outputdots, perform, bang and usage): Remove
Dave Anglin [Thu, 29 Aug 2002 14:37:19 +0000 (14:37 +0000)] 
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
void from function definitions.

22 years agoAdd linker relaxation to v850 toolchain
Nick Clifton [Thu, 29 Aug 2002 06:49:35 +0000 (06:49 +0000)] 
Add linker relaxation to v850 toolchain

22 years agodaily update
Alan Modra [Thu, 29 Aug 2002 00:00:05 +0000 (00:00 +0000)] 
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 29 Aug 2002 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * tui.c (tuiGetLowDisassemblyAddress): Moved from here.
Stephane Carrez [Wed, 28 Aug 2002 20:33:27 +0000 (20:33 +0000)] 
* tui.c (tuiGetLowDisassemblyAddress): Moved from here.
* tuiDisassem.c (tuiGetLowDisassemblyAddress): To here, and use
tui_find_disassembly_address to find the starting address of
disassemble window.

22 years ago * stack.c (select_frame): Add FIXME concerning selected-frame
Keith Seitz [Wed, 28 Aug 2002 17:27:44 +0000 (17:27 +0000)] 
    * stack.c (select_frame): Add FIXME concerning selected-frame
        events.
        (select_frame_command): Send selected-frame-level-changed
        event notification, but only if the level actually changed.
        (up_silently_base): Add selected-frame-level-changed event
        notification.
        (down_silently_base): Likewise.

22 years ago2002-08-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 28 Aug 2002 16:01:31 +0000 (16:01 +0000)] 
2002-08-28  Dave Brolley  <brolley@redhat.com>

* gen-support.c (gen_support_h): Generate
'#define semantic_illegal <PREFIX>_semantic_illegal'.

22 years agoUpdate all .c dependencies.
Andrew Cagney [Wed, 28 Aug 2002 14:02:18 +0000 (14:02 +0000)] 
Update all .c dependencies.

22 years ago * objdump.c (dump_bfd): Restore lines accidentally deleted in
Alan Modra [Wed, 28 Aug 2002 12:32:06 +0000 (12:32 +0000)] 
* objdump.c (dump_bfd): Restore lines accidentally deleted in
last commit.

22 years agoAdd TMS320C4x support
Nick Clifton [Wed, 28 Aug 2002 10:38:51 +0000 (10:38 +0000)] 
Add TMS320C4x support

22 years ago * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
Alan Modra [Wed, 28 Aug 2002 03:35:59 +0000 (03:35 +0000)] 
* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
(TC_ADJUST_RELOC_COUNT): Tweak param name.
(TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
(TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
(RELOC_ENUM): Define.
(fix_new_internal): Use RELOC_ENUM.
(fix_new, fix_new_exp): Likewise.
(adjust_reloc_syms): Comment.  Remove unnecessary tests on sym != NULL.
Replace gotos with continue.
(write_relocs): Formatting.  Avoid symbol loops in
RELOC_EXPANSION_POSSIBLE case too.  Report bfd_reloc_outofrange
errors, and error number in other cases.
(fixup_segment): Remove param names from prototype.  Rename
"this_segment_type" to "this_segment".  Update linkrelax comment.
Remove "size, "place" and "where" local vars.  Formatting.  Update
"no symbol" comment.  Remove #if 0 and #if 1.

22 years ago * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
Alan Modra [Wed, 28 Aug 2002 01:55:46 +0000 (01:55 +0000)] 
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.

22 years ago * ld-discard/discard.exp: xfail m6812.
Alan Modra [Wed, 28 Aug 2002 00:11:40 +0000 (00:11 +0000)] 
* ld-discard/discard.exp: xfail m6812.
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.

22 years ago * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
Alan Modra [Wed, 28 Aug 2002 00:10:47 +0000 (00:10 +0000)] 
* configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.

22 years agodaily update
Alan Modra [Wed, 28 Aug 2002 00:00:04 +0000 (00:00 +0000)] 
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 28 Aug 2002 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

22 years ago * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust
Alan Modra [Tue, 27 Aug 2002 23:51:47 +0000 (23:51 +0000)] 
* gas/mcore/allinsn.d: Escape dots.  Pass -z to objdump and adjust
to suit.  Match coff relocs.  Match "from address pool" comments.
* gas/sparc/pcrel.s: Use 2b label in expressions.
* gas/sparc/pcrel64.s: Likewise.
* gas/sparc/pcrel.d: Adjust to suit.
* gas/sparc/pcrel64.d: Likewise.
* gas/vtable/vtable.exp: Move xfails to ..
(proc vtable_setup_xfails): .. here. Add i866.

22 years ago * gas/macros/macros.exp (strings): Update xfails.
Alan Modra [Tue, 27 Aug 2002 23:35:19 +0000 (23:35 +0000)] 
* gas/macros/macros.exp (strings): Update xfails.

22 years ago * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
Alan Modra [Tue, 27 Aug 2002 23:34:18 +0000 (23:34 +0000)] 
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES.  Tidy.

22 years ago * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
Tom Tromey [Tue, 27 Aug 2002 22:37:14 +0000 (22:37 +0000)] 
* Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o):
Update dependencies.
* i387-tdep.c: Include gdb_string.h.
* osabi.c: Likewise.
* i386-linux-nat.c: Likewise.
* lin-lwp.c: Likewise.
* ax-gdb.c: Likewise.
* signals/signals.c: Likewise.
* jv-valprint.c: Likewise.
* p-lang.c: Likewise.
* c-valprint.c: Likewise.
* cp-abi.c: Likewise.

22 years ago * tuiDisassem.c (tui_disassemble): New function to disassemble
Stephane Carrez [Tue, 27 Aug 2002 21:59:49 +0000 (21:59 +0000)] 
* tuiDisassem.c (tui_disassemble): New function to disassemble
several lines in a buffer.
(tui_find_disassembly_address): New function to search backward
or forward a disassembly line.
(tuiSetDisassemContent): Use tui_disassemble to obtain the real
content and format it in the window.
(tuiShowDisassemAndUpdateSource): Remove unused locals.
(tuiVerticalDisassemScroll): Use tui_find_disassembly_address to
obtain the address to disassemble for the scrolling.
* tuiDisassem.h (tuiGetBeginAsmAddress): Update.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Don't pass symtab.

22 years ago * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
Stephane Carrez [Tue, 27 Aug 2002 20:58:27 +0000 (20:58 +0000)] 
* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.

22 years ago2002-08-27 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 27 Aug 2002 19:06:36 +0000 (19:06 +0000)] 
2002-08-27  Elena Zannoni  <ezannoni@redhat.com>

* cli/cli-script.h (copy_command_lines): Export.
* breakpoint.c: Include cli/cli-script.h.
* Makefile.in (breakpoint.o): Update dependencies.

22 years agoHandle .rdata_runtime_pseudo_reloc sections.
Nick Clifton [Tue, 27 Aug 2002 11:12:53 +0000 (11:12 +0000)] 
Handle .rdata_runtime_pseudo_reloc sections.

22 years ago * dwarf2dbg.c: Always include dwarf2dbg.h.
Alan Modra [Tue, 27 Aug 2002 11:09:43 +0000 (11:09 +0000)] 
* dwarf2dbg.c: Always include dwarf2dbg.h.
(dwarf2_directive_file): Adjust dummy version args.
* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
* expr.c (clean_up_expression <O_subtract>): Allow subtraction
when symbol values differ.
* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
(pseudo_set <O_subtract>): Remove unnecessary segment test.
* config/obj-bout.c (obj_pseudo_table): Warning fix.

22 years agoRevert ARM linker patch and apply similar patch to bfd instead
Nick Clifton [Tue, 27 Aug 2002 11:01:55 +0000 (11:01 +0000)] 
Revert ARM linker patch and apply similar patch to bfd instead

22 years ago2002-08-26 Joel Brobecker <brobecker@gnat.com>
Michael Snyder [Tue, 27 Aug 2002 01:09:09 +0000 (01:09 +0000)] 
2002-08-26  Joel Brobecker  <brobecker@gnat.com>

* cli/cli-script.c (copy_command_lines): New function.
* defs.h (copy_command_lines): Export.
* testsuite/gdb.base/commands.exp: New tests for commands
attached to a temporary breakpoint, and for commands that
delete the breakpoint they are attached to.

2002-08-26  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (bpstat_stop_status): Instead of copying the
pointer to the breakpoint commands struct, make a new copy
of the struct and point to that.
(bpstat_clear): Free the commands struct.
(bpstat_clear_actions): Free the commands struct.
(bpstat_do_actions): Free the command actions.  Also execute
the local cleanups, instead of deleting them.
(delete_breakpoint): Leave the commands field of the bpstat
chain alone -- it will be freed later.

22 years ago*** empty log message ***
gdbadmin [Tue, 27 Aug 2002 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

22 years agodaily update
Alan Modra [Tue, 27 Aug 2002 00:00:04 +0000 (00:00 +0000)] 
daily update

22 years ago * rs6000-tdep.c (altivec_register_p): Restore function inadvertently
Kevin Buettner [Mon, 26 Aug 2002 23:20:53 +0000 (23:20 +0000)] 
* rs6000-tdep.c (altivec_register_p): Restore function inadvertently
deleted in 2002-08-20 commit.  This function is still used by
ppc-linux-nat.c.

22 years agoRevert last change.
Alan Modra [Mon, 26 Aug 2002 23:15:48 +0000 (23:15 +0000)] 
Revert last change.

22 years ago * gdb-events.sh: Add selected-frame-level-changed event.
Keith Seitz [Mon, 26 Aug 2002 19:41:56 +0000 (19:41 +0000)] 
    * gdb-events.sh: Add selected-frame-level-changed event.
        * gdb-events.c: Regenerated.
        * gdb-events.h: Regenerated.

22 years ago Fix PR gdb/393:
Stephane Carrez [Mon, 26 Aug 2002 19:35:37 +0000 (19:35 +0000)] 
Fix PR gdb/393:
* tui.c (tui_disable): Update gdb's knowledge of its terminal
using target_terminal_save_ours.
(tui_enable): Likewise.

22 years ago Fix PR gdb/393:
Stephane Carrez [Mon, 26 Aug 2002 19:18:33 +0000 (19:18 +0000)] 
Fix PR gdb/393:
* inflow.c (terminal_save_ours): New function to save terminal
settings.
* inferior.h (terminal_save_ours): Declare.
* target.c (debug_to_terminal_save_ours): New function.
(cleanup_target): Defaults to_terminal_save_ours.
(update_current_target): Inherit to_terminal_save_ours.
(setup_target_debug): Set to_terminal_save_ours.
* target.h (target_terminal_save_ours): New to save terminal settings.
(target_ops): New member to_terminal_save_ours.
* gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours.
* hpux-thread.c (init_hpux_thread_ops): Likewise.
* inftarg.c (init_child_ops): Likewise.
* m3-nat.c (init_m3_ops): Likewise.
* procfs.c (init_procfs_ops): Likewise.
* wince.c (init_child_ops): Likewise.
* win32-nat.c (init_child_ops): Likewise.
* sol-thread.c (init_sol_thread_ops): Likewise.

22 years ago* i386-tdep.c (i386_store_return_value): Undeprecate. Convert to
Mark Kettenis [Mon, 26 Aug 2002 18:35:25 +0000 (18:35 +0000)] 
* i386-tdep.c (i386_store_return_value): Undeprecate.  Convert to
use regcache_* functions.
(i386_gdbarch_init): Set store_return_value instead of
deprecated_store_return_value.

22 years ago * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
Alan Modra [Mon, 26 Aug 2002 11:42:12 +0000 (11:42 +0000)] 
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.

22 years ago * gas/m68hc11/insns.d: Quote dots.
Alan Modra [Mon, 26 Aug 2002 11:35:32 +0000 (11:35 +0000)] 
* gas/m68hc11/insns.d: Quote dots.
* gas/m68hc11/opers12.d: Likewise.

22 years ago * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
Alan Modra [Mon, 26 Aug 2002 11:27:02 +0000 (11:27 +0000)] 
* gas/ieee-fp/x930509a.exp: Run the test but xfail.  Add c80 to xfails.

22 years ago * gas/vax/quad.exp: Use quad_elf.s for ELF targets.
Alan Modra [Mon, 26 Aug 2002 11:06:32 +0000 (11:06 +0000)] 
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.

22 years ago * gas/sparc/sparc.exp (sparc_elf_setup): New.
Alan Modra [Mon, 26 Aug 2002 10:44:12 +0000 (10:44 +0000)] 
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.

22 years ago * gas/tic54x/align.s: Add comment.
Alan Modra [Mon, 26 Aug 2002 10:37:58 +0000 (10:37 +0000)] 
* gas/tic54x/align.s: Add comment.
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change.
* gas/tic54x/extaddr.d: Similarly adjust disassembly tail.

22 years ago * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
Alan Modra [Mon, 26 Aug 2002 10:16:34 +0000 (10:16 +0000)] 
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.

22 years ago * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
Alan Modra [Mon, 26 Aug 2002 10:15:46 +0000 (10:15 +0000)] 
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
(strip_executable): Likewise.

22 years ago * nm.c (display_rel_file): Don't report "no symbols" as an error.
Alan Modra [Mon, 26 Aug 2002 10:14:15 +0000 (10:14 +0000)] 
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise.  Do print "no symbols" to stdout.

22 years ago * coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.
Alan Modra [Mon, 26 Aug 2002 09:01:41 +0000 (09:01 +0000)] 
* coffcode.h (coff_set_arch_mach_hook): Handle W65MAGIC.

22 years ago * config/tc-w65.c (md_section_align): Fix typo.
Alan Modra [Mon, 26 Aug 2002 08:55:33 +0000 (08:55 +0000)] 
* config/tc-w65.c (md_section_align): Fix typo.
(md_parse_option): Return 0, not 1.

22 years ago * aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.
Alan Modra [Mon, 26 Aug 2002 08:46:21 +0000 (08:46 +0000)] 
* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.

22 years ago*** empty log message ***
gdbadmin [Mon, 26 Aug 2002 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 26 Aug 2002 00:00:04 +0000 (00:00 +0000)] 
daily update

22 years ago* regcache.c (regcache_raw_write_signed,
Mark Kettenis [Sun, 25 Aug 2002 23:44:30 +0000 (23:44 +0000)] 
* regcache.c (regcache_raw_write_signed,
regcache_raw_write_unsigned): New functions.
* regcache.h (regcache_raw_write_signed,
regcache_raw_write_unsigned): New prototypes.