public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] gbenson/pr14963: Merge remote branch 'gdb/master' into gbenson/pr14963
@ 2013-09-17 12:13 gary
0 siblings, 0 replies; only message in thread
From: gary @ 2013-09-17 12:13 UTC (permalink / raw)
To: archer-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 83564 bytes --]
The branch, gbenson/pr14963 has been updated
via a1d0e5f3f206100057179b1fbc8582a832d6aa57 (commit)
via 9925a0a44fc23fb9170d23a6aeb209c9ac37045c (commit)
via 3a877ecac356e2b7bfb797588ca6a73427300216 (commit)
via 7a59099412646110cea761f9c7b4742ecc12811a (commit)
via 0d4ce5750724ced7ea6afedc380f1f8002052383 (commit)
via 9e47809d34c7b9b3e1b34aa86da116e645df782a (commit)
via 8613b25be81a5a5bc735874f5208bc35988faf87 (commit)
via c1f7f7e97f37ca31c04b7b093a2efc122eeffd41 (commit)
via 5e29d2fbf6e977efbfd125bb69ba775fddf8d03b (commit)
via 44bf49ede30dc8a0a7e286d21ea4784a0bdb0125 (commit)
via f608ab8467c2b68da878c0014675f952956b74b9 (commit)
via 7af1e62f1d2c029da105d972b2bf0efa6e59a0be (commit)
via 21e593044c7895bec4757b83fd83e31a3405e6ec (commit)
via 2c848f85f22c516bf6c8082013f96a1f0677a29d (commit)
via 0b96102a98036bbff145f79ebcd22f0cfdb78986 (commit)
via 5d36ed4b1b0c71f42c547cabe8e2e6ebf32e8593 (commit)
via 415c7f4af2dca4fd59f0f19a32f711f8e1e62b38 (commit)
via 155ce8e8fd0b5d85b2847702345f3518603b57c9 (commit)
via 2ea82b43d8dd600207ea089a6b52580d408a25f2 (commit)
via bb75b245370e8d5bb43b2f5fd6e4eaf460be14ea (commit)
via 3099f3cede12babe604b3651b48db6b456ff4b19 (commit)
via bc946aaa2a92993e05654fbe9f2adacd4fa11d82 (commit)
via 5bda4866ff733561bb3aa58b6abddd743d4d4e11 (commit)
via 23d3953ea87a1b3caebe0c331526cc6d2fe55632 (commit)
via af46d9abd14c7528c495097da746aea708c79fb5 (commit)
via d2f647bed4519be2fc7ba090a7cbc6cd7bbd0fe5 (commit)
via 2b8c010441ed96a380a3837acf9a9c42e4fa1d66 (commit)
via 269e339689a364972ba6f38e691b3ac218d9d924 (commit)
via 1a337af9b19430ce24eaf9a3015f040613601753 (commit)
via 44ff9eb85d83ca5922e1dcd520c469db30653142 (commit)
via 4b9aec26f4f61071a85437b810f053a9f56783d2 (commit)
via 17388d76e6a28f760392fcf82c4f51adc2b79fbd (commit)
via 13157288d5996f721afa24abfb364f6ed86828ca (commit)
via 7790bf8bb29489393f3f6d2e92a5dc9a786a4711 (commit)
via c55ad7b5232297e40f69ce6307aea36bab2939e6 (commit)
via e93b5ea51987ab11d43c622300efda641373533d (commit)
via ddbb73527f7b68c1c57021fd8d2ef2a1fe105a1d (commit)
via 6ca8ff3dfdfa346ae6556fd577349a621206091f (commit)
via 040ba1f282d8098e2aec480976da6431fca8f0f0 (commit)
via 0601deaad5ea6f160abfe66035bddafa8a7ac94c (commit)
via b22d55a13ed6378a49d980c176fec902937dc96c (commit)
via bdafb20e29724b56d4f09743de0c7227307aa821 (commit)
via abd06b47e24148009ffe84c64accc1e3fb7da165 (commit)
via 57cd1bd9a2812d461cfc8c19cce966424f13a6d3 (commit)
via 954ad01d097b28191088bdd8e085eda3c0bd3f0b (commit)
via 870e35a3f8dc493df1c72657155a653cbc88554a (commit)
via bfede9b283dc4fdbae3222ee2cea92d96160ae97 (commit)
via 5ba68fd23f49d8e775c7ade5ab9b38ae1aff54f4 (commit)
via 4074c648c2897e318e5fd2ace9ea7b7818a38280 (commit)
via 0a0d7c62691db2ce273344de758963781fa69640 (commit)
via 26434a224f4102bb7314d804095f69975f8a6a34 (commit)
via 0a8469c51202ce49095e6c942226dff9ce0fb9a9 (commit)
via cad0c29fe17829892e7025f08c4f0b9f86c40981 (commit)
via d03f62382e0502a42020e6379dbe3c9252813c65 (commit)
via f669bd59d3cb69f76ad8d41e338c46ab81f614df (commit)
via d803ca1cc28bff0f2d2d06a48a1feeaaa05da0d3 (commit)
via fa3257acf6b2748cbc5d56f0b106321d8b1f712c (commit)
via 31ba9717987102f4d5a0a009fd1a916ca62a9e7e (commit)
via 57077e6e5cd7f04f0641f7e083de3c002665b080 (commit)
via 5dc21b7e72b3f4e334f0c65534b1c20138406c66 (commit)
via 675ec0a899cba256e703ee3cec017a01c8a3d806 (commit)
via 0734a693bde7d18a4a06e320f6e28678880dc0f7 (commit)
via b848f8a279aec58438e0edb2fad6e72a4bd24791 (commit)
via ee97f8db46c8259b2a05760478816c497d8cfb5d (commit)
via 55a8947d73592005d1ee1948b3c5dac9bdec9613 (commit)
via 040706c5d7a266ede271b62b77a40260882bc8d1 (commit)
via d71c522d1ce96825ac0a57f1bd0c240b15bb6288 (commit)
via e3ce85b83b0283b03575d5bcc4dc4ffcc0532883 (commit)
via 0b76cc40112ccd7668cb7477c73af0862d6734da (commit)
via 95854c03b392f9089907063f594c15c4536989f4 (commit)
via 0728124a5ff4f99f7f6083ddc004a0c6853df869 (commit)
via 50bbcd63620eb5818309f801780bf8b96cbfc515 (commit)
via ceb4a1a934d144f1eff9b6a1747c4928dc168767 (commit)
via 9a2c0a8ddf439de89aa1498d9239001865e6d947 (commit)
via 949932c3aff33f6af9b6e9c367b704a822e8d477 (commit)
via eda72100f3a374bc40a590fc3c8528e6f436d9e6 (commit)
via 6bb41be8f47878c94ab31579ee8d0229e37b0a07 (commit)
via b7ea60e0ad7f009a71fe2f3fe611e12583febf52 (commit)
via bf86492f121950d94fc317344f1347d6db183782 (commit)
via 4f4ed9344551a30c5e233bfbb3d5d1036db53a8e (commit)
via cd4e4e125c6398c55309f720bf87e3d22c6ca3f9 (commit)
via 6bdaad1a541c341f922b6ce2772f88ffdf3e0158 (commit)
via e6b7b3d4b2f95670d5c36dd9d4619666b0a29205 (commit)
via 0fac8c92c5a2d8f795fc09879f4dacf8a51b832b (commit)
from 022d2cd1640d1f3abf7d5c6d16eb68e785f9df55 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit a1d0e5f3f206100057179b1fbc8582a832d6aa57
Merge: 9925a0a 3a877ec
Author: Gary Benson <gbenson@redhat.com>
Date: Tue Sep 17 13:11:59 2013 +0100
Merge remote branch 'gdb/master' into gbenson/pr14963
commit 9925a0a44fc23fb9170d23a6aeb209c9ac37045c
Author: Gary Benson <gbenson@redhat.com>
Date: Tue Sep 17 13:08:06 2013 +0100
Update
commit 3a877ecac356e2b7bfb797588ca6a73427300216
Author: Richard Sandiford <rsandifo@nildram.co.uk>
Date: Tue Sep 17 09:02:36 2013 +0000
opcodes/
* s390-opc.txt (clih): Make the immediate unsigned.
gas/testsuite/
* gas/s390/zarch-z196.s, gas/s390/zarch-z196.d: Test CLIH with
4000000000.
commit 7a59099412646110cea761f9c7b4742ecc12811a
Author: qiyao <qiyao>
Date: Tue Sep 17 07:00:50 2013 +0000
gdb/testsuite/
* gdb.base/catch-load.c: Remove the include of "dlfcn.h".
[__WIN32__]: Include "windows.h" and define macro dlopen
and dlclose.
[!__WIN32__]: Include "dlfcn.h".
* gdb.base/catch-load.exp (one_catch_load_test): Match
directory separator.
commit 0d4ce5750724ced7ea6afedc380f1f8002052383
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Sep 17 00:00:04 2013 +0000
daily update
commit 9e47809d34c7b9b3e1b34aa86da116e645df782a
Author: Doug Evans <dje@google.com>
Date: Mon Sep 16 23:59:01 2013 +0000
* lib/gdb.exp (using_fission): New proc.
* gdb.base/info-macros.exp: Skip test if using Fission.
commit 8613b25be81a5a5bc735874f5208bc35988faf87
Author: Doug Evans <dje@google.com>
Date: Mon Sep 16 23:42:57 2013 +0000
* gdb.base/break-interp.exp: Fix indentation.
commit c1f7f7e97f37ca31c04b7b093a2efc122eeffd41
Author: sergiodj <sergiodj>
Date: Mon Sep 16 21:07:13 2013 +0000
The error message in the function was saying
"You should provide one parameter..." while it should be saying "... one
argument...". Replaced.
2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
* value.c (isvoid_internal_fn): Replace "parameter" with
"argument".
commit 5e29d2fbf6e977efbfd125bb69ba775fddf8d03b
Author: Stan Shebs <shebs@apple.com>
Date: Mon Sep 16 18:00:33 2013 +0000
* README: Update references to writing code for GDB.
* configure.ac (build_warnings): Remove obsolete comment.
* configure: Regenerate.
* gdbarch.sh: Remove references to gdbint.texinfo.
* gdbarch.h: Regenerate.
* gdbtypes.c (objfile_type): Remove comments referencing internals
manual and D10V.
[gdb/doc]
Remove the internals manual gdbint.texinfo.
* Makefile.in (INFO_DEPS): Remove gdbint.info.
(PDFFILES): Remove gdbint.pdf.
(HTMLFILES): Remove gdbint/index.html.
(HTMLFILES_INSTALL): Remove gdbint.
(GDBINT_DOC_FILES): Remove.
(dvi): Remove gdbint.dvi.
(ps): Remove gdbint.ps.
* gdbint.texinfo: Remove file.
* gdb.texinfo (Maintenance Commands): Remove reference to gdbint.
commit 44bf49ede30dc8a0a7e286d21ea4784a0bdb0125
Author: sergiodj <sergiodj>
Date: Mon Sep 16 17:47:29 2013 +0000
Based on the discussion at:
<https://sourceware.org/ml/gdb-patches/2013-09/msg00301.html>
<https://sourceware.org/ml/gdb-patches/2013-09/msg00383.html>
This patch adds a new convenience function called $_isvoid, whose
only purpose is to check whether an expression is void or not.
This became necessary because the new convenience variable
$_exitsignal (not yet approved) has a mutual exclusive behavior
with $_exitcode, i.e., when one is "defined" (i.e., non-void),
the other is cleared (i.e., becomes void). Doug wanted a way to
identify which variable to use, and checking for voidness is the
obvious solution.
It is worth mentioning that my first attempt, after a conversation with
Doug, was to actually implement a new $_isdefined() convenience
function. I would do that (for convenience variables) by calling
lookup_only_internalvar. However, I found a few problems:
- Whenever I called $_isdefined ($variable), $variable became defined
(with a void value), and $_isdefined always returned true.
- Then, I tried to implement $_isdefined ("variable"), and do the "$" +
"variable" inside GDB, thus making it impossible for GDB to create the
convenience variable. However, it was hard to extract the string
without having to mess with values and their idiossincrasies.
Therefore, I decided to abandon this attempt (specially because I
didn't want to spend too much time struggling with it).
Anyway, after talking to Doug again we decided that it would be easier
to implement $_isvoid, and this will probably help in cases like
<http://stackoverflow.com/questions/3744554/testing-if-a-gdb-convenience-variable-is-defined>.
I wrote a NEWS entry for it, and some new lines on the documentation.
gdb/
2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
* NEWS: Mention new convenience function $_isvoid.
* value.c (isvoid_internal_fn): New function.
(_initialize_values): Add new convenience function $_isvoid.
gdb/doc/
2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.texinfo (Convenience Functions): Mention new convenience
function $_isvoid.
gdb/testsuite/
2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
* gdb.base/gdbvars.c (foo_void): New function.
(foo_int): Likewise.
* gdb.base/gdbvars.exp (test_convenience_functions): New
function. Call it.
commit f608ab8467c2b68da878c0014675f952956b74b9
Author: willnewton <willnewton>
Date: Mon Sep 16 14:22:19 2013 +0000
gdbserver, aarch64: Zero out regs in aarch64_linux_set_debug_regs.
Apply the same fix that was applied to aarch64-linux-nat.c.
2013-09-16 Will Newton <will.newton@linaro.org>
* linux-aarch64-low.c (aarch64_linux_set_debug_regs): Zero
out regs.
commit 7af1e62f1d2c029da105d972b2bf0efa6e59a0be
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Mon Sep 16 11:28:53 2013 +0000
* arm-linux-tdep.c: Add "elf/common.h" header.
Remove AT_HWCAP macro definintion as it is provided in
added include file.
* s390-tdep.c: Remove system header <elf.h>
Add "elf/common.h" header for AT_HWCAP definition.
(s390_core_read_description): Use correct CORE_ADDR
for hwcap local variable used as third parameter
of function target_auxv_search.
commit 21e593044c7895bec4757b83fd83e31a3405e6ec
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Sep 16 00:00:04 2013 +0000
daily update
commit 2c848f85f22c516bf6c8082013f96a1f0677a29d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Sep 15 00:00:04 2013 +0000
daily update
commit 0b96102a98036bbff145f79ebcd22f0cfdb78986
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date: Sat Sep 14 06:26:34 2013 +0000
* common/filestuff.c (gdb_fopen_cloexec): Do not try to use "e"
mode if operating system doesn't know O_CLOEXEC.
commit 5d36ed4b1b0c71f42c547cabe8e2e6ebf32e8593
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Sep 14 00:00:04 2013 +0000
daily update
commit 415c7f4af2dca4fd59f0f19a32f711f8e1e62b38
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Fri Sep 13 14:21:03 2013 +0000
Code cleanup: Move variable.
gdb/
2013-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
Code cleanup.
* symfile.c (reread_symbols): Move variable obfd_filename to a more
inner block.
commit 155ce8e8fd0b5d85b2847702345f3518603b57c9
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Fri Sep 13 14:17:29 2013 +0000
gdb/ChangeLog:
2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
* NEWS: Mention TDB support.
* features/s390-tdb.xml: New file.
* features/s390-te-linux64.xml: New file.
* features/s390x-te-linux64.xml: New file.
* features/Makefile (WHICH): Add new tdescs above.
(s390-te-linux64-expedite): Set.
(s390x-te-linux64-expedite): Set.
* features/s390-te-linux64.c: New file (generated).
* features/s390x-te-linux64.c: New file (generated).
* regformats/s390-te-linux64.dat: New file (generated).
* regformats/s390x-te-linux64.dat: New file (generated).
* s390-tdep.h (HWCAP_S390_HIGH_GPRS): Define.
(HWCAP_S390_TE): Likewise.
(S390_TDB_DWORD0_REGNUM): Likewise.
(S390_TDB_DWORD0_REGNUM): Likewise.
(S390_TDB_ABORT_CODE_REGNUM): Likewise.
(S390_TDB_CONFLICT_TOKEN_REGNUM): Likewise.
(S390_TDB_ATIA_REGNUM): Likewise.
(S390_TDB_R0_REGNUM): Likewise.
(S390_TDB_R1_REGNUM): Likewise.
(S390_TDB_R2_REGNUM): Likewise.
(S390_TDB_R3_REGNUM): Likewise.
(S390_TDB_R4_REGNUM): Likewise.
(S390_TDB_R5_REGNUM): Likewise.
(S390_TDB_R6_REGNUM): Likewise.
(S390_TDB_R7_REGNUM): Likewise.
(S390_TDB_R8_REGNUM): Likewise.
(S390_TDB_R9_REGNUM): Likewise.
(S390_TDB_R10_REGNUM): Likewise.
(S390_TDB_R11_REGNUM): Likewise.
(S390_TDB_R12_REGNUM): Likewise.
(S390_TDB_R13_REGNUM): Likewise.
(S390_TDB_R14_REGNUM): Likewise.
(S390_TDB_R15_REGNUM): Likewise.
(S390_NUM_REGS): Increase.
(S390_IS_TDBREGSET_REGNUM): New macro.
(s390_regmap_tdb): Declare.
(s390_sizeof_tdbregset): Define.
(tdesc_s390_te_linux64): Declare.
(tdesc_s390x_te_linux64): Likewise.
* s390-tdep.c: Add includes for "auxv.h", <elf.h>,
"features/s390-te-linux64.c", and "features/s390x-te-linux64.c".
(s390_regmap_tdb): New regmap.
(s390_supply_tdb_regset): New function.
(s390_tdb_regset): New regset.
(s390_linux64v2_regset_sections): Add TDB regset to list.
(s390x_linux64v2_regset_sections): Likewise.
(s390_regset_from_core_section): Recognize TDB core note section.
(s390_core_read_description): If HWCAP indicates TE support,
select tdesc_s390_te_linux64 or tdesc_s390_s390x_te_linux64.
(s390_gdbarch_init): Handle TDB regset.
(_initialize_s390_tdep): Initialize new tdescs.
* s390-nat.c (HWCAP_S390_HIGH_GPRS): Remove define.
(have_regset_tdb): New variable.
(s390_native_supply): Support register invalidation.
(fetch_regset): Invalidate registers if ptrace yields ENODATA.
(check_regset): Treat ENODATA as "regset exists".
(s390_linux_fetch_inferior_registers): Add TDB.
(s390_read_description): Check for TDB existence and select
appropriate tdesc.
* gdbserver/Makefile.in (clean): Add removal of new makefile
targets.
(s390-te-linux64.c): New makefile target.
(s390x-te-linux64.c): Likewise.
* gdbserver/configure.srv (srv_regobj): Append new objects
s390-te-linux64.o and s390x-te-linux64.o.
(srv_xmlfiles): Append new files s390-te-linux64.xml,
s390x-te-linux64.xml, and s390-tdb.xml.
* gdbserver/linux-s390-low.c (init_registers_s390_te_linux64): New
declaration.
(tdesc_s390_te_linux64): Likewise.
(init_registers_s390x_te_linux64): Likewise.
(tdesc_s390x_te_linux64): Likewise.
(s390_check_regset): Treat ENODATA as "regset exists".
(s390_arch_setup): Add TDB regset support.
(initialize_low_arch): Initialize registers for new tdescs.
gdb/doc/ChangeLog:
2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.texinfo (Decimal Floating Point format): Mention S/390.
(Standard Target Features): Add new node to menu.
(S/390 and System z Features): New node.
gdb/testsuite/ChangeLog:
2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.arch/s390-tdbregs.c: New file.
* gdb.arch/s390-tdbregs.exp: New file.
commit 2ea82b43d8dd600207ea089a6b52580d408a25f2
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Fri Sep 13 14:11:14 2013 +0000
2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
* s390-tdep.h (S390_IS_GREGSET_REGNUM): New macro.
(S390_IS_FPREGSET_REGNUM): New macro.
* s390-tdep.c (s390_dwarf_regmap): Make const.
(regnum_is_gpr_full): New function for replacing repeated code.
(s390_pseudo_register_name): Use it.
(s390_pseudo_register_type): Likewise.
(s390_pseudo_register_read): Likewise.
(s390_pseudo_register_write): Likewise.
(s390_unwind_pseudo_register): Likewise.
(s390_regmap_gregset): New format for regmap.
(s390x_regmap_gregset): Likewise.
(s390_regmap_fpregset): Likewise.
(s390_regmap_upper): Likewise.
(s390_regmap_last_break): Likewise.
(s390_regmap_system_call): Likewise.
(s390_supply_regset): Adjust to new regmap format.
(s390_collect_regset): Likewise.
* s390-nat.c (s390_native_supply): Adjust to new regmap format.
(s390_native_collect): Likewise.
(supply_gregset): Likewise.
(fill_gregset): Likewise.
(supply_fpregset): Likewise.
(fill_fpregset): Likewise.
(fetch_regset): Likewise.
(store_regset): Likewise.
(s390_linux_fetch_inferior_registers): Likewise.
(s390_linux_fetch_inferior_registers): Likewise.
commit bb75b245370e8d5bb43b2f5fd6e4eaf460be14ea
Author: sagovic <sagovic>
Date: Fri Sep 13 08:04:01 2013 +0000
doc,mi: example refers to -list-features instead of -list-target-features
Corrected mi documentation about -list-target-features, example now uses the
correct mi command.
2013-09-13 Sanimir Agovic <sanimir.agovic@intel.com>
* gdb.texinfo (GDB/MI Miscellaneous Commands): Use
-list-target-features in the example.
commit 3099f3cede12babe604b3651b48db6b456ff4b19
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Sep 13 00:00:04 2013 +0000
daily update
commit bc946aaa2a92993e05654fbe9f2adacd4fa11d82
Author: Stan Shebs <shebs@apple.com>
Date: Thu Sep 12 22:51:16 2013 +0000
* README: New file.
commit 5bda4866ff733561bb3aa58b6abddd743d4d4e11
Author: Doug Evans <dje@google.com>
Date: Thu Sep 12 22:39:26 2013 +0000
* gdb.python/py-events.py (new_objfile_handler): Remove accidentally
added code to print event.inferior.
commit 23d3953ea87a1b3caebe0c331526cc6d2fe55632
Author: DJ Delorie <dj@delorie.com>
Date: Thu Sep 12 16:08:09 2013 +0000
merge from gcc
commit af46d9abd14c7528c495097da746aea708c79fb5
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 12 14:06:18 2013 +0100
Document this
commit d2f647bed4519be2fc7ba090a7cbc6cd7bbd0fe5
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 12 14:01:50 2013 +0100
Unnecessary check
commit 2b8c010441ed96a380a3837acf9a9c42e4fa1d66
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 12 13:59:44 2013 +0100
Seems to work?
commit 269e339689a364972ba6f38e691b3ac218d9d924
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 12 10:15:58 2013 +0100
Start stripping hashtable code
commit 1a337af9b19430ce24eaf9a3015f040613601753
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Sep 12 10:04:40 2013 +0100
Reinstate this
commit 44ff9eb85d83ca5922e1dcd520c469db30653142
Author: pinskia <pinskia>
Date: Thu Sep 12 07:14:37 2013 +0000
2013-09-12 Andrew Pinski <apinski@cavium.com>
* aarch64-linux-nat.c (aarch64_linux_set_debug_regs): Zero out regs.
commit 4b9aec26f4f61071a85437b810f053a9f56783d2
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Sep 12 00:00:04 2013 +0000
daily update
commit 17388d76e6a28f760392fcf82c4f51adc2b79fbd
Merge: 022d2cd 1315728
Author: Gary Benson <gbenson@redhat.com>
Date: Wed Sep 11 13:29:02 2013 +0100
Merge
commit 13157288d5996f721afa24abfb364f6ed86828ca
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 11 08:31:44 2013 +0000
minidebuginfo: Fix stripping/debuginfo
gdb/doc/
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (MiniDebugInfo): Prepare file debug and use it to create
mini_debuginfo. Strip binary before adding mini_debuginfo to it.
gdb/testsuite/
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gnu-debugdata.exp (objcopy 1): Move it lower and use only
debug part of the binary.
commit 7790bf8bb29489393f3f6d2e92a5dc9a786a4711
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 11 08:29:46 2013 +0000
minidebuginfo: ppc64 sync testcase->doc
gdb/doc/
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
Sync documentation with gdb.base/gnu-debugdata.exp.
* gdb.texinfo (MiniDebugInfo): Add comment and "D" in the example.
commit c55ad7b5232297e40f69ce6307aea36bab2939e6
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 11 08:28:03 2013 +0000
minidebuginfo: Obvious changes
gdb/doc/
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.texinfo (MiniDebugInfo): Fix two trailing dots.
gdb/testsuite/
2013-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/gnu-debugdata.exp (strip): Add -R .comment.
(addlink): Add comment.
commit e93b5ea51987ab11d43c622300efda641373533d
Author: Alan Modra <amodra@bigpond.net.au>
Date: Wed Sep 11 00:00:04 2013 +0000
daily update
commit ddbb73527f7b68c1c57021fd8d2ef2a1fe105a1d
Author: DJ Delorie <dj@delorie.com>
Date: Tue Sep 10 19:01:20 2013 +0000
merge from gcc
commit 6ca8ff3dfdfa346ae6556fd577349a621206091f
Author: DJ Delorie <dj@delorie.com>
Date: Tue Sep 10 16:05:00 2013 +0000
merge from gcc
commit 040ba1f282d8098e2aec480976da6431fca8f0f0
Author: Ulrich Weigand <uweigand@de.ibm.com>
Date: Tue Sep 10 15:05:23 2013 +0000
2013-09-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
* config/s390/s390.mh (NATDEPFILES): Add linux-waitpid.o.
commit 0601deaad5ea6f160abfe66035bddafa8a7ac94c
Author: sagovic <sagovic>
Date: Tue Sep 10 07:32:25 2013 +0000
test: adjust 'cd' regexpr to match an optional canonically pathname
New regexpr now correctly deals with trailing canonical pathname.
Before only the following output was matched:
(gdb) cd
Working directory /users/foo
In addition it now matches an optional trailing canonical pathname:
(gdb) cd
Working directory /users/foo
(canonically /nfs/users/foo).
Triggered by `realpath .` != `pwd`
2013-09-10 Sanimir Agovic <sanimir.agovic@intel.com>
testsuite/
* gdb.base/default.exp: Adjust regexpr for 'cd' to match optional
canonical pathname.
commit b22d55a13ed6378a49d980c176fec902937dc96c
Author: Alan Modra <amodra@bigpond.net.au>
Date: Tue Sep 10 00:00:04 2013 +0000
daily update
commit bdafb20e29724b56d4f09743de0c7227307aa821
Author: aburgess <aburgess>
Date: Mon Sep 9 12:13:57 2013 +0000
Remove use of deprecated_init_ui_hook from quit_confirm.
https://sourceware.org/ml/gdb-patches/2013-09/msg00224.html
gdb/ChangeLog
* top.c (quit_confirm): Remove use of deprecated_init_ui_hook.
commit abd06b47e24148009ffe84c64accc1e3fb7da165
Author: Alan Modra <amodra@bigpond.net.au>
Date: Mon Sep 9 00:00:04 2013 +0000
daily update
commit 57cd1bd9a2812d461cfc8c19cce966424f13a6d3
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sun Sep 8 00:00:04 2013 +0000
daily update
commit 954ad01d097b28191088bdd8e085eda3c0bd3f0b
Author: Alan Modra <amodra@bigpond.net.au>
Date: Sat Sep 7 00:00:04 2013 +0000
daily update
commit 870e35a3f8dc493df1c72657155a653cbc88554a
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 18:29:42 2013 +0000
remote-sim.c: Send debug output to gdb_stdlog.
Tested by building for --target=arm-eabi, and playing with the debug
output a bit.
gdb/
2013-09-06 Pedro Alves <palves@redhat.com>
* remote-sim.c (dump_mem, gdbsim_fetch_register)
(gdbsim_store_register, gdbsim_kill, gdbsim_load)
(gdbsim_create_inferior, gdbsim_open, gdbsim_close)
(gdbsim_detach, gdbsim_resume_inferior, gdbsim_wait)
(gdbsim_files_info, gdbsim_mourn_inferior): Send debug output to
gdb_stdlog.
commit bfede9b283dc4fdbae3222ee2cea92d96160ae97
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 18:10:39 2013 +0000
remote-sim.c: Don't install a deprecated_xfer_memory method.
Manually tested with a --target=arm-eabi build, and doing things like:
$ arm-eabi-gcc ~/gdb/tests/main.c -o a.out -c -g
$ ./gdb a.out
...
(gdb) tar sim
(gdb) load
(gdb) disassemble 0
Dump of assembler code for function main:
0x00000000 <+0>: mov r12, sp
0x00000004 <+4>: push {r11, r12, lr, pc}
0x00000008 <+8>: sub r11, r12, #4
0x0000000c <+12>: sub sp, sp, #8
0x00000010 <+16>: str r0, [r11, #-16]
0x00000014 <+20>: str r1, [r11, #-20]
0x00000018 <+24>: mov r3, #0
0x0000001c <+28>: mov r0, r3
0x00000020 <+32>: sub sp, r11, #12
0x00000024 <+36>: ldm sp, {r11, sp, pc}
End of assembler dump.
(gdb) p *0 = 1
0x00000001
gdb/
2013-09-06 Pedro Alves <palves@redhat.com>
* remote-sim.c (dump_mem): Constify buf parameter.
gdbsim_xfer_inferior_memory): Rename to ...
(gdbsim_xfer_memory): ... this. Adjust interface as
target_xfer_partial helper.
(gdbsim_xfer_partial): New function.
(init_gdbsim_ops): Don't install a deprecated_xfer_memory hook.
Install a to_xfer_partial hook. Send output to gdb_stdlog.
commit 5ba68fd23f49d8e775c7ade5ab9b38ae1aff54f4
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 17:41:50 2013 +0000
remote-sim.c: cleanup debug output code.
Manually tested with a --target=arm-eabi build, and doing
$ arm-eabi-gcc ~/gdb/tests/main.c -o a.out -c -g
$ ./gdb a.out
...
(gdb) tar sim
(gdb) load
(gdb) set debug remote 1
(gdb) disassemble 0
Dump of assembler code for function main:
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x0, len 4, write 0
0x00000000 <+0>: 0xe1a0c00d
mov r12, sp
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x4, len 4, write 0
0x00000004 <+4>: 0xe92dd800
push {r11, r12, lr, pc}
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x8, len 4, write 0
0x00000008 <+8>: 0xe24cb004
sub r11, r12, #4
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0xc, len 4, write 0
0x0000000c <+12>: 0xe24dd008
sub sp, sp, #8
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x10, len 4, write 0
0x00000010 <+16>: 0xe50b0010
str r0, [r11, #-16]
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x14, len 4, write 0
0x00000014 <+20>: 0xe50b1014
str r1, [r11, #-20]
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x18, len 4, write 0
0x00000018 <+24>: 0xe3a03000
mov r3, #0
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x1c, len 4, write 0
0x0000001c <+28>: 0xe1a00003
mov r0, r3
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x20, len 4, write 0
0x00000020 <+32>: 0xe24bd00c
sub sp, r11, #12
gdbsim_xfer_inferior_memory: myaddr 0x7fffffffd400, memaddr 0x24, len 4, write 0
0x00000024 <+36>: 0xe89da800
ldm sp, {r11, sp, pc}
End of assembler dump.
(gdb) p *0 = 1
gdbsim_xfer_inferior_memory: myaddr 0xc69bc0, memaddr 0x0, len 4, write 1
0x00000001
$1 = 1
Which happens to differ from before, I think due to stdout line buffering:
(gdb) disassemble 0
Dump of assembler code for function main:
0x00000000 <+0>: gdbsim_xfer_inferior_memory: myaddr 0x0x7fffffffd400, memaddr 0x0, len 4, write 0
0xe1a0c00d
But the new output looks reasonable to me, better even.
gdb/
2013-09-06 Pedro Alves <palves@redhat.com>
* remote-sim.c (gdbsim_xfer_inferior_memory): Use
host_address_to_string, and send debug output to gdb_stdlog.
commit 4074c648c2897e318e5fd2ace9ea7b7818a38280
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 12:04:56 2013 +0000
[gdbserver] Garbage collect unused dependency-tracking Makefile variables.
These used to be necessary for manual rule dependency tracking.
Nothing uses them anymore. (regdat_sh is still needed.)
gdb/gdbserver/
2013-09-06 Pedro Alves <palves@redhat.com>
* Makefile.in (gdb_proc_service_h, regdef_h, regcache_h)
(signals_def, signals_h, ptid_h, ax_h, agent_h, linux_btrace_h)
(linux_osdata_h, vec_h, gdb_vecs_h, host_defs_h, libiberty_h)
(server_h, gdbthread_h, linux_low_h, linux_ptrace_h)
(gdb_thread_db_h, linux_procfs_h, lynx_low_h, nto_low_h)
(mips_linux_watch_h, i386_low_h, win32_low_h): Delete.
commit 0a0d7c62691db2ce273344de758963781fa69640
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 11:54:07 2013 +0000
[gdbserver] Update a couple Makefile rules.
These two are still written in the pre-auto-dependency-tracking style.
They probably were written before that, and committed afterwards
without adjustment. An easy oversight to make.
gdb/gdbserver/
2013-09-06 Pedro Alves <palves@redhat.com>
* Makefile.in (linux-btrace.o, mips-linux-watch.o): Remove
explicit header dependencies and use $COMPILE/$POSTCOMPILE.
commit 26434a224f4102bb7314d804095f69975f8a6a34
Author: Pedro Alves <palves@redhat.com>
Date: Fri Sep 6 10:58:11 2013 +0000
[gdbserver] Fix IPA build.
Somehow, my builds yesterdays didn't trip on this...
../src/gdb/gdbserver/linux-amd64-ipa.c: In function âinitialize_low_tracepointâ:
../src/gdb/gdbserver/linux-amd64-ipa.c:172:3: error: âipa_tdescâ undeclared (first use in this function)
../src/gdb/gdbserver/linux-amd64-ipa.c:172:3: note: each undeclared identifier is reported only once for each function it appears in
gdb/gdbserver/
2013-09-06 Pedro Alves <palves@redhat.com>
* linux-amd64-ipa.c: Include tracepoint.h.
* linux-i386-ipa.c: Include tracepoint.h.
commit 0a8469c51202ce49095e6c942226dff9ce0fb9a9
Author: ricard <ricard>
Date: Fri Sep 6 10:50:10 2013 +0000
Extract Linux-specific portitions of cris-tdep.c to a new file.
This brings in some standard functionality hitherdo missing from
the CRIS/CRISv32 port thanks to the new call to gdbarch_init_osabi,
as well as clearly showing that there is Linux support for this
platform by virtue of the existence of a cris-linux-tdep.c file.
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
* Makefile.in (ALL_TARGET_OBS): Add cris-linux-tdep.o.
* configure.tgt: Add cris-linux-tdep.o and linux-tdep.o to
gdb_target_obs for cris target.
* cris-tdep.c (struct gdbarch_tdep): Move to cris-tdep.h.
(cris_gdbarch_init): Move calls to
set_gdbarch_fetch_tls_load_module_address and
set_solib_svr4_fetch_link_map_offsets to cris-linux-tdep.c.
Add call to gdbarch_init_osabi.
* cris-linux-tdep.c: New file.
* cris-tdep.h: New file.
commit cad0c29fe17829892e7025f08c4f0b9f86c40981
Author: aburgess <aburgess>
Date: Fri Sep 6 10:12:19 2013 +0000
OBVIOUS: Remove legacy comment referring to deprecated_init_ui_hook.
gdb/ChangeLog
* tui/tui-io.c (tui_initialize_io): Remove legacy comment referring
to deprecated_init_ui_hook.
commit d03f62382e0502a42020e6379dbe3c9252813c65
Author: aburgess <aburgess>
Date: Fri Sep 6 08:53:09 2013 +0000
Give every interpreter a command_loop_proc.
https://sourceware.org/ml/gdb-patches/2013-09/msg00179.html
gdb/ChangeLog
* cli/cli-interp.c (_initialize_cli_interp): Add a
command_loop_proc to interp_procs.
* event-top.c (cli_command_loop): Change signature to match
interp_command_loop_ftype.
* event-top.h (cli_command_loop): Same.
* interps.c (interp_new): Require every interpreter to have a
command_loop_proc.
(current_interp_command_loop): Just call the command_loop_proc on
the current interpreter.
* tui/tui-interp.c (_initialize_tui_interp): Add a
command_loop_proc to interp_procs.
commit f669bd59d3cb69f76ad8d41e338c46ab81f614df
Author: ricard <ricard>
Date: Fri Sep 6 08:37:16 2013 +0000
Add support for threaded debugging for CRISv32.
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
* cris-tdep.c (cris_gdbarch_init): Add call to
get_gdbarch_fetch_tls_load_module_address.
gdbserver
* linux-crisv32-low.c (PTRACE_GET_THREAD_AREA): New macro.
(ps_get_thread_area): New function.
commit d803ca1cc28bff0f2d2d06a48a1feeaaa05da0d3
Author: aburgess <aburgess>
Date: Fri Sep 6 08:25:25 2013 +0000
Fix filename format in previous ChangeLog entry.
I used the wrong format for the filenames in a previous changelog entry, I
incorrectly included the "gdb/" prefix.
commit fa3257acf6b2748cbc5d56f0b106321d8b1f712c
Author: ricard <ricard>
Date: Fri Sep 6 08:23:46 2013 +0000
Cosmetic clean up of names of *elf_greg_t types for CRIS/CRISv32.
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
* cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
(cris_elf_gregset_t): Rename from elf_gregset_t.
(crisv32_elf_gregset_t): Adjust.
(cris_supply_gregset, fetch_core_registers): Adjust.
commit 31ba9717987102f4d5a0a009fd1a916ca62a9e7e
Author: ricard <ricard>
Date: Fri Sep 6 08:14:32 2013 +0000
Trivial patch to remove dependency on host unsigned long type
from cris-tdep.c.
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
* cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
commit 57077e6e5cd7f04f0641f7e083de3c002665b080
Author: ricard <ricard>
Date: Fri Sep 6 08:04:19 2013 +0000
Fix compilation for target gdbserver on CRISv32 platform.
One misspelled function call, and one superfluous typedef. The latter
causes an error of the following type when building:
linux-crisv32-low.c:372: error: conflicting types for 'elf_gregset_t'
/.../target/include/asm/elf.h:36:
error: previous declaration of 'elf_gregset_t' was here
2013-09-06 Ricard Wanderlof <ricardw@axis.com>
* linux-crisv32-low.c (elf_gregset_t): Delete typedef.
(initialize_low_arch): Call init_registers_crisv32 rather than
init_register_crisv32.
commit 5dc21b7e72b3f4e334f0c65534b1c20138406c66
Author: Alan Modra <amodra@bigpond.net.au>
Date: Fri Sep 6 00:00:04 2013 +0000
daily update
commit 675ec0a899cba256e703ee3cec017a01c8a3d806
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 22:18:48 2013 +0000
Add missing new files from these previous commits:
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (handle_vFile, hostio_last_error_from_errno): Move
to ...
* hostio.h: ... this new file.
* hostio.c, server.c, linux-low.c, nto-low.c, spu-low,
win32-low.c: Include hostio.h.
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (gdb_client_data, handler_func, callback_handler_func)
(delete_file_handler, add_file_handler, append_callback_event)
(delete_callback_event, start_event_loop, initialize_event_loop):
Move to event-loop.h and include it.
* event-loop.h: New file.
2013-09-05 Pedro Alves <palves@redhat.com>
* dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h".
* server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls)
(loaded_dll, unloaded_dll): Move to ...
* dll.h: ... this new file.
* inferiors.c, remote-utils.c, win32-low.c: Include "dll.h".
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (current_process, get_thread_process, all_processes)
(add_inferior_to_list, for_each_inferior, current_inferior)
(remove_inferior, add_process, remove_process, find_process_pid)
(have_started_inferiors_p, have_attached_inferiors_p)
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id)
(clear_inferiors, find_inferior, find_inferior_id)
(inferior_target_data, set_inferior_target_data)
(inferior_regcache_data, set_inferior_regcache_data): Move to
inferiors.h, and include it.
* inferiors.h: New file.
2013-09-05 Pedro Alves <palves@redhat.com>
* ax.c, linux-low.c, linux-x86-low.c, server.c: Include
tracepoint.h.
* server.h (IPA_BUFSIZ, initialize_tracepoint, tracing)
(disconnected_tracing, tracepoint_look_up_symbols, stop_tracing
(handle_tracepoint_general_set, handle_tracepoint_query)
(tracepoint_finished_step, tracepoint_was_hit)
(release_while_stepping_state_list, current_traceframe)
(in_readonly_region, traceframe_read_mem)
(fetch_traceframe_registers, traceframe_read_sdata)
(traceframe_read_info, struct fast_tpoint_collect_status)
(fast_tracepoint_collecting, force_unlock_trace_buffer)
(handle_tracepoit_bkpts, initialize_low_tracepoint)
(supply_fast_tracepoint_registers)
(supply_static_tracepoint_registers, set_trampoline_buffer_space)
(ipa_tdesc, claim_trampoline_space)
(have_fast_tracepoint_trampoline_buffer, gdb_agent_about_to_close)
(agent_mem_read, agent_get_trace_state_variable_value)
(agent_set_trace_state_variable_value, agent_tsv_read)
(agent_mem_read_string, get_raw_reg_func_addr)
(get_get_tsv_func_addr, get_set_tsv_func_addr): Move to ...
* tracepoint.h: ... this new file.
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (perror_with_name, error, fatal, warning, paddress)
(pulongest, plongest, phex_nz, pfildes): Move to utils.h, and
include it.
* utils.h: New file.
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (remote_debug, noack_mode, transport_is_reliable)
(gdb_connected, STDIO_CONNECTION_NAME, remote_connection_is_stdio)
(read_ptid, write_ptid, putpkt, putpkt_binary, putpkt_notif)
(getpkt, remote_prepare, remote_open, remote_close, write_ok)
(write_enn, initialize_async_io, enable_async_io)
(disable_async_io, check_remote_input_interrupt_request)
(convert_ascii_to_int, convert_int_to_ascii, new_thread_notify)
(dead_thread_notify, prepare_resume_reply)
(decode_address_to_semicolon, decode_address, decode_m_packet)
(decode_M_packet, decode_X_packet, decode_xfer_write)
(decode_search_memory_packet, unhexify, hexify)
(remote_escape_output, unpack_varlen_hex, clear_symbol_cache)
(look_up_one_symbol, relocate_instruction)
(monitor_output): Move to remote-utils.h, and include it.
* remote-utils.h: New file.
commit 0734a693bde7d18a4a06e320f6e28678880dc0f7
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:45:39 2013 +0000
[gdbserver] Split a new hostio.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (handle_vFile, hostio_last_error_from_errno): Move
to ...
* hostio.h: ... this new file.
* hostio.c, server.c, linux-low.c, nto-low.c, spu-low,
win32-low.c: Include hostio.h.
commit b848f8a279aec58438e0edb2fad6e72a4bd24791
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:42:51 2013 +0000
[gdbserver] Split a new event-loop.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (gdb_client_data, handler_func, callback_handler_func)
(delete_file_handler, add_file_handler, append_callback_event)
(delete_callback_event, start_event_loop, initialize_event_loop):
Move to event-loop.h and include it.
* event-loop.h: New file.
commit ee97f8db46c8259b2a05760478816c497d8cfb5d
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:41:54 2013 +0000
[gdbserver] Split a new dll.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* dll.c, inferiors.c, remote-utils.c, server.c: Include "dll.h".
* server.h (struct dll_info, all_dlls, dlls_changed, clear_dlls)
(loaded_dll, unloaded_dll): Move to ...
* dll.h: ... this new file.
* inferiors.c, remote-utils.c, win32-low.c: Include "dll.h".
commit 55a8947d73592005d1ee1948b3c5dac9bdec9613
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:41:22 2013 +0000
[gdbserver] Split a new inferiors.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (current_process, get_thread_process, all_processes)
(add_inferior_to_list, for_each_inferior, current_inferior)
(remove_inferior, add_process, remove_process, find_process_pid)
(have_started_inferiors_p, have_attached_inferiors_p)
(thread_id_to_gdb_id, thread_to_gdb_id, gdb_id_to_thread_id)
(clear_inferiors, find_inferior, find_inferior_id)
(inferior_target_data, set_inferior_target_data)
(inferior_regcache_data, set_inferior_regcache_data): Move to
inferiors.h, and include it.
* inferiors.h: New file.
commit 040706c5d7a266ede271b62b77a40260882bc8d1
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:40:58 2013 +0000
[gdbserver] Move bytecode compilation bits from server.h to ax.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (struct emit_ops, current_insn_ptr, emit_error):
Move ...
* ax.h: ... here.
commit d71c522d1ce96825ac0a57f1bd0c240b15bb6288
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:40:33 2013 +0000
[gdbserver] Split a new tracepoint.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* ax.c, linux-low.c, linux-x86-low.c, server.c: Include
tracepoint.h.
* server.h (IPA_BUFSIZ, initialize_tracepoint, tracing)
(disconnected_tracing, tracepoint_look_up_symbols, stop_tracing
(handle_tracepoint_general_set, handle_tracepoint_query)
(tracepoint_finished_step, tracepoint_was_hit)
(release_while_stepping_state_list, current_traceframe)
(in_readonly_region, traceframe_read_mem)
(fetch_traceframe_registers, traceframe_read_sdata)
(traceframe_read_info, struct fast_tpoint_collect_status)
(fast_tracepoint_collecting, force_unlock_trace_buffer)
(handle_tracepoit_bkpts, initialize_low_tracepoint)
(supply_fast_tracepoint_registers)
(supply_static_tracepoint_registers, set_trampoline_buffer_space)
(ipa_tdesc, claim_trampoline_space)
(have_fast_tracepoint_trampoline_buffer, gdb_agent_about_to_close)
(agent_mem_read, agent_get_trace_state_variable_value)
(agent_set_trace_state_variable_value, agent_tsv_read)
(agent_mem_read_string, get_raw_reg_func_addr)
(get_get_tsv_func_addr, get_set_tsv_func_addr): Move to ...
* tracepoint.h: ... this new file.
commit e3ce85b83b0283b03575d5bcc4dc4ffcc0532883
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:39:48 2013 +0000
[gdbserver] Split a new utils.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (perror_with_name, error, fatal, warning, paddress)
(pulongest, plongest, phex_nz, pfildes): Move to utils.h, and
include it.
* utils.h: New file.
commit 0b76cc40112ccd7668cb7477c73af0862d6734da
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:39:17 2013 +0000
[gdbserver] Split a new remote-utils.h file out of server.h.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (remote_debug, noack_mode, transport_is_reliable)
(gdb_connected, STDIO_CONNECTION_NAME, remote_connection_is_stdio)
(read_ptid, write_ptid, putpkt, putpkt_binary, putpkt_notif)
(getpkt, remote_prepare, remote_open, remote_close, write_ok)
(write_enn, initialize_async_io, enable_async_io)
(disable_async_io, check_remote_input_interrupt_request)
(convert_ascii_to_int, convert_int_to_ascii, new_thread_notify)
(dead_thread_notify, prepare_resume_reply)
(decode_address_to_semicolon, decode_address, decode_m_packet)
(decode_M_packet, decode_X_packet, decode_xfer_write)
(decode_search_memory_packet, unhexify, hexify)
(remote_escape_output, unpack_varlen_hex, clear_symbol_cache)
(look_up_one_symbol, relocate_instruction)
(monitor_output): Move to remote-utils.h, and include it.
* remote-utils.h: New file.
commit 95854c03b392f9089907063f594c15c4536989f4
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 20:38:45 2013 +0000
[gdbserver] Delete _ macro (gettext).
server.h nowadays includes gdb_locale.h, which already brings this in.
gdb/gdbserver/
2013-09-05 Pedro Alves <palves@redhat.com>
* server.h (_): Delete.
commit 0728124a5ff4f99f7f6083ddc004a0c6853df869
Author: aburgess <aburgess>
Date: Thu Sep 5 16:46:56 2013 +0000
Remove deprecated_command_loop_hook.
https://sourceware.org/ml/gdb-patches/2013-09/msg00174.html
gdb/ChangeLog
* gdb/defs.h (deprecated_command_loop_hook): Remove, including
references in comments.
* gdb/interps.c (current_interp_command_loop): No longer use
deprecated_command_loop_hook.
(clear_interpreter_hooks): Remove deprecated_command_loop_hook
setup.
* gdb/top.c (deprecated_command_loop_hook): Remove.
commit 50bbcd63620eb5818309f801780bf8b96cbfc515
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 14:49:12 2013 +0000
dwarf2loc.c: minor cleanup. don't print integer with paddress.
A couple years ago, dwarf_expr_fetch used to return a CORE_ADDR. It
was made to return a ULONGEST since, and the 'dwarf_regnum' local
adjusted accordingly, but, we kept printing it with paddress.
gdbarch_dwarf2_reg_to_regnum takes the register number as 'int', so
there's really no point in using ULONGEST/pulongest either.
gdb/
2013-09-05 Pedro Alves <palves@redhat.com>
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
local is now int instead of ULONGEST. Print it with %d
instead of paddress.
commit ceb4a1a934d144f1eff9b6a1747c4928dc168767
Author: Tristan Gingold <gingold@adacore.com>
Date: Thu Sep 5 14:15:27 2013 +0000
2013-09-05 Tristan Gingold <gingold@adacore.com>
* MAINTAINERS: Remove avr maintainership.
commit 9a2c0a8ddf439de89aa1498d9239001865e6d947
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 14:02:16 2013 +0000
Rework value_of_register in terms of value_of_register_lazy.
I noticed that value_of_register (used for getting values _of_
registers ($pc, $rax, etc.), rather than variables _in_ registers),
kind of builds a franken-value, by propagating the lval and address of
the frame register value, but not the entire location, like necessary
for lval_computed (if some unwinder ever returns that, the resulting
value will misbehave). This gets in the way of printing optimized out
(not saved) lval_registers differently from other optimized out
values, as it doesn't make sure the resulting value is lval_register.
I started out by just doing something like:
- VALUE_LVAL (reg_val) = lval;
- set_value_address (reg_val, addr);
+ VALUE_LVAL (reg_val) = lval_register;
... just like value_of_register_lazy below. That's sufficient to fix
the issue.
Then I noticed this is using frame_register, which we should avoid
nowadays, for it returns elements of a value, but not all that's
sometimes necessary (unavailable-ness is all or nothing with it, for
instance), and considered using get_frame_register_value instead
(which returns a struct value), and value_contents_copy, just like
value_fetch_lazy's handling of lval_register. But at that point, I
realized we might as well just defer all that work to
value_of_register_lazy/value_fetch_lazy...
Doing it this way adds a frame_find_by_id lookup (from within
value_fetch_lazy), while we already have a frame pointer handy in
value_of_register. I considered factoring out the lazy register
fetching out of value_fetch_lazy, into a function that takes a frame
pointer and call that instead, avoiding the lookup, but then it looked
like too much complication for an early optimization, and went back to
keeping it simple.
Tested on x86_64 Fedora 17.
gdb/
2013-09-05 Pedro Alves <palves@redhat.com>
* findvar.c (value_of_register): Rework in terms of
value_of_register_lazy.
commit 949932c3aff33f6af9b6e9c367b704a822e8d477
Author: mbilal <mbilal>
Date: Thu Sep 5 13:13:25 2013 +0000
2013-09-05 Muhammad Bilal <mbilal@codesourcery.com>
* symfile.c (add_symbol_file_command): Remove trailing
whitespaces and blank line after comment.
commit eda72100f3a374bc40a590fc3c8528e6f436d9e6
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 11:50:48 2013 +0000
[TUI] Rewrite register-changed decision bits.
I stumbled on the TUI's register-changed decision code before (used to
decided whether the register should be highlighted in the register
window), for it is trying to compare all the different possible states
and contents or previous/current register contents, and as such may
need updating whenever the value machinery changes to have more state.
It's just much simpler and more future proof to compare the
previous/current printable representation instead.
The bit in tui_register_format that returns early if the register has
no name gets a bit in the way of the new prototype (what to return in
that case? NULL, empty string, etc.?). Fortunately, that check isn't
really necessary. All the callers will have already skipped unnamed
registers.
gdb/
2013-09-05 Pedro Alves <palves@redhat.com>
* tui/tui-regs.c (tui_register_format): Don't look at the
register's name here. Return string representing register
value instead of storing it in the data element.
(tui_get_register): Compare register string representations
instead of register value states and contents.
commit 6bb41be8f47878c94ab31579ee8d0229e37b0a07
Author: Pedro Alves <palves@redhat.com>
Date: Thu Sep 5 11:20:16 2013 +0000
[PR tui/15933] TUI shows registers of the wrong frame the first time
I've stumbled on this by inspection.
When the TUI's register window is first displayed, it always shows the
registers of the current frame, instead of of the selected frame,
which is obviously bogus.
E.g.,
(gdb) step # into "function"
(gdb) up
(gdb) tui reg general # or C-x 2, C-x 2
shows the registers of "function", rather than the caller's.
A subsequent:
(gdb) frame
or
(gdb) down
(gdb) up
can be used as workaround to "fix" it.
gdb/
2013-09-05 Pedro Alves <palves@redhat.com>
PR tui/15933
* tui/tui-regs.c (tui_show_registers): Show registers of the
selected frame, not the current frame.
commit b7ea60e0ad7f009a71fe2f3fe611e12583febf52
Author: ricard <ricard>
Date: Thu Sep 5 08:22:15 2013 +0000
2013-09-05 Ricard Wanderlof <ricardw@axis.com>
* MAINTAINERS: Add myself to Write After Approval.
commit bf86492f121950d94fc317344f1347d6db183782
Author: Alan Modra <amodra@bigpond.net.au>
Date: Thu Sep 5 00:00:05 2013 +0000
daily update
commit 4f4ed9344551a30c5e233bfbb3d5d1036db53a8e
Author: Doug Evans <dje@google.com>
Date: Wed Sep 4 23:49:21 2013 +0000
* gdb.python/py-events.py (exit_handler): Verify we get the expected
event.
(continue_handler, new_objfile_handler): Ditto.
(test_events): Rename command to "test-events".
(test_newobj_events): Rename command to "test-objfile-events".
* gdb.python/py-events.exp: Update.
* gdb.python/py-evsignal.exp: Update.
* gdb.python/py-evthreads.exp: Update.
commit cd4e4e125c6398c55309f720bf87e3d22c6ca3f9
Author: Doug Evans <dje@google.com>
Date: Wed Sep 4 23:05:31 2013 +0000
* dwarf2read.c (queue_and_load_all_dwo_tus): New function.
(queue_and_load_dwo_tu): New function.
(lookup_dwo_signatured_type): Set per_cu.tu_read.
(maybe_queue_comp_unit): Rename this_cu argument to dependent_cu.
Make dependent_cu optional.
(dw2_do_instantiate_symtab): If we just loaded a CU from a DWO,
and an older .gdb_index is in use, queue and load all its TUs too.
testsuite/
* gdb.base/enumval.c (ZERO): New enum value.
(main): Use it
* gdb.base/enumval.exp: Test ability to print ZERO.
commit 6bdaad1a541c341f922b6ce2772f88ffdf3e0158
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Wed Sep 4 20:09:38 2013 +0000
Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH.
gdb/
2013-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH.
* cli/cli-cmds.c (find_and_open_script): Add OPF_RETURN_REALPATH to
variable search_flags.
* defs.h (OPF_DISABLE_REALPATH): Rename to ...
(OPF_RETURN_REALPATH): ... here.
* dwarf2read.c (try_open_dwop_file): Set OPF_RETURN_REALPATH for flags.
* exec.c (exec_file_attach): Remove OPF_DISABLE_REALPATH from openp
call. Twice.
* nto-tdep.c (nto_find_and_open_solib): Add OPF_RETURN_REALPATH for
openp call.
* solib.c (solib_find): Likewise. Four times.
* source.c (openp): Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH
in the function comment and for the realpath_fptr variable.
(source_full_path_of): Add OPF_RETURN_REALPATH for openp call.
(find_and_open_source): Likewise. Twice.
* symfile.c (symfile_bfd_open): Likewise, also twice.
commit e6b7b3d4b2f95670d5c36dd9d4619666b0a29205
Author: Doug Evans <dje@google.com>
Date: Wed Sep 4 19:53:11 2013 +0000
* progspace.c (save_current_space_and_thread): Remove unnecessary
call to save_current_inferior.
commit 0fac8c92c5a2d8f795fc09879f4dacf8a51b832b
Author: aburgess <aburgess>
Date: Wed Sep 4 16:34:06 2013 +0000
Avoid printing unavailable/optimized out registers (sh64-tdep.c)
https://sourceware.org/ml/gdb-patches/2013-08/msg00834.html
gdb/ChangeLog
* sh64-tdep.c (sh64_do_register): Return after printing message
about unavailable register contents.
-----------------------------------------------------------------------
Summary of changes:
bfd/version.h | 2 +-
gdb/ChangeLog | 325 +
gdb/MAINTAINERS | 2 +-
gdb/Makefile.in | 2 +-
gdb/NEWS | 12 +
gdb/README | 15 +-
gdb/aarch64-linux-nat.c | 1 +
gdb/arm-linux-tdep.c | 5 +-
gdb/cli/cli-cmds.c | 2 +-
gdb/cli/cli-interp.c | 4 +-
gdb/common/filestuff.c | 8 +-
gdb/config/s390/s390.mh | 3 +-
gdb/configure | 5 -
gdb/configure.ac | 5 -
gdb/configure.tgt | 2 +-
gdb/cris-linux-tdep.c | 57 +
gdb/cris-tdep.c | 35 +-
.../gdb.base/catch-load.c => cris-tdep.h} | 33 +-
gdb/defs.h | 9 +-
gdb/doc/ChangeLog | 43 +
gdb/doc/Makefile.in | 53 +-
gdb/doc/gdb.texinfo | 122 +-
gdb/doc/gdbint.texinfo | 8282 --------------------
gdb/dwarf2loc.c | 7 +-
gdb/dwarf2read.c | 75 +-
gdb/event-top.c | 6 +-
gdb/event-top.h | 2 +-
gdb/exec.c | 7 +-
gdb/features/Makefile | 3 +
gdb/features/s390-tdb.xml | 30 +
gdb/features/s390-te-linux64.c | 118 +
gdb/features/s390-te-linux64.xml | 25 +
gdb/features/s390x-te-linux64.c | 102 +
gdb/features/s390x-te-linux64.xml | 24 +
gdb/findvar.c | 31 +-
gdb/gdbarch.h | 4 -
gdb/gdbarch.sh | 2 -
gdb/gdbserver/ChangeLog | 131 +
gdb/gdbserver/Makefile.in | 67 +-
gdb/gdbserver/ax.c | 1 +
gdb/gdbserver/ax.h | 57 +
gdb/gdbserver/configure.srv | 5 +
gdb/gdbserver/dll.c | 1 +
.../gdb.base/catch-load.c => gdbserver/dll.h} | 30 +-
gdb/gdbserver/event-loop.h | 36 +
gdb/gdbserver/gdbthread.h | 1 +
gdb/gdbserver/hostio.c | 1 +
.../gdb.base/catch-load.c => gdbserver/hostio.h} | 27 +-
gdb/gdbserver/inferiors.c | 1 +
gdb/gdbserver/inferiors.h | 114 +
gdb/gdbserver/linux-aarch64-low.c | 1 +
gdb/gdbserver/linux-amd64-ipa.c | 1 +
gdb/gdbserver/linux-crisv32-low.c | 22 +-
gdb/gdbserver/linux-i386-ipa.c | 1 +
gdb/gdbserver/linux-low.c | 2 +
gdb/gdbserver/linux-s390-low.c | 25 +-
gdb/gdbserver/linux-x86-low.c | 2 +
gdb/gdbserver/nto-low.c | 1 +
gdb/gdbserver/remote-utils.c | 2 +
gdb/gdbserver/remote-utils.h | 85 +
gdb/gdbserver/server.c | 3 +
gdb/gdbserver/server.h | 385 +-
gdb/gdbserver/spu-low.c | 1 +
gdb/gdbserver/target.c | 1 +
gdb/gdbserver/target.h | 1 +
gdb/gdbserver/tracepoint.c | 1 +
gdb/gdbserver/tracepoint.h | 132 +
.../gdb.base/catch-load.c => gdbserver/utils.h} | 33 +-
gdb/gdbserver/win32-low.c | 2 +
gdb/gdbtypes.c | 10 +-
gdb/interps.c | 17 +-
gdb/nto-tdep.c | 3 +-
gdb/progspace.c | 3 +-
gdb/regformats/s390-te-linux64.dat | 94 +
gdb/regformats/s390x-te-linux64.dat | 78 +
gdb/remote-sim.c | 114 +-
gdb/s390-nat.c | 266 +-
gdb/s390-tdep.c | 448 +-
gdb/s390-tdep.h | 60 +-
gdb/sh64-tdep.c | 5 +-
gdb/solib.c | 14 +-
gdb/source.c | 23 +-
gdb/symfile.c | 9 +-
gdb/testsuite/ChangeLog | 69 +-
gdb/testsuite/README | 382 +
gdb/testsuite/gdb.arch/s390-tdbregs.c | 64 +
gdb/testsuite/gdb.arch/s390-tdbregs.exp | 75 +
gdb/testsuite/gdb.base/break-interp.exp | 2 +-
gdb/testsuite/gdb.base/catch-load.c | 9 +-
gdb/testsuite/gdb.base/catch-load.exp | 2 +-
gdb/testsuite/gdb.base/default.exp | 2 +-
gdb/testsuite/gdb.base/enumval.c | 4 +-
gdb/testsuite/gdb.base/enumval.exp | 6 +
gdb/testsuite/gdb.base/gdbvars.c | 11 +
gdb/testsuite/gdb.base/gdbvars.exp | 29 +
gdb/testsuite/gdb.base/gnu-debugdata.exp | 19 +-
gdb/testsuite/gdb.base/info-macros.exp | 6 +
gdb/testsuite/gdb.python/py-events.exp | 4 +-
gdb/testsuite/gdb.python/py-events.py | 23 +-
gdb/testsuite/gdb.python/py-evsignal.exp | 2 +-
gdb/testsuite/gdb.python/py-evthreads.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 10 +
gdb/top.c | 20 +-
gdb/tui/tui-interp.c | 2 +
gdb/tui/tui-io.c | 3 +-
gdb/tui/tui-regs.c | 57 +-
gdb/value.c | 23 +
libiberty/ChangeLog | 45 +-
libiberty/cp-demangle.c | 216 +-
opcodes/ChangeLog | 4 +
opcodes/s390-opc.txt | 2 +-
test.c | 43 +
112 files changed, 3314 insertions(+), 9602 deletions(-)
create mode 100644 gdb/cris-linux-tdep.c
copy gdb/{testsuite/gdb.base/catch-load.c => cris-tdep.h} (58%)
delete mode 100644 gdb/doc/gdbint.texinfo
create mode 100644 gdb/features/s390-tdb.xml
create mode 100644 gdb/features/s390-te-linux64.c
create mode 100644 gdb/features/s390-te-linux64.xml
create mode 100644 gdb/features/s390x-te-linux64.c
create mode 100644 gdb/features/s390x-te-linux64.xml
copy gdb/{testsuite/gdb.base/catch-load.c => gdbserver/dll.h} (59%)
create mode 100644 gdb/gdbserver/event-loop.h
copy gdb/{testsuite/gdb.base/catch-load.c => gdbserver/hostio.h} (64%)
create mode 100644 gdb/gdbserver/inferiors.h
create mode 100644 gdb/gdbserver/remote-utils.h
create mode 100644 gdb/gdbserver/tracepoint.h
copy gdb/{testsuite/gdb.base/catch-load.c => gdbserver/utils.h} (50%)
create mode 100644 gdb/regformats/s390-te-linux64.dat
create mode 100644 gdb/regformats/s390x-te-linux64.dat
create mode 100644 gdb/testsuite/README
create mode 100644 gdb/testsuite/gdb.arch/s390-tdbregs.c
create mode 100644 gdb/testsuite/gdb.arch/s390-tdbregs.exp
create mode 100644 test.c
First 500 lines of diff:
diff --git a/bfd/version.h b/bfd/version.h
index 68c7a25..f41182d 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20130904
+#define BFD_VERSION_DATE 20130917
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index de17111..0824259 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,328 @@
+2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * value.c (isvoid_internal_fn): Replace "parameter" with
+ "argument".
+
+2013-09-16 Stan Shebs <stan@codesourcery.com>
+
+ * README: Update references to writing code for GDB.
+ * configure.ac (build_warnings): Remove obsolete comment.
+ * configure: Regenerate.
+ * gdbarch.sh: Remove references to gdbint.texinfo.
+ * gdbarch.h: Regenerate.
+ * gdbtypes.c (objfile_type): Remove comments referencing internals
+ manual and D10V.
+
+2013-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
+
+ * NEWS: Mention new convenience function $_isvoid.
+ * value.c (isvoid_internal_fn): New function.
+ (_initialize_values): Add new convenience function $_isvoid.
+
+2013-09-16 Pierre Muller <muller@sourceware.org>
+
+ * arm-linux-tdep.c: Add "elf/common.h" header.
+ Remove AT_HWCAP macro definintion as it is provided in
+ added include file.
+ * s390-tdep.c: Remove system header <elf.h>
+ Add "elf/common.h" header for AT_HWCAP definition.
+ (s390_core_read_description): Use correct CORE_ADDR
+ for hwcap local variable used as third parameter
+ of function target_auxv_search.
+
+2013-09-14 Pierre Muller <muller@sourceware.org>
+ Tom Tromey <tromey@redhat.com>
+ Pedro Alves <palves@redhat.com>
+
+ * common/filestuff.c (gdb_fopen_cloexec): Do not try to use "e"
+ mode if operating system doesn't know O_CLOEXEC.
+
+2013-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup.
+ * symfile.c (reread_symbols): Move variable obfd_filename to a more
+ inner block.
+
+2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * NEWS: Mention TDB support.
+ * features/s390-tdb.xml: New file.
+ * features/s390-te-linux64.xml: New file.
+ * features/s390x-te-linux64.xml: New file.
+ * features/Makefile (WHICH): Add new tdescs above.
+ (s390-te-linux64-expedite): Set.
+ (s390x-te-linux64-expedite): Set.
+ * features/s390-te-linux64.c: New file (generated).
+ * features/s390x-te-linux64.c: New file (generated).
+ * regformats/s390-te-linux64.dat: New file (generated).
+ * regformats/s390x-te-linux64.dat: New file (generated).
+ * s390-tdep.h (HWCAP_S390_HIGH_GPRS): Define.
+ (HWCAP_S390_TE): Likewise.
+ (S390_TDB_DWORD0_REGNUM): Likewise.
+ (S390_TDB_DWORD0_REGNUM): Likewise.
+ (S390_TDB_ABORT_CODE_REGNUM): Likewise.
+ (S390_TDB_CONFLICT_TOKEN_REGNUM): Likewise.
+ (S390_TDB_ATIA_REGNUM): Likewise.
+ (S390_TDB_R0_REGNUM): Likewise.
+ (S390_TDB_R1_REGNUM): Likewise.
+ (S390_TDB_R2_REGNUM): Likewise.
+ (S390_TDB_R3_REGNUM): Likewise.
+ (S390_TDB_R4_REGNUM): Likewise.
+ (S390_TDB_R5_REGNUM): Likewise.
+ (S390_TDB_R6_REGNUM): Likewise.
+ (S390_TDB_R7_REGNUM): Likewise.
+ (S390_TDB_R8_REGNUM): Likewise.
+ (S390_TDB_R9_REGNUM): Likewise.
+ (S390_TDB_R10_REGNUM): Likewise.
+ (S390_TDB_R11_REGNUM): Likewise.
+ (S390_TDB_R12_REGNUM): Likewise.
+ (S390_TDB_R13_REGNUM): Likewise.
+ (S390_TDB_R14_REGNUM): Likewise.
+ (S390_TDB_R15_REGNUM): Likewise.
+ (S390_NUM_REGS): Increase.
+ (S390_IS_TDBREGSET_REGNUM): New macro.
+ (s390_regmap_tdb): Declare.
+ (s390_sizeof_tdbregset): Define.
+ (tdesc_s390_te_linux64): Declare.
+ (tdesc_s390x_te_linux64): Likewise.
+ * s390-tdep.c: Add includes for "auxv.h", <elf.h>,
+ "features/s390-te-linux64.c", and "features/s390x-te-linux64.c".
+ (s390_regmap_tdb): New regmap.
+ (s390_supply_tdb_regset): New function.
+ (s390_tdb_regset): New regset.
+ (s390_linux64v2_regset_sections): Add TDB regset to list.
+ (s390x_linux64v2_regset_sections): Likewise.
+ (s390_regset_from_core_section): Recognize TDB core note section.
+ (s390_core_read_description): If HWCAP indicates TE support,
+ select tdesc_s390_te_linux64 or tdesc_s390_s390x_te_linux64.
+ (s390_gdbarch_init): Handle TDB regset.
+ (_initialize_s390_tdep): Initialize new tdescs.
+ * s390-nat.c (HWCAP_S390_HIGH_GPRS): Remove define.
+ (have_regset_tdb): New variable.
+ (s390_native_supply): Support register invalidation.
+ (fetch_regset): Invalidate registers if ptrace yields ENODATA.
+ (check_regset): Treat ENODATA as "regset exists".
+ (s390_linux_fetch_inferior_registers): Add TDB.
+ (s390_read_description): Check for TDB existence and select
+ appropriate tdesc.
+ * gdbserver/Makefile.in (clean): Add removal of new makefile
+ targets.
+ (s390-te-linux64.c): New makefile target.
+ (s390x-te-linux64.c): Likewise.
+ * gdbserver/configure.srv (srv_regobj): Append new objects
+ s390-te-linux64.o and s390x-te-linux64.o.
+ (srv_xmlfiles): Append new files s390-te-linux64.xml,
+ s390x-te-linux64.xml, and s390-tdb.xml.
+ * gdbserver/linux-s390-low.c (init_registers_s390_te_linux64): New
+ declaration.
+ (tdesc_s390_te_linux64): Likewise.
+ (init_registers_s390x_te_linux64): Likewise.
+ (tdesc_s390x_te_linux64): Likewise.
+ (s390_check_regset): Treat ENODATA as "regset exists".
+ (s390_arch_setup): Add TDB regset support.
+ (initialize_low_arch): Initialize registers for new tdescs.
+
+2013-09-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * s390-tdep.h (S390_IS_GREGSET_REGNUM): New macro.
+ (S390_IS_FPREGSET_REGNUM): New macro.
+ * s390-tdep.c (s390_dwarf_regmap): Make const.
+ (regnum_is_gpr_full): New function for replacing repeated code.
+ (s390_pseudo_register_name): Use it.
+ (s390_pseudo_register_type): Likewise.
+ (s390_pseudo_register_read): Likewise.
+ (s390_pseudo_register_write): Likewise.
+ (s390_unwind_pseudo_register): Likewise.
+ (s390_regmap_gregset): New format for regmap.
+ (s390x_regmap_gregset): Likewise.
+ (s390_regmap_fpregset): Likewise.
+ (s390_regmap_upper): Likewise.
+ (s390_regmap_last_break): Likewise.
+ (s390_regmap_system_call): Likewise.
+ (s390_supply_regset): Adjust to new regmap format.
+ (s390_collect_regset): Likewise.
+ * s390-nat.c (s390_native_supply): Adjust to new regmap format.
+ (s390_native_collect): Likewise.
+ (supply_gregset): Likewise.
+ (fill_gregset): Likewise.
+ (supply_fpregset): Likewise.
+ (fill_fpregset): Likewise.
+ (fetch_regset): Likewise.
+ (store_regset): Likewise.
+ (s390_linux_fetch_inferior_registers): Likewise.
+ (s390_linux_fetch_inferior_registers): Likewise.
+
+2013-09-12 Andrew Pinski <apinski@cavium.com>
+
+ * aarch64-linux-nat.c (aarch64_linux_set_debug_regs): Zero out regs.
+
+2013-09-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
+
+ * config/s390/s390.mh (NATDEPFILES): Add linux-waitpid.o.
+
+2013-09-09 Andrew Burgess <aburgess@broadcom.com>
+
+ * top.c (quit_confirm): Remove use of deprecated_init_ui_hook.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (dump_mem, gdbsim_fetch_register)
+ (gdbsim_store_register, gdbsim_kill, gdbsim_load)
+ (gdbsim_create_inferior, gdbsim_open, gdbsim_close)
+ (gdbsim_detach, gdbsim_resume_inferior, gdbsim_wait)
+ (gdbsim_files_info, gdbsim_mourn_inferior): Send debug output to
+ gdb_stdlog.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (dump_mem): Constify buf parameter.
+ gdbsim_xfer_inferior_memory): Rename to ...
+ (gdbsim_xfer_memory): ... this. Adjust interface as
+ target_xfer_partial helper.
+ (gdbsim_xfer_partial): New function.
+ (init_gdbsim_ops): Don't install a deprecated_xfer_memory hook.
+ Install a to_xfer_partial hook. Send output to gdb_stdlog.
+
+2013-09-06 Pedro Alves <palves@redhat.com>
+
+ * remote-sim.c (gdbsim_xfer_inferior_memory): Use
+ host_address_to_string, and send debug output to gdb_stdlog.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * Makefile.in (ALL_TARGET_OBS): Add cris-linux-tdep.o.
+ * configure.tgt: Add cris-linux-tdep.o and linux-tdep.o to
+ gdb_target_obs for cris target.
+ * cris-tdep.c (struct gdbarch_tdep): Move to cris-tdep.h.
+ (cris_gdbarch_init): Move calls to
+ set_gdbarch_fetch_tls_load_module_address and
+ set_solib_svr4_fetch_link_map_offsets to cris-linux-tdep.c.
+ Add call to gdbarch_init_osabi.
+ * cris-linux-tdep.c: New file.
+ * cris-tdep.h: New file.
+
+2013-09-06 Andrew Burgess <aburgess@broadcom.com>
+
+ * tui/tui-io.c (tui_initialize_io): Remove legacy comment referring
+ to deprecated_init_ui_hook.
+
+2013-09-06 Andrew Burgess <aburgess@broadcom.com>
+
+ * cli/cli-interp.c (_initialize_cli_interp): Add a
+ command_loop_proc to interp_procs.
+ * event-top.c (cli_command_loop): Change signature to match
+ interp_command_loop_ftype.
+ * event-top.h (cli_command_loop): Same.
+ * interps.c (interp_new): Require every interpreter to have a
+ command_loop_proc.
+ (current_interp_command_loop): Just call the command_loop_proc on
+ the current interpreter.
+ * tui/tui-interp.c (_initialize_tui_interp): Add a
+ command_loop_proc to interp_procs.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (cris_gdbarch_init): Add call to
+ get_gdbarch_fetch_tls_load_module_address.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (cris_elf_greg_t): Rename from elf_greg_t.
+ (cris_elf_gregset_t): Rename from elf_gregset_t.
+ (crisv32_elf_gregset_t): Adjust.
+ (cris_supply_gregset, fetch_core_registers): Adjust.
+
+2013-09-06 Ricard Wanderlof <ricardw@axis.com>
+
+ * cris-tdep.c (elf_greg_t): Change typedef to unsigned char[4]
+
+2013-09-05 Andrew Burgess <aburgess@broadcom.com>
+
+ * defs.h (deprecated_command_loop_hook): Remove, including
+ references in comments.
+ * interps.c (current_interp_command_loop): No longer use
+ deprecated_command_loop_hook.
+ (clear_interpreter_hooks): Remove deprecated_command_loop_hook
+ setup.
+ * top.c (deprecated_command_loop_hook): Remove.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): 'dwarf_regnum'
+ local is now int instead of ULONGEST. Print it with %d
+ instead of paddress.
+
+2013-09-05 Tristan Gingold <gingold@adacore.com>
+
+ * MAINTAINERS: Remove avr maintainership.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * findvar.c (value_of_register): Rework in terms of
+ value_of_register_lazy.
+
+2013-09-05 Muhammad Bilal <mbilal@codesourcery.com>
+
+ * symfile.c (add_symbol_file_command): Remove trailing
+ whitespaces and blank line after comment.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ * tui/tui-regs.c (tui_register_format): Don't look at the
+ register's name here. Return string representing register
+ value instead of storing it in the data element.
+ (tui_get_register): Compare register string representations
+ instead of register value states and contents.
+
+2013-09-05 Pedro Alves <palves@redhat.com>
+
+ PR tui/15933
+ * tui/tui-regs.c (tui_show_registers): Show registers of the
+ selected frame, not the current frame.
+
+2013-09-05 Ricard Wanderlof <ricardw@axis.com>
+
+ * MAINTAINERS (Write After Approval): Add myself to the list.
+
+2013-09-04 Doug Evans <dje@google.com>
+
+ * dwarf2read.c (queue_and_load_all_dwo_tus): New function.
+ (queue_and_load_dwo_tu): New function.
+ (lookup_dwo_signatured_type): Set per_cu.tu_read.
+ (maybe_queue_comp_unit): Rename this_cu argument to dependent_cu.
+ Make dependent_cu optional.
+ (dw2_do_instantiate_symtab): If we just loaded a CU from a DWO,
+ and an older .gdb_index is in use, queue and load all its TUs too.
+
+2013-09-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Code cleanup: Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH.
+ * cli/cli-cmds.c (find_and_open_script): Add OPF_RETURN_REALPATH to
+ variable search_flags.
+ * defs.h (OPF_DISABLE_REALPATH): Rename to ...
+ (OPF_RETURN_REALPATH): ... here.
+ * dwarf2read.c (try_open_dwop_file): Set OPF_RETURN_REALPATH for flags.
+ * exec.c (exec_file_attach): Remove OPF_DISABLE_REALPATH from openp
+ call. Twice.
+ * nto-tdep.c (nto_find_and_open_solib): Add OPF_RETURN_REALPATH for
+ openp call.
+ * solib.c (solib_find): Likewise. Four times.
+ * source.c (openp): Change OPF_DISABLE_REALPATH to OPF_RETURN_REALPATH
+ in the function comment and for the realpath_fptr variable.
+ (source_full_path_of): Add OPF_RETURN_REALPATH for openp call.
+ (find_and_open_source): Likewise. Twice.
+ * symfile.c (symfile_bfd_open): Likewise, also twice.
+
+2013-09-04 Doug Evans <dje@google.com>
+
+ * progspace.c (save_current_space_and_thread): Remove unnecessary
+ call to save_current_inferior.
+
+2013-09-04 Andrew Burgess <aburgess@broadcom.com>
+
+ * sh64-tdep.c (sh64_do_register): Return after printing message
+ about unavailable register contents.
+
2013-09-04 Muhammad Bilal <mbilal@codesourcery.com>
Pedro Alves <palves@redhat.com>
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 4d5494c..a050105 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -247,7 +247,6 @@ the native maintainer when resolving ABI issues.
arm --target=arm-elf ,-Werror
avr --target=avr ,-Werror
- Tristan Gingold gingold@adacore.com
cris --target=cris-elf ,-Werror ,
(sim does not build with -Werror)
@@ -641,6 +640,7 @@ D Venkatasubramanian dvenkat@noida.hcltech.com
Corinna Vinschen vinschen@redhat.com
Sami Wagiaalla swagiaal@redhat.com
Keith Walker keith.walker@arm.com
+Ricard Wanderlof ricardw@axis.com
Jiong Wang jiwang@tilera.com
Kris Warkentin kewarken@qnx.com
Philippe Waroquiers philippe.waroquiers@skynet.be
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index c75ec38..93a3d6a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -550,7 +550,7 @@ ALL_TARGET_OBS = \
arm-tdep.o arm-wince-tdep.o \
avr-tdep.o \
bfin-linux-tdep.o bfin-tdep.o \
- cris-tdep.o \
+ cris-linux-tdep.o cris-tdep.o \
dicos-tdep.o \
frv-linux-tdep.o frv-tdep.o \
h8300-tdep.o \
diff --git a/gdb/NEWS b/gdb/NEWS
index ad97f6f..af06a21 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -3,6 +3,14 @@
*** Changes since GDB 7.6
+* New convenience function "$_isvoid", to check whether an expression
+ is void. A void expression is an expression where the type of the
+ result is "void". For example, some convenience variables may be
+ "void" when evaluated (e.g., "$_exitcode" before the execution of
+ the program being debugged; or an undefined convenience variable).
+ Another example, when calling a function whose return type is
+ "void".
+
* The "maintenance print objfiles" command now takes an optional regexp.
* The "catch syscall" command now works on arm*-linux* targets.
@@ -111,6 +119,10 @@ show range-stepping
* GDB now understands the element 'tvar' in the XML traceframe info.
It has the id of the collected trace state variables.
+* On S/390 targets that provide the transactional-execution feature,
+ the program interruption transaction diagnostic block (TDB) is now
+ represented as a number of additional "registers" in GDB.
+
* New remote packets
vCont;r
diff --git a/gdb/README b/gdb/README
index 33516ac..d485536 100644
--- a/gdb/README
+++ b/gdb/README
@@ -577,15 +577,16 @@ try typing `M-x gdb RET'.
Writing Code for GDB
=====================
- There is a lot of information about writing code for GDB in the
-internals manual, distributed with GDB in gdb/doc/gdbint.texinfo. You
-can read it by hand, print it by using TeX and texinfo, or process it
-into an `info' file for use with Emacs' info mode or the standalone
-`info' program.
+ There is information about writing code for GDB in the file
+`CONTRIBUTE' and at the website:
+
+ http://www.gnu.org/software/gdb/
+
+in particular in the wiki.
If you are pondering writing anything but a short patch, especially
-take note of the information about copyrights in the node Submitting
-Patches. It can take quite a while to get all the paperwork done, so
+take note of the information about copyrights and copyright assignment.
+It can take quite a while to get all the paperwork done, so
we encourage you to start that process as soon as you decide you are
planning to work on something, or at least well ahead of when you
think you will be ready to submit the patches.
diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
index 846f156..f685619 100644
--- a/gdb/aarch64-linux-nat.c
+++ b/gdb/aarch64-linux-nat.c
@@ -312,6 +312,7 @@ aarch64_linux_set_debug_regs (const struct aarch64_debug_reg_state *state,
const CORE_ADDR *addr;
const unsigned int *ctrl;
+ memset (®s, 0, sizeof (regs));
iov.iov_base = ®s;
iov.iov_len = sizeof (regs);
count = watchpoint ? aarch64_num_wp_regs : aarch64_num_bp_regs;
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 6ac61cc..7546d34 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -49,12 +49,9 @@
#include "parser-defs.h"
#include "user-regs.h"
#include <ctype.h>
-
+#include "elf/common.h"
#include "gdb_string.h"
-/* This is defined in <elf.h> on ARM GNU/Linux systems. */
-#define AT_HWCAP 16
-
extern int arm_apcs_32;
/* Under ARM GNU/Linux the traditional way of performing a breakpoint
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 0649cbc..4317ea3 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -479,7 +479,7 @@ find_and_open_script (const char *script_file, int search_path,
char *file;
int fd;
struct cleanup *old_cleanups;
- int search_flags = OPF_TRY_CWD_FIRST;
+ int search_flags = OPF_TRY_CWD_FIRST | OPF_RETURN_REALPATH;
file = tilde_expand (script_file);
old_cleanups = make_cleanup (xfree, file);
diff --git a/gdb/cli/cli-interp.c b/gdb/cli/cli-interp.c
index 1003cc7..ac3d9a8 100644
--- a/gdb/cli/cli-interp.c
+++ b/gdb/cli/cli-interp.c
@@ -151,7 +151,9 @@ _initialize_cli_interp (void)
cli_interpreter_suspend, /* suspend_proc */
cli_interpreter_exec, /* exec_proc */
cli_interpreter_display_prompt_p, /* prompt_proc_p */
- cli_ui_out /* ui_out_proc */
+ cli_ui_out, /* ui_out_proc */
+ NULL, /* set_logging_proc */
+ cli_command_loop /* command_loop_proc */
};
struct interp *cli_interp;
diff --git a/gdb/common/filestuff.c b/gdb/common/filestuff.c
index 7d1a69a..d3b13e8 100644
--- a/gdb/common/filestuff.c
+++ b/gdb/common/filestuff.c
@@ -311,7 +311,13 @@ FILE *
gdb_fopen_cloexec (const char *filename, const char *opentype)
{
FILE *result = NULL;
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-17 12:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-17 12:13 [SCM] gbenson/pr14963: Merge remote branch 'gdb/master' into gbenson/pr14963 gary
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).