From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20917 invoked by alias); 26 Apr 2012 13:31:26 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 20713 invoked by uid 9514); 26 Apr 2012 13:31:21 -0000 Date: Thu, 26 Apr 2012 13:31:00 -0000 Message-ID: <20120426133121.20698.qmail@sourceware.org> From: pmuldoon@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-python-backtrace: Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace X-Git-Refname: refs/heads/archer-pmuldoon-python-backtrace X-Git-Reftype: branch X-Git-Oldrev: e4ca4731c3094c5e61bd20effc10012341be942b X-Git-Newrev: 97e6e6c82e593a19cdd5a7fadcf3f5950773887b X-SW-Source: 2012-q2/txt/msg00027.txt.bz2 List-Id: The branch, archer-pmuldoon-python-backtrace has been updated via 97e6e6c82e593a19cdd5a7fadcf3f5950773887b (commit) via 9c26862b74d7c79644d2386c88e0fc00f9564859 (commit) via 5d357975691cc31725b216cdb4899d4f763010a4 (commit) via ab5568ff1cf312087865d6bcd8c764f160719c39 (commit) via c3341986727836159f2822cd21117fdafd68434a (commit) via bd18e93be3e72b3b51f25600cf9a35bb8ae091b2 (commit) via 190a915ba7f2b2a3aaef8ea792d1f33f9ff555cc (commit) via da6b56ea93c1cd752421f8987af3b7605b2df482 (commit) via f77e0d2f2bd0a758076237e6bc4ba25dec4c35b0 (commit) via 866d53c22e65a228781a6b71e2845792c3bfaf45 (commit) via 5ed652b72005ff9567f8734ba0775ad36608ef19 (commit) via a7f1e342b425d9f03fd069cd8d2a2e01a61c8780 (commit) via 527f3f69de3fc6763330a6f7fccc9b11014b3ca1 (commit) via 063ad6c691204e6faa95fa82871612b729e20616 (commit) via ee924b7b0a4475da0a90eceeddb993cf44720e24 (commit) via a4fd2acbd17a25cfddf394f8fdbdef53397a836e (commit) via 1adc5a07557480a6ae4de1985813ff0897d2201a (commit) via 565e46151d05eee32c8ff5edcf6b25fccc7068fc (commit) via 37ca91b7822aa0bdac898cbb9e2c7344c8ac082e (commit) via 59242d6cb5a68b96cd7dc3774dd7ca16e6eb241a (commit) via be65e9c68e231536b1c486445c9cac33acfd7e6a (commit) via 2e523a5f18498a902d55ae293cb3870d060f6a6b (commit) via 57a68b786c9dd3b6fe2fba54a63e5c92007b1125 (commit) via 8dfb8536228b4a1391b28850b29b9f0f9b593285 (commit) via a0e9b872c4a0956bf8d71b7586b71fd0f19557e2 (commit) via 1e5b3419c9b01279a1dd731c42061e33e13c4913 (commit) via 7efc35282e08c768070a9a52217a56e1b0c16db9 (commit) via de41bf5a130050eb3ff3dd12f0a0f7cda875da2f (commit) via 03db7fc7bdba6b4804e54db5f142f179ca4a8122 (commit) via 588626ac6940ed8d93408718390d57dd274a8132 (commit) via 7cd7583394f261f7d19e55015998e16d3c39c139 (commit) via ece7e5950dfc4b2ac015a3e399ee53183c9f5063 (commit) via 672545c3c98bc21bcde480a0783799179b8db481 (commit) via 804f5a77b37f3626aa1484bfee45fc8e1c64af9e (commit) via 605b5018c7c2b7b608c29fc0247ab390bae280ec (commit) via a4b282f37186bee09fd5fb9d3637b639a0f5194e (commit) via 846c08a98ba262ab8546bb7c4cf4f569668b32da (commit) via d1e0a26ecef7dc4f6e83b8307076cdf022d74c59 (commit) via 2cf3a7da9058f64178d2a384de126dcf1c2339f8 (commit) via afccbc4be0c9de55e66769e219fba8cffdc634c0 (commit) via 990c85ab8559cb8a7a00b803b0fd0d946ef8b6ff (commit) via be4134dc6ecc8847c3bb10365585ff7841b2b23c (commit) via 4374b9642eae732e64f6b32fad09bdb03bd423a6 (commit) via ab1ea2c6ed2281439a36fee5e1aadef76cf42890 (commit) via 260448b8f712434f196f243655186e8f9bb6cb5d (commit) via 768b5224cefeca1bbb78b1a70c4b287ed91fa679 (commit) via b51c313c064a2df39d9285356f012cdeb0ef4cd9 (commit) via 96191898222cd1e8b701990f0da9dd6c74c9bb56 (commit) via 14fabe001b15dfe7f1941f789362909272ac8472 (commit) via d2262d4451d5dc6f1df0da295ab7db529368de8b (commit) via 35ebe40e4dfe346c3fc4b1b000066e0d0f9cd9d5 (commit) via e93b8f71785d90b8528bf82f3d636d8e5ec382f6 (commit) via a6ac13fa7aa304343e2074520dcd01d682c9adbd (commit) via fb9cff03a091b75bb2557bcac546e9d58c07b563 (commit) via 6082e51d1f75c9278f1b69a4872083e1ed46c4d7 (commit) via 0fb3d165887401eccf25dba14630b9208915d3f0 (commit) via c908ddeedc25bde779377e3c44dea7bf742048cd (commit) via 69ad9956a662a535d1aca72dd8825e52fa7918ad (commit) via 94958d2c68c3d9228b2bce06ee653ded2685801b (commit) via d41913a497777c45f389fb7782f6b3cc344c2f48 (commit) via 80f20e1b1253ce1bc7c23e1f3612e7712341a628 (commit) via 4f083d990805dd6dca3257455095ca0c2970d98d (commit) via b56c94ec5206010bfaa6bb02a765da38ccd0ed78 (commit) via 0a03df83466ab63a48ffb8027c17b08192fc3657 (commit) via b428a18eba4aaef8a6f093ed5a2bfc05251ff6f3 (commit) via 89d4a7225bca9b28ff3ac330eade0645ab27f7cd (commit) via da8bb2a88d7e1d056635df6d8f6dcad54f1454ee (commit) via 86aedb16a5df8185b3a8a0b9bc6702ac358a071c (commit) via f0e89fd022617e98d8cc3eb24a3da2901dfdeee8 (commit) via ae52fbe621c502b76a0e04685e4b3155615142c1 (commit) via 9709d4843d2f4cf02383f31fb2e31fc44304e3b6 (commit) via 20912cfa78063fbcbc32ba706cb78878a56a12a0 (commit) via f1dd2d82113d16fed5c4f1a2f8b6425aa0e6f4e8 (commit) via 4fa84cb510d5c5d0b9ee122f23cd791e5929900a (commit) via b13ec28fe9a7f8c7be1ca97c10172ba611fe7293 (commit) via 584ac1ff1ebb2a5e475fe1bc12c7b550c9bf70a0 (commit) via eca2d459b04ed3443c43c6bde89dbb24a3c19a60 (commit) via c95941a73e8690033e6c7b1d1b95d412ec6bc338 (commit) via cf4517d88bf5586537f1468c59da6053b2aea92e (commit) via 35577006ff3c20b54b3563dc3a1b73b1ee8e3205 (commit) via 9f60760c504602663effb4af878411a1193c1d64 (commit) via 31a54d666f4bacdaf2f9eaaadf8ee32168e1e40f (commit) via 6967f47519e220af61bc18a67736040793dc0c0f (commit) via 1e20d6a28a174d91cfb851925764e1947acaf052 (commit) via 253b0509388a097b446d818ead7b528d46a99886 (commit) via dfd32e4e7ae35a6e083c81b33dc0e4022c492be6 (commit) via bee9e486b2a5452a7848638900d9995e4ce68dd4 (commit) via 5699dd65012ac6ff62e07d6fefa14176251889e6 (commit) via b5c483d78be895a978a69ea8459b489444ae361f (commit) via 55d46db483658a880473a96de19c5d84ab771c45 (commit) via 16b461160ce7c7e46303eb69ab3d5a009c01b8de (commit) via d01cf71fd928aebea93fd6edfc72e29b14fb77f3 (commit) via 051deafb93866d0145be7a02b561ea1a39caa2f2 (commit) via 308a1847562142d68f6a174ca0eccae72490c651 (commit) via bbfa7b50eaffc627954a53d3d1aa3b10258f308f (commit) via 46d2a9917828eac10fcce472962b6a1c25a7cf3e (commit) via 042a04674bc66cccebf9f86eb706a0d841c27ad1 (commit) via 2721fb590810ec202f4d96448d86d52539b2d65e (commit) via 5b6f9393cfbab8bc012ea4adc729f7944eb726da (commit) via f120985591fcde3eb530a59eb014ac372ce14e60 (commit) via 0acff7a79e754ba90c7d1622ad2c10debab3c732 (commit) via 0c4f1245d79b822f306dc2b7d2edefe4f67ed0a2 (commit) via 262d0bbf6bec25981bb6472164f06310247075e6 (commit) via f28d9fe47a02e0387b0f5429e54c22707ca124f4 (commit) via 3d0f869a6ca2403da7b86a84a950b5aba7276e3a (commit) via 55104b5a62c397309d1cfc5b71220a2c41daed17 (commit) via 5cdd65d24d60b8ae57cc5d13b3a67b9ea496e59b (commit) via a5390e3a5e44fb3913138930da1d3b3f303b38a8 (commit) via dd40bfcf6892134d25b62603084e764ccc11e0c5 (commit) via 6d303df02a3b64158c014e9e2296be6cf22aced7 (commit) via 3712fb3df65b9aa4fa6c999eb5a56985fc1c068e (commit) via 5522f30ac7eb287aefa35a7540532f5e22132caf (commit) via 7413761f1c8e63f69d35968f2756a9028ef1d2af (commit) via 246d6fd2bf02a9df4e9e4e052faed2d6103a7e25 (commit) via c6a2abf5b90bae0bd35619cb12e75a1731f35ba2 (commit) via 3fd2c5b6bb1c315022cbe99414b1e6672a7ed93b (commit) via afe00b76d1c37d95eabf9daaffd1be57db577215 (commit) via e2ecdef557cd3055843a5602b47d9c401f5cc5bc (commit) via 0832b2adf62c5279c3da15f7fc0a6455c85b3571 (commit) via 40546935db599b2a01cc94f1884c588946fc0364 (commit) via 1f772bc0f6835804a0f562a57ed589abdc6348b3 (commit) via b083503149cb3f63b901b219de84a43bb2e94703 (commit) via 4ebbf274fde46d88b7f19704e3e2678be1862c71 (commit) via 29db280c3d4fd4920b54a28812ca9c77e69f34a9 (commit) via aa9a4a6646d3e41d9905446285ea6d6692cab6a3 (commit) via 7b7d8343c26bef1d2424daee5e29859ac9cbbc39 (commit) via 80880bb2b0ea92f0b2ef1a9f41560c8e1533b479 (commit) via f3dd19f1d57046fe84fa83d2043619a417b3ed47 (commit) via ede932826641ed8f0608915f57701ce45a1e7fe2 (commit) via 946318a11fbc4e65b08adc318be5dce288713620 (commit) via 85ecc8be53683a760a5e998ec20b46f3c29bc1e9 (commit) via cf8fdba6193a875eff9a59901c83179f235fbd11 (commit) via c7802f96f1f3da9ec136361ee61008974d41e0f7 (commit) via 27f3c1724a28d082a4601e30ba56ade83e5c8f01 (commit) via 75efb10fe939e49578824d826015e07153aac86e (commit) via 6d13cc3bfd6b3f497ceb42639868b853c92ca73b (commit) via 3a1444ef9f1a1e2c6711cbbf330acfe5e921231f (commit) via 2653d338f24931a6b40658008dfa03b4670c4ed6 (commit) via c37f38512fb72c845d52f779b69f4cd2446531dc (commit) via 8dcfdef29b12f9632fdb9dbbfb639312f3dbe8cd (commit) via 408b7710229a3e9dc3ba67a71a0e47c7fbb8f2b7 (commit) via 31a37791c5478f1cec1eea7906a11d5abb84a1b4 (commit) via 435e1517be448016cd7033582396590ce2eae147 (commit) via 189cafb94ee9c92a47a5164caf6cf7b7b36add46 (commit) via b43ccd746df01a27ab368b819be83e9474078a3a (commit) via ec6e45fec627bc96a6ccff56984018f5d8437650 (commit) via 62167df338cd1b9dbc4920694bc23b004aeacc32 (commit) via 74362f856f9048a0db743a4e1bc04ba5e10771b5 (commit) via 396860900b72f6c96a041add1f4ee3ca84d3fe68 (commit) via 74bed105a858403f75238bff60a210dbb80c37a3 (commit) via 3d5fe521853578ece9cd59f3c4fb19277d4bc200 (commit) via 35a4b72f7e93e1dfce7f4acbcdd14192742fb23e (commit) via 8da22002688d645ec819af4883dbb0525f4be03a (commit) via 7d0a281e40d1cd28b0000830bd9d5a18e40f5f45 (commit) via ba18e27c42c6baab0a90a19d2379292c6a459b91 (commit) via 9cbb8cd6add8994f0eb0123d9037f66eb62a84ed (commit) via 56d1f337a29fb11c61e7d4b886181618d7725db3 (commit) via 1e90e54821c3d5c188f1e57154e4910fc52dc312 (commit) via 23e3b84e063888f0b2b23b625b54fa0d214b0331 (commit) via 6eef21b44e41941b50896c15a68f51753ab8b21f (commit) via 62383a0b28edf21925d503b780515f2f7461efba (commit) via 904b1e91792c8c460f8c0c29509a04cb8e955225 (commit) via 85abc218aea323dcf87cf71f48e86388cfcb6c0d (commit) via d4554722ac21482b71ace68131ac34696fd334f0 (commit) from e4ca4731c3094c5e61bd20effc10012341be942b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 97e6e6c82e593a19cdd5a7fadcf3f5950773887b Merge: e4ca473 9c26862 Author: Phil Muldoon Date: Thu Apr 26 14:29:42 2012 +0100 Merge remote-tracking branch 'gdb/master' into archer-pmuldoon-python-backtrace Conflicts: gdb/data-directory/Makefile.in commit 9c26862b74d7c79644d2386c88e0fc00f9564859 Author: Alan Modra Date: Thu Apr 26 00:00:12 2012 +0000 daily update commit 5d357975691cc31725b216cdb4899d4f763010a4 Author: gdbadmin Date: Thu Apr 26 00:00:03 2012 +0000 *** empty log message *** commit ab5568ff1cf312087865d6bcd8c764f160719c39 Author: Doug Evans Date: Wed Apr 25 21:55:57 2012 +0000 * cli/cli-decode.c (print_doc_line): Use stream instead of current_uiout. commit c3341986727836159f2822cd21117fdafd68434a Author: Doug Evans Date: Wed Apr 25 20:55:45 2012 +0000 back out previous change commit bd18e93be3e72b3b51f25600cf9a35bb8ae091b2 Author: Doug Evans Date: Wed Apr 25 18:58:57 2012 +0000 * cli/cli-decode.c (print_doc_line): Use stream instead of current_uiout. commit 190a915ba7f2b2a3aaef8ea792d1f33f9ff555cc Author: sergiodj Date: Wed Apr 25 18:36:03 2012 +0000 2012-04-25 Sergio Durigan Junior * features/arm-with-iwmmxt.c: Regenerate. * features/arm-with-m-fpa-layout.c: Likewise. * features/arm-with-m.c: Likewise. * features/arm-with-neon.c: Likewise. * features/arm-with-vfpv2.c: Likewise. * features/arm-with-vfpv3.c: Likewise. * features/mips-dsp-linux.c: Likewise. * features/mips-linux.c: Likewise. * features/mips64-dsp-linux.c: Likewise. * features/mips64-linux.c: Likewise. * features/s390-linux32.c: Likewise. * features/s390-linux32v1.c: Likewise. * features/s390-linux32v2.c: Likewise. * features/s390-linux64.c: Likewise. * features/s390-linux64v1.c: Likewise. * features/s390-linux64v2.c: Likewise. * features/s390x-linux64.c: Likewise. * features/s390x-linux64v1.c: Likewise. * features/s390x-linux64v2.c: Likewise. * features/tic6x-c62x-linux.c: Likewise. * features/tic6x-c62x.c: Likewise. * features/tic6x-c64x-linux.c: Likewise. * features/tic6x-c64x.c: Likewise. * features/tic6x-c64xp-linux.c: Likewise. * features/tic6x-c64xp.c: Likewise. * target-descriptions.c: Only generate `field_type' and `type' variables when needed. commit da6b56ea93c1cd752421f8987af3b7605b2df482 Author: Doug Evans Date: Wed Apr 25 16:13:17 2012 +0000 * gdb.texinfo (Go): Fix thinko. commit f77e0d2f2bd0a758076237e6bc4ba25dec4c35b0 Author: Joel Brobecker Date: Wed Apr 25 15:53:25 2012 +0000 Update config.sub to 2012-04-18 version. ChangeLog: * config.sub: Update to 2012-04-18 version from official repo. commit 866d53c22e65a228781a6b71e2845792c3bfaf45 Author: Joel Brobecker Date: Wed Apr 25 15:16:29 2012 +0000 Fix location of entry added last. commit 5ed652b72005ff9567f8734ba0775ad36608ef19 Author: Joel Brobecker Date: Wed Apr 25 15:14:56 2012 +0000 Corrupted path caused by "cd" command. gdb/ChangeLog: * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy. commit a7f1e342b425d9f03fd069cd8d2a2e01a61c8780 Author: Doug Evans Date: Wed Apr 25 14:07:15 2012 +0000 Initial pass at Go language support. * NEWS: Mention Go. * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c, go-valprint.c. (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o. (YYFILES): Add go-exp.c. (YYOBJ): Add go-exp.o. (local-maintainer-clean): Delete go-exp.c. * defs.h (enum language): Add language_go. * dwarf2read.c: #include "go-lang.h". (fixup_go_packaging): New function. (process_full_comp_unit): Call it when processing Go CUs. (dwarf2_physname): Add Go support. (read_file_scope): Handle missing language spec for GNU Go. (set_cu_language): Handle DW_LANG_Go. * go-exp.y: New file. * go-lang.h: New file. * go-lang.c: New file. * go-typeprint.c: New file. * go-valprint.c: New file. * symtab.c: #include "go-lang.h". (symbol_set_language): Handle language_go. (symbol_find_demangled_name, symbol_set_names): Ditto. (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto. testsuite/ * configure.ac: Create gdb.go/Makefile. * configure: Regenerate. * gdb.base/default.exp: Add "go" to "set language" testing. * gdb.go/Makefile.in: New file. * gdb.go/basic-types.exp: New file. * gdb.go/chan.exp: New file. * gdb.go/chan.go: New file. * gdb.go/handcall.exp: New file. * gdb.go/handcall.go: New file. * gdb.go/hello.exp: New file. * gdb.go/hello.go: New file. * gdb.go/integers.exp: New file. * gdb.go/integers.go: New file. * gdb.go/methods.exp: New file. * gdb.go/methods.go: New file. * gdb.go/package.exp: New file. * gdb.go/package1.go: New file. * gdb.go/package2.go: New file. * gdb.go/print.exp: New file. * gdb.go/strings.exp: New file. * gdb.go/strings.go: New file. * gdb.go/types.exp: New file. * gdb.go/types.go: New file. * gdb.go/unsafe.exp: New file. * gdb.go/unsafe.go: New file. * lib/future.exp: Add Go support. (gdb_find_go, gdb_find_go_linker): New procs. (gdb_default_target_compile): Add Go support. * lib/gdb.exp (skip_go_tests): New proc. * lib/go.exp: New file. doc/ * gdb.texinfo (Supported Languages): Add Go. (Go): New node. commit 527f3f69de3fc6763330a6f7fccc9b11014b3ca1 Author: Tom Tromey Date: Wed Apr 25 13:53:59 2012 +0000 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'. commit 063ad6c691204e6faa95fa82871612b729e20616 Author: qiyao Date: Wed Apr 25 10:59:10 2012 +0000 gdb/doc * gdbint.texinfo (Testsuite): New section `Board settings'. commit ee924b7b0a4475da0a90eceeddb993cf44720e24 Author: meyering Date: Wed Apr 25 08:16:35 2012 +0000 avoid a few strncpy-induced buffer overruns * procfs.c (procfs_make_note_section): Be sure to NUL-terminate fname and psargs before trying to concatenate. * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate "name" before applying strchr. commit a4fd2acbd17a25cfddf394f8fdbdef53397a836e Author: sivachandra Date: Wed Apr 25 07:08:02 2012 +0000 2012-04-25 Siva Chandra Reddy * CONTRIBUTE: Use unified diff instead of context diff when generating patches. commit 1adc5a07557480a6ae4de1985813ff0897d2201a Author: Alan Modra Date: Wed Apr 25 00:00:05 2012 +0000 daily update commit 565e46151d05eee32c8ff5edcf6b25fccc7068fc Author: gdbadmin Date: Wed Apr 25 00:00:03 2012 +0000 *** empty log message *** commit 37ca91b7822aa0bdac898cbb9e2c7344c8ac082e Author: Maciej W. Rozycki Date: Tue Apr 24 19:56:01 2012 +0000 * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support code. Handle JR.HB correctly. commit 59242d6cb5a68b96cd7dc3774dd7ca16e6eb241a Author: Maciej W. Rozycki Date: Tue Apr 24 19:44:14 2012 +0000 * mips-tdep.c (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group with the other MIPS16 helpers. commit be65e9c68e231536b1c486445c9cac33acfd7e6a Author: sergiodj Date: Tue Apr 24 18:10:29 2012 +0000 2012-04-24 Sergio Durigan Junior * observer.sh: Conditionally declare `args', thus cleaning up unused instances of this variable. commit 2e523a5f18498a902d55ae293cb3870d060f6a6b Author: Hans-Peter Nilsson Date: Tue Apr 24 16:09:10 2012 +0000 PR ld/13990 * elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local symbol, where PLT refcount is set to -1. commit 57a68b786c9dd3b6fe2fba54a63e5c92007b1125 Author: Thiago Jung Bauermann Date: Tue Apr 24 15:03:43 2012 +0000 * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c. (PTRACE_ARG4_TYPE): Likewise. (PTRACE_XFER_TYPE): Likewise. * linux-arm-low.c (arm_prepare_to_resume): Cast third argument of ptrace to PTRACE_ARG3_TYPE. * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h. (PTRACE_ARG4_TYPE): Likewise. (PTRACE_XFER_TYPE): Likewise. (linux_detach_one_lwp): Cast fourth argument of ptrace to long then PTRACE_ARG4_TYPE. (regsets_fetch_inferior_registers): Cast third argument of ptrace to long then PTRACE_ARG3_TYPE. (regsets_store_inferior_registers): Likewise. commit 8dfb8536228b4a1391b28850b29b9f0f9b593285 Author: qiyao Date: Tue Apr 24 14:33:10 2012 +0000 gdb: Revert this patch to allow breakpoint always-inserted in record target. 2011-12-05 Pedro Alves * breakpoint.c: Include record.h. (breakpoints_always_inserted_mode): Return false when the record target is in use. * breakpoint.c (iterate_over_bp_locations): New. * breakpoint.h: Declare. New typedef walk_bp_location_callback. * record.c (record_open): Call record_init_record_breakpoints. (record_sync_record_breakpoints): New. (record_init_record_breakpoints): New. * NEWS: Mention supporting breakpoint always-inserted mode in record target. commit a0e9b872c4a0956bf8d71b7586b71fd0f19557e2 Author: Marc Khouzam Date: Tue Apr 24 14:26:21 2012 +0000 2012-04-24 Marc Khouzam * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just any thread. commit 1e5b3419c9b01279a1dd731c42061e33e13c4913 Author: qiyao Date: Tue Apr 24 13:20:11 2012 +0000 gdb/ * breakpoint.c (ep_is_catchpoint): Renamed to ... (is_catchpoint): ... it. (print_one_breakpoint_location): Caller update. * breakpoint.h: Update declaration. commit 7efc35282e08c768070a9a52217a56e1b0c16db9 Author: Alan Modra Date: Tue Apr 24 05:12:26 2012 +0000 PR ld/13991 bfd/ * bfd/elf-bfd.h (_bfd_elf_link_just_syms): Define as _bfd_generic_link_just_syms. * bfd/elflink.c (_bfd_elf_link_just_syms): Delete. * bfd/linker.c (_bfd_generic_link_just_syms): Set sec_info_type. * bfd/bfd-in.h (discarded_section): Renamed from elf_discarded_section. * bfd/section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS, SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME, SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE. * bfd/elf-eh-frame.c, * bfd/elf-m10200.c, * bfd/elf-m10300.c, * bfd/elf.c, * bfd/elf32-arm.c, * bfd/elf32-avr.c, * bfd/elf32-bfin.c, * bfd/elf32-cr16.c, * bfd/elf32-cr16c.c, * bfd/elf32-cris.c, * bfd/elf32-crx.c, * bfd/elf32-d10v.c, * bfd/elf32-epiphany.c, * bfd/elf32-fr30.c, * bfd/elf32-frv.c, * bfd/elf32-h8300.c, * bfd/elf32-hppa.c, * bfd/elf32-i370.c, * bfd/elf32-i386.c, * bfd/elf32-i860.c, * bfd/elf32-ip2k.c, * bfd/elf32-iq2000.c, * bfd/elf32-lm32.c, * bfd/elf32-m32c.c, * bfd/elf32-m32r.c, * bfd/elf32-m68hc1x.c, * bfd/elf32-m68k.c, * bfd/elf32-mcore.c, * bfd/elf32-mep.c, * bfd/elf32-moxie.c, * bfd/elf32-msp430.c, * bfd/elf32-mt.c, * bfd/elf32-openrisc.c, * bfd/elf32-ppc.c, * bfd/elf32-rl78.c, * bfd/elf32-rx.c, * bfd/elf32-s390.c, * bfd/elf32-score.c, * bfd/elf32-score7.c, * bfd/elf32-sh.c, * bfd/elf32-spu.c, * bfd/elf32-tic6x.c, * bfd/elf32-tilepro.c, * bfd/elf32-v850.c, * bfd/elf32-vax.c, * bfd/elf32-xc16x.c, * bfd/elf32-xstormy16.c, * bfd/elf32-xtensa.c, * bfd/elf64-alpha.c, * bfd/elf64-hppa.c, * bfd/elf64-ia64-vms.c, * bfd/elf64-mmix.c, * bfd/elf64-ppc.c, * bfd/elf64-s390.c, * bfd/elf64-sh64.c, * bfd/elf64-x86-64.c, * bfd/elflink.c, * bfd/elfnn-ia64.c, * bfd/elfxx-mips.c, * bfd/elfxx-sparc.c, * bfd/elfxx-tilegx.c, * bfd/reloc.c: Update all references. * bfd/bfd-in2.h: Regenerate. ld/ * ld/ldlang.c (size_input_section): Use sec_info_type rather than usrdata->flags.just_syms. * ld/ldwrite.c (build_link_order): Likewise. * ld/emultempl/hppaelf.em (build_section_lists): Likewise. * ld/emultempl/ppc64elf.em (build_toc_list): Likewise. * ld/emultempl/armelf.em (build_section_lists): Likewise. (after_allocation): Update for renamed sec_info_type value. * ld/emultempl/tic6xdsbt.em: Likewise. commit de41bf5a130050eb3ff3dd12f0a0f7cda875da2f Author: David S. Miller Date: Tue Apr 24 03:33:14 2012 +0000 gdb: Enable gdbserver by default on sparc-*-linux* This appears to be an oversight, since this is done already for sparc64-*-linux*, and essentially every other linux target. gdb/ * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes. commit 03db7fc7bdba6b4804e54db5f142f179ca4a8122 Author: gdbadmin Date: Tue Apr 24 00:00:33 2012 +0000 *** empty log message *** commit 588626ac6940ed8d93408718390d57dd274a8132 Author: Alan Modra Date: Tue Apr 24 00:00:05 2012 +0000 daily update commit 7cd7583394f261f7d19e55015998e16d3c39c139 Author: Tom Tromey Date: Mon Apr 23 18:53:11 2012 +0000 * buildsym.c (add_free_pendings): Remove. * buildsym.h (add_free_pendings): Remove. commit ece7e5950dfc4b2ac015a3e399ee53183c9f5063 Author: Jan Kratochvil Date: Mon Apr 23 17:26:00 2012 +0000 gdb/doc/ * gdb.texinfo (Auto-loading safe path): Add trailing @dots{}. Three times. commit 672545c3c98bc21bcde480a0783799179b8db481 Author: Jan Kratochvil Date: Mon Apr 23 17:20:56 2012 +0000 gdb/doc/ * gdb.texinfo (Auto-loading safe path): Remove trailing [@dots{}]. Three times. commit 804f5a77b37f3626aa1484bfee45fc8e1c64af9e Author: Doug Evans Date: Mon Apr 23 16:45:58 2012 +0000 * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in attr.u.unsnd instead of attr.u.addr. (read_attribute_value) Ditto for cases DW_FORM_ref_addr, DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8, DW_FORM_ref_udata. (dump_die_shallow): Update cases DW_FORM_ref_addr, DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8, DW_FORM_ref_udata. (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes. commit 605b5018c7c2b7b608c29fc0247ab390bae280ec Author: Maciej W. Rozycki Date: Mon Apr 23 16:00:11 2012 +0000 * mips-tdep.c (mips_n32n64_return_value): Fix coding style. (mips_o32_return_value): Likewise. (mips_o64_return_value): Likewise. commit a4b282f37186bee09fd5fb9d3637b639a0f5194e Author: gdbadmin Date: Mon Apr 23 00:00:32 2012 +0000 *** empty log message *** commit 846c08a98ba262ab8546bb7c4cf4f569668b32da Author: Alan Modra Date: Mon Apr 23 00:00:06 2012 +0000 daily update commit d1e0a26ecef7dc4f6e83b8307076cdf022d74c59 Author: Jan Kratochvil Date: Sun Apr 22 15:49:21 2012 +0000 gdb/doc/ * gdb.texinfo (Auto-loading safe path): Replace @itemize @bullet by @table @asis. Fix formatting of one item. commit 2cf3a7da9058f64178d2a384de126dcf1c2339f8 Author: gdbadmin Date: Sun Apr 22 00:00:32 2012 +0000 *** empty log message *** commit afccbc4be0c9de55e66769e219fba8cffdc634c0 Author: Alan Modra Date: Sun Apr 22 00:00:05 2012 +0000 daily update commit 990c85ab8559cb8a7a00b803b0fd0d946ef8b6ff Author: Paul N. Hilfinger Date: Sat Apr 21 22:12:57 2012 +0000 Add proper handling for internal functions and STT_GNU_IFUNC symbols in Ada mode. The code for handling calls to internal functions (esp., Python functions) and for handling STT_GNU_IFUNC had not been added to the Ada expression evaluator. This change adapts them from eval.c. gdb/Changelog: * ada-lang.c (ada_evaluate_subexp): Add cases for TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following their treatment in eval.c. commit be4134dc6ecc8847c3bb10365585ff7841b2b23c Author: David S. Miller Date: Sat Apr 21 19:03:52 2012 +0000 Handle sparc compare-and-branch SPARC-T4 adds a "compare and branch" instruction which fuses a compare and a branch instruction into one. The branch is non-delayed, there are no anulling facilities, and the displacement is 10-bits. This also corrects the existing bit test for Branch on Integer Register. The distinguising characteristic between Branch on Integer Register and Compare-and-Branch is bit 28. The existing code was checking bit 24 for zero, but that's pointless because bit 24 is already covered by the "X_OP2 (insn) == 3" test. gdb/ * sparc-tdep.c (X_DISP10): Define. (sparc_analyze_control_transfer): Handle compare-and-branch. commit 4374b9642eae732e64f6b32fad09bdb03bd423a6 Author: gdbadmin Date: Sat Apr 21 00:00:34 2012 +0000 *** empty log message *** commit ab1ea2c6ed2281439a36fee5e1aadef76cf42890 Author: Alan Modra Date: Sat Apr 21 00:00:05 2012 +0000 daily update commit 260448b8f712434f196f243655186e8f9bb6cb5d Author: Jonathan Larmour Date: Fri Apr 20 23:39:56 2012 +0000 * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. commit 768b5224cefeca1bbb78b1a70c4b287ed91fa679 Author: Maciej W. Rozycki Date: Fri Apr 20 23:31:36 2012 +0000 * mips-tdep.c (mips_float_register_p): New function. (mips_convert_register_float_case_p): Use mips_float_register_p. (mips_register_type): Likewise. (mips_print_register): Likewise. (print_gp_register_row): Likewise. (mips_print_registers_info): Likewise. commit b51c313c064a2df39d9285356f012cdeb0ef4cd9 Author: Maciej W. Rozycki Date: Fri Apr 20 23:01:50 2012 +0000 * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification of mips16 symbols. commit 96191898222cd1e8b701990f0da9dd6c74c9bb56 Author: pinskia Date: Fri Apr 20 22:59:45 2012 +0000 2012-04-20 Andrew Pinski * MAINTAINERS (Write After Approval): Add myself to the list. commit 14fabe001b15dfe7f1941f789362909272ac8472 Author: sergiodj Date: Fri Apr 20 22:56:39 2012 +0000 2012-04-20 Sergio Durigan Junior * MAINTAINERS: Update my e-mail address. commit d2262d4451d5dc6f1df0da295ab7db529368de8b Author: Pedro Alves Date: Fri Apr 20 17:58:44 2012 +0000 2012-04-20 Pedro Alves gdb/ * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute $srcdir. * configure: Regenerate. gdb/gdbserver/ * configure: Regenerate. commit 35ebe40e4dfe346c3fc4b1b000066e0d0f9cd9d5 Author: sergiodj Date: Fri Apr 20 16:57:11 2012 +0000 2012-04-20 Sergio Durigan Junior * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC declaration. * gdb_vecs.h: Declare `const_char_ptr' VEC. commit e93b8f71785d90b8528bf82f3d636d8e5ec382f6 Author: Pedro Alves Date: Fri Apr 20 16:36:24 2012 +0000 whitespace/tabify commit a6ac13fa7aa304343e2074520dcd01d682c9adbd Author: Andreas Krebbel Date: Fri Apr 20 11:45:53 2012 +0000 2012-04-20 Andreas Krebbel * elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. * elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. commit fb9cff03a091b75bb2557bcac546e9d58c07b563 Author: Jan Kratochvil Date: Fri Apr 20 07:17:53 2012 +0000 gdb/ Fix compilation compatibility with python-2.4 * python/py-type.c (convert_field): Cast ADDRSTRING for PyObject_SetAttrString as non-const. New comment. commit 6082e51d1f75c9278f1b69a4872083e1ed46c4d7 Author: gdbadmin Date: Fri Apr 20 00:00:33 2012 +0000 *** empty log message *** commit 0fb3d165887401eccf25dba14630b9208915d3f0 Author: Alan Modra Date: Fri Apr 20 00:00:05 2012 +0000 daily update commit c908ddeedc25bde779377e3c44dea7bf742048cd Author: Tom Tromey Date: Thu Apr 19 20:18:22 2012 +0000 * top.c (quit_target): Use all_cleanups. * main.c (captured_command_loop): Use all_cleanups. * exceptions.c (throw_exception): Use all_cleanups. commit 69ad9956a662a535d1aca72dd8825e52fa7918ad Author: Pedro Alves Date: Thu Apr 19 19:34:49 2012 +0000 2012-04-19 Pedro Alves gdb/ * Makefile.in (GNULIB_BUILDDIR): New. (LIBGNU, INCGNU, GNULIB_H): Adjust. (SUBDIRS): Add $(GNULIB_BUILDDIR). (CLEANDIRS). Remove gnulib/import. (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR). (all-lib): Ditto. (distclean): Remove the $(GNULIB_BUILDDIR) directory. (gnulib/import/Makefile): Replace gnulib/import with $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile. (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'. (aclocal_m4_deps): Remove the gnulib dependencies. Add acx_configure_dir.m4. * acinclude.m4: Include acx_configure_dir.m4. * acx_configure_dir.m4: New file. * aclocal.m4: Regenerate. * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE calls. Configure gnulib using ACX_CONFIGURE_DIR. (GNULIB): New variable. (GNULIB_STDINT_H): Adjust. (AC_OUTPUT): Don't output gnulib/Makefile. * gdb/defs.h: Include build-gnulib/config.h. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * gnulib/Makefile.in: New file. * gnulib/configure.ac: New file. * gnulib/aclocal.m4: New file. * gnulib/config.in: New file. * gnulib/configure: New file. * gnulib/: Re-run gnulib-tool to adjust. gdb/gdbserver/ * Makefile.in (GNULIB_BUILDDIR): New. (LIBGNU, INCGNU, GNULIB_H): Adjust. (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New. (all, install-only, uninstall, clean-info, all-lib, clean): No longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do. (maintainer-clean realclean distclean): Use subdir_do. (subdir_do): New. (gnulib/import/Makefile): Adjust. Replace gnulib/import with $(GNULIB_BUILDDIR). Don't pass argument to config.status. * acinclude.m4: Include acx_configure_dir.m4. * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE calls. Call AC_PROG_RANLIB. Configure gnulib using ACX_CONFIGURE_DIR. (GNULIB): New. (GNULIB_STDINT_H): Adjust. (AC_OUTPUT): Don't output gnulib/Makefile anymore. * gdbreplay.c: Include build-gnulib/config.h. * server.h: Likewise. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. commit 94958d2c68c3d9228b2bce06ee653ded2685801b Author: Pedro Alves Date: Thu Apr 19 19:32:15 2012 +0000 Revert commit that should not have gone in. commit d41913a497777c45f389fb7782f6b3cc344c2f48 Author: Doug Evans Date: Thu Apr 19 19:11:02 2012 +0000 * cleanups.h (struct cleanup): Move to cleanups.c. (make_cleanup_dtor_ftype): New typedef. (make_cleanup_dtor): Use it. (ALL_CLEANUPS): Replace with ... (all_cleanups): ... this. Declare. All uses updated. * cleanups.c: #include "gdb_assert.h". (sentinel_cleanup): New static global. (SENTINEL_CLEANUP): Define. (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP. (make_my_cleanup2): Assert result is non-NULL. (all_cleanups): New function. (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead of NULL. commit 80f20e1b1253ce1bc7c23e1f3612e7712341a628 Author: Pedro Alves Date: Thu Apr 19 17:18:18 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (GNULIB_BUILDDIR): New. (LIBGNU, INCGNU, GNULIB_H): Adjust. (SUBDIRS): Add $(GNULIB_BUILDDIR). (CLEANDIRS). Remove gnulib/import. (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR). (all-lib): Ditto. (distclean): Remove the $(GNULIB_BUILDDIR) directory. (gnulib/import/Makefile): Replace gnulib/import with $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile. (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'. (aclocal_m4_deps): Remove the gnulib dependencies. Add acx_configure_dir.m4. * acinclude.m4: Include acx_configure_dir.m4. * acx_configure_dir.m4: New file. * aclocal.m4: Regenerate. * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE calls. Configure gnulib using ACX_CONFIGURE_DIR. (GNULIB): New variable. (GNULIB_STDINT_H): Adjust. (AC_OUTPUT): Don't output gnulib/Makefile. * gdb/defs.h: Include build-gnulib/config.h. * acx_configure_dir.m4: New file. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * gnulib/Makefile.in: New file. * gnulib/configure.ac: New file. * gnulib/aclocal.m4: New file. * gnulib/config.in: New file. * gnulib/configure: New file. * gnulib/: Re-run gnulib-tool to adjust. gdbserver/ * Makefile.in (GNULIB_BUILDDIR): New. (LIBGNU, INCGNU, GNULIB_H): Adjust. (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New. (all, install-only, uninstall, clean-info, all-lib, clean): No longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do. (maintainer-clean realclean distclean): Use subdir_do. (subdir_do): New. (gnulib/import/Makefile): Adjust. Replace gnulib/import with $(GNULIB_BUILDDIR). Don't pass argument to config.status. * acinclude.m4: Include acx_configure_dir.m4. * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE calls. Call AC_PROG_RANLIB. Configure gnulib using ACX_CONFIGURE_DIR. (GNULIB): New. (GNULIB_STDINT_H): Adjust. (AC_OUTPUT): Don't output gnulib/Makefile anymore. * gdbreplay.c: Include build-gnulib/config.h. * server.h: Likewise. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. commit 4f083d990805dd6dca3257455095ca0c2970d98d Author: Pedro Alves Date: Thu Apr 19 17:15:07 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h. Adjust paths to gnulib imported files. C commit b56c94ec5206010bfaa6bb02a765da38ccd0ed78 Author: Pedro Alves Date: Thu Apr 19 16:55:28 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h. Adjust paths to gnulib imported files. commit 0a03df83466ab63a48ffb8027c17b08192fc3657 Author: Pedro Alves Date: Thu Apr 19 15:27:40 2012 +0000 2012-04-19 Pedro Alves gdb/ * gnulib/: Move whole directory ... * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust. * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS) (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS) (aclocal_m4_deps): Adjust. * aclocal.m4: Regenerate. * configure: Regenerate. * configure.ac: Adjust AC_OUTPUT output. gdbserver/ * Makefile.in (LIBGNU, INCGNU): Adjust. (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust. (all, install-only, uninstall, clean-info, all-lib, clean) (maintainer-clean, Makefile, gnulib/Makefile): Adjust. * configure.ac: Adjust AC_OUTPUT output. * aclocal.m4: Regenerate. * configure: Regenerate. commit b428a18eba4aaef8a6f093ed5a2bfc05251ff6f3 Author: Pedro Alves Date: Thu Apr 19 13:26:25 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (generated_files): New. (server_h): Remove the explicit dependency on config.h, and depend on $generated_files. commit 89d4a7225bca9b28ff3ac330eade0645ab27f7cd Author: Pedro Alves Date: Thu Apr 19 12:10:06 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (INCGNU): Add -Ignulib. commit da8bb2a88d7e1d056635df6d8f6dcad54f1454ee Author: Pedro Alves Date: Thu Apr 19 12:02:56 2012 +0000 2012-04-19 Pedro Alves * Makefile.in (GNULIB_INCLUDE_DIR): Rename to ... (INCGNU): ... this, and spell out -I here. (GNULIB_LIB): Rename to ... (LIBGNU): ... this. (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust. commit 86aedb16a5df8185b3a8a0b9bc6702ac358a071c Author: Pedro Alves Date: Thu Apr 19 11:58:57 2012 +0000 2012-04-19 Pedro Alves * config.in: Regenerate. commit f0e89fd022617e98d8cc3eb24a3da2901dfdeee8 Author: Pedro Alves Date: Thu Apr 19 11:57:36 2012 +0000 Move entries to right place. Drop config.in entry, as I forgot to actually do what it says. commit ae52fbe621c502b76a0e04685e4b3155615142c1 Author: Pedro Alves Date: Thu Apr 19 10:23:03 2012 +0000 2012-04-19 Pedro Alves * configure.ac: Remove AC_CHECK_DECLS check for memmem. * server.h (memmem): Remove declaration. * config.in: Regenerate. * configure: Regenerate. commit 9709d4843d2f4cf02383f31fb2e31fc44304e3b6 Author: tschwinge Date: Thu Apr 19 09:50:22 2012 +0000 bfd/ * elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for got_type. (allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use it. commit 20912cfa78063fbcbc32ba706cb78878a56a12a0 Author: qiyao Date: Thu Apr 19 05:58:51 2012 +0000 gdb: * Makefile.in (SFILES): Add common/vec.c and remove vec.c. (vec.o): New rule. * vec.c: Move it ... * common/vec.c: ... here. * vec.h: Move it ... * common/vec.h: ... here. gdb/gdbserver: * Makefile.in (SFILES): Add common/vec.c. (OBS): Add vec.o. (vec.o): New rule. commit f1dd2d82113d16fed5c4f1a2f8b6425aa0e6f4e8 Author: qiyao Date: Thu Apr 19 05:05:11 2012 +0000 gdb/gdbserver/ * remote-utils.c (prepare_resume_reply): Replace with macro target_core_of_thread. * server.c (handle_qxfer_threads_proper): Likewise. * target.h (traget_core_of_thread): New macro. commit 4fa84cb510d5c5d0b9ee122f23cd791e5929900a Author: qiyao Date: Thu Apr 19 01:58:06 2012 +0000 gdb/ * gdb-code-style.el: New. commit b13ec28fe9a7f8c7be1ca97c10172ba611fe7293 Author: gdbadmin Date: Thu Apr 19 00:00:33 2012 +0000 *** empty log message *** commit 584ac1ff1ebb2a5e475fe1bc12c7b550c9bf70a0 Author: Alan Modra Date: Thu Apr 19 00:00:04 2012 +0000 daily update commit eca2d459b04ed3443c43c6bde89dbb24a3c19a60 Author: Pedro Alves Date: Wed Apr 18 20:45:05 2012 +0000 2012-04-18 Pedro Alves Update gnulib from latest git. (639ea5ae15e39fe48d43e04864b2997301e4b969) * gnulib/Makefile.am: Update. * gnulib/dummy.c: Update. * gnulib/extra/arg-nonnull.h: Update. * gnulib/extra/c++defs.h: Update. * gnulib/extra/update-copyright: Update. * gnulib/extra/warn-on-use.h: Update. * gnulib/inttypes.in.h: Update. * gnulib/m4/00gnulib.m4: Update. * gnulib/m4/extensions.m4: Update. * gnulib/m4/gnulib-cache.m4: Update. * gnulib/m4/gnulib-common.m4: Update. * gnulib/m4/gnulib-comp.m4: Update. * gnulib/m4/gnulib-tool.m4: Update. * gnulib/m4/include_next.m4: Update. * gnulib/m4/inttypes-pri.m4: Update. * gnulib/m4/inttypes.m4: Update. * gnulib/m4/longlong.m4: Update. * gnulib/m4/memchr.m4: Update. * gnulib/m4/memmem.m4: Update. * gnulib/m4/mmap-anon.m4: Update. * gnulib/m4/multiarch.m4: Update. * gnulib/m4/onceonly.m4: Update. * gnulib/m4/stddef_h.m4: Update. * gnulib/m4/stdint.m4: Update. * gnulib/m4/string_h.m4: Update. * gnulib/m4/warn-on-use.m4: Update. * gnulib/m4/wchar_h.m4: Update. * gnulib/m4/wchar_t.m4: Update. * gnulib/m4/wint_t.m4: Update. * gnulib/memchr.c: Update. * gnulib/memmem.c: Update. * gnulib/stddef.in.h: Update. * gnulib/stdint.in.h: Update. * gnulib/str-two-way.h: Update. * gnulib/string.in.h: Update. * gnulib/wchar.in.h: Update. * gnulib/extra/arg-nonnull.h: Delete. * gnulib/extra/c++defs.h: Delete. * gnulib/extra/warn-on-use.h: Delete. * gnulib/m4/wchar_h.m4: Delete. * gnulib/m4/wint_t.m4: Delete. * gnulib/wchar.in.h: Delete. * gnulib/extra/snippets/arg-nonnull.h: New. * gnulib/extra/snippets/c++defs.h: New. * gnulib/extra/snippets/warn-on-use.h: New. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * gnulib/Makefile.in: Regenerate. * gdbserver/aclocal.m4: Regenerate. * gdbserver/config.in: Regenerate. * gdbserver/configure: Regenerate. commit c95941a73e8690033e6c7b1d1b95d412ec6bc338 Author: Pedro Alves Date: Wed Apr 18 20:06:33 2012 +0000 2012-04-18 Pedro Alves Reimport the update-copyright module from gnulib (250b80067c1e1d8faa0c42fb572f721975b929c5). * configure: Regenerate. * gnulib/Makefile.am: Update. * gnulib/Makefile.in: Regenerate. * gnulib/extra/update-copyright: Update. * gnulib/m4/gnulib-cache.m4: Update. * gnulib/m4/gnulib-comp.m4: Update. commit cf4517d88bf5586537f1468c59da6053b2aea92e Author: Joel Brobecker Date: Wed Apr 18 15:11:57 2012 +0000 put -lpthread into LIBS instead of CONFIG_LDFLAGS. The problem showed up on AIX when we switched from the system linker to GNU ld. What happens is that configure is adding -lpthdebug to CONFIG_LDFLAGS when AIX thread debugging support is detected. But this causes the "-lpthread" switch to be placed at the _before_ GDB's .o files (see Makefile.in): INTERNAL_LDFLAGS = [...] $(CONFIG_LDFLAGS) [...] gdb$(EXEEXT): gdb.o $(LIBGDB_OBS) $(ADD_DEPS) $(CDEPS) $(TDEPLIBS) rm -f gdb$(EXEEXT) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) \ -o gdb$(EXEEXT) gdb.o $(LIBGDB_OBS) \ $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) And as a result of this, the linker reports an error due to some symbols in aix-thread.o not being satisfied. This patch adds the "-lpthread" switch to LIBS instead, which should be the right place to add it. gdb/ChangeLog (Tristan Gingold): * configure.ac (aix): Put -lpthread into libs. * configure: Regenerate. commit 35577006ff3c20b54b3563dc3a1b73b1ee8e3205 Author: Tom Tromey Date: Wed Apr 18 14:56:57 2012 +0000 * linespec.c (convert_linespec_to_sals): Don't use SYMBOL_OBJ_SECTION. (compare_msymbols): Arguments are minsym_and_objfile, not minimal_symbol*. Don't use SYMBOL_OBJ_SECTION. commit 9f60760c504602663effb4af878411a1193c1d64 Author: Pedro Alves Date: Wed Apr 18 12:09:36 2012 +0000 2012-04-18 Pedro Alves Revert gnulib/ part of: 2011-01-01 Joel Brobecker Copyright year update in most files (performed by copyright.sh). ----------------------------------------------------------------------- Summary of changes: ChangeLog | 9 + bfd/ChangeLog | 153 + bfd/Makefile.am | 2 + bfd/Makefile.in | 3 + bfd/bfd-in.h | 6 +- bfd/bfd-in2.h | 20 +- bfd/config.bfd | 18 +- bfd/configure | 16 +- bfd/configure.in | 16 +- bfd/elf-bfd.h | 3 +- bfd/elf-eh-frame.c | 14 +- bfd/elf-m10200.c | 4 +- bfd/elf-m10300.c | 4 +- bfd/elf.c | 10 +- bfd/elf32-arm.c | 794 ++- bfd/elf32-avr.c | 5 +- bfd/elf32-bfin.c | 8 +- bfd/elf32-cr16.c | 2 +- bfd/elf32-cr16c.c | 4 +- bfd/elf32-cris.c | 2 +- bfd/elf32-crx.c | 4 +- bfd/elf32-d10v.c | 4 +- bfd/elf32-epiphany.c | 4 +- bfd/elf32-fr30.c | 5 +- bfd/elf32-frv.c | 6 +- bfd/elf32-h8300.c | 4 +- bfd/elf32-hppa.c | 2 +- bfd/elf32-i370.c | 2 +- bfd/elf32-i386.c | 4 +- bfd/elf32-i860.c | 5 +- bfd/elf32-ip2k.c | 4 +- bfd/elf32-iq2000.c | 4 +- bfd/elf32-lm32.c | 6 +- bfd/elf32-m32c.c | 4 +- bfd/elf32-m32r.c | 2 +- bfd/elf32-m68hc1x.c | 2 +- bfd/elf32-m68k.c | 2 +- bfd/elf32-mcore.c | 4 +- bfd/elf32-mep.c | 4 +- bfd/elf32-moxie.c | 4 +- bfd/elf32-msp430.c | 4 +- bfd/elf32-mt.c | 4 +- bfd/elf32-openrisc.c | 4 +- bfd/elf32-ppc.c | 6 +- bfd/elf32-rl78.c | 6 +- bfd/elf32-rx.c | 6 +- bfd/elf32-s390.c | 4 +- bfd/elf32-score.c | 4 +- bfd/elf32-score7.c | 4 +- bfd/elf32-sh.c | 15 +- bfd/elf32-spu.c | 2 +- bfd/elf32-tic6x.c | 2 +- bfd/elf32-tilepro.c | 2 +- bfd/elf32-v850.c | 5 +- bfd/elf32-vax.c | 2 +- bfd/elf32-xc16x.c | 4 +- bfd/elf32-xstormy16.c | 4 +- bfd/elf32-xtensa.c | 10 +- bfd/elf64-alpha.c | 11 +- bfd/elf64-hppa.c | 5 +- bfd/{elfnn-ia64.c => elf64-ia64-vms.c} | 3581 ++++++------ bfd/elf64-mmix.c | 5 +- bfd/elf64-ppc.c | 58 +- bfd/elf64-s390.c | 4 +- bfd/elf64-sh64.c | 4 +- bfd/elf64-x86-64.c | 14 +- bfd/elflink.c | 65 +- bfd/elfnn-ia64.c | 370 +-- bfd/elfxx-mips.c | 17 +- bfd/elfxx-sparc.c | 71 +- bfd/elfxx-tilegx.c | 2 +- bfd/libbfd.h | 4 + bfd/linker.c | 3 +- bfd/reloc.c | 13 +- bfd/section.c | 13 +- bfd/targets.c | 2 + bfd/version.h | 2 +- bfd/vms-lib.c | 75 +- config.sub | 42 +- configure | 7 +- configure.ac | 9 +- gdb/CONTRIBUTE | 6 +- gdb/ChangeLog | 945 +++- gdb/MAINTAINERS | 3 +- gdb/Makefile.in | 86 +- gdb/NEWS | 56 + gdb/acinclude.m4 | 2 + gdb/aclocal.m4 | 880 --- gdb/acx_configure_dir.m4 | 117 + gdb/ada-exp.y | 2 +- gdb/ada-lang.c | 33 +- gdb/ada-typeprint.c | 10 +- gdb/ada-valprint.c | 6 +- gdb/arm-tdep.c | 2 +- gdb/auto-load.c | 1052 ++++ gdb/auto-load.h | 61 + gdb/breakpoint.c | 23 +- gdb/breakpoint.h | 6 +- gdb/buildsym.c | 14 - gdb/buildsym.h | 2 - gdb/c-typeprint.c | 12 +- gdb/charset.c | 7 +- gdb/cleanups.c | 293 + gdb/cleanups.h | 69 + gdb/cli/cli-cmds.c | 4 +- gdb/cli/cli-decode.c | 2 +- gdb/coffread.c | 2 +- gdb/common/agent.c | 3 +- gdb/common/agent.h | 2 +- gdb/{ => common}/vec.c | 5 + gdb/{ => common}/vec.h | 3 + gdb/config.in | 272 +- gdb/configure | 4198 ++------------ gdb/configure.ac | 31 +- gdb/configure.tgt | 1 + gdb/cp-support.h | 3 +- gdb/darwin-nat.c | 29 +- gdb/data-directory/Makefile.in | 1 + gdb/defs.h | 64 +- gdb/doc/ChangeLog | 82 + gdb/doc/gdb.texinfo | 647 ++- gdb/doc/gdbint.texinfo | 51 + gdb/dwarf2read.c | 324 +- gdb/elfread.c | 27 +- gdb/exceptions.c | 2 +- gdb/features/Makefile | 1 + gdb/features/arm-with-iwmmxt.c | 3 +- gdb/features/arm-with-m-fpa-layout.c | 1 - gdb/features/arm-with-m.c | 1 - gdb/features/arm-with-neon.c | 1 - gdb/features/arm-with-vfpv2.c | 1 - gdb/features/arm-with-vfpv3.c | 1 - gdb/features/mips-dsp-linux.c | 1 - gdb/features/mips-linux.c | 1 - gdb/features/mips64-dsp-linux.c | 1 - gdb/features/mips64-linux.c | 1 - gdb/features/s390-linux32.c | 1 - gdb/features/s390-linux32v1.c | 1 - gdb/features/s390-linux32v2.c | 1 - gdb/features/s390-linux64.c | 1 - gdb/features/s390-linux64v1.c | 1 - gdb/features/s390-linux64v2.c | 1 - gdb/features/s390x-linux64.c | 1 - gdb/features/s390x-linux64v1.c | 1 - gdb/features/s390x-linux64v2.c | 1 - gdb/features/tic6x-c62x-linux.c | 1 - gdb/features/tic6x-c62x.c | 1 - gdb/features/tic6x-c64x-linux.c | 1 - gdb/features/tic6x-c64x.c | 1 - gdb/features/tic6x-c64xp-linux.c | 1 - gdb/features/tic6x-c64xp.c | 1 - gdb/gdb-code-style.el | 48 + gdb/{gdbinit.in => gdb-gdb.gdb.in} | 0 gdb/gdb-gdb.py | 6 +- gdb/gdb_vecs.h | 14 + gdb/gdbserver/ChangeLog | 229 + gdb/gdbserver/Makefile.in | 113 +- gdb/gdbserver/acinclude.m4 | 20 + gdb/gdbserver/aclocal.m4 | 95 + gdb/gdbserver/config.in | 11 +- gdb/gdbserver/configure | 370 ++- gdb/gdbserver/configure.ac | 37 +- gdb/gdbserver/configure.srv | 10 +- gdb/gdbserver/linux-arm-low.c | 20 +- gdb/gdbserver/linux-low.c | 92 +- gdb/gdbserver/linux-low.h | 6 +- gdb/gdbserver/linux-x86-low.c | 226 +- gdb/gdbserver/remote-utils.c | 4 +- gdb/gdbserver/server.c | 5 +- gdb/gdbserver/server.h | 4 - gdb/gdbserver/target.h | 4 + gdb/gdbserver/tracepoint.c | 385 +- gdb/gdbtypes.c | 40 +- gdb/gdbtypes.h | 24 +- gdb/gnu-v3-abi.c | 8 +- gdb/gnulib/Makefile.in | 1353 +---- gdb/{ => gnulib}/aclocal.m4 | 84 +- gdb/gnulib/config.in | 318 + gdb/{gdbserver => gnulib}/configure | 6047 +++++++++++++++----- gdb/gnulib/configure.ac | 62 + gdb/gnulib/{ => import}/Makefile.am | 324 +- gdb/gnulib/{ => import}/Makefile.in | 568 +-- gdb/gnulib/{ => import}/dummy.c | 2 +- .../{extra => import/extra/snippet}/arg-nonnull.h | 4 +- .../{extra => import/extra/snippet}/c++defs.h | 4 +- .../{extra => import/extra/snippet}/warn-on-use.h | 4 +- gdb/gnulib/{ => import}/extra/update-copyright | 0 gdb/gnulib/import/inttypes.in.h | 1130 ++++ gdb/gnulib/{ => import}/m4/00gnulib.m4 | 2 +- gdb/gnulib/{ => import}/m4/extensions.m4 | 11 +- gdb/gnulib/import/m4/gnulib-cache.m4 | 50 + gdb/gnulib/import/m4/gnulib-common.m4 | 372 ++ gdb/gnulib/{ => import}/m4/gnulib-comp.m4 | 102 +- gdb/gnulib/{ => import}/m4/gnulib-tool.m4 | 2 +- gdb/gnulib/{ => import}/m4/include_next.m4 | 167 +- gdb/gnulib/import/m4/inttypes-pri.m4 | 42 + gdb/gnulib/import/m4/inttypes.m4 | 157 + gdb/gnulib/{ => import}/m4/longlong.m4 | 87 +- gdb/gnulib/{ => import}/m4/memchr.m4 | 31 +- gdb/gnulib/import/m4/memmem.m4 | 145 + gdb/gnulib/{ => import}/m4/mmap-anon.m4 | 16 +- gdb/gnulib/{ => import}/m4/multiarch.m4 | 9 +- gdb/gnulib/{ => import}/m4/onceonly.m4 | 33 +- gdb/gnulib/{ => import}/m4/stddef_h.m4 | 10 +- gdb/gnulib/{ => import}/m4/stdint.m4 | 52 +- gdb/gnulib/{ => import}/m4/string_h.m4 | 20 +- gdb/gnulib/{ => import}/m4/warn-on-use.m4 | 14 +- gdb/gnulib/{ => import}/m4/wchar_t.m4 | 14 +- gdb/gnulib/{ => import}/memchr.c | 2 +- gdb/gnulib/{ => import}/memchr.valgrind | 0 gdb/gnulib/{ => import}/memmem.c | 7 +- gdb/gnulib/{ => import}/stddef.in.h | 20 +- gdb/gnulib/{ => import}/stdint.in.h | 235 +- gdb/gnulib/{ => import}/str-two-way.h | 65 +- gdb/gnulib/{ => import}/string.in.h | 196 +- gdb/gnulib/m4/gnulib-cache.m4 | 35 - gdb/gnulib/m4/gnulib-common.m4 | 201 - gdb/gnulib/m4/memmem.m4 | 84 - gdb/gnulib/m4/wchar_h.m4 | 152 - gdb/gnulib/m4/wint_t.m4 | 28 - gdb/gnulib/wchar.in.h | 428 -- gdb/go-exp.y | 1618 ++++++ gdb/go-lang.c | 667 +++ gdb/go-lang.h | 88 + gdb/go-typeprint.c | 62 + gdb/go-valprint.c | 120 + gdb/i386-darwin-nat.c | 4 +- gdb/i386bsd-nat.c | 3 + gdb/infrun.c | 12 +- gdb/jv-lang.c | 2 +- gdb/linespec.c | 14 +- gdb/linux-nat.c | 4 +- gdb/linux-thread-db.c | 211 +- gdb/m2-typeprint.c | 7 +- gdb/main.c | 29 +- gdb/mdebugread.c | 2 +- gdb/mi/mi-main.c | 2 +- gdb/mips-tdep.c | 157 +- gdb/observer.sh | 11 +- gdb/p-typeprint.c | 7 +- gdb/procfs.c | 5 +- gdb/progspace.c | 9 +- gdb/python/lib/gdb/command/explore.py | 755 +++ gdb/python/lib/gdb/printing.py | 4 +- gdb/python/lib/gdb/types.py | 4 +- gdb/python/py-auto-load.c | 554 +-- gdb/python/py-type.c | 21 +- gdb/python/python.h | 4 +- gdb/record.c | 33 + gdb/remote.c | 4 +- gdb/source.c | 185 +- gdb/sparc-tdep.c | 32 +- gdb/stabsread.c | 11 +- gdb/symfile.c | 28 +- gdb/symmisc.c | 27 +- gdb/symtab.c | 44 +- gdb/symtab.h | 5 +- gdb/target-descriptions.c | 39 +- gdb/testsuite/ChangeLog | 111 + gdb/testsuite/Makefile.in | 1 + gdb/testsuite/configure | 3 +- gdb/testsuite/configure.ac | 2 +- gdb/testsuite/gdb.asm/sh.inc | 14 +- gdb/testsuite/gdb.base/default.exp | 2 +- gdb/{gdb_vecs.h => testsuite/gdb.base/enumval.c} | 24 +- gdb/testsuite/gdb.base/enumval.exp | 31 + gdb/testsuite/gdb.base/help.exp | 2 +- gdb/testsuite/gdb.go/Makefile.in | 20 + gdb/testsuite/gdb.go/basic-types.exp | 118 + gdb/testsuite/gdb.go/chan.exp | 52 + gdb/testsuite/gdb.go/chan.go | 20 + gdb/testsuite/gdb.go/handcall.exp | 45 + gdb/testsuite/gdb.go/handcall.go | 15 + gdb/testsuite/gdb.go/hello.exp | 60 + gdb/testsuite/gdb.go/hello.go | 12 + gdb/testsuite/gdb.go/integers.exp | 116 + gdb/testsuite/gdb.go/integers.go | 22 + gdb/testsuite/gdb.go/methods.exp | 50 + gdb/testsuite/gdb.go/methods.go | 21 + gdb/testsuite/gdb.go/package.exp | 50 + gdb/testsuite/gdb.go/package1.go | 11 + gdb/testsuite/gdb.go/package2.go | 7 + gdb/testsuite/gdb.go/print.exp | 70 + gdb/testsuite/gdb.go/strings.exp | 42 + gdb/testsuite/gdb.go/strings.go | 10 + gdb/testsuite/gdb.go/types.exp | 51 + gdb/testsuite/gdb.go/types.go | 24 + gdb/testsuite/gdb.go/unsafe.exp | 44 + gdb/testsuite/gdb.go/unsafe.go | 11 + gdb/testsuite/gdb.mi/mi-var-rtti.cc | 360 ++ gdb/testsuite/gdb.mi/mi-var-rtti.exp | 124 + gdb/testsuite/gdb.python/Makefile.in | 3 +- gdb/testsuite/gdb.python/py-explore-cc.exp | 146 + gdb/testsuite/gdb.python/py-explore.c | 82 + .../gdb.python/py-explore.cc} | 56 +- gdb/testsuite/gdb.python/py-explore.exp | 469 ++ gdb/testsuite/gdb.python/py-objfile-script.exp | 3 +- gdb/testsuite/gdb.python/py-section-script.exp | 7 +- gdb/testsuite/gdb.python/py-type.exp | 4 +- gdb/testsuite/gdb.threads/linux-dp.exp | 2 +- gdb/testsuite/gdb.trace/change-loc.exp | 2 +- gdb/testsuite/gdb.trace/ftrace.exp | 4 +- gdb/testsuite/gdb.trace/pending.exp | 2 +- gdb/testsuite/gdb.trace/strace.exp | 2 +- gdb/testsuite/gdb.trace/trace-break.exp | 4 +- gdb/testsuite/gdb.trace/trace-mt.exp | 4 +- gdb/testsuite/gdb.trace/tspeed.exp | 2 +- gdb/testsuite/gdb.trace/tstatus.exp | 4 +- gdb/testsuite/lib/append_gdb_boards_dir.exp | 48 + gdb/testsuite/lib/future.exp | 94 +- gdb/testsuite/lib/gdb.exp | 6 + gdb/testsuite/lib/go.exp | 37 + gdb/testsuite/lib/mi-support.exp | 8 +- gdb/testsuite/lib/trace-support.exp | 12 + gdb/top.c | 4 +- gdb/tracepoint.c | 25 +- gdb/tui/tui-stack.c | 1 + gdb/typeprint.c | 2 +- gdb/utils.c | 284 +- gdb/valprint.c | 6 +- gdb/value.c | 41 + gdb/value.h | 16 + gdb/varobj.c | 185 +- gdb/version.in | 2 +- gdb/xcoffread.c | 158 +- include/ChangeLog | 5 + include/elf/sparc.h | 1 + include/gdb/ChangeLog | 4 + include/gdb/callback.h | 5 + include/opcode/sparc.h | 3 +- opcodes/ChangeLog | 5 + opcodes/sparc-dis.c | 6 + 332 files changed, 24137 insertions(+), 13508 deletions(-) copy bfd/{elfnn-ia64.c => elf64-ia64-vms.c} (60%) create mode 100644 gdb/acx_configure_dir.m4 create mode 100644 gdb/auto-load.c create mode 100644 gdb/auto-load.h create mode 100644 gdb/cleanups.c create mode 100644 gdb/cleanups.h rename gdb/{ => common}/vec.c (98%) rename gdb/{ => common}/vec.h (99%) create mode 100644 gdb/gdb-code-style.el rename gdb/{gdbinit.in => gdb-gdb.gdb.in} (100%) copy gdb/{ => gnulib}/aclocal.m4 (94%) create mode 100644 gdb/gnulib/config.in copy gdb/{gdbserver => gnulib}/configure (57%) mode change 100755 => 100644 create mode 100644 gdb/gnulib/configure.ac rename gdb/gnulib/{ => import}/Makefile.am (52%) copy gdb/gnulib/{ => import}/Makefile.in (67%) rename gdb/gnulib/{ => import}/dummy.c (95%) rename gdb/gnulib/{extra => import/extra/snippet}/arg-nonnull.h (90%) rename gdb/gnulib/{extra => import/extra/snippet}/c++defs.h (99%) rename gdb/gnulib/{extra => import/extra/snippet}/warn-on-use.h (97%) rename gdb/gnulib/{ => import}/extra/update-copyright (100%) mode change 100755 => 100644 create mode 100644 gdb/gnulib/import/inttypes.in.h rename gdb/gnulib/{ => import}/m4/00gnulib.m4 (95%) rename gdb/gnulib/{ => import}/m4/extensions.m4 (93%) create mode 100644 gdb/gnulib/import/m4/gnulib-cache.m4 create mode 100644 gdb/gnulib/import/m4/gnulib-common.m4 rename gdb/gnulib/{ => import}/m4/gnulib-comp.m4 (78%) rename gdb/gnulib/{ => import}/m4/gnulib-tool.m4 (95%) rename gdb/gnulib/{ => import}/m4/include_next.m4 (52%) create mode 100644 gdb/gnulib/import/m4/inttypes-pri.m4 create mode 100644 gdb/gnulib/import/m4/inttypes.m4 rename gdb/gnulib/{ => import}/m4/longlong.m4 (59%) rename gdb/gnulib/{ => import}/m4/memchr.m4 (81%) create mode 100644 gdb/gnulib/import/m4/memmem.m4 rename gdb/gnulib/{ => import}/m4/mmap-anon.m4 (82%) rename gdb/gnulib/{ => import}/m4/multiarch.m4 (82%) rename gdb/gnulib/{ => import}/m4/onceonly.m4 (73%) rename gdb/gnulib/{ => import}/m4/stddef_h.m4 (85%) rename gdb/gnulib/{ => import}/m4/stdint.m4 (89%) rename gdb/gnulib/{ => import}/m4/string_h.m4 (86%) rename gdb/gnulib/{ => import}/m4/warn-on-use.m4 (81%) rename gdb/gnulib/{ => import}/m4/wchar_t.m4 (62%) rename gdb/gnulib/{ => import}/memchr.c (99%) rename gdb/gnulib/{ => import}/memchr.valgrind (100%) rename gdb/gnulib/{ => import}/memmem.c (90%) rename gdb/gnulib/{ => import}/stddef.in.h (83%) rename gdb/gnulib/{ => import}/stdint.in.h (76%) rename gdb/gnulib/{ => import}/str-two-way.h (86%) rename gdb/gnulib/{ => import}/string.in.h (85%) delete mode 100644 gdb/gnulib/m4/gnulib-cache.m4 delete mode 100644 gdb/gnulib/m4/gnulib-common.m4 delete mode 100644 gdb/gnulib/m4/memmem.m4 delete mode 100644 gdb/gnulib/m4/wchar_h.m4 delete mode 100644 gdb/gnulib/m4/wint_t.m4 delete mode 100644 gdb/gnulib/wchar.in.h create mode 100644 gdb/go-exp.y create mode 100644 gdb/go-lang.c create mode 100644 gdb/go-lang.h create mode 100644 gdb/go-typeprint.c create mode 100644 gdb/go-valprint.c create mode 100644 gdb/python/lib/gdb/command/explore.py copy gdb/{gdb_vecs.h => testsuite/gdb.base/enumval.c} (73%) create mode 100644 gdb/testsuite/gdb.base/enumval.exp create mode 100644 gdb/testsuite/gdb.go/Makefile.in create mode 100644 gdb/testsuite/gdb.go/basic-types.exp create mode 100644 gdb/testsuite/gdb.go/chan.exp create mode 100644 gdb/testsuite/gdb.go/chan.go create mode 100644 gdb/testsuite/gdb.go/handcall.exp create mode 100644 gdb/testsuite/gdb.go/handcall.go create mode 100644 gdb/testsuite/gdb.go/hello.exp create mode 100644 gdb/testsuite/gdb.go/hello.go create mode 100644 gdb/testsuite/gdb.go/integers.exp create mode 100644 gdb/testsuite/gdb.go/integers.go create mode 100644 gdb/testsuite/gdb.go/methods.exp create mode 100644 gdb/testsuite/gdb.go/methods.go create mode 100644 gdb/testsuite/gdb.go/package.exp create mode 100644 gdb/testsuite/gdb.go/package1.go create mode 100644 gdb/testsuite/gdb.go/package2.go create mode 100644 gdb/testsuite/gdb.go/print.exp create mode 100644 gdb/testsuite/gdb.go/strings.exp create mode 100644 gdb/testsuite/gdb.go/strings.go create mode 100644 gdb/testsuite/gdb.go/types.exp create mode 100644 gdb/testsuite/gdb.go/types.go create mode 100644 gdb/testsuite/gdb.go/unsafe.exp create mode 100644 gdb/testsuite/gdb.go/unsafe.go create mode 100644 gdb/testsuite/gdb.mi/mi-var-rtti.cc create mode 100644 gdb/testsuite/gdb.mi/mi-var-rtti.exp create mode 100644 gdb/testsuite/gdb.python/py-explore-cc.exp create mode 100644 gdb/testsuite/gdb.python/py-explore.c copy gdb/{gdb_vecs.h => testsuite/gdb.python/py-explore.cc} (51%) create mode 100644 gdb/testsuite/gdb.python/py-explore.exp create mode 100644 gdb/testsuite/lib/append_gdb_boards_dir.exp create mode 100644 gdb/testsuite/lib/go.exp First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index cff1dfb..4e8d13e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2012-04-25 Joel Brobecker + + * config.sub: Update to 2012-04-18 version from official repo. + +2012-03-19 Tristan Gingold + + * configure.ac (ia64*-*-*vms*): Add support for ld. + * configure: Regenerate. + 2012-03-14 Rainer Orth * configure.ac (enable_libgomp): Remove *-*-irix6*. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6d12944..b46eb9c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,156 @@ +2012-04-24 Hans-Peter Nilsson + + PR ld/13990 + * elf32-arm.c (elf32_arm_gc_sweep_hook): Handle a forced-local + symbol, where PLT refcount is set to -1. + +2012-04-24 Alan Modra + + PR ld/13991 + * bfd/elf-bfd.h (_bfd_elf_link_just_syms): Define as + _bfd_generic_link_just_syms. + * bfd/elflink.c (_bfd_elf_link_just_syms): Delete. + * bfd/linker.c (_bfd_generic_link_just_syms): Set sec_info_type. + + * bfd/bfd-in.h (discarded_section): Renamed from elf_discarded_section. + * bfd/section.c (SEC_INFO_TYPE_NONE, SEC_INFO_TYPE_STABS, + SEC_INFO_TYPE_MERGE, SEC_INFO_TYPE_EH_FRAME, + SEC_INFO_TYPE_JUST_SYMS): Renamed from corresponding ELF_INFO_TYPE. + * bfd/elf-eh-frame.c, * bfd/elf-m10200.c, * bfd/elf-m10300.c, + * bfd/elf.c, * bfd/elf32-arm.c, * bfd/elf32-avr.c, * bfd/elf32-bfin.c, + * bfd/elf32-cr16.c, * bfd/elf32-cr16c.c, * bfd/elf32-cris.c, + * bfd/elf32-crx.c, * bfd/elf32-d10v.c, * bfd/elf32-epiphany.c, + * bfd/elf32-fr30.c, * bfd/elf32-frv.c, * bfd/elf32-h8300.c, + * bfd/elf32-hppa.c, * bfd/elf32-i370.c, * bfd/elf32-i386.c, + * bfd/elf32-i860.c, * bfd/elf32-ip2k.c, * bfd/elf32-iq2000.c, + * bfd/elf32-lm32.c, * bfd/elf32-m32c.c, * bfd/elf32-m32r.c, + * bfd/elf32-m68hc1x.c, * bfd/elf32-m68k.c, * bfd/elf32-mcore.c, + * bfd/elf32-mep.c, * bfd/elf32-moxie.c, * bfd/elf32-msp430.c, + * bfd/elf32-mt.c, * bfd/elf32-openrisc.c, * bfd/elf32-ppc.c, + * bfd/elf32-rl78.c, * bfd/elf32-rx.c, * bfd/elf32-s390.c, + * bfd/elf32-score.c, * bfd/elf32-score7.c, * bfd/elf32-sh.c, + * bfd/elf32-spu.c, * bfd/elf32-tic6x.c, * bfd/elf32-tilepro.c, + * bfd/elf32-v850.c, * bfd/elf32-vax.c, * bfd/elf32-xc16x.c, + * bfd/elf32-xstormy16.c, * bfd/elf32-xtensa.c, * bfd/elf64-alpha.c, + * bfd/elf64-hppa.c, * bfd/elf64-ia64-vms.c, * bfd/elf64-mmix.c, + * bfd/elf64-ppc.c, * bfd/elf64-s390.c, * bfd/elf64-sh64.c, + * bfd/elf64-x86-64.c, * bfd/elflink.c, * bfd/elfnn-ia64.c, + * bfd/elfxx-mips.c, * bfd/elfxx-sparc.c, * bfd/elfxx-tilegx.c, + * bfd/reloc.c: Update all references. + * bfd/bfd-in2.h: Regenerate. + +2012-04-20 Andreas Krebbel + + * elf32-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. + * elf64-s390.c (ELF_DYNAMIC_INTERPRETER): Set to the GCC default. + +2012-04-19 Thomas Schwinge + + * elf32-sh.c (elf_sh_link_hash_entry): Specify an enum identifier for + got_type. + (allocate_dynrelocs, sh_elf_relocate_section, sh_elf_check_relocs): Use + it. + +2012-04-17 Kaz Kojima + + * elf32-sh.c (allocate_dynrelocs): Don't allocate dynamic + relocations when LE conversion happens on the IE tls symbol. + +2012-04-17 Roland McGrath + + * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Fix nop padding + so that 32-byte boundary is a proper instruction boundary. + +2012-04-17 Tristan Gingold + + * vms-lib.c (_bfd_vms_lib_get_module): Append .obj extension to + member of an object archive.< + +2012-04-17 Tristan Gingold + + * vms-lib.c (MAX_EKEYLEN): Define. + (MAX_KEYLEN): Fix value. + (vms_write_index): Add comments and fix indentation. + Adjust comparaison. Add assertions. Free kbn_blk. + (_bfd_vms_lib_write_archive_contents): Use MAX_EKEYLEN. + Compense MAX_KEYLEN adjustment. + +2012-04-16 Maciej W. Rozycki + + * elfxx-mips.c (mips16_stub_symndx): Handle n64 compound relocs. + (_bfd_mips_elf_check_relocs): Update accordingly. + +2012-04-13 Alan Modra + + PR ld/13947 + * elflink.c (bfd_elf_final_link): Set reloc_count to 0 for + reloc sections. + +2012-04-12 David S. Miller + + * reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32, + BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs. + * libbfd.h: Regenerate. + * bfd-in2.h: Likewise. + * elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function. + (_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34, + R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10. + (_bfd_sparc_elf_reloc_type_lookup): Handle new relocs. + (_bfd_sparc_elf_check_relocs): Likewise. + (_bfd_sparc_elf_gc_sweep_hook): Likewise. + (_bfd_sparc_elf_relocate_section): Likewise. + +2012-04-12 Roland McGrath + + * elf32-arm.c (elf32_arm_nacl_plt0_entry, elf32_arm_nacl_plt_entry): + New variables. + (struct elf32_arm_link_hash_table): New member `nacl_p'. + (elf32_arm_link_hash_table_create): Initialize it. + (elf32_arm_nacl_link_hash_table_create): New function. + (arm_movw_immediate, arm_movt_immediate): New functions. + (elf32_arm_populate_plt_entry): Test HTAB->nacl_p. + (elf32_arm_finish_dynamic_sections): Likewise. + (elf32_arm_output_plt_map_1): Likewise. + (bfd_elf32_littlearm_nacl_vec, bfd_elf32_bigarm_nacl_vec): + New backend vector stanza. + (elf32_arm_nacl_modify_segment_map): New function. + * config.bfd: Handle arm-*-nacl*, armeb-*-nacl*. + * targets.c: Support bfd_elf32_{big,little}_nacl_vec. + * configure.in: Likewise. + (bfd_elf32_bigarm_nacl_vec): Add elf-nacl.lo here. + (bfd_elf32_littlearm_nacl_vec): Likewise. + (bfd_elf32_bigarm_vec, bfd_elf32_littlearm_vec): Likewise. + (bfd_elf32_bigarm_symbian_vec): Likewise. + (bfd_elf32_littlearm_symbian_vec): Likewise. + (bfd_elf32_bigarm_vxworks_vec): Likewise. + (bfd_elf32_littlearm_vxworks_vec): Likewise. + * configure: Regenerated. + +2012-04-12 Tristan Gingold + + * elflink.c (elf_link_output_extsym): Add a guard. + (bfd_elf_final_link): Remove assertion. + (bfd_elf_final_link): Add a guard. + * elfnn-ia64.c (INCLUDE_IA64_VMS): Removed. + (elfNN_vms_section_from_shdr, elfNN_vms_object_p) + (elfNN_vms_post_process_headers, elfNN_vms_section_processing) + (elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup): + Remove. + (elfNN-ia64-vms target): Move to ... + * elf64-ia64-vms.c: New file. + * configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo + * Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo. + (BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2012-04-11 Nick Clifton + + PR binutils/13897 + * elf64-ppc.c (opd_entry_value): When dealing with sections + without relocs, keep the last section loaded in order to avoid + unnecessary reloads. + 2012-04-09 Roland McGrath * elf.c (_bfd_elf_map_sections_to_segments): Set INFO->user_phdrs. diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 50c84ee..627f1bb 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -619,6 +619,7 @@ BFD64_BACKENDS = \ elf64-gen.lo \ elf64-hppa.lo \ elf64-ia64.lo \ + elf64-ia64-vms.lo \ elf64-mips.lo \ elf64-mmix.lo \ elf64-ppc.lo \ @@ -654,6 +655,7 @@ BFD64_BACKENDS_CFILES = \ elf64-alpha.c \ elf64-gen.c \ elf64-hppa.c \ + elf64-ia64-vms.c \ elf64-mips.c \ elf64-mmix.c \ elf64-ppc.c \ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index cf7b380..6d9c760 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -920,6 +920,7 @@ BFD64_BACKENDS = \ elf64-gen.lo \ elf64-hppa.lo \ elf64-ia64.lo \ + elf64-ia64-vms.lo \ elf64-mips.lo \ elf64-mmix.lo \ elf64-ppc.lo \ @@ -955,6 +956,7 @@ BFD64_BACKENDS_CFILES = \ elf64-alpha.c \ elf64-gen.c \ elf64-hppa.c \ + elf64-ia64-vms.c \ elf64-mips.c \ elf64-mmix.c \ elf64-ppc.c \ @@ -1416,6 +1418,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-alpha.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-gen.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-hppa.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-ia64-vms.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-ia64.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mips.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf64-mmix.Plo@am__quote@ diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index d50f7e9..bff5f34 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -297,11 +297,11 @@ typedef struct bfd_section *sec_ptr; ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd)) /* Return TRUE if input section SEC has been discarded. */ -#define elf_discarded_section(sec) \ +#define discarded_section(sec) \ (!bfd_is_abs_section (sec) \ && bfd_is_abs_section ((sec)->output_section) \ - && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \ - && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS) + && (sec)->sec_info_type != SEC_INFO_TYPE_MERGE \ + && (sec)->sec_info_type != SEC_INFO_TYPE_JUST_SYMS) typedef enum bfd_print_symbol { diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 07898be..c5d19dc 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -304,11 +304,11 @@ typedef struct bfd_section *sec_ptr; ? (sec)->rawsize : (sec)->size) / bfd_octets_per_byte (bfd)) /* Return TRUE if input section SEC has been discarded. */ -#define elf_discarded_section(sec) \ +#define discarded_section(sec) \ (!bfd_is_abs_section (sec) \ && bfd_is_abs_section ((sec)->output_section) \ - && (sec)->sec_info_type != ELF_INFO_TYPE_MERGE \ - && (sec)->sec_info_type != ELF_INFO_TYPE_JUST_SYMS) + && (sec)->sec_info_type != SEC_INFO_TYPE_MERGE \ + && (sec)->sec_info_type != SEC_INFO_TYPE_JUST_SYMS) typedef enum bfd_print_symbol { @@ -1378,11 +1378,11 @@ typedef struct bfd_section /* Type of sec_info information. */ unsigned int sec_info_type:3; -#define ELF_INFO_TYPE_NONE 0 -#define ELF_INFO_TYPE_STABS 1 -#define ELF_INFO_TYPE_MERGE 2 -#define ELF_INFO_TYPE_EH_FRAME 3 -#define ELF_INFO_TYPE_JUST_SYMS 4 +#define SEC_INFO_TYPE_NONE 0 +#define SEC_INFO_TYPE_STABS 1 +#define SEC_INFO_TYPE_MERGE 2 +#define SEC_INFO_TYPE_EH_FRAME 3 +#define SEC_INFO_TYPE_JUST_SYMS 4 /* Nonzero if this section uses RELA relocations, rather than REL. */ unsigned int use_rela_p:1; @@ -2595,6 +2595,10 @@ relocation types already defined. */ BFD_RELOC_SPARC_M44, BFD_RELOC_SPARC_L44, BFD_RELOC_SPARC_REGISTER, + BFD_RELOC_SPARC_H34, + BFD_RELOC_SPARC_SIZE32, + BFD_RELOC_SPARC_SIZE64, + BFD_RELOC_SPARC_WDISP10, /* SPARC little endian relocation */ BFD_RELOC_SPARC_REV32, diff --git a/bfd/config.bfd b/bfd/config.bfd index e84ba58..ab72cf3 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -216,6 +216,18 @@ case "${targ}" in targ_selvecs=bfd_elf32_bigarc_vec ;; + arm-*-nacl*) + targ_defvec=bfd_elf32_littlearm_nacl_vec + targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_i386_nacl_vec" + targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec" + targ_archs="$targ_archs bfd_i386_arch" + ;; + armeb-*-nacl*) + targ_defvec=bfd_elf32_bigarm_nacl_vec + targ_selvecs="bfd_elf32_littlearm_nacl_vec bfd_elf32_i386_nacl_vec" + targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec" + targ_archs="$targ_archs bfd_i386_arch" + ;; armeb-*-netbsdelf*) targ_defvec=bfd_elf32_bigarm_vec targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec" @@ -573,8 +585,9 @@ case "${targ}" in ;; i[3-7]86-*-nacl*) targ_defvec=bfd_elf32_i386_nacl_vec - targ_selvecs="bfd_elf32_i386_vec" + targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec" targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec" + targ_archs="$targ_archs bfd_arm_arch" ;; #ifdef BFD64 x86_64-*-darwin*) @@ -615,7 +628,8 @@ case "${targ}" in ;; x86_64-*-nacl*) targ_defvec=bfd_elf32_x86_64_nacl_vec - targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec" + targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec" + targ_archs="$targ_archs bfd_arm_arch" want64=true ;; x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep) diff --git a/bfd/configure b/bfd/configure index dd274bd..fc5c9ad 100755 --- a/bfd/configure +++ b/bfd/configure @@ -15200,11 +15200,12 @@ do bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;; bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; - bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_bigarm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigarm_symbian_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigarm_vxworks_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; bfd_elf32_bigmips_vxworks_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; @@ -15242,10 +15243,11 @@ do bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; bfd_elf32_littlearm_symbian_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_littlearm_vxworks_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; - bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; bfd_elf32_littlemips_vxworks_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; @@ -15341,7 +15343,7 @@ do bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; - bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; + bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; diff --git a/bfd/configure.in b/bfd/configure.in index af3622b..3cb4b70 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -686,11 +686,12 @@ do bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;; bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; - bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_bigarm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigarm_symbian_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigarm_vxworks_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; bfd_elf32_bigmips_vxworks_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; @@ -728,10 +729,11 @@ do bfd_elf32_little_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; bfd_elf32_littlearc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; bfd_elf32_littlearm_symbian_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_littlearm_vxworks_vec) - tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; - bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; + tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; + bfd_elf32_littlearm_nacl_vec) tb="$tb elf32-arm.lo elf32.lo elf-nacl.lo elf-vxworks.lo $elf" ;; bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; bfd_elf32_littlemips_vxworks_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo" ;; @@ -827,7 +829,7 @@ do bfd_elf64_ia64_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_hpux_big_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_ia64_little_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo $elf"; target_size=64 ;; - bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; + bfd_elf64_ia64_vms_vec) tb="$tb elf64-ia64-vms.lo elf64-ia64.lo elfxx-ia64.lo elf64.lo vms-lib.lo vms-misc.lo $elf"; target_size=64 ;; bfd_elf64_little_generic_vec) tb="$tb elf64-gen.lo elf64.lo $elf"; target_size=64 ;; bfd_elf64_littlemips_vec) tb="$tb elf64-mips.lo elf64.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;; bfd_elf64_mmix_vec) tb="$tb elf64-mmix.lo elf64.lo $elf" target_size=64 ;; diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index db414e9..4821eaf 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1812,8 +1812,7 @@ extern void bfd_elf_set_group_contents (bfd *, asection *, void *); extern asection *_bfd_elf_check_kept_section (asection *, struct bfd_link_info *); -extern void _bfd_elf_link_just_syms - (asection *, struct bfd_link_info *); +#define _bfd_elf_link_just_syms _bfd_generic_link_just_syms extern void _bfd_elf_copy_link_hash_symbol_type (bfd *, struct bfd_link_hash_entry *, struct bfd_link_hash_entry *); extern bfd_boolean _bfd_elf_size_group_sections diff --git a/bfd/elf-eh-frame.c b/bfd/elf-eh-frame.c index 54142b2..8ec34ab 100644 --- a/bfd/elf-eh-frame.c +++ b/bfd/elf-eh-frame.c @@ -1,6 +1,6 @@ /* .eh_frame section optimization. - Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 - Free Software Foundation, Inc. + Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, + 2012 Free Software Foundation, Inc. Written by Jakub Jelinek . This file is part of BFD, the Binary File Descriptor library. @@ -491,7 +491,7 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info, return; if (sec->size == 0 - || sec->sec_info_type != ELF_INFO_TYPE_NONE) + || sec->sec_info_type != SEC_INFO_TYPE_NONE) { /* This file does not contain .eh_frame information. */ return; @@ -904,7 +904,7 @@ _bfd_elf_parse_eh_frame (bfd *abfd, struct bfd_link_info *info, BFD_ASSERT (cie_count == num_cies); elf_section_data (sec)->sec_info = sec_info; - sec->sec_info_type = ELF_INFO_TYPE_EH_FRAME; + sec->sec_info_type = SEC_INFO_TYPE_EH_FRAME; if (hdr_info->merge_cies) { sec_info->cies = local_cies; @@ -1137,7 +1137,7 @@ _bfd_elf_discard_section_eh_frame struct eh_frame_hdr_info *hdr_info; unsigned int ptr_size, offset; - if (sec->sec_info_type != ELF_INFO_TYPE_EH_FRAME) + if (sec->sec_info_type != SEC_INFO_TYPE_EH_FRAME) return FALSE; sec_info = (struct eh_frame_sec_info *) elf_section_data (sec)->sec_info; @@ -1307,7 +1307,7 @@ _bfd_elf_eh_frame_section_offset (bfd *output_bfd ATTRIBUTE_UNUSED, struct eh_frame_sec_info *sec_info; unsigned int lo, hi, mid; - if (sec->sec_info_type != ELF_INFO_TYPE_EH_FRAME) + if (sec->sec_info_type != SEC_INFO_TYPE_EH_FRAME) return offset; sec_info = (struct eh_frame_sec_info *) elf_section_data (sec)->sec_info; @@ -1395,7 +1395,7 @@ _bfd_elf_write_section_eh_frame (bfd *abfd, unsigned int ptr_size; struct eh_cie_fde *ent; - if (sec->sec_info_type != ELF_INFO_TYPE_EH_FRAME) + if (sec->sec_info_type != SEC_INFO_TYPE_EH_FRAME) /* FIXME: octets_per_byte. */ return bfd_set_section_contents (abfd, sec->output_section, contents, sec->output_offset, sec->size); diff --git a/bfd/elf-m10200.c b/bfd/elf-m10200.c index a38f4db..4c6564b 100644 --- a/bfd/elf-m10200.c +++ b/bfd/elf-m10200.c hooks/post-receive -- Repository for Project Archer.