binutils-gdb.git
12 years ago2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
Matthew Gretton-Dann [Mon, 25 Jun 2012 12:56:18 +0000 (12:56 +0000)]
2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>

* gdb/testsuite/gdb.arch/arm-disp-step.S: Fix use of .global directives.

12 years ago2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
Matthew Gretton-Dann [Mon, 25 Jun 2012 12:32:45 +0000 (12:32 +0000)]
2012-06-25  Greta Yorsh  <greta.yorsh@arm.com>

* gdb/arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single
register as a stack alignment in ARM mode.

12 years ago * ldlang.c (load_symbols): Close file and set flags.loaded
Alan Modra [Mon, 25 Jun 2012 01:49:08 +0000 (01:49 +0000)]
* ldlang.c (load_symbols): Close file and set flags.loaded
after parsing script file.
(open_input_bfds): Don't segv on closed script.

12 years ago*** empty log message ***
gdbadmin [Mon, 25 Jun 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Mon, 25 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agoReplace -linux-gnux32 with -linux-gnu
H.J. Lu [Sun, 24 Jun 2012 21:47:45 +0000 (21:47 +0000)]
Replace -linux-gnux32 with -linux-gnu

12 years agoEnable elf_k1om for x86_64-*-linux-gnux32
H.J. Lu [Sun, 24 Jun 2012 18:52:17 +0000 (18:52 +0000)]
Enable elf_k1om for x86_64-*-linux-gnux32

* configure.tgt: Enable elf_k1om for x86_64-*-linux-gnux32.
Remove x32 in tdir_i386linux and tdir_elf_i386.

12 years agogdb/
Jan Kratochvil [Sun, 24 Jun 2012 09:12:33 +0000 (09:12 +0000)]
gdb/
Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e.
* gnulib/config.in: Regenerate.
* gnulib/configure: Likewise.
* gnulib/import/m4/extensions.m4: Update it.
* gnulib/import/m4/gnulib-common.m4: Likewise.
* gnulib/import/m4/memmem.m4: Likewise.
* gnulib/import/m4/mmap-anon.m4: Likewise.
* gnulib/import/m4/multiarch.m4: Likewise.
* gnulib/import/stdint.in.h: Likewise.

12 years agogdb:
Yao Qi [Sun, 24 Jun 2012 07:28:10 +0000 (07:28 +0000)]
gdb:
* corefile.c (write_memory_with_notification): New.
* gdbcore.h: Declare write_memory_with_notification.
* ada-lang.c (ada_value_assign): Replace 'write_memory' and
'observer_notify_memory_changed' with 'write_memory_with_notification'.
* valops.c (value_assign): Likewise.
* python/py-inferior.c (infpy_write_memory): Call
'write_memory_with_notification'.

12 years agogdb/
Jan Kratochvil [Sun, 24 Jun 2012 06:58:11 +0000 (06:58 +0000)]
gdb/
* cc-with-index.sh: Use also -ex "set auto-load no".

12 years agogdb/testsuite/
Jan Kratochvil [Sun, 24 Jun 2012 06:36:27 +0000 (06:36 +0000)]
gdb/testsuite/
Fix regression by the previous commit.
* gdb.python/lib-types.exp: Add c++ to the compilation flags.

12 years ago*** empty log message ***
gdbadmin [Sun, 24 Jun 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 24 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago PR 14125
Doug Evans [Sat, 23 Jun 2012 22:23:47 +0000 (22:23 +0000)]
PR 14125
* NEWS: Document additions to .gdb_index.
* dwarf2read.c: #include "gdb/gdb-index.h".
(DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro.
(DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro.
(DW2_GDB_INDEX_CU_SET_VALUE): New macro.
(dwarf2_read_index): Recognize version 7.
(dw2_do_expand_symtabs_matching): New args want_specific_block,
block_kind, domain): All callers updated.
(dw2_find_symbol_file): Handle new index CU values.
(dw2_expand_symtabs_matching): Match symbol kind if requested.
(add_index_entry): New args is_static, kind.  All callers updated.
(offset_type_compare, uniquify_cu_indices): New functions
(symbol_kind): New function.
(write_psymtabs_to_index): Remove duplicate CU values.
(write_psymtabs_to_index): Write .gdb_index version 7.

doc/
* gdb.texinfo (Index Section Format): Document version 7 format.

include/gdb/
* gdb-index.h: New file.

12 years ago*** empty log message ***
gdbadmin [Sat, 23 Jun 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 23 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years agogas/
Roland McGrath [Fri, 22 Jun 2012 21:54:06 +0000 (21:54 +0000)]
gas/
* NEWS: Mention 'rep ret' too.

gas/testsuite/
* gas/i386/rep-ret.d: New file.
* gas/i386/rep-ret.s: New file.
* gas/i386/i386.exp: Add the new test.

opcodes/
* i386-opc.tbl: Add RepPrefixOk to ret.
* i386-tbl.h: Regenerate.

12 years agoAdd -Wdeclaration-after-statement to list of compiler warnings
Joel Brobecker [Fri, 22 Jun 2012 18:59:04 +0000 (18:59 +0000)]
Add -Wdeclaration-after-statement to list of compiler warnings

gdb/ChangeLog:

        * configure.ac (build_warnings): Add -Wdeclaration-after-statement.
        * configure: Regenerate.

12 years agogold/
Roland McGrath [Fri, 22 Jun 2012 18:02:24 +0000 (18:02 +0000)]
gold/
* layout.cc (finalize): Define __ehdr_start symbol if applicable.

12 years ago * gdb.python/lib-types.exp: Use standard_testfile,
Tom Tromey [Fri, 22 Jun 2012 17:59:33 +0000 (17:59 +0000)]
* gdb.python/lib-types.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-block.exp: Use standard_testfile.
* gdb.python/py-breakpoint.exp: Use standard_testfile.
* gdb.python/py-events.exp: Use standard_testfile,
standard_output_file.
* gdb.python/py-evsignal.exp: Use standard_testfile.
* gdb.python/py-evethreads.exp: Use standard_testfile.
* gdb.python/py-explore-cc.exp: Use standard_testfile.
* gdb.python/py-explore.exp: Use standard_testfile.
* gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
standard_output_file.
* gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-frame-inline.exp: Use standard_testfile.
* gdb.python/py-frame.exp: Use standard_testfile.
* gdb.python/py-inferior.exp: Use standard_testfile.
* gdb.python/py-infthread.exp: Use standard_testfile.
* gdb.python/py-mi.exp: Use standard_testfile.
* gdb.python/py-objfile-script.exp: Use standard_testfile,
build_executable.
* gdb.python/py-objfile.exp: Use standard_testfile.
* gdb.python/py-pp-maint.exp: Use standard_testfile,
prepare_for_testing.
* gdb.python/py-prettyprint.exp: Use standard_testfile.
* gdb.python/py-progspace.exp: Use standard_testfile,
build_executable.
* gdb.python/py-prompt.exp: Use standard_testfile,
build_executable.
* gdb.python/py-section-script.exp: Use standard_testfile,
build_executable.
* gdb.python/py-shared.exp: Use standard_testfile,
standard_output_file, clean_restart.
* gdb.python/py-symbol.exp: Use standard_output_file,
prepare_for_testing.
* gdb.python/py-symtab.exp: Use standard_output_file,
prepare_for_testing
* gdb.python/py-template.exp: Use standard_testfile.
* gdb.python/py-type.exp: Use standard_testfile.
* gdb.python/py-value-cc.exp: Use standard_testfile.
* gdb.python/py-value.exp: Use standard_testfile.
* gdb.python/python.exp: Use standard_testfile, build_executable.

12 years ago * gdb.objc/basicclass.exp: Use standard_testfile.
Tom Tromey [Fri, 22 Jun 2012 17:15:22 +0000 (17:15 +0000)]
* gdb.objc/basicclass.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
* gdb.objc/nondebug.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.
* gdb.objc/objcdecode.exp: Use standard_testfile.
(do_objc_tests): Don't declare objdir.

12 years agobfd/
Roland McGrath [Fri, 22 Jun 2012 16:52:33 +0000 (16:52 +0000)]
bfd/
* elf.c (assign_file_positions_for_non_load_sections): Define
__ehdr_start symbol if it's referenced and there's a PT_LOAD
segment that covers both the file and program headers.

ld/
* NEWS: Mention __ehdr_start.

ld/testsuite/
* ld-elf/ehdr_start.s: New file.
* ld-elf/ehdr_start.d: New file.

12 years ago * gdb.java/jmain.exp: Use standard_testfile.
Tom Tromey [Fri, 22 Jun 2012 16:44:15 +0000 (16:44 +0000)]
* gdb.java/jmain.exp: Use standard_testfile.
* gdb.java/jmisc.exp: Use standard_testfile.
* gdb.java/jnpe.exp: Use standard_testfile.
* gdb.java/jprint.exp: Use standard_testfile.

12 years agogas/
Roland McGrath [Fri, 22 Jun 2012 16:42:08 +0000 (16:42 +0000)]
gas/
* config/tc-i386.c (parse_insn): Don't complain about REP prefix
when the template has opcode_modifier.repprefixok set.
* NEWS: Mention the change.

gas/testsuite/
* gas/i386/rep-bsf.d: New file.
* gas/i386/rep-bsf.s: New file.
* gas/i386/i386.exp: Add the new test.

opcodes/
* i386-opc.h (RepPrefixOk): New enum constant.
(i386_opcode_modifier): New bitfield 'repprefixok'.
* i386-gen.c (opcode_modifiers): Add RepPrefixOk.
* i386-opc.tbl: Add RepPrefixOk to bsf, bsr, and to all
instructions that have IsString.
* i386-tbl.h: Regenerate.

12 years ago * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
Tom Tromey [Fri, 22 Jun 2012 16:39:11 +0000 (16:39 +0000)]
* lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
(standard_output_file, standard_testfile): New procs.
(build_executable, clean_restart): Use standard_output_file.

12 years ago* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
Andreas Schwab [Fri, 22 Jun 2012 09:30:18 +0000 (09:30 +0000)]
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Don't make
_GLOBAL_OFFSET_TABLE_ and _DYNAMIC absolute.

12 years agogdb/doc:
Yao Qi [Fri, 22 Jun 2012 08:37:49 +0000 (08:37 +0000)]
gdb/doc:

* gdb.texinfo: Add missing cindex for some packets.

12 years agogdb/testsuite:
Yao Qi [Fri, 22 Jun 2012 07:45:57 +0000 (07:45 +0000)]
gdb/testsuite:

* boards/native-gdbserver.exp: New proc ${board}_exec.
* boards/native-stdio-gdbserver.exp: Likewise.

12 years ago * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
Alan Modra [Fri, 22 Jun 2012 05:53:04 +0000 (05:53 +0000)]
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't emit out-of-line
save/restore functions when relocatable.  Make "funcs" static.

12 years ago*** empty log message ***
gdbadmin [Fri, 22 Jun 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Fri, 22 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
Tom Tromey [Thu, 21 Jun 2012 20:46:25 +0000 (20:46 +0000)]
* lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
(build_executable): Update.
(get_compiler_info): Remove 'binfile' argument.
* gdb.ada/arrayidx.exp: Update.
* gdb.ada/null_array.exp: Update.
* gdb.arch/altivec-abi.exp: Update.
* gdb.arch/altivec-regs.exp: Update.
* gdb.arch/amd64-byte.exp: Update.
* gdb.arch/amd64-dword.exp: Update.
* gdb.arch/amd64-word.exp: Update.
* gdb.arch/i386-avx.exp: Update.
* gdb.arch/i386-byte.exp: Update.
* gdb.arch/i386-sse.exp: Update.
* gdb.arch/i386-word.exp: Update.
* gdb.arch/ppc-dfp.exp: Update.
* gdb.arch/ppc-fp.exp: Update.
* gdb.arch/vsx-regs.exp: Update.
* gdb.base/all-bin.exp: Update.
* gdb.base/annota1.exp: Update.
* gdb.base/async.exp: Update.
* gdb.base/attach.exp: Update.
* gdb.base/break-interp.exp: Update.
* gdb.base/call-ar-st.exp: Update.
* gdb.base/call-rt-st.exp: Update.
* gdb.base/call-sc.exp: Update.
* gdb.base/callfuncs.exp: Update.
* gdb.base/catch-load.exp: Update.
* gdb.base/completion.exp: Update.
* gdb.base/complex.exp: Update.
* gdb.base/condbreak.exp: Update.
* gdb.base/consecutive.exp: Update.
* gdb.base/constvars.exp: Update.
* gdb.base/corefile.exp: Update.
* gdb.base/eval-skip.exp: Update.
* gdb.base/expand-psymtabs.exp: Update.
* gdb.base/exprs.exp: Update.
* gdb.base/fileio.exp: Update.
* gdb.base/fixsection.exp: Update.
* gdb.base/funcargs.exp: Update.
* gdb.base/gdb11530.exp: Update.
* gdb.base/gdb1555.exp: Update.
* gdb.base/gnu-ifunc.exp: Update.
* gdb.base/gnu_vector.exp: Update.
* gdb.base/info-macros.exp: Update.
* gdb.base/jit-simple.exp: Update.
* gdb.base/jit-so.exp: Update.
* gdb.base/jit.exp: Update.
* gdb.base/langs.exp: Update.
* gdb.base/list.exp: Update.
* gdb.base/logical.exp: Update.
* gdb.base/long_long.exp: Update.
* gdb.base/longjmp.exp: Update.
* gdb.base/macscp.exp: Update.
* gdb.base/mips_pro.exp: Update.
* gdb.base/miscexprs.exp: Update.
* gdb.base/morestack.exp: Update.
* gdb.base/nodebug.exp: Update.
* gdb.base/opaque.exp: Update.
* gdb.base/pc-fp.exp: Update.
* gdb.base/pending.exp: Update.
* gdb.base/permissions.exp: Update.
* gdb.base/pointers.exp: Update.
* gdb.base/prelink.exp: Update.
* gdb.base/printcmds.exp: Update.
* gdb.base/psymtab.exp: Update.
* gdb.base/ptype.exp: Update.
* gdb.base/relational.exp: Update.
* gdb.base/scope.exp: Update.
* gdb.base/setvar.exp: Update.
* gdb.base/shlib-call.exp: Update.
* gdb.base/shreloc.exp: Update.
* gdb.base/signals.exp: Update.
* gdb.base/sizeof.exp: Update.
* gdb.base/so-impl-ld.exp: Update.
* gdb.base/so-indr-cl.exp: Update.
* gdb.base/solib-disc.exp: Update.
* gdb.base/solib-display.exp: Update.
* gdb.base/solib-nodir.exp: Update.
* gdb.base/solib-overlap.exp: Update.
* gdb.base/solib-symbol.exp: Update.
* gdb.base/solib-weak.exp: Update.
* gdb.base/solib.exp: Update.
* gdb.base/store.exp: Update.
* gdb.base/structs.exp: Update.
* gdb.base/structs2.exp: Update.
* gdb.base/type-opaque.exp: Update.
* gdb.base/unload.exp: Update.
* gdb.base/varargs.exp: Update.
* gdb.base/volatile.exp: Update.
* gdb.base/watch_thread_num.exp: Update.
* gdb.base/watchpoint-solib.exp: Update.
* gdb.base/watchpoint.exp: Update.
* gdb.base/watchpoints.exp: Update.
* gdb.base/whatis.exp: Update.
* gdb.cell/arch.exp: Update.
* gdb.cell/break.exp: Update.
* gdb.cell/bt.exp: Update.
* gdb.cell/core.exp: Update.
* gdb.cell/data.exp: Update.
* gdb.cell/ea-cache.exp: Update.
* gdb.cell/f-regs.exp: Update.
* gdb.cell/fork.exp: Update.
* gdb.cell/gcore.exp: Update.
* gdb.cell/mem-access.exp: Update.
* gdb.cell/ptype.exp: Update.
* gdb.cell/registers.exp: Update.
* gdb.cell/sizeof.exp: Update.
* gdb.cell/solib-symbol.exp: Update.
* gdb.cell/solib.exp: Update.
* gdb.cp/ambiguous.exp: Update.
* gdb.cp/breakpoint.exp: Update.
* gdb.cp/bs15503.exp: Update.
* gdb.cp/casts.exp: Update.
* gdb.cp/class2.exp: Update.
* gdb.cp/cpexprs.exp: Update.
* gdb.cp/cplusfuncs.exp: Update.
* gdb.cp/ctti.exp: Update.
* gdb.cp/dispcxx.exp: Update.
* gdb.cp/gdb1355.exp: Update.
* gdb.cp/gdb2384.exp: Update.
* gdb.cp/gdb2495.exp: Update.
* gdb.cp/infcall-dlopen.exp: Update.
* gdb.cp/local.exp: Update.
* gdb.cp/m-data.exp: Update.
* gdb.cp/m-static.exp: Update.
* gdb.cp/mb-ctor.exp: Update.
* gdb.cp/mb-inline.exp: Update.
* gdb.cp/mb-templates.exp: Update.
* gdb.cp/member-ptr.exp: Update.
* gdb.cp/method.exp: Update.
* gdb.cp/namespace.exp: Update.
* gdb.cp/nextoverthrow.exp: Update.
* gdb.cp/nsdecl.exp: Update.
* gdb.cp/nsrecurs.exp: Update.
* gdb.cp/nsstress.exp: Update.
* gdb.cp/nsusing.exp: Update.
* gdb.cp/pr-1023.exp: Update.
* gdb.cp/pr-1210.exp: Update.
* gdb.cp/pr-574.exp: Update.
* gdb.cp/pr9631.exp: Update.
* gdb.cp/printmethod.exp: Update.
* gdb.cp/psmang.exp: Update.
* gdb.cp/re-set-overloaded.exp: Update.
* gdb.cp/rtti.exp: Update.
* gdb.cp/shadow.exp: Update.
* gdb.cp/templates.exp: Update.
* gdb.cp/try_catch.exp: Update.
* gdb.dwarf2/dw2-ranges.exp: Update.
* gdb.dwarf2/pr10770.exp: Update.
* gdb.fortran/library-module.exp: Update.
* gdb.hp/gdb.aCC/optimize.exp: Update.
* gdb.hp/gdb.aCC/watch-cmd.exp: Update.
* gdb.hp/gdb.base-hp/callfwmall.exp: Update.
* gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
* gdb.hp/gdb.base-hp/pxdb.exp: Update.
* gdb.hp/gdb.base-hp/sized-enum.exp: Update.
* gdb.hp/gdb.base-hp/so-thresh.exp: Update.
* gdb.hp/gdb.compat/xdb1.exp: Update.
* gdb.hp/gdb.compat/xdb2.exp: Update.
* gdb.hp/gdb.compat/xdb3.exp: Update.
* gdb.hp/gdb.defects/bs14602.exp: Update.
* gdb.hp/gdb.defects/solib-d.exp: Update.
* gdb.hp/gdb.objdbg/objdbg01.exp: Update.
* gdb.hp/gdb.objdbg/objdbg02.exp: Update.
* gdb.hp/gdb.objdbg/objdbg03.exp: Update.
* gdb.hp/gdb.objdbg/objdbg04.exp: Update.
* gdb.mi/gdb792.exp: Update.
* gdb.mi/mi-pending.exp: Update.
* gdb.mi/mi-solib.exp: Update.
* gdb.mi/mi-var-cp.exp: Update.
* gdb.opt/clobbered-registers-O2.exp: Update.
* gdb.opt/inline-bt.exp: Update.
* gdb.opt/inline-cmds.exp: Update.
* gdb.opt/inline-locals.exp: Update.
* gdb.python/py-events.exp: Update.
* gdb.python/py-finish-breakpoint.exp: Update.
* gdb.python/py-type.exp: Update.
* gdb.reverse/solib-precsave.exp: Update.
* gdb.reverse/solib-reverse.exp: Update.
* gdb.server/solib-list.exp: Update.
* gdb.stabs/weird.exp: Update.
* gdb.threads/attach-into-signal.exp: Update.
* gdb.threads/attach-stopped.exp: Update.
* gdb.threads/tls-shared.exp: Update.
* gdb.trace/change-loc.exp: Update.
* gdb.trace/strace.exp: Update.

12 years agold/
Alan Modra [Thu, 21 Jun 2012 03:33:00 +0000 (03:33 +0000)]
ld/
* ldlang.c (lang_insert_orphan): Don't make __start_<sec> symbol
absolute, and remove unnecessary alignment.
ld/testsuite/
* ld-gc/start.d: Update.

12 years ago*** empty log message ***
gdbadmin [Thu, 21 Jun 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Thu, 21 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago * gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
Keith Seitz [Wed, 20 Jun 2012 20:11:06 +0000 (20:11 +0000)]
* gdb.texinfo (GDB/MI Breakpoint Commands): Re-order options
for -break-insert and document -p.

12 years ago * python/py-inferior.c: Update comments of infpy_read_memory
Yao Qi [Wed, 20 Jun 2012 04:02:22 +0000 (04:02 +0000)]
    * python/py-inferior.c: Update comments of infpy_read_memory
        and infpy_write_memory.

gdb/doc:

        * gdb.texinfo (Inferiors In Python): Replace "gdb.read_memory"
        and "gdb.write_memory" with "Inferior.read_memory" and
        "Inferior.write_memory".

12 years ago*** empty log message ***
gdbadmin [Wed, 20 Jun 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Wed, 20 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years agoinclude "config.h" instead of BFD's sysdep.h in d10v/interp.c
Joel Brobecker [Tue, 19 Jun 2012 22:46:57 +0000 (22:46 +0000)]
include "config.h" instead of BFD's sysdep.h in d10v/interp.c

The change of include file introduces some new warnings about functions
being used without a prototype. So a few more system includes have been
added to compensate for that.

sim/d10v/ChangeLog:

        * interp.c: #include "config.h" instead of "sysdep.h".
        Add conditional include of string.h or strings.h, as well as
        conditional include of stdlib.h.

12 years ago PR exp/9514:
Tom Tromey [Tue, 19 Jun 2012 19:49:42 +0000 (19:49 +0000)]
PR exp/9514:
* parser-defs.h (insert_type, insert_type_address_space): Declare.
(push_type_address_space): Remove.
* parse.c (insert_into_type_stack): New function.
(insert_type): Likewise.
(insert_type_address_space): Rename from push_type_address_space.
Insert tp_space_identifier.
* c-exp.y (ptr_operator): New production.
(abs_decl): Use ptr_operator.
(space_identifier): Call insert_type_address_space.
(ptype): Don't use const_or_volatile_or_space_identifier.
(const_or_volatile_noopt): Call insert_type.
(conversion_type_id, conversion_declarator): New productions.
(operator): Use conversion_type_id.
testsuite
* gdb.base/whatis.exp: Add tests.

12 years ago * gdb.cp/m-static.cc (keepalive): New function.
Tom Tromey [Tue, 19 Jun 2012 15:47:02 +0000 (15:47 +0000)]
* gdb.cp/m-static.cc (keepalive): New function.
(gnu_obj_1::method): Use it.

12 years ago * symtab.h (minimal_symbol): New member created_by_gdb.
Doug Evans [Tue, 19 Jun 2012 00:53:35 +0000 (00:53 +0000)]
* symtab.h (minimal_symbol): New member created_by_gdb.
* elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym
created by gdb.
* symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function.
(search_symbols): Call it instead of lookup_symbol.
Skip symbols created by gdb.  Only scan minsyms if nfiles == 0.

testsuite:
* gdb.base/info-fun.exp: New file.
* gdb.base/info-fun.c: New file.
* gdb.base/info-fun-solib.c: New file.

12 years ago * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
Doug Evans [Tue, 19 Jun 2012 00:37:18 +0000 (00:37 +0000)]
* dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index.
Adjust address for DW_OP_GNU_addr_index.
* dwarf2expr.h (dwarf_expr_context): Update comment.
* dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu,
all callers updated.  Handle TLS vars described with
DW_OP_GNU_const_index.
(disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index
and DW_OP_GNU_const_index.
* dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index.

12 years agomerge from gcc
DJ Delorie [Tue, 19 Jun 2012 00:03:49 +0000 (00:03 +0000)]
merge from gcc

12 years agodaily update
Alan Modra [Tue, 19 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Tue, 19 Jun 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years ago * block.c (find_block_in_blockvector): Make explicit the fact that we
Doug Evans [Mon, 18 Jun 2012 20:31:26 +0000 (20:31 +0000)]
* block.c (find_block_in_blockvector): Make explicit the fact that we
ignore GLOBAL_BLOCK.

12 years ago * c-exp.y (operator): Remove trailing space after "delete" and
Tom Tromey [Mon, 18 Jun 2012 20:23:38 +0000 (20:23 +0000)]
* c-exp.y (operator): Remove trailing space after "delete" and
"delete[]".

12 years agogdb/
Jan Kratochvil [Mon, 18 Jun 2012 17:31:34 +0000 (17:31 +0000)]
gdb/
Switch i386 and derived targets to ON_STACK.
* amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove.
(amd64_dicos_init_abi): Remove its installment.
* dicos-tdep.c (dicos_init_abi): Remove the
set_gdbarch_call_dummy_location call.  Update the comment here.
* i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove.
(i386_dicos_init_abi): Remove its installment.
* i386-tdep.c (i386_push_dummy_code): New function.
(i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install
i386_push_dummy_code.

12 years agogdb/
Jan Kratochvil [Mon, 18 Jun 2012 17:28:38 +0000 (17:28 +0000)]
gdb/
Remove stale dummy frames.
* breakpoint.c: Include dummy-frame.h.
(longjmp_breakpoint_ops): New variable.
(update_breakpoints_after_exec, breakpoint_init_inferior): Delete also
bp_longjmp_call_dummy.
(bpstat_what, bptype_string, print_one_breakpoint_location)
(init_bp_location): Support bp_longjmp_call_dummy.
(set_longjmp_breakpoint): Use longjmp_breakpoint_ops.  Comment why.
(set_longjmp_breakpoint_for_call_dummy)
(check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New
functions.
(initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops.
* breakpoint.h (enum bptype): New item bp_longjmp_call_dummy.  Delete
FIXME comment and extend the other comment for bp_call_dummy.
(set_longjmp_breakpoint_for_call_dummy)
(check_longjmp_breakpoint_for_call_dummy): New declarations.
* dummy-frame.c: Include gdbthread.h.
(pop_dummy_frame_bpt): New function.
(pop_dummy_frame): Call pop_dummy_frame_bpt.
(dummy_frame_discard): New function.
(cleanup_dummy_frames): Update the comment about longjmps.
* dummy-frame.h (dummy_frame_discard): New declaration.
* gdbthread.h (struct thread_info): Extend initiating_frame comment.
* infcall.c (call_function_by_hand): New variable longjmp_b.  Call
set_longjmp_breakpoint_for_call_dummy.  Chain its breakpoints with BPT.
* infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>:
Add case 4 comment.  Call check_longjmp_breakpoint_for_call_dummy and
keep_going if IS_LONGJMP and there is no other reason to stop.

gdb/testsuite/
Remove stale dummy frames.
* gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
(maintenance info breakpoints): New tests.
* gdb.base/stale-infcall.c: New file.
* gdb.base/stale-infcall.exp: New file.

12 years ago2012-06-18 Greta Yorsh <Greta.Yorsh@arm.com>
Tom Tromey [Mon, 18 Jun 2012 15:36:09 +0000 (15:36 +0000)]
2012-06-18  Greta Yorsh  <Greta.Yorsh@arm.com>

* remote-sim.c (sim_command_completer): Initialize
variable 'result'.

12 years agoTrim last, empty, line
Hans-Peter Nilsson [Mon, 18 Jun 2012 06:19:02 +0000 (06:19 +0000)]
Trim last, empty, line

12 years ago * ld-cris/dso-pltdis1.d, ld-cris/dso-pltdis2.d, dsofng.s
Hans-Peter Nilsson [Mon, 18 Jun 2012 06:17:36 +0000 (06:17 +0000)]
* ld-cris/dso-pltdis1.d, ld-cris/dso-pltdis2.d, dsofng.s
dsofn4g.s: New tests.

12 years ago * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence
Hans-Peter Nilsson [Mon, 18 Jun 2012 06:16:59 +0000 (06:16 +0000)]
* elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presence
of merged .got and .got.plt entries.

12 years agofix last commit
Alan Modra [Mon, 18 Jun 2012 04:43:07 +0000 (04:43 +0000)]
fix last commit

12 years ago * configure.in: Check DECLS for free, getenv, malloc, realloc,
Alan Modra [Mon, 18 Jun 2012 04:23:15 +0000 (04:23 +0000)]
* configure.in: Check DECLS for free, getenv, malloc, realloc,
* configure: Regenerate.
* config.in: Likewise.

12 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.
Alan Modra [Mon, 18 Jun 2012 00:46:28 +0000 (00:46 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.

12 years ago*** empty log message ***
gdbadmin [Mon, 18 Jun 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Mon, 18 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agosim: cr16: include config.h rather than sysdep.h from bfd
Mike Frysinger [Sun, 17 Jun 2012 23:34:17 +0000 (23:34 +0000)]
sim: cr16: include config.h rather than sysdep.h from bfd

12 years agosim: moxie: fix build by including config.h first
Mike Frysinger [Sun, 17 Jun 2012 23:33:42 +0000 (23:33 +0000)]
sim: moxie: fix build by including config.h first

12 years agogdb/
Jan Kratochvil [Sun, 17 Jun 2012 19:53:52 +0000 (19:53 +0000)]
gdb/
* dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref.
* dwarf2loc.c (call_site_parameter_matches): Support
CALL_SITE_PARAMETER_PARAM_OFFSET.
(needs_dwarf_reg_entry_value): Push stub value.
* dwarf2read.c (read_call_site_scope): New variable origin.  Support
CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin.
* gdbtypes.h (enum call_site_parameter_kind): New item
CALL_SITE_PARAMETER_PARAM_OFFSET.
(struct call_site.parameter.u): New field param_offset.

gdb/testsuite/
* gdb.arch/amd64-entry-value-param.S: New file.
* gdb.arch/amd64-entry-value-param.c: New file.
* gdb.arch/amd64-entry-value-param.exp: New file.

12 years agogdb/
Jan Kratochvil [Sun, 17 Jun 2012 19:50:53 +0000 (19:50 +0000)]
gdb/
Code cleanup: Generalize call_site.parameter key.
* dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove
variable dwarf_reg.  New variable kind_u.  Update parameters to
push_dwarf_reg_entry_value.
(ctx_no_push_dwarf_reg_entry_value): Update parameters.
* dwarf2expr.h (enum call_site_parameter_kind)
(union call_site_parameter_u): Forward declarations.
(struct dwarf_expr_context_funcs): Update parameters and their
description for push_dwarf_reg_entry_value.
(ctx_no_push_dwarf_reg_entry_value): Update parameters.
* dwarf2loc.c (call_site_parameter_matches): New function.
(dwarf_expr_reg_to_entry_parameter): Update parameters and their
description.  Use call_site_parameter_matches.
(dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry):
Update parameters and their description.
(value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset.
New variable kind_u.  Adjust the caller for updated parameters.
(needs_dwarf_reg_entry_value): Update parameters.
* dwarf2read.c (read_call_site_scope): New variable loc.  Use it
instead of attr.  Update for the changed fields of struct
call_site_parameter.
* gdbtypes.h: Include dwarf2expr.h.
(enum call_site_parameter_kind): New.
(struct call_site.parameter): New field kind.  Wrap dwarf_reg and
fb_offset into new union u.

12 years ago * interp.c: Include config.h first. Do not include sysdep.h.
Hans-Peter Nilsson [Sun, 17 Jun 2012 18:56:31 +0000 (18:56 +0000)]
* interp.c: Include config.h first.  Do not include sysdep.h.

12 years ago * ld-cris/tls-e-tpoffgotcomm1.d: New test.
Hans-Peter Nilsson [Sun, 17 Jun 2012 16:56:37 +0000 (16:56 +0000)]
* ld-cris/tls-e-tpoffgotcomm1.d: New test.

12 years ago * ld-cris/tls-e-tpiecomm1.d, ld-cris/tls-e-tpiecomm1.s: New test.
Hans-Peter Nilsson [Sun, 17 Jun 2012 07:29:55 +0000 (07:29 +0000)]
* ld-cris/tls-e-tpiecomm1.d, ld-cris/tls-e-tpiecomm1.s: New test.
* ld-cris/tls-dso-tpoffgotcomm1.d,
ld-cris/tls-dso-tpoffgotcomm1.s: Ditto.

12 years ago * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
Hans-Peter Nilsson [Sun, 17 Jun 2012 07:28:29 +0000 (07:28 +0000)]
* elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>
<R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to
thread common symbols.

12 years ago*** empty log message ***
gdbadmin [Sun, 17 Jun 2012 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sun, 17 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years agoAdd and use amd64_x32_analyze_stack_align
H.J. Lu [Sat, 16 Jun 2012 15:20:22 +0000 (15:20 +0000)]
Add and use amd64_x32_analyze_stack_align

* amd64-tdep.c (amd64_x32_analyze_stack_align): New function.
(amd64_analyze_prologue): Call amd64_x32_analyze_stack_align
for x32.

12 years agoSupport x32 siginfo
H.J. Lu [Sat, 16 Jun 2012 15:18:18 +0000 (15:18 +0000)]
Support x32 siginfo

* amd64-linux-nat.c (compat_x32_clock_t): New.
(compat_x32_siginfo_t): Likewise.
(compat_x32_siginfo_from_siginfo): Likewise.
(siginfo_from_compat_x32_siginfo): Likewise.
(amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
and siginfo_from_compat_x32_siginfo for x32.

12 years ago2012-06-15 Hui Zhu <hui_zhu@mentor.com>
Hui Zhu [Sat, 16 Jun 2012 15:07:35 +0000 (15:07 +0000)]
2012-06-15  Hui Zhu  <hui_zhu@mentor.com>

* tracepoint.c (tfile_xfer_partial): Add a lseek.

12 years agoCheck bits_per_word instead of gdbarch_ptr_bit
H.J. Lu [Sat, 16 Jun 2012 13:28:06 +0000 (13:28 +0000)]
Check bits_per_word instead of gdbarch_ptr_bit

* amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word
instead of gdbarch_ptr_bit.
* amd64-nat.c (amd64_native_gregset_reg_offset): Likewise.
(amd64_supply_native_gregset): Likewise.
(amd64_collect_native_gregset): Likewise.
* amd64-tdep.c (amd64_supply_fxsave): Likewise.
(amd64_supply_xsave): Likewise.
(amd64_collect_fxsave): Likewise.
(amd64_collect_xsave): Likewise.

12 years agoCheck DS segment register for x32 process
H.J. Lu [Sat, 16 Jun 2012 13:26:37 +0000 (13:26 +0000)]
Check DS segment register for x32 process

* amd64-linux-nat.c (AMD64_LINUX_X32_DS): New.
(amd64_linux_read_description): Check DS segment register for
x32 process.

12 years ago*** empty log message ***
gdbadmin [Sat, 16 Jun 2012 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

12 years agodaily update
Alan Modra [Sat, 16 Jun 2012 00:00:04 +0000 (00:00 +0000)]
daily update

12 years agosim/erc32/sys.h: Include "config.h".
Joel Brobecker [Fri, 15 Jun 2012 17:20:30 +0000 (17:20 +0000)]
sim/erc32/sys.h: Include "config.h".

This file includes "gdb/callback.h", which includes "bfd.h", which
itself verifies that "config.h" was included earlier.

sim/erc32/ChangeLog:

        * sys.h: Include "config.h".

12 years agoDefine PACKAGE macro in all sims' config.h.
Joel Brobecker [Fri, 15 Jun 2012 17:20:10 +0000 (17:20 +0000)]
Define PACKAGE macro in all sims' config.h.

Some of the common includes in include/gdb such as callback.h
include bfd.h.  But there was a recent change in bfd-in.h to
require that config.h be included before bfd.h can be included:

    /* PR 14072: Ensure that config.h is included first.  */
    #if !defined PACKAGE && !defined PACKAGE_VERSION
    #error config.h must be included before this header
    #endif

PACKAGE_VERSION is always defined by default by the AC_INIT autoconf
macro, but PACKAGE isn't.  This patch updates the SIM_AC_COMMON macro
to define it, and then regenerates all configure scripts and config.in
files.

sim/common/changeLog:

        * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
        * config.in, configure: Regenerate.

sim/ChangeLog:

        * configure: Regenerate.

sim/arm/ChangeLog:

        * config.in, configure: Regenerate.

sim/avr/ChangeLog:

* config.in, configure: Regenerate.

sim/bfin/ChangeLog:

* config.in, configure: Regenerate.

sim/cr16/ChangeLog:

* config.in, configure: Regenerate.

sim/cris/ChangeLog:

* config.in, configure: Regenerate.

sim/d10v/ChangeLog:

* config.in, configure: Regenerate.

sim/erc32/ChangeLog:

* config.in, configure: Regenerate.

sim/frv/ChangeLog:

* config.in, configure: Regenerate.

sim/h8300/ChangeLog:

* config.in, configure: Regenerate.

sim/iq2000/ChangeLog:

* config.in, configure: Regenerate.

sim/lm32/ChangeLog:

* config.in, configure: Regenerate.

sim/m32c/ChangeLog:

* config.in, configure: Regenerate.

sim/m32r/ChangeLog:

* config.in, configure: Regenerate.

sim/m68hc11/ChangeLog:

* config.in, configure: Regenerate.

sim/mcore/ChangeLog:

* config.in, configure: Regenerate.

sim/microblaze/ChangeLog:

* config.in, configure: Regenerate.

sim/mips/ChangeLog:

* config.in, configure: Regenerate.

sim/mn10300/ChangeLog:

* config.in, configure: Regenerate.

sim/moxie/ChangeLog:

* config.in, configure: Regenerate.

sim/ppc/ChangeLog:

* configure: Regenerate.

sim/rl78/ChangeLog:

* config.in, configure: Regenerate.

sim/rx/ChangeLog:

* config.in, configure: Regenerate.

sim/sh/ChangeLog:

* config.in, configure: Regenerate.

sim/sh64/ChangeLog:

* config.in, configure: Regenerate.

sim/v850/ChangeLog:

* config.in, configure: Regenerate.

sim/testsuite/ChangeLog:

* configure: Regenerate.

12 years ago * dwarf2read.c (dw2_find_symbol_file): Unconditionally use
Tom Tromey [Fri, 15 Jun 2012 16:19:02 +0000 (16:19 +0000)]
* dwarf2read.c (dw2_find_symbol_file): Unconditionally use
init_cutu_and_read_dies.
testsuite
* gdb.cp/namespace.exp: Add "show lang" test.

12 years agold/
Alan Modra [Fri, 15 Jun 2012 15:13:41 +0000 (15:13 +0000)]
ld/
* ldlang.h (lang_output_section_statement_type): Add after_end field.
(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
(section_for_dot): Declare.
* ldlang.c (lang_size_sections_1): Correct comment.
(current_section): Move earlier.
(current_assign, prefer_next_section): New static vars.
(lang_do_assignments_1): Add found_end param.  Detect _end
assignment to set found_end.  Set os->after_end.  Set above statics.
(lang_do_assignments): Adjust lang_do_assignments_1 call.  Init
vars.
(section_for_dot): New function.
(lang_set_startof): Don't make an absolute symbol.
(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
* ldexp.c (new_rel_from_abs): Use section_for_dot.
* emultempl/lnk960.em (symbol_at_beginning_of): New function.
(symbol_at_end_of): Likewise.
(lnk960_after_allocation): Use them.
* scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
likewise before __bss_start.

ld/testsuite/
Update far too many tests.

12 years agogdb/testsuite:
Iain Sandoe [Fri, 15 Jun 2012 14:43:00 +0000 (14:43 +0000)]
gdb/testsuite:

* gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
case. (top level): Use gdb_file_cmd instead of gdb_load.

12 years ago * MAINTAINERS (Write After Approval): Add myself to the list.
Iain Sandoe [Fri, 15 Jun 2012 14:41:26 +0000 (14:41 +0000)]
* MAINTAINERS (Write After Approval): Add myself to the list.

12 years ago * valops.c (value_find_oload_method_list): Now static.
Tom Tromey [Fri, 15 Jun 2012 14:38:30 +0000 (14:38 +0000)]
* valops.c (value_find_oload_method_list): Now static.
* value.h (value_find_oload_method_list): Don't declare.

12 years ago * valops.c (find_overload_match): Use value_ind.
Tom Tromey [Fri, 15 Jun 2012 14:35:33 +0000 (14:35 +0000)]
* valops.c (find_overload_match): Use value_ind.

12 years agoFix Texinfo usage issues. From Patrice Dumas <pertusus@free.fr>.
Eli Zaretskii [Fri, 15 Jun 2012 09:21:37 +0000 (09:21 +0000)]
Fix Texinfo usage issues.  From Patrice Dumas <pertusus@free.fr>.

* gdb.texinfo (Summary): Add a link to "Free Documentation".
(Free Documentation): Add @node line.
(Continuing and Stepping) <advance location>: Use @item instead of
@itemx.
(Reverse Execution) <set exec-direction reverse>: Use @item instead of
@itemx.
(Embedded Processors): Put the link to "PA" to its correct place,
according to document structure.
(Python API): Put the link to "Lazy Strings In Python" to its
correct place.
(Index): Use @@ in @tex block to get a literal @.

* gdbint.texinfo: Fix the @subtitle line.

* stabs.texinfo (Top): Put the link to "Symbol Types Index" to its
correct place.

12 years ago * infrun.c (handle_inferior_event): Correct indentation.
Maciej W. Rozycki [Fri, 15 Jun 2012 08:50:29 +0000 (08:50 +0000)]
* infrun.c (handle_inferior_event): Correct indentation.

12 years agodaily update
Alan Modra [Fri, 15 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Fri, 15 Jun 2012 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoHandle link_info.pie in ld plugin
H.J. Lu [Thu, 14 Jun 2012 23:44:38 +0000 (23:44 +0000)]
Handle link_info.pie in ld plugin

* plugin.c (set_tv_header): Handle link_info.pie.

12 years ago * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
Doug Evans [Thu, 14 Jun 2012 22:56:47 +0000 (22:56 +0000)]
* dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH.
(DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL.
All uses updated.
(decode_debug_loc_dwo_addresses): New arg "byte_order".  All callers
updated.  Handle DEBUG_LOC_START_LENGTH.
(dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH.
(loclist_describe_location): Ditto.

12 years ago PR backtrace/13866
Maciej W. Rozycki [Thu, 14 Jun 2012 21:15:19 +0000 (21:15 +0000)]
PR backtrace/13866
* infrun.c (handle_inferior_event): Re-fetch frame and gdbarch
after hiding inline functions.

12 years agoFix copy/paste error in _initialize_inf_ttrace's advance declaration.
Joel Brobecker [Thu, 14 Jun 2012 18:21:31 +0000 (18:21 +0000)]
Fix copy/paste error in _initialize_inf_ttrace's advance declaration.

gdb/ChangeLog:

        * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into
        _initialize_inf_ttrace.

12 years agoRename ia64-hpux-nat.c:_initialize_hppa_hpux_nat...
Joel Brobecker [Thu, 14 Jun 2012 18:19:40 +0000 (18:19 +0000)]
Rename ia64-hpux-nat.c:_initialize_hppa_hpux_nat...

... into _initialize_ia64_hpux_nat. Looks like a harmless but
unfortunate copy/paste error.

gdb/ChangeLog:

        * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames
        _initialize_hppa_hpux_nat.

12 years agoFix invalid profile for command-completer in remote-sim.c
Joel Brobecker [Thu, 14 Jun 2012 18:17:37 +0000 (18:17 +0000)]
Fix invalid profile for command-completer in remote-sim.c

The profile of command completers has been change to returna VEC
of char_ptr.  Most completers were updated, except the one in
remote-sim.c.

Unfortunately, to make things a little more difficult, the meat of
the completer is actually implemented in the sim, were VECs are not
available.  This patch thus translates the returned array into a VEC,
and then returns that VEC.

gdb/ChangeLog:

        * remote-sim.c (sim_command_completer): Change type of return
        value to "VEC (char_ptr) *".  Adjust implementation accordingly.

12 years agodaily update
Alan Modra [Thu, 14 Jun 2012 00:00:05 +0000 (00:00 +0000)]
daily update

12 years ago*** empty log message ***
gdbadmin [Thu, 14 Jun 2012 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

12 years agoFix .dc.a for x32
H.J. Lu [Wed, 13 Jun 2012 21:41:07 +0000 (21:41 +0000)]
Fix .dc.a for x32

gas/

* config/tc-i386.c (x86_address_bytes): New.
* config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
(x86_address_bytes): Likewise.

gas/testsuite/

* gas/i386/ilp32/x86-64-dc_a.d: New.
* gas/i386/ilp32/x86-64-dc_a.s: Likewise.

12 years agogdb/testsuite/
Jan Kratochvil [Wed, 13 Jun 2012 21:31:06 +0000 (21:31 +0000)]
gdb/testsuite/
PR tdep/14222
* gdb.arch/i386-sse-stack-align.S: New file.
* gdb.arch/i386-sse-stack-align.c: New file.
* gdb.arch/i386-sse-stack-align.exp: New file.

12 years ago PR tdep/14222
Mark Kettenis [Wed, 13 Jun 2012 21:21:25 +0000 (21:21 +0000)]
    PR tdep/14222
        * i386-tdep.c (i386_push_dummy_call): Unconditionally align the
        stack on a 16-byte boundary.