From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14264 invoked by alias); 9 Jul 2013 18:35:16 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 14245 invoked by uid 306); 9 Jul 2013 18:35:16 -0000 Date: Tue, 09 Jul 2013 18:35:00 -0000 Message-ID: <20130709183516.14224.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] tromey/multi-target: reverse-20080717-branchpoint-15274-g63b62e8 X-Git-Refname: refs/heads/tromey/multi-target X-Git-Reftype: branch X-Git-Oldrev: 0000000000000000000000000000000000000000 X-Git-Newrev: 63b62e8381b01bbaf9ea4e7577047971beacf5e9 X-SW-Source: 2013-q3/txt/msg00004.txt.bz2 List-Id: The branch, tromey/multi-target has been created at 63b62e8381b01bbaf9ea4e7577047971beacf5e9 (commit) - Log ----------------------------------------------------------------- commit 63b62e8381b01bbaf9ea4e7577047971beacf5e9 Author: Tom Tromey Date: Wed Jul 3 08:30:30 2013 -0600 make debug_target per-target-stack commit 2507a5e53c6999c3be4a71d76c238c61b93d0e71 Author: Tom Tromey Date: Wed Jul 3 08:24:00 2013 -0600 turn "smashed" into an object, not a pointer rebase this back into the introducing patch commit 602739e423be4e26be2249f936b996d7e32acc0a Author: Tom Tromey Date: Wed Jul 3 08:21:20 2013 -0600 free smashed->ops as well commit 81afe1c58e315be5d86896f89746c0ddcb5d4a87 Author: Tom Tromey Date: Wed Jul 3 08:14:04 2013 -0600 fix up bfd-target fixlet commit 5f022db2ab81e722480a72acf2b2429ae6298ee5 Author: Tom Tromey Date: Tue Jul 2 13:40:25 2013 -0600 set to_magic in bfd-target.c commit 0c23b69895f44abc7b25eac1628c0f9fc1ed5e9b Author: Tom Tromey Date: Tue Jul 2 12:24:48 2013 -0600 fix up a FIXME in target_stack_decref commit ad4979717515904603b37126d4b320c65a727712 Author: Tom Tromey Date: Tue Jul 2 11:56:10 2013 -0600 entirely remove pop_target this is PR remote/15256 commit a4f00aa8300998d0ce9fc2d204749a6a0b3e5c44 Author: Tom Tromey Date: Fri Jun 28 10:18:18 2013 -0600 make target_close assert that the target is not stacked commit 4ce69a7ed0fbc12922e1f3d1a0627863491497ee Author: Tom Tromey Date: Fri Jun 28 07:44:57 2013 -0600 xfree the target in target_close commit c6bad0e79257b86f103e19ec8d92413dc98eabee Author: Tom Tromey Date: Fri Jun 28 07:32:08 2013 -0600 fix a few more "beneath" calls this needs to be rebased but the rebase will be mildly annoying commit bc470ee0c1c329c2d55d3af698cea86e110f9d90 Author: Tom Tromey Date: Fri Jun 28 07:27:59 2013 -0600 fix a few more to_* method calls a few more attempts to change targ->to_foo to targ->ops->to_foo commit c4e833d1836e1f29f81175f57a152f0ee7029d5f Author: Tom Tromey Date: Thu Jun 27 07:31:15 2013 -0600 initial target split commit 525f8f1e4bd432fadaeb88cd025bf8b2316474c5 Author: Tom Tromey Date: Wed Jun 26 08:42:44 2013 -0600 fix another remote.c crasher commit 6234488953d7ae377a98acae79c42fa9f9f091fa Author: Tom Tromey Date: Tue Jun 25 14:49:43 2013 -0600 fix bug in remote_open_1 failed to reset 'rs' commit 1dfed5e534d1de467a2c1337119793ebe7e4d238 Author: Tom Tromey Date: Tue Jun 25 14:45:56 2013 -0600 fix crasher in init_remote_state this is not the correct fix this makes the buffer resize happen as a consequence of creating the arch data but that happens once whereas the buffer resize should happen once per target commit 291a8140b38410f18acc2fa301db199c1074661d Author: Tom Tromey Date: Tue Jun 25 02:10:41 2013 -0600 convert corelow to to_xclose commit 555e2f5aa0d5e01cfd24d02e38bfa688a898ff77 Author: Tom Tromey Date: Mon Jun 24 20:08:18 2013 -0600 move core_bfd to program space commit 4c84fb7f9656ca302cfad4b3ad50bdb7de5ff612 Author: Tom Tromey Date: Mon Jun 24 14:22:45 2013 -0600 now add-inferior -new-target works commit 486087c354fb6236994ea72fc1732eff3d9f0176 Author: Tom Tromey Date: Mon Jun 24 14:08:10 2013 -0600 make target_stack more explicit this makes the target_stack more explicit and attaches it to the program space commit fced263ab169aa3d73c385cb64f5f3a65f44f91f Author: Tom Tromey Date: Mon Jun 24 12:31:23 2013 -0600 turn remote into a to_xclose target this turns the remote into a to_xclose target it now subclasses target_ops and puts the remote state there commit 0534c27c5e6e1770a0e638b842b03d7d17d3cb9f Author: Tom Tromey Date: Mon Jun 24 12:07:02 2013 -0600 don't call target_close from pop_target or pop_all_targets_above This is PR remote/15266 commit 8f17db0c00e395eb29a176cb5cb0812d3c3faf43 Author: Tom Tromey Date: Mon Jun 24 11:54:01 2013 -0600 add find_target_at commit 1b803c7c8a2a074300613282828754e884b057af Author: Tom Tromey Date: Mon Jun 24 11:45:01 2013 -0600 remove the to_data field commit 57299166a34bd2143d3287e0db131ae5c13c3bdd Author: Tom Tromey Date: Mon Jun 24 10:34:14 2013 -0600 convert target_stack to array and remove target_ops::beneath commit 2ccc8b1d55e34eca6d6a2dd045d3658133a917f9 Author: Tom Tromey Date: Mon Jun 24 10:01:45 2013 -0600 do not expose target_ops::beneath Now all code outside of target.c uses find_target_beneath commit 818f9412c7cd6eca95e302990c8fd233c1f32f20 Author: Tom Tromey Date: Fri Jun 21 12:41:19 2013 -0600 use a VEC for target_ops list commit c82b3b4451daeb56fa229f59c1b9089879d0a747 Author: Tom Tromey Date: Fri Jun 21 12:25:37 2013 -0600 turn current_target into a pointer commit ac6bf1aa0708a988631adda4dd3353beb070a448 Author: Tom Tromey Date: Fri Jun 21 09:05:46 2013 -0600 move some static thread state into remote_state This moves a few static variables from thread-info functions into remote_state. Pedro said on irc that these functions implement the ancient thread-discovery method and that he wouldn't be surprised if they had rotted; nevertheless it seems safer to me to make them explicitly per-remote. This necessitated moving a couple of macros and a typedef earlier in the file. * remote.c (struct remote_state) : New fields. (OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier. (remote_get_threadlist, remote_threadlist_iterator): Use new fields. Remove static variables. commit 91d38a1cc74f91b0143fa1c7485c0d40231aa55b Author: Tom Tromey Date: Fri Jun 21 08:27:54 2013 -0600 move remote_stopped_by_watchpoint_p and remote_watch_data_address into remote_state This moves the globals remote_stopped_by_watchpoint_p and remote_watch_data_address into remote_state. * remote.c (struct remote_state) : New fields. (remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove. (process_stop_reply, remote_wait_as) (remote_check_watch_resources, remote_stopped_data_address): Update. commit be97e091ff992314a73c878b54bb62453f6a9049 Author: Tom Tromey Date: Thu Jun 20 12:46:04 2013 -0600 move async_client_callback and async_client_context into remote_state This moves async_client_callback and async_client_context into remote_state. * remote.c (struct remote_state) : New fields. (async_client_callback, async_client_context): Remove. (remote_async_serial_handler, remote_async): Update. commit e682ebf261c4f2b907743ef5e2d83b72200ce59b Author: Tom Tromey Date: Thu Jun 20 09:13:25 2013 -0600 move sizeof_pkt into remote_trace_find The global sizeof_pkt is only used in remote_trace_find, like so: reply = remote_get_noisy_reply (&(rs->buf), &sizeof_pkt); I think in this situation it is more correct to use the recorded size of the buffer. Otherwise it seems that some skew could result. * remote.c (sizeof_pkt): Remove. (remote_trace_find): Use rs->buf_size, not sizeof_pkt. commit 0c47652bb81f74b7b9231a13c07c969f84f65f50 Author: Tom Tromey Date: Thu Jun 20 09:12:41 2013 -0600 move use_threadinfo_query and use_threadextra_query into struct remote_state This moves the use_threadextra_query and use_threadinfo_query globals into remote_state. * remote.c (struct remote_state) : New fields. (remote_threads_info, remote_threads_extra_info) (remote_open_1): Update. commit 54f9495acf2e73b82e7b805d95a317733affd258 Author: Tom Tromey Date: Thu Jun 20 09:11:18 2013 -0600 move some statics from remote_read_qxfer into struct remote_state This moves a few static variables out of remote_read_qxfer and into remote_state. * remote.c (struct remote_state) : New fields. (remote_read_qxfer): Use remote_state fields; remove static variables. commit b54a56ae5ce24ca522b1d918ba2be5120003635a Author: Tom Tromey Date: Thu Jun 20 09:07:45 2013 -0600 push last_sent_step into struct remote_state This moves the global last_sent_step into remote_state. * remote.c (struct remote_state) : New field. (last_sent_step): Remove. (remote_resume, remote_wait_as): Update. commit 9c2bce6a34a31ce1de485134401057322a83264d Author: Tom Tromey Date: Thu Jun 20 09:07:03 2013 -0600 push last_sent_signal into struct remote_state This moves the global last_sent_signal into remote_state. * remote.c (struct remote_state) : New field. (last_sent_signal): Remove. (new_remote_state, remote_resume, remote_wait_as): Update. commit 849c525ccbcb0e5bdb1af04f5fae83b20be9fa2d Author: Tom Tromey Date: Thu Jun 20 09:05:53 2013 -0600 push last_program_signals_packet into struct remote_state This moves the global last_program_signals_packet into remote_state. * remote.c (struct remote_state) : New field. (last_program_signals_packet): Remove. (remote_program_signals, remote_open_1): Update. commit 342df6df066e5fbd958ce3d8f40e8f15ff8ad2b8 Author: Tom Tromey Date: Thu Jun 20 09:04:47 2013 -0600 push last_pass_packet into struct remote_state This moves the global last_pass_packet into remote_state. * remote.c (struct remote_state) : New field. (last_pass_packet): Remove. (remote_pass_signals, remote_open_1): Update. commit 81b2c30479a4222a2f14dc11c288808f7bd47dc7 Author: Tom Tromey Date: Thu Jun 20 09:03:10 2013 -0600 push remote_traceframe_number into struct remote_state This moves the global remote_traceframe_number into remote_state. * remote.c (struct remote_state) : New field. (remote_traceframe_number): Remove. (new_remote_state, remote_open_1, set_remote_traceframe) (remote_trace_find): Update. commit 19661404b58d36d33e0e20d3a1159e3326b3ad40 Author: Tom Tromey Date: Thu Jun 20 09:01:45 2013 -0600 push general_thread and continue_thread into struct remote_state This moves the globals general_thread and continue_thread into remote_state. * remote.c (struct remote_state) : New fields. (general_thread, continue_thread): Remove. (record_currthread, set_thread, set_general_process) (remote_open_1, extended_remote_attach_1, remote_wait_as) (extended_remote_mourn_1): Update. commit 1dfe7f404091483247e820ae6b6fd4fc849e0a64 Author: Tom Tromey Date: Thu Jun 20 08:59:02 2013 -0600 push remote_desc into struct remote_state This moves the "remote_desc" global into remote_state. * remote.c (struct remote_state) : New field. (remote_desc): Remove. (remote_threads_info, remote_threads_extra_info, remote_close) (send_interrupt_sequence, remote_start_remote, remote_open_1) (readchar, remote_xfer_partial, remote_rcmd, packet_command) (remote_hostio_send_command, remote_file_put, remote_file_get) (remote_file_delete, remote_can_async_p, remote_is_async_p) (remote_async, remote_new_objfile, set_range_stepping): Update. commit 780206f15beaec16b81650da5a7b02c467414bc1 Author: Tom Tromey Date: Thu Jun 20 08:49:23 2013 -0600 Add new_remote_state Add new_remote_state and change remote_state to be a pointer. This is a preparatory patch for a later series. It could perhaps be omitted, but new_remote_state also does some initialization that was previously done for the globals. * remote.c (remote_state): Now a pointer. (get_remote_state_raw): Update. (new_remote_state): New function. (_initialize_remote): Use new_remote_state. commit af6489856eecc1022ad65f4ef22a666d0df34a05 Author: Tom Tromey Date: Thu Jun 20 08:02:45 2013 -0600 make remote_protocol_features "const" This is a trivial patch to make remote_protocol_features "const". * remote.c (remote_protocol_features): Now const. commit b8a381d38279f700c95396a30918a6bcddb833ec Author: Tom Tromey Date: Wed Jun 19 14:04:05 2013 -0600 use the libiberty crc code gdb has a copy of some CRC code that also appears in libiberty. This patch just removes the local copy. You may notice that "crc32" returns unsigned long but "xcrc32" returns unsigned int. However, this does not matter, because crc32 actually does all its operations in unsigned int type, and only the return result is widened. So, the difference does not matter. * remote.c (crc32_table, crc32): Remove. (remote_verify_memory): Use xcrc32. commit 23518d2e237469dafc52a3040ecc77f382dec95c Author: Tom Tromey Date: Wed Jun 19 15:09:44 2013 -0600 add README.archer ----------------------------------------------------------------------- hooks/post-receive -- Repository for Project Archer.