Nick Roberts
a1f42e84b8
(varobj_update): Remove unused local. Use gdb_assert
...
to check changelist is non-NULL. Call error if the frontend tries
to update a non-root variable.
2007-02-27 22:00:39 +00:00
Nick Roberts
e0b75a463c
*** empty log message ***
2007-02-27 21:58:57 +00:00
Nick Roberts
c0e3bc0797
*** empty log message ***
2007-02-27 21:51:57 +00:00
Nick Roberts
3fddb3adb4
* gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
...
* gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
* gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
* gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
* gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
Revert tests to use mi_gdb_test and include value field in output
of -var-create.
2007-02-27 21:45:34 +00:00
Daniel Jacobowitz
93d42b302e
* dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
...
(dwarf2_frame_sniffer): Update.
(dwarf2_signal_frame_this_id): New function.
(dwarf2_signal_frame_unwind): Use it.
(dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
* frame.c (frame_func_unwind): Add this_type argument.
(get_frame_func): Update.
(frame_unwind_address_in_block): Add this_type argument and check it.
Fix a typo.
(get_frame_address_in_block): Update.
* frame.h (enum frame_type): Move higher in the file.
(frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
argument.
* alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
xstormy16-tdep.c, xtensa-tdep.c: Update calls to
frame_func_unwind and frame_unwind_address_in_block to specify
the frame type. Use frame_unwind_address_in_block instead of
frame_pc_unwind in sniffers.
* gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
2007-02-27 20:17:19 +00:00
Daniel Jacobowitz
206415a3ea
* frame.c (deprecated_selected_frame): Rename to...
...
(selected_frame): ...this. Make static.
(get_selected_frame, select_frame): Update.
* frame.h (deprected_select_frame): Delete.
(deprecated_safe_get_selected_frame): Update comments.
* breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
tui/tui.c: Replace references to deprecated_selected_frame.
2007-02-27 19:46:04 +00:00
Mark Mitchell
e1c9b6f16a
* armos.c (SWIflen): Do not treate file descriptor zero as
...
special.
2007-02-27 18:51:57 +00:00
Fred Fish
7313566fe3
Reviewed by Mark Kettenis <mark.kettenis@xs4all.nl>
...
2007-02-27 Fred Fish <fnf@specifix.com>
* rs6000-tdep.c (skip_prologue): Recognize addi instructions that
directly decrement the stack pointer, accumulate their operand into
the stack offset, and mark the function as not being frameless.
2007-02-27 17:29:51 +00:00
Daniel Jacobowitz
64a6910722
* terminal.h: Check HAVE_SGTTY_H.
2007-02-27 17:23:34 +00:00
Daniel Jacobowitz
6f8486daac
from Mat Hostetter <mat@lcs.mit.edu>
...
* remote-utils.c (remote_open): Print out the assigned port number.
2007-02-27 17:21:35 +00:00
Daniel Jacobowitz
c499ed39b6
* gdb.base/maint.exp: Remove full paths from test names.
...
* gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
2007-02-27 13:54:04 +00:00
Nathan Sidwell
903b1f5b5b
* binutils-all/objcopy.exp: Skip for uclinux targets.
2007-02-27 12:19:16 +00:00
Alan Modra
32b116f812
* mt-spu (all-ld): Depend on all-binutils.
...
also fix previous ChangeLog entry
2007-02-27 09:02:43 +00:00
Alan Modra
f0d894379c
missed from last commit
2007-02-27 08:35:17 +00:00
Alan Modra
671ace2fe0
* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
...
(eelf32_spu.c): Adjust dependencies.
* Makefile.in: Regenerate.
* emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
code using bin2c.
(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
(ovl_mgr_stream): Update.
* emultempl/spu_inc.s: Delete.
* emultempl/spu_none.s: Delete.
2007-02-27 08:33:25 +00:00
Alan Modra
cd14b9662a
* bin2c.c: New file.
...
* Makefile.am (EXTRA_PROGRAMS): Add bin2c.
(CFILES): Add bin2c.c.
(bin2c_SOURCES): Define.
(bin2c.o): Dependencies from "make dep-am".
* configure.in (BUILD_MISC): Add bin2c.
* version.c: Update year.
* po/POTFILES.in: Regenerate.
* Makefile.in: Regenerate.
* configure: Regenerate.
2007-02-27 08:31:46 +00:00
Alan Modra
7a8757b319
* elf32-spu.h (struct _ovl_stream): Make "start" and "end" const.
...
* elf32-spu.c (ovl_mgr_pread): Add const to casts.
2007-02-27 08:29:52 +00:00
Alan Modra
fd99afa763
* config/tc-m68hc11.c (fixup24): Correct fixup size.
...
(build_jump_insn): Likewise.
(build_insn): Likewise.
(s_m68hc11_relax): Likewise.
2007-02-27 08:15:17 +00:00
Alan Modra
07cb2078a9
* config/obj-elf.c (elf_frob_file): frag_wane any new frags.
2007-02-27 07:16:31 +00:00
Joel Brobecker
9836f81b1e
* gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
2007-02-27 06:43:27 +00:00
gdbadmin
fadf8777e3
*** empty log message ***
2007-02-27 00:00:32 +00:00
Alan Modra
75fdd7303b
daily update
2007-02-26 23:00:07 +00:00
DJ Delorie
1f92e18087
merge from gcc
2007-02-26 22:14:03 +00:00
Daniel Jacobowitz
b6d373df1e
* arch-utils.c (selected_byte_order): New.
...
* arch-utils.h (selected_byte_order): New prototype.
* remote-sim.c (gdbsim_open): Use selected_byte_order.
2007-02-26 20:13:18 +00:00
Daniel Jacobowitz
c74d0ad827
* gdb.texinfo (Monitor commands for gdbserver): New subsection.
...
* remote-utils.c (monitor_output): New function.
* server.c (debug_threads): Define here.
(monitor_show_help): New function.
(handle_query): Handle qRcmd.
(main): Do not handle 'd' packet.
* server.h (debug_threads, remote_debug, monitor_output): Declare.
* linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions
of debug_threads.
* gdb.server/server-mon.exp: New test.
2007-02-26 20:10:18 +00:00
Daniel Jacobowitz
2711e4564f
* symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
...
(default_symfile_offsets): Check VMA here. Update section VMAs.
* gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
2007-02-26 20:04:38 +00:00
Daniel Jacobowitz
baef701fc2
* remote.c (init_remote_state): Add special handling for placeholder
...
registers.
2007-02-26 19:23:17 +00:00
Daniel Jacobowitz
05a4558a93
* Makefile.in (XMLFILES): Include $(TDEP_XML).
...
(filenames_h): New variable.
(clean): Clean up xml-builtin.c and stamp-xml.
(arm-linux-nat.o): Update.
* config/arm/linux.mh (TDEP_XML): Define.
* arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
(arm_linux_has_wmmx_registers): New.
(GET_THREAD_ID): Fix typo.
(IWMMXT_REGS_SIZE): Define.
(fetch_wmmx_regs, store_wmmx_regs): New.
(arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
(arm_linux_store_inferior_registers): Use store_wmmx_regs.
(super_xfer_partial, arm_linux_xfer_partial): New.
(_initialize_arm_linux_nat): Use them.
* xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
(xml_builtin_xfer_partial): New function.
* xml-support.h (xml_builtin_xfer_partial): New prototype.
* NEWS: Update mention of iWMMXt support.
2007-02-26 19:20:21 +00:00
Daniel Jacobowitz
ff6f572f8b
* arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
...
if there are no FPA registers.
(arm_dwarf_reg_to_regnum): New function.
(arm_register_type, arm_register_name): Return minimal values for
unsupported registers.
(arm_register_sim_regno): Handle iWMMXt registers.
(arm_gdbarch_init): Record missing FPA registers if indicated by
a target description. Recognize iWMMXt registers. Only register
"info float" for FPA. Use ARM_NUM_REGS. Register
arm_dwarf_reg_to_regnum.
* arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
constants.
(struct gdbarch_tdep): Add have_fpa_registers.
* features/xscale-iwmmxt.xml: Update capitalization.
* regformats/arm-with-iwmmxt.dat: Regenerated.
* src/gdb/doc/gdb.texinfo (Standard Target Features): Mention
case insensitivity.
(ARM Features): Describe org.gnu.gdb.xscale.iwmmxt.
* gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
register capitalization.
2007-02-26 19:18:53 +00:00
Alan Modra
45d3b878ab
* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
...
to _binary_spu_ovl_o_start.
(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
* emultempl/spu_inc.s: Rename symbols.
* emultempl/spu_none.s: New file.
* emultempl/spu_ovl.S: Update copyright.
* Makefile.am (spu_inc.o): Try building with ld -r first, then
gas incbin, then build without overlay manager.
* Makefile.in: Regenerate.
2007-02-26 08:58:16 +00:00
gdbadmin
56b60c14ab
*** empty log message ***
2007-02-26 00:00:33 +00:00
Alan Modra
2c35b6b9aa
daily update
2007-02-25 23:00:09 +00:00
Pedro Alves
de7c3b4ad8
* Makefile.in (EXEEXT): New.
...
(clean): Use $(EXEEXT).
2007-02-25 19:44:29 +00:00
Mark Shinwell
22b5b65113
* config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
2007-02-25 19:29:25 +00:00
Pedro Alves
ef57601be4
* target.h (target_ops): Rename send_signal to request_interrupt,
...
and remove enum target_signal parameter.
* linux-low.c (linux_request_interrupt): Rename from
linux_send_signal, and always send SIGINT.
* spu-low.c (spu_request_interrupt): Rename from spu_send_signal,
and always send SIGINT.
* remote-utils.c (putpkt_binary): Call request_interrupt, instead
of send_signal.
(input_interrupt): Likewise.
2007-02-25 17:59:43 +00:00
Pedro Alves
820f2bda8e
* server.c (get_features_xml): Check if target implemented
...
arch_string.
* win32-i386-low.c (win32_arch_string): New.
(win32_target_ops): Add win32_arch_string as arch_string member.
2007-02-25 17:40:10 +00:00
gdbadmin
5235524473
*** empty log message ***
2007-02-25 00:00:04 +00:00
Alan Modra
d5af9aea00
daily update
2007-02-24 23:00:06 +00:00
Kevin Buettner
c077150c2a
* NEWS (New targets): Add entry for the Toshiba Media Processor.
2007-02-24 17:37:28 +00:00
gdbadmin
0e71eb96ed
*** empty log message ***
2007-02-24 00:00:02 +00:00
Kevin Buettner
01c996c12f
* MAINTAINERS (mep): New target.
2007-02-23 23:02:51 +00:00
Alan Modra
40f4c66d90
daily update
2007-02-23 23:00:06 +00:00
Kevin Buettner
aeb4312340
Add support for new target, Toshiba Media Processor (MeP).
2007-02-23 22:50:41 +00:00
Carlos O'Donell
024b2372f5
bfd/
...
2007-02-23 Carlos O'Donell <carlos@codesourcery.com>
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Assume 32-bit
DWARF even with 64-bit addresses.
(_bfd_dwarf2_find_nearest_line): Likewise.
2007-02-23 17:38:07 +00:00
Nick Clifton
cb3ff1e5f7
PR binutils/3535
...
* elf.c (copy_private_bfd_data): Always rewrite the program headers when a
Solaris interpreter segment is involved.
2007-02-23 11:47:47 +00:00
gdbadmin
dbadc25c61
*** empty log message ***
2007-02-23 00:00:32 +00:00
Alan Modra
89d9d024cb
daily update
2007-02-22 23:00:08 +00:00
Alan Modra
acb02403a2
* config/tc-mn10300.c (md_convert_frag): Correct fixup size.
...
(md_assemble): Likewise.
2007-02-22 22:34:16 +00:00
DJ Delorie
b2e818b70d
* s390-opc.c (INSTR_SS_L2RDRD): New.
...
(MASK_SS_L2RDRD): New.
* s390-opc.txt (pka): Use it.
* gas/s390/esa-g5.s: Adjust for corrected PKA syntax.
* gas/s390/esa-g5.d: Adjust for corrected PKA syntax.
2007-02-22 21:01:59 +00:00
Ulrich Weigand
ab39bf2466
* spu-low.c (spu_arch_string): New.
...
(spu_target_ops): Add spu_arch_string.
2007-02-22 17:41:37 +00:00