Jim Blandy
b6ff0e81ff
* 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.
2002-08-29 22:36:52 +00:00
Keith Seitz
6660986257
* stack.c (print_frame_info_base): Always set current_source_symtab
...
and current_source_line.
2002-08-29 19:59:35 +00:00
Dave Brolley
7ede505aef
2002-08-29 Dave Brolley <brolley@redhat.com>
...
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
2002-08-29 19:27:52 +00:00
Daniel Jacobowitz
a9fa9f7daf
* 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.
2002-08-29 18:50:25 +00:00
Nick Clifton
e551c2572e
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.
2002-08-29 16:59:20 +00:00
Keith Seitz
07c988968a
* lib/mi-support.exp (mi_gdb_test): Add global declaration for
...
expect_out so that callers can get at it.
2002-08-29 16:10:13 +00:00
Nick Clifton
069fe61f90
Remove redundant reference to E_V850EA_ARCH.
2002-08-29 15:43:47 +00:00
Joel Brobecker
151fefe27f
* proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
2002-08-29 15:08:54 +00:00
Dave Anglin
51240b8d93
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
...
void from function definitions.
2002-08-29 14:37:19 +00:00
Nick Clifton
86aba9dbfa
Add linker relaxation to v850 toolchain
2002-08-29 06:49:35 +00:00
Alan Modra
6ba3d7ed59
daily update
2002-08-29 00:00:05 +00:00
gdbadmin
e67895fcef
*** empty log message ***
2002-08-29 00:00:02 +00:00
Stephane Carrez
77cad3ba61
* 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.
2002-08-28 20:33:27 +00:00
Keith Seitz
bfb3754e3d
* 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.
2002-08-28 17:27:44 +00:00
Dave Brolley
051b807af7
2002-08-28 Dave Brolley <brolley@redhat.com>
...
* gen-support.c (gen_support_h): Generate
'#define semantic_illegal <PREFIX>_semantic_illegal'.
2002-08-28 16:01:31 +00:00
Andrew Cagney
e822a2a074
Update all .c dependencies.
2002-08-28 14:02:18 +00:00
Alan Modra
fe0507eba5
* objdump.c (dump_bfd): Restore lines accidentally deleted in
...
last commit.
2002-08-28 12:32:06 +00:00
Nick Clifton
026df7c5e6
Add TMS320C4x support
2002-08-28 10:38:51 +00:00
Alan Modra
df44284ec4
* 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.
2002-08-28 03:35:59 +00:00
Alan Modra
c89e8944a4
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
...
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.
2002-08-28 01:55:46 +00:00
Alan Modra
6d110b652a
* ld-discard/discard.exp: xfail m6812.
...
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.
2002-08-28 00:11:40 +00:00
Alan Modra
6459ecfa96
* configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
2002-08-28 00:10:47 +00:00
Alan Modra
72f227962f
daily update
2002-08-28 00:00:04 +00:00
gdbadmin
c434313989
*** empty log message ***
2002-08-28 00:00:02 +00:00
Alan Modra
deda5edf4b
* 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.
2002-08-27 23:51:47 +00:00
Alan Modra
bcd9320746
* gas/macros/macros.exp (strings): Update xfails.
2002-08-27 23:35:19 +00:00
Alan Modra
4252e537fa
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
2002-08-27 23:34:18 +00:00
Tom Tromey
309367d4cc
* 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.
2002-08-27 22:37:14 +00:00
Stephane Carrez
aec2f747a8
* 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.
2002-08-27 21:59:49 +00:00
Stephane Carrez
ec6f88920b
* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
2002-08-27 20:58:27 +00:00
Elena Zannoni
e1507482f5
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.
2002-08-27 19:06:36 +00:00
Nick Clifton
ad5211bec5
Handle .rdata_runtime_pseudo_reloc sections.
2002-08-27 11:12:53 +00:00
Alan Modra
7065849339
* 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.
2002-08-27 11:09:43 +00:00
Nick Clifton
88f7bcd5a7
Revert ARM linker patch and apply similar patch to bfd instead
2002-08-27 11:01:55 +00:00
Michael Snyder
c2b8ed2c80
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.
2002-08-27 01:09:09 +00:00
gdbadmin
b1f3a3732a
*** empty log message ***
2002-08-27 00:00:33 +00:00
Alan Modra
1af0fa2dd5
daily update
2002-08-27 00:00:04 +00:00
Kevin Buettner
64b841757f
* 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.
2002-08-26 23:20:53 +00:00
Alan Modra
68a4c07345
Revert last change.
2002-08-26 23:15:48 +00:00
Keith Seitz
55970da69c
* gdb-events.sh: Add selected-frame-level-changed event.
...
* gdb-events.c: Regenerated.
* gdb-events.h: Regenerated.
2002-08-26 19:41:56 +00:00
Stephane Carrez
1533ce99dd
Fix PR gdb/393:
...
* tui.c (tui_disable): Update gdb's knowledge of its terminal
using target_terminal_save_ours.
(tui_enable): Likewise.
2002-08-26 19:35:37 +00:00
Stephane Carrez
a790ad353e
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.
2002-08-26 19:18:33 +00:00
Mark Kettenis
3d7f4f4914
* 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.
2002-08-26 18:35:25 +00:00
Alan Modra
4fa0e86f6a
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
2002-08-26 11:42:12 +00:00
Alan Modra
98b37a6b3d
* gas/m68hc11/insns.d: Quote dots.
...
* gas/m68hc11/opers12.d: Likewise.
2002-08-26 11:35:32 +00:00
Alan Modra
8ace442d5a
* gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
2002-08-26 11:27:02 +00:00
Alan Modra
6c2beb0715
* 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.
2002-08-26 11:06:32 +00:00
Alan Modra
96e97d9be1
* gas/sparc/sparc.exp (sparc_elf_setup): New.
...
Use it to xfail for non-ELF targets.
2002-08-26 10:44:12 +00:00
Alan Modra
6c091933f4
* 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.
2002-08-26 10:37:58 +00:00
Alan Modra
99e49e4e29
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
2002-08-26 10:16:34 +00:00