OSDN Git Service
Nick Roberts [Sat, 19 Apr 2008 06:08:18 +0000 (06:08 +0000)]
(top_level_interpreter): Rename static variable...
(top_level_interpreter_ptr): ...to this.
(top_level_interpreter): New function.
Nick Roberts [Sat, 19 Apr 2008 06:07:51 +0000 (06:07 +0000)]
*** empty log message ***
Craig Silverstein [Sat, 19 Apr 2008 05:06:54 +0000 (05:06 +0000)]
* configure.ac (AC_SEARCH_LIBS): Add check for zlib.
* config.in, configure: Regenerate.
* dwarf2read.c: Include zlib.h if present.
Modified *_SECTION macros.
(section_is_p): New.
(dwarf2_locate_sections): Use section_is_p instead of strcmp
(dwarf2_resize_section): New.
to determine whether a given section has a given name.
(zlib_decompress_section): New.
(dwarf2_read_section): Read the compressed section if present
in the binary.
* testsuite/gdb.dwarf2/dw2-compressed.S: New file.
* testsuite/gdb.dwarf2/dw2-compressed.exp: New file.
* MAINTAINERS: Added myself to section Write After Approval.
Thiago Jung Bauermann [Sat, 19 Apr 2008 02:07:19 +0000 (02:07 +0000)]
* defs.h (exec_set_section_offsets): Remove prototype.
* exec.c (exec_set_section_offsets): Remove function.
Joel Brobecker [Sat, 19 Apr 2008 01:35:49 +0000 (01:35 +0000)]
* gdb.ada/atomic_enum: New test program.
* gdb.ada/atomic_enum.exp: New testcase.
Joel Brobecker [Sat, 19 Apr 2008 01:33:26 +0000 (01:33 +0000)]
* stabsread.c (cleanup_undefined_types_1): Add instance flags check
in the search for the matching symbol.
gdbadmin [Sat, 19 Apr 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 19 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update
DJ Delorie [Fri, 18 Apr 2008 15:14:13 +0000 (15:14 +0000)]
merge from gcc
H.J. Lu [Fri, 18 Apr 2008 13:10:32 +0000 (13:10 +0000)]
gas/
2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
FMA.
gas/testsuite/
2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.d: Updated.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
opcodes/
2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_VEX_FMA): New.
(OP_EX_VexImmW): Likewise.
(VexFMA): Likewise.
(Vex128FMA): Likewise.
(EXVexImmW): Likewise.
(get_vex_imm8): Likewise.
(OP_EX_VexReg): Likewise.
(vex_i4_done): Renamed to ...
(vex_w_done): This.
(prefix_table): Replace EXVexW with EXVexImmW on vpermil2ps
and vpermil2pd. Replace Vex/Vex128 with VexFMA/Vex128FMA on
FMA instructions.
(print_insn): Updated.
(OP_EX_VexW): Rewrite to swap register in VEX with EX.
(OP_REG_VexI4): Check invalid high registers.
Paolo Bonzini [Fri, 18 Apr 2008 11:07:31 +0000 (11:07 +0000)]
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
Sync with gcc:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* configure.ac: Include override.m4.
* configure: Regenerate.
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (restrap): Call `make all' using double-colon rules.
* Makefile.in: Regenerate.
2008-04-11 Eric B. Weddington <eweddington@cso.atmel.com>
* configure.ac: Do not build libssp for the AVR.
* configure: Regenerate.
config:
2008-04-18 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/35457
* override.m4: Add this. Make sure aclocal always picks it.
Add more lenient precious variable check, backported from
autoconf trunk.
Nick Clifton [Fri, 18 Apr 2008 09:22:24 +0000 (09:22 +0000)]
* aix5ppc-core.c: Define macros for the default architecture and
machine for matching core files.
(xcoff64_core_p): Set the architecture and machine to the default
values defined in the macros mentioned above.
* rs6000-core.c: Define macros to determine whether or not the
core file header uses the core_dumpxx header format.
(rs6000coff_core_p): Don't match core files that use the
core_dumpxx header format.
Nick Clifton [Fri, 18 Apr 2008 08:55:06 +0000 (08:55 +0000)]
* MAINTAINERS: Replace reference to configure.in with reference to configure.ac.
Nick Clifton [Fri, 18 Apr 2008 08:45:05 +0000 (08:45 +0000)]
* configure.ac (cr16-*-*): Add case for cr16 target and include gdb
as nonconfigurable directories list.
* configure: Regenerate.
Ben Elliston [Fri, 18 Apr 2008 02:12:45 +0000 (02:12 +0000)]
* Makefile.in (distclean): Add gstdint.h.
Marc Khouzam [Fri, 18 Apr 2008 00:41:28 +0000 (00:41 +0000)]
2008-04-17 Marc Khouzam <marc.khouzam@ericsson.com>
* breakpoint.c (update_watchpoint): Always reparse
condition.
Alan Modra [Fri, 18 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 18 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Doug Evans [Thu, 17 Apr 2008 23:06:54 +0000 (23:06 +0000)]
* gdb.opt/Makefile.in: Fix whitespace.
Joel Brobecker [Thu, 17 Apr 2008 22:43:17 +0000 (22:43 +0000)]
* breakpoint.c (print_one_breakpoint_location): Make sure to print
the breakpoint address only once.
Ulrich Weigand [Thu, 17 Apr 2008 21:36:23 +0000 (21:36 +0000)]
2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.threads/linux-dp.exp: Continue after unrecognized lines.
Ulrich Weigand [Thu, 17 Apr 2008 21:22:41 +0000 (21:22 +0000)]
* configure.srv [powerpc64-*-linux*]: Remove powerpc-e500.o from
srv_regobj. Remove rs6000/powerpc-e500.xml and rs6000/power-spe.xml
from reg_xmlfiles.
* linux-ppc-low.c: Include <elf.h>.
(PPC_FEATURE_HAS_ALTIVEC, PPC_FEATURE_HAS_SPE): Define.
(ppc_hwcap): New global variable.
(ppc_regmap): Remove __SPE__ #ifdef sections.
(ppc_regmap_e500): New global variable.
(ppc_cannot_store_register): Update __SPE__ special case.
(ppc_get_hwcap): New function.
(ppc_arch_setup): Use it to determine whether inferior supports
AltiVec or SPE registers. Set the_low_target.regmap if appropriate.
(ppc_fill_vrregset, ppc_store_vrregset): Define unconditionally.
Do not access registers if target does not support AltiVec.
(ppc_fill_evrregset, ppc_store_evrregset): Define unconditionally.
Do not access registers if target does not support SPE.
(target_regsets): Unconditionally include AltiVec and SPE regsets.
Ulrich Weigand [Thu, 17 Apr 2008 21:21:38 +0000 (21:21 +0000)]
2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
* linux-low.c (disabled_regsets, num_regsets): New.
(use_regsets_p): Delete.
(linux_wait_for_process): Clear disabled_regsets.
(regsets_fetch_inferior_registers): Check and set it.
(regsets_store_inferior_registers): Likewise.
(linux_fetch_registers, linux_store_registers): Do not use
use_regsets_p.
(initialize_low): Allocate disabled_regsets.
Joel Brobecker [Thu, 17 Apr 2008 21:00:53 +0000 (21:00 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture,
rather than a hard-coded architecture, for xcoff executables.
Doug Evans [Thu, 17 Apr 2008 17:54:05 +0000 (17:54 +0000)]
* buildsym.c (watch_main_source_file_lossage): New fn.
(end_symtab): Call it.
* gdb.base/hashline1.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
* gdb.base/hashline2.exp: New testcase.
Doug Evans [Thu, 17 Apr 2008 17:43:58 +0000 (17:43 +0000)]
* source.c (find_and_open_source): Add some comments clarifying
handling of FULLNAME argument. Make static. Remove pointless
xstrdup/xfree.
Pedro Alves [Thu, 17 Apr 2008 11:49:56 +0000 (11:49 +0000)]
gdb/
* inf-loop.c (inferior_event_handler): Also run the intermediate
continuations in the INF_EXEC_COMPLETE case.
gdb/testsuite/
* gdb.base/step-break.exp, gdb.base/step-break.c: New files.
Tom Tromey [Thu, 17 Apr 2008 00:25:01 +0000 (00:25 +0000)]
* cli/cli-decode.h (CMD_ASYNC_OK): New define.
(set_cmd_async_ok, get_cmd_async_ok): Declare.
* cli/cli-decode.c (set_cmd_async_ok): New function.
(get_cmd_async_ok): New function.
* cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and
"show" as async-ok.
* top.c (execute_command): Use get_cmd_async_ok.
* infcmd.c: Include cli/cli-decode.h.
(_initialize_infcmd): Mark "interrupt" as async-ok.
* Makefile.in (infcmd.o): Depend on cli_decode_h.
gdbadmin [Thu, 17 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 17 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
Daniel Jacobowitz [Wed, 16 Apr 2008 22:54:55 +0000 (22:54 +0000)]
PR gdb/2445
* exec.c: Correct "arch-utils.h" include.
Pedro Alves [Wed, 16 Apr 2008 18:02:01 +0000 (18:02 +0000)]
* config.bfd (i[3-7]86-*-dicos*, x86_64-*-dicos*): Add.
Dwarakanath Rajagopal [Wed, 16 Apr 2008 15:31:32 +0000 (15:31 +0000)]
<opcode changes>
2008-04-16 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
Michael Meissner <michael.meissner@amd.com>
* i386-opc.tbl: Fix protX to allow memory in the middle operand.
* i386-tbl.h: Regenerate from i386-opc.tbl.
<gas/testsuite changes>
2008-04-16 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
Michael Meissner <michael.meissner@amd.com>
* gas/i386/x86-64-sse5.s: Add protX tests to allow memory in the middle
operand.
* gas/i386/x86-64-sse5.d: Likewise.
Aleksandar Ristovski [Wed, 16 Apr 2008 13:14:18 +0000 (13:14 +0000)]
* gdb.texinfo (GDB/MI Simple Examples): Added 'disp' field to the
sample output for 'stopped,reason="breakpoint-hit"' message.
(GDB/MI Program Execution): Likewise.
David S. Miller [Wed, 16 Apr 2008 08:51:18 +0000 (08:51 +0000)]
bfd/
* reloc.c (BFD_RELOC_SPARC_GOTDATA_HIX22,
BFD_RELOC_SPARC_GOTDATA_LOX10, BFD_RELOC_SPARC_GOTDATA_OP_HIX22,
BFD_RELOC_SPARC_GOTDATA_OP_LOX10, BFD_RELOC_SPARC_GOTDATA_OP): New.
* libbfd.h: Regnerate.
* bfd-in2.h: Regenerate.
* elfxx-sparc.c (_bfd_sparc_elf_howto_table): Add entries for
GOTDATA relocations.
(sparc_reloc_map): Likewise.
(_bfd_sparc_elf_check_relocs): Handle R_SPARC_GOTDATA_* like
R_SPARC_GOT*.
(_bfd_sparc_elf_gc_sweep_hook): Likewise.
(_bfd_sparc_elf_relocate_section): Transform R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22, and
R_SPARC_GOTDATA_OP_LOX10 into the equivalent R_SPARC_GOT* reloc.
Simply ignore R_SPARC_GOTDATA_OP relocations.
gas/
* config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
and relocation generation.
(tc_gen_reloc): Likewise.
gas/testsuite/
* gas/sparc/gotops32.d: New.
* gas/sparc/gotops32.s: Likewise.
* gas/sparc/gotops64.d: Likewise.
* gas/sparc/gotops64.s: Likewise.
* gas/sparc/sparc.exp: Run new gotdata tests.
ld/testsuite/
* ld-sparc/gotop32.dd: New.
* ld-sparc/gotop32.rd: Likewise.
* ld-sparc/gotop32.s: Likewise.
* ld-sparc/gotop32.sd: Likewise.
* ld-sparc/gotop32.td: Likewise.
* ld-sparc/gotop64.dd: Likewise.
* ld-sparc/gotop64.rd: Likewise.
* ld-sparc/gotop64.s: Likewise.
* ld-sparc/gotop64.sd: Likewise.
* ld-sparc/gotop64.td: Likewise.
* ld-sparc/sparc.exp: Run new gotdata tests.
David S. Miller [Wed, 16 Apr 2008 08:35:17 +0000 (08:35 +0000)]
* elf/sparc.h (R_SPARC_GOTDATA_HIX22,
R_SPARC_GOTDATA_LOX10, R_SPARC_GOTDATA_OP_HIX22,
R_SPARC_GOTDATA_OP_LOX10, R_SPARC_GOTDATA_OP,
R_SPARC_H34, R_SPARC_SIZE32, R_SPARC_SIZE64): New relocs.
Nick Clifton [Wed, 16 Apr 2008 08:33:54 +0000 (08:33 +0000)]
Move entries for changes in sub-directories into the changelogs in those sub-
directories.
gdbadmin [Wed, 16 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 16 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update
Aleksandar Ristovski [Tue, 15 Apr 2008 14:33:55 +0000 (14:33 +0000)]
* gdb.base/attach.exp (do_attach_tests): Matching pattern for
temporary breakpoint to match "Temporary breakpoint".
* gdb.base/break.exp (delete_breakpoints): Likewise.
* gdb.base/call-ar-st.exp (get_debug_format): Likewise.
* gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
* gdb.base/display.exp: Likewise.
* gdb.base/foll-exec.exp (do_exec_tests): Likewise.
* gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
* gdb.base/restore.exp (restore_tests): Likewise.
* gdb.base/sepdebug.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
* gdb.mi/mi-cli.exp: Added argument for new "disp" field.
* gdb.mi/mi-pending.exp: Likewise.
* gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-cli.exp: Likewise.
* gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
* gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
* lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
* lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
new "disp" field.
(mi_expect_stop): Move after_reason argument to be really after
reason. This is to support fix for PR2424.
Aleksandar Ristovski [Tue, 15 Apr 2008 14:32:12 +0000 (14:32 +0000)]
PR gdb/2424
* infrun.c (normal_stop) Move breakpoint_auto_delete further down
to allow printing to 'see' real reason of stop. This fixes PR 2424.
* breakpoint.c (bpdisp_texst): New function. The function takes over
the role of bpstats static array in print_one_breakpoint_location.
(print_it_typical): Print "Temporary breakpoint" instead
of just "Breakpoint" when breakpoint is, well, temporary. For mi-like
protocols, print disp field.
(print_one_breakpoint_location): Removed bpdisps static definition.
Call new bpstat_text function to get value for 'disp' field.
(mention): Print "Temporary breakpoint" instead of just "Breakpoint".
Daniel Jacobowitz [Tue, 15 Apr 2008 12:53:19 +0000 (12:53 +0000)]
* gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4,
gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust
by rerunning gnulib-tool with --aux-dir=gnulib/extra.
* gnulib/Makefile.in: Regenerate.
Jan Kratochvil [Tue, 15 Apr 2008 09:00:32 +0000 (09:00 +0000)]
* gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
David S. Miller [Tue, 15 Apr 2008 05:16:51 +0000 (05:16 +0000)]
toplevel/
* configure.ac: Add sparc*-*-* to gold supported targets.
* configure: Regenerate.
gold/
* sparc.cc: New file.
* Makefile.am (TARGETSOURCES): Add sparc.cc
(ALL_TARGETOBJS): Add sparc.$(OBJEXT)
* configure.tgt: Document targ_extra_size and
targ_extra_big_endian. Add entries for sparc-* and
sparc64-*.
* configure.ac: Handle targ_extra_size and
targ_extra_big_endian.
* Makefile.in: Rebuild.
* configure: Likewise.
* po/POTFILES.in: Likewise.
* po/gold.pot: Likewise.
Alan Modra [Tue, 15 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 15 Apr 2008 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Mon, 14 Apr 2008 19:58:48 +0000 (19:58 +0000)]
* configure.in: Link with the PIC version of libiberty on
Linux/MIPS hosts.
* configure: Regenerate.
Daniel Jacobowitz [Mon, 14 Apr 2008 19:47:29 +0000 (19:47 +0000)]
* Makefile.in (GNULIB_H): New. Trigger all-lib.
(defs_h): Use $(GNULIB_H).
(all-lib): Depend on gnulib/Makefile.
(gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps.
* config.in, gnulib/Makefile.in: Regenerated.
Daniel Jacobowitz [Mon, 14 Apr 2008 19:01:21 +0000 (19:01 +0000)]
Fix generated files.
Daniel Jacobowitz [Mon, 14 Apr 2008 18:05:12 +0000 (18:05 +0000)]
Add missed files from last commit.
Daniel Jacobowitz [Mon, 14 Apr 2008 18:04:00 +0000 (18:04 +0000)]
* Makefile.in (LIBGNU, INCGNU): Define.
(INTERNAL_CFLAGS_BASE): Add INCGNU.
(INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU.
(CLEANDIRS): New.
($(LIBGNU), all-lib): New rules.
(clean, distclean, do-maintainer-clean): Use CLEANDIRS.
* configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE.
Simplify AC_CONFIG_AUX_DIR. Generate gnulib/Makefile.
* gnulib: New directory, from gnulib-tool.
* configure, aclocal.m4: Regenerated.
* Makefile.in (LIBOBJS): New.
(OBS): Use LIBOBJS.
(memmem.o): New rule.
* configure.ac: Use AC_CONFIG_LIBOBJ_DIR and check for memmem.
* configure: Regenerated.
Daniel Jacobowitz [Mon, 14 Apr 2008 15:15:18 +0000 (15:15 +0000)]
2008-04-14 Hans Kester <kester.hans@gmail.com>
* sim-signal.c: Define missing signals for _WIN32.
Daniel Jacobowitz [Mon, 14 Apr 2008 14:02:23 +0000 (14:02 +0000)]
* linux-thread-db.c (have_threads_callback): Check thread->private.
Alan Modra [Mon, 14 Apr 2008 11:01:38 +0000 (11:01 +0000)]
ppc e500mc support
Ben Elliston [Mon, 14 Apr 2008 09:28:35 +0000 (09:28 +0000)]
* config.sub, config.guess: Update from upstream sources.
Alan Modra [Mon, 14 Apr 2008 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 14 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Vladimir Prus [Sun, 13 Apr 2008 09:33:49 +0000 (09:33 +0000)]
Fix @-varobjs.
* varobj.c (value_of_root): Update the expression for
floating varobjs.
* mi/mi-cmd-var.c (varobj_update_one): If type has changed,
report that.
Alan Modra [Sun, 13 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 13 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Hans-Peter Nilsson [Sat, 12 Apr 2008 18:53:52 +0000 (18:53 +0000)]
* Makefile.tpl <gcc>: Error early unless at least GNU make 3.80.
* Makefile.in: Regenerate.
gdbadmin [Sat, 12 Apr 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 11 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 11 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Andreas Krebbel [Thu, 10 Apr 2008 13:36:43 +0000 (13:36 +0000)]
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-dis.c (init_disasm): Evaluate disassembler_options.
(print_s390_disassembler_options): New function.
* disassemble.c (disassembler_usage): Invoke
print_s390_disassembler_options.
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* dis-asm.h (print_s390_disassembler_options):
Prototype added.
Andreas Krebbel [Thu, 10 Apr 2008 13:05:07 +0000 (13:05 +0000)]
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes
of local variables used for mnemonic parsing: prefix, suffix and
number.
Andreas Krebbel [Thu, 10 Apr 2008 08:59:46 +0000 (08:59 +0000)]
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-mkopc.c (s390_cond_ext_format): Add back the mnemonic
extensions for conditional jumps (o, p, m, nz, z, nm, np, no).
(s390_crb_extensions): New extensions table.
(insertExpandedMnemonic): Handle '$' tag.
* s390-opc.txt: Remove conditional jump variants which can now
be expanded automatically.
Replace '*' tag with '$' in the compare and branch instructions.
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z10.d: Map the compare and branch variants
with odd condition code mask to version with an even mask.
Alan Modra [Thu, 10 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 10 Apr 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Marc Khouzam [Wed, 9 Apr 2008 13:29:55 +0000 (13:29 +0000)]
gdb/ChangeLog
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
* mi/mi-cmd-var.c: Include "mi-getopt.h".
(mi_parse_format): New. Factored out from mi_cmd_var_set_format.
(mi_cmd_var_set_format): Use new mi_parse_format.
(mi_cmd_var_evaluate_expression): Support for -f option to specify
format.
* Makefile.in (mi-cmd-var.o): Update dependencies.
* varobj.h (varobj_get_formatted_value): Declare.
* varobj.c (my_value_of_variable): Added format parameter.
(cplus_value_of_variable): Likewise.
(java_value_of_variable): Likewise.
(c_value_of_variable): Likewise. Evaluate expression based
on format parameter.
(struct language_specific): Add format parameter to function member
*value_of_variable.
(varobj_get_formatted_value): New.
(varobj_get_value): Added format parameter to method call.
gdb/doc/ChangeLog
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.texinfo (GDB/MI Variable Objects): Add anchor to
-var-set-format. Add -f option to -var-evaluate-expression.
gdb/testsuite/ChangeLog
2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
* gdb.mi/mi2-var-display.exp: Added tests for the new -f
option of -var-evaluate-expression.
* gdb.mi/mi2-var-display.exp: Likewise.
gdbadmin [Wed, 9 Apr 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 9 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
Joel Brobecker [Tue, 8 Apr 2008 22:09:20 +0000 (22:09 +0000)]
* stabsread.c (cleanup_undefined_types_noname): Manually set the
instance flags of the undefined type before calling replace_type.
Vladimir Prus [Tue, 8 Apr 2008 17:02:23 +0000 (17:02 +0000)]
Fix trailing space.
Vladimir Prus [Tue, 8 Apr 2008 16:58:35 +0000 (16:58 +0000)]
* target.h (enum strata): Remove the download_stratum.
M R Swami Reddy [Tue, 8 Apr 2008 12:45:37 +0000 (12:45 +0000)]
allinsn.exp: Removed target_alias and global_ld_options.
M R Swami Reddy [Tue, 8 Apr 2008 09:26:38 +0000 (09:26 +0000)]
Modified Files:
ChangeLog:
Add simulator for National cr16 processor.
* cr16: New directory with cr16 simulator files.
* configure.ac: Add an entry for National cr16 target.
* configure: Regenerate.
M R Swami Reddy [Tue, 8 Apr 2008 09:20:06 +0000 (09:20 +0000)]
Added Files:
ChangeLog config.in configure configure.ac cr16_sim.h endian.c
gencode.c interp.c Makefile.in simops.c: Add these file for CR16 target simulator.
M R Swami Reddy [Tue, 8 Apr 2008 09:15:56 +0000 (09:15 +0000)]
* configure.ac: Add an entry for National CR16 target.
* configure: Regenerate.
M R Swami Reddy [Tue, 8 Apr 2008 09:12:27 +0000 (09:12 +0000)]
ChangeLog: sim/cr16/: New directory. Added tests for CR16 simulator.
M R Swami Reddy [Tue, 8 Apr 2008 09:08:29 +0000 (09:08 +0000)]
ChangeLog: New file
M R Swami Reddy [Tue, 8 Apr 2008 09:07:02 +0000 (09:07 +0000)]
New files: Testcases for cr16 instruction set.
M R Swami Reddy [Tue, 8 Apr 2008 09:05:01 +0000 (09:05 +0000)]
testutils.inc: New file: Test macros for cr16 target.
M R Swami Reddy [Tue, 8 Apr 2008 09:03:17 +0000 (09:03 +0000)]
allinsn.exp misc.exp: New files: Test run scripts
M R Swami Reddy [Tue, 8 Apr 2008 08:44:51 +0000 (08:44 +0000)]
gennltvals.sh: Add cr16 target sys macros.
nltvals.def: Rebuild.
M R Swami Reddy [Tue, 8 Apr 2008 08:33:51 +0000 (08:33 +0000)]
sim-cr16.h: New file. Added for cr16 target.
M R Swami Reddy [Tue, 8 Apr 2008 07:20:21 +0000 (07:20 +0000)]
Updated the MAINTAINERS file: Add myself as maintainer of cr16 port.
M R Swami Reddy [Tue, 8 Apr 2008 07:15:39 +0000 (07:15 +0000)]
Add myself as maintainer of cr16 port.
Alan Modra [Tue, 8 Apr 2008 05:48:28 +0000 (05:48 +0000)]
* elf32-spu.c (spu_elf_build_stubs): Correct error message.
(mark_functions_via_relocs): Remove premature init of symtab_hdr.
(collect_overlays): Commment typo fix.
Alan Modra [Tue, 8 Apr 2008 05:41:19 +0000 (05:41 +0000)]
* elflink.c (bfd_elf_size_dynamic_sections): Ignore GNU-stack note
in EXEC_P bfds.
Alan Modra [Tue, 8 Apr 2008 03:26:54 +0000 (03:26 +0000)]
bfd/
* elf32-spu.c: Include libiberty.h.
(struct spu_link_hash_table): Add local_stire, overlay_fixed, reserved,
non_ovly_stub, spu_elf_load_ovl_mgr, spu_elf_open_overlay_script,
spu_elf_relink, auto_overlay fields.
(AUTO_OVERLAY, AUTO_RELINK, OVERLAY_RODATA): Define.
(needs_ovl_stub): Flip test so that call to non-function warning
is emitted during relocate_section rather than earlier.
(spu_elf_check_vma): Stash --auto-overlay parameters, and clear
auto_overlay if no section exceeds local store.
(struct call_info): Add count, max_depth, is_pasted fields.
(struct function_info): Add rodata, last_caller, call_count,
depth, new visit flags.
(insert_callee): Increment call count.
(copy_callee): New function.
(mark_functions_via_relocs): Investigate all reloc types to count
possible function pointer stubs for --auto-overlay. Track
last_caller and increment function call_count.
(pasted_function): Insert a "call" into call info for pasted section.
(remove_cycles): Track max depth of calls. Don't emit call graph
pruning warning for --auto-overlay.
(build_call_tree): Don't transfer_calls for --auto-overlay.
Adjust remove_cycles call.
(sort_calls, sort_lib, sort_bfds): New functions.
(struct _mos_param, struct _uos_param, struct _cl_param): New.
(mark_overlay_section, unmark_overlay_section): New functions.
(collect_lib_sectios, auto_ovl_lib_functions): New functions.
(collect_overlays, find_pasted_call): New functions.
(sum_stack): Deal with is_pasted "calls". Exit before printing
when --auto-overlay.
(spu_elf_auto_overlay): New function.
(spu_elf_final_link): Call spu_elf_auto_overlay.
* elf32-spu.h (spu_elf_check_vma): Update prototype.
ld/
* emultempl/spuelf.em (auto_overlay, auto_overlay_file,
auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
(spu_before_allocation): Warn on --auto-overlay and existing overlays.
(struct tflist, clean_tmp): Move.
(new_tmp_file): New function, extracted from..
(embedded_spu_file): ..here.
(spu_elf_open_overlay_script, spu_elf_relink): New function.
(gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
Warn on --auto-overlay and zero local store.
(gld${EMULATION_NAME}_choose_target): New function to stash argv.
(OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
(PARSE_AND_LIST_LONGOPTS): Add entries for new options.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.
(LDEMUL_CHOOSE_TARGET): Define.
gdbadmin [Tue, 8 Apr 2008 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 8 Apr 2008 00:00:05 +0000 (00:00 +0000)]
daily update
Ian Lance Taylor [Mon, 7 Apr 2008 21:58:34 +0000 (21:58 +0000)]
* Makefile.def: check-gold depends upon all-binutils.
* Makefile.in: Regenerate.
H.J. Lu [Mon, 7 Apr 2008 21:29:50 +0000 (21:29 +0000)]
2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (PREFIX_VEX_38XX): Add a tab.
(PREFIX_VEX_3AXX): Likewis.
Doug Evans [Mon, 7 Apr 2008 19:29:55 +0000 (19:29 +0000)]
* buildsym.h (last_source_file): Add dwarf info to comment.
(last_source_start_addr): Ditto.
H.J. Lu [Mon, 7 Apr 2008 17:35:12 +0000 (17:35 +0000)]
2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Remove 4 extra blank lines.
Vladimir Prus [Mon, 7 Apr 2008 16:32:44 +0000 (16:32 +0000)]
Introduce test setup helpers.
* lib/gdb.exp (build_executable, clean_restart)
(prepare_for_testing): New.
* gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
* gdb.base/return.exp: Likewise.
* gdb.base/ending-run.exp: Likewise.
Alan Modra [Mon, 7 Apr 2008 13:07:23 +0000 (13:07 +0000)]
* elf32-spu.c (allocate_spuear_stubs): Ensure _SPUEAR_ symbol
is defined in overlay section before creating a stub.
(build_spuear_stubs): Likewise.
(spu_elf_size_stubs, spu_elf_build_stubs): Adjust calls.
Pedro Alves [Mon, 7 Apr 2008 11:45:58 +0000 (11:45 +0000)]
* alphanbsd-tdep.c: Include "target.h".
* mn10300-tdep.c: Include "target.h".
* Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update.