Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Side by Side Diff: gdb/gdbserver/ChangeLog

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/gdbserver/.gitignore ('k') | gdb/gdbserver/Makefile.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 2012-01-06 Joel Brobecker <brobecker@adacore.com> 1 2012-09-05 Michael Brandt <michael.brandt@axis.com>
2 2
3 * linux-crisv32-low.c: Fix compile errors.
4
5 2012-08-22 Keith Seitz <keiths@redhat.com>
6
7 * server.h: Include build-gnulib-gbserver/config.h.
8 * gdbreplay.c: Likewise.
9
10 2012-08-02 Ulrich Weigand <ulrich.weigand@linaro.org>
11
12 * hostio.c (handle_pread): If pread fails, fall back to attempting
13 lseek/read.
14 (handle_pwrite): Likewise for pwrite.
15
16 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
17
18 * linux-arm-low.c (arm_linux_hw_point_initialize): Distinguish
19 between unsupported TYPE and unimplementable ADDR/LEN combination.
20 (arm_insert_point): Act on new return value.
21
22 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
23
24 * linux-arm-low.c (arm_linux_hw_point_initialize): Do not attempt
25 to 4-byte-align HW breakpoint addresses for Thumb.
26
27 2012-07-27 Yao Qi <yao@codesourcery.com>
28
29 * server.c (process_point_options): Stop at 'X' when parsing.
30
31 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
32
33 * gdbserver/linux-low.c (initialize_low): Call
34 linux_ptrace_init_warnings.
35
36 2012-07-02 Doug Evans <dje@google.com>
37
38 * mem-break.c (gdb_no_commands_at_breakpoint): Fix cast from
39 pointer to int.
40
41 2012-07-02 Stan Shebs <stan@codesourcery.com>
42
43 * Makefile.in (WARN_CFLAGS_NO_FORMAT): Define.
44 (ax.o): Add it to build rule.
45 (ax-ipa.o): Ditto.
46 (OBS): Add format.o.
47 (IPA_OBS): Add format.o.
48 * server.c (handle_query): Claim support for breakpoint commands.
49 (process_point_options): Add command case.
50 (process_serial_event): Leave running if there are printfs in
51 effect.
52 * mem-break.h (any_persistent_commands): Declare.
53 (add_breakpoint_commands): Declare.
54 (gdb_no_commands_at_breakpoint): Declare.
55 (run_breakpoint_commands): Declare.
56 * mem-break.c (struct point_command_list): New struct.
57 (struct breakpoint): New field command_list.
58 (any_persistent_commands): New function.
59 (add_commands_to_breakpoint): New function.
60 (add_breakpoint_commands): New function.
61 (gdb_no_commands_at_breakpoint): New function.
62 (run_breakpoint_commands): New function.
63 * linux-low.c (linux_wait_1): Test for and run breakpoint commands
64 locally.
65 * ax.c: Include format.h.
66 (ax_printf): New function.
67 (gdb_eval_agent_expr): Add printf opcode.
68
69 2012-06-13 Yao Qi <yao@codesourcery.com>
70
71 * server.c (start_inferior): Remove duplicated writes to fields
72 'last_resume_kind' and 'last_status' of 'current_inferior'.
73
74 2012-06-12 Yao Qi <yao@codesourcery.com>
75 Pedro Alves <palves@redhat.com>
76
77 * linux-low.c (linux_set_resume_request): Simplify predicate. Add
78 comment.
79 * server.c (handle_v_cont): Extend comment.
80
81 2012-06-11 Yao Qi <yao@codesourcery.com>
82
83 * linux-low.c (linux_attach): Add 'static'.
84
85 2012-06-06 Yao Qi <yao@codesourcery.com>
86
87 * ax.c (gdb_eval_agent_expr): Print `top' in hex.
88
89 2012-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
90
91 Fix gcc -flto compilation warning.
92 * server.c (main): Make variable multi_mode and attach volatile.
93
94 2012-05-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
95
96 * linux-low.c (get_r_debug): Disable code using DT_MIPS_RLD_MAP
97 if the platform doesn't know about it.
98
99 2012-05-30 Jeff Kenton <jkenton@tilera.com>
100
101 * Makefile.in (SFILES): Add linux-tile-low.c.
102 (linux-tile-low.o, reg-tilegx.o, reg-tilegx.c): New rules.
103 * configure.srv: Handle tilegx-*-linux*.
104 * linux-tile-low.c: New file.
105
106 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
107
108 * linux-low.c (linux_qxfer_libraries_svr4): Return -1 if R_DEBUG is -1.
109
110 2012-05-24 Pedro Alves <palves@redhat.com>
111
112 PR gdb/7205
113
114 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
115
116 2012-05-24 Pedro Alves <palves@redhat.com>
117
118 PR gdb/7205
119
120 Replace target_signal with gdb_signal throughout.
121
122 2012-05-22 Maciej W. Rozycki <macro@codesourcery.com>
123
124 * linux-low.c (linux_store_registers): Avoid the copying sequence
125 when no data has been retrieved by ptrace.
126
127 2012-05-22 Will Deacon <will.deacon@arm.com>
128
129 * linux-low (__UCLIBC__ && !(__UCLIBC_HAS_MMU__ || __ARCH_HAS_MMU__)):
130 Include asm/ptrace.h.
131 (PT_TEXT_ADDR, PT_DATA_ADDR, PT_TEXT_END_ADDR): Define only if not
132 already defined.
133
134 2012-05-21 Maciej W. Rozycki <macro@codesourcery.com>
135
136 * linux-low.c (linux_store_registers): Don't re-retrieve data
137 with ptrace that has already been obtained from /proc. Always
138 copy any data retrieved with ptrace to the buffer supplied.
139
140 2012-05-11 Yao Qi <yao@codesourcery.com>
141 Pedro Alves <palves@redhat.com>
142
143 * linux-low.c (enum stopping_threads_kind): New.
144 (stopping_threads): Change type to `enum stopping_threads_kind'.
145 (handle_extended_wait): If stopping and suspending threads, leave
146 the new_lwp suspended too.
147 (linux_wait_for_event): Adjust.
148 (stop_all_lwps): Set `stopping_threads' to
149 STOPPING_AND_SUSPENDING_THREADS or STOPPING_THREADS depending on
150 whether we're suspending threads or just stopping them. Assert no
151 recursion happens.
152
153 2012-04-29 Yao Qi <yao@codesourcery.com>
154
155 * server.h: Move some code to ...
156 * gdbthread.h: ... here. New.
157 * Makefile.in (inferiors.o, regcache.o): Depends on gdbthread.h
158 (remote-utils.o, server.o, target.o tracepoint.o): Likewise.
159 (nto-low.o, win32-low.o): Likewise.
160 * inferiors.c, linux-low.h, nto-low.c: Include gdbthread.h.
161 * regcache.c, remote-utils.c, server.c: Likewise.
162 * target.c, tracepoint.c, win32-low.c: Likewise.
163
164 2012-04-24 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
165
166 * linux-low.h (PTRACE_ARG3_TYPE): Move macro from linux-low.c.
167 (PTRACE_ARG4_TYPE): Likewise.
168 (PTRACE_XFER_TYPE): Likewise.
169 * linux-arm-low.c (arm_prepare_to_resume): Cast third argument of
170 ptrace to PTRACE_ARG3_TYPE.
171 * linux-low.c (PTRACE_ARG3_TYPE): Move macro to linux-low.h.
172 (PTRACE_ARG4_TYPE): Likewise.
173 (PTRACE_XFER_TYPE): Likewise.
174 (linux_detach_one_lwp): Cast fourth argument of
175 ptrace to long then PTRACE_ARG4_TYPE.
176 (regsets_fetch_inferior_registers): Cast third argument of
177 ptrace to long then PTRACE_ARG3_TYPE.
178 (regsets_store_inferior_registers): Likewise.
179
180 2012-04-20 Pedro Alves <palves@redhat.com>
181
182 * configure: Regenerate.
183
184 2012-04-19 Pedro Alves <palves@redhat.com>
185
186 * Makefile.in (GNULIB_BUILDDIR): New.
187 (LIBGNU, INCGNU, GNULIB_H): Adjust.
188 (SUBDIRS, CLEANDIRS, REQUIRED_SUBDIRS): New.
189 (all, install-only, uninstall, clean-info, all-lib, clean): No
190 longer pass GNULIB_FLAGS_TO_PASS. Use subdir_do.
191 (maintainer-clean realclean distclean): Use subdir_do.
192 (subdir_do): New.
193 (gnulib/import/Makefile): Adjust. Replace gnulib/import with
194 $(GNULIB_BUILDDIR). Don't pass argument to config.status.
195 * acinclude.m4: Include acx_configure_dir.m4.
196 * configure.ac: Remove gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE
197 calls. Call AC_PROG_RANLIB. Configure gnulib using
198 ACX_CONFIGURE_DIR.
199 (GNULIB): New.
200 (GNULIB_STDINT_H): Adjust.
201 (AC_OUTPUT): Don't output gnulib/Makefile anymore.
202 * gdbreplay.c: Include build-gnulib/config.h.
203 * server.h: Likewise.
204 * aclocal.m4: Regenerate.
205 * config.in: Regenerate.
206 * configure: Regenerate.
207
208 2012-04-19 Pedro Alves <palves@redhat.com>
209
210 * Makefile.in (LIBGNU, INCGNU): Adjust.
211 (GNULIB_FLAGS_TO_PASS, GNULIB_H): Adjust.
212 (all, install-only, uninstall, clean-info, all-lib, clean)
213 (maintainer-clean, Makefile, gnulib/Makefile): Adjust.
214 * configure.ac: Adjust AC_OUTPUT output.
215 * aclocal.m4: Regenerate.
216 * configure: Regenerate.
217
218 2012-04-19 Pedro Alves <palves@redhat.com>
219
220 * Makefile.in (generated_files): New.
221 (server_h): Remove the explicit dependency on config.h, and depend
222 on $generated_files.
223
224 2012-04-19 Pedro Alves <palves@redhat.com>
225
226 * Makefile.in (INCGNU): Add -Ignulib.
227
228 2012-04-19 Pedro Alves <palves@redhat.com>
229
230 * Makefile.in (GNULIB_INCLUDE_DIR): Rename to ...
231 (INCGNU): ... this, and spell out -I here.
232 (GNULIB_LIB): Rename to ...
233 (LIBGNU): ... this.
234 (INCLUDE_CFLAGS, gdbserver$(EXEEXT), $(GNULIB_LIB) rule): Adjust.
235
236 2012-04-19 Pedro Alves <palves@redhat.com>
237
238 * config.in: Regenerate.
239
240 2012-04-19 Pedro Alves <palves@redhat.com>
241
242 * configure.ac: Remove AC_CHECK_DECLS check for memmem.
243 * server.h (memmem): Remove declaration.
244 * config.in: Regenerate.
245 * configure: Regenerate.
246
247 2012-04-19 Yao Qi <yao@codesourcery.com>
248
249 * Makefile.in (SFILES): Add common/vec.c.
250 (OBS): Add vec.o.
251 (vec.o): New rule.
252
253 2012-04-19 Yao Qi <yao@codesourcery.com>
254
255 * remote-utils.c (prepare_resume_reply): Replace with macro
256 target_core_of_thread.
257 * server.c (handle_qxfer_threads_proper): Likewise.
258 * target.h (traget_core_of_thread): New macro.
259
260 2012-04-18 Pedro Alves <palves@redhat.com>
261
262 * aclocal.m4: Regenerate.
263 * configure: Regenerate.
264
265 2012-04-16 Yao Qi <yao@codesourcery.com>
266
267 * tracepoint.c (cmd_qtstart): Download tracepoints even when they are
268 duplicated on address.
269
270 2012-04-16 Yao Qi <yao@codesourcery.com>
271
272 * tracepoint.c (COPY_FIELD_TO_BUF): New macro.
273 (struct tracepoint_action_ops) <send>: New field.
274 (m_tracepoint_action_send, r_tracepoint_action_send): New.
275 (agent_expr_send, x_tracepoint_action_send): New.
276 (l_tracepoint_action_send): New.
277 (cmd_qtdp): Download and install tracepoint
278 according to `use_agent'.
279 (run_inferior_command): Add one more parameter `len'.
280 Update callers.
281 (tracepoint_send_agent): New.
282 (cmd_qtdp, cmd_qtstart): Call tracepoint_send_agent.
283
284 2012-04-16 Yao Qi <yao@codesourcery.com>
285
286 * tracepoint.c (download_tracepoints): Moved to ...
287 (cmd_qtstart): ... here.
288
289 2012-04-14 Yao Qi <yao@codesourcery.com>
290
291 * tracepoint.c: Include inttypes.h.
292 (struct collect_memory_action): Use sized types.
293 (struct tracepoint): Likewise.
294 (cmd_qtdp, stop_tracing): Update print specifiers.
295 (cmd_qtp, response_tracepoint): Likewise.
296 (collect_data_at_tracepoint): Likewise.
297 (collect_data_at_step): Likewise.
298
299 2012-04-14 Yao Qi <yao@codesourcery.com>
300
301 Import gnulib module inttypes.
302 * aclocal.m4, config.in, configure: Regenerated.
303
304 2012-04-14 Yao Qi <yao@codesourcery.com>
305
306 * Makefile.in (maintainer-clean, realclean, distclean): Remove
307 Makefile and config.status at last.
308
309 2012-04-13 Yao Qi <yao@codesourcery.com>
310
311 * tracepoint.c: Include stdint.h unconditionally.
312
313 2012-04-13 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
314
315 * acinclude.m4 (GDBSERVER_HAVE_THREAD_DB_TYPE): New macro based
316 on BFD_HAVE_SYS_PROCFS_TYPE.
317 * configure.ac: Look for lwpid_t and psaddr_t in libthread_db.h.
318 * configure: Regenerate.
319 * config.in: Likewise.
320
321 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
322
323 * Makefile.in (clean): Also remove x32.c x32-linux.c
324 x32-avx.c x32-avx-linux.c.
325 (x32.o): New target.
326 (x32.c): Likewise.
327 (x32-linux.o): Likewise.
328 (x32-linux.c): Likewise.
329 (x32-avx.o): Likewise.
330 (x32-avx.c): Likewise.
331 (x32-avx-linux.o): Likewise.
332 (x32-avx-linux.c): Likewise.
333
334 * configure.srv (srv_amd64_regobj): Add x32.o x32-avx.o.
335 (srv_amd64_linux_regobj): Add x32-linux.o x32-avx-linux.o.
336 (srv_i386_64bit_xmlfiles): Add i386/x32-core.xml.
337 (srv_amd64_xmlfiles): Add i386/x32.xml i386/x32-avx.xml.
338 (srv_amd64_linux_xmlfiles): Add i386/x32-linux.xml
339 i386/x32-avx-linux.xml.
340
341 * linux-x86-low.c (init_registers_x32_linux): New prototype.
342 (init_registers_x32_avx_linux): Likwise.
343 (x86_linux_update_xmltarget): Call init_registers_x32_linux
344 or init_registers_x32_avx_linux if linux_is_elf64 is false.
345
346 2012-04-13 Pedro Alves <palves@redhat.com>
347
348 * Makefile.in (GNULIB_FLAGS_TO_PASS): New.
349 (FLAGS_TO_PASS): Don't change or set $top_srcdir, $srcdir and VPATH.
350 (all, uninstall, clean-info, all-lib, clean, maintainer-clean)
351 (realclean, distclean): Explicitly pass $GNULIB_FLAGS_TO_PASS to
352 the sub-make.
353
354 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
355
356 * linux-x86-low.c (compat_x32_clock_t): New.
357 (compat_x32_siginfo_t): Likewise.
358 (compat_x32_siginfo_from_siginfo): Likewise.
359 (siginfo_from_compat_x32_siginfo): Likewise.
360 (linux_is_elf64): Likewise.
361 (x86_siginfo_fixup): Call compat_x32_siginfo_from_siginfo
362 and siginfo_from_compat_x32_siginfo for x32.
363 (x86_arch_setup): Set linux_is_elf64.
364
365 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR gdb/13969
368 * linux-low.c (linux_pid_exe_is_elf_64_file): Also return the
369 e_machine field.
370 (linux_qxfer_libraries_svr4): Update call to elf_64_file_p.
371 * linux-low.h (linux_pid_exe_is_elf_64_file): Updated.
372 * linux-x86-low.c (x86_arch_setup): Check if GDBserver is
373 compatible with process.
374
375 2012-04-12 Yao Qi <yao@codesourcery.com>
376
377 * Makefile.in: Define abs_top_srcdir and abs_srcdir.
378 (INCLUDE_CFLAGS): Append GNULIB_INCLUDE_DIR.
379 (install-only, install-info, clean): Handle sub dir gnulib.
380 (all-lib, am--refresh): New targets.
381 (memmem.o): Remove target.
382 * configure.ac: Remove AC_CONFIG_LIBOBJ_DIR.
383 Invoke gl_EARLY. Invoke AC_CHECK_PROGS for make.
384 (AC_REPLACE_FUNCS): Remove memmem.
385 Invoke gl_INIT and AM_INIT_AUTOMAKE.
386 (AC_OUTPUT): Generate Makefile in gnulib/.
387 * aclocal.m4, config.in, configure: Regenerated.
388
389 2012-04-10 Maciej W. Rozycki <macro@codesourcery.com>
390
391 * linux-low.c (get_r_debug): Handle DT_MIPS_RLD_MAP.
392
393 2012-04-05 Pedro Alves <palves@redhat.com>
394
395 -Werror=strict-aliasing
396
397 * spu-low.c (parse_spufs_run): Avoid dereferencing type-punned
398 pointer.
399
400 2012-04-04 Pedro Alves <palves@redhat.com>
401
402 * linux-sparc-low.c (sparc_fill_gregset_to_stack)
403 (sparc_store_gregset_from_stack, sparc_store_gregset)
404 (sparc_breakpoint_at): Fix formatting.
405
406 2012-03-30 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
407
408 * configure.ac: Check whether Elf32_auxv_t and Elf64_auxv_t
409 are available.
410 * linux-low.c [HAVE_ELF32_AUXV_T] (Elf32_auxv_t): Add typedef.
411 [HAVE_ELF64_AUXV_T] (Elf64_auxv_t): Likewise.
412 * config.in: Regenerate.
413 * configure: Likewise.
414
415 2012-03-29 Pedro Alves <palves@redhat.com>
416
417 * linux-low.c (regsets_store_inferior_registers) [__sparc__]:
418 Correct ptrace arguments.
419
420 2012-03-28 Pedro Alves <palves@redhat.com>
421
422 * linux-ia64-low.c (ia64_regmap): Map IA64_EC_REGNUM to PT_AR_EC.
423 (IA64_GR0_REGNUM, IA64_FR0_REGNUM)
424 (IA64_FR1_REGNUM): New defines.
425 (ia64_fetch_register): New.
426 (the_low_target): Install it.
427 * linux-low.h (struct linux_target_ops) <fetch_register>: New
428 field.
429 * linux-low.c (linux_fetch_registers): Try the
430 the_low_target.fetch_register hook first.
431
432 * linux-arm-low.c (the_low_target): Adjust.
433 * linux-bfin-low.c (the_low_target): Adjust.
434 * linux-cris-low.c (the_low_target): Adjust.
435 * linux-crisv32-low.c (the_low_target): Adjust.
436 * linux-m32r-low.c (the_low_target): Adjust.
437 * linux-m68k-low.c (the_low_target): Adjust.
438 * linux-mips-low.c (the_low_target): Adjust.
439 * linux-ppc-low.c (the_low_target): Adjust.
440 * linux-s390-low.c (the_low_target): Adjust.
441 * linux-sh-low.c (the_low_target): Adjust.
442 * linux-sparc-low.c (the_low_target): Adjust.
443 * linux-tic6x-low.c (the_low_target): Adjust.
444 * linux-x86-low.c (the_low_target): Adjust.
445 * linux-xtensa-low.c (the_low_target): Adjust.
446
447 2012-03-26 Pedro Alves <palves@redhat.com>
448
449 * server.c (handle_qxfer_libraries): Don't bail early if
450 the_target->qxfer_libraries_svr4 is not NULL.
451
452 2012-03-26 Pedro Alves <palves@redhat.com>
453
454 * linux-low.c (linux_qxfer_libraries_svr4): Fix pasto in comment.
455
456 2012-03-23 Pedro Alves <palves@redhat.com>
457
458 * linux-low.c (linux_qxfer_libraries_svr4): Terminate the
459 "library-list-svr4" element's start tag when the the DSO list is
460 empty.
461
462 2012-03-23 Pedro Alves <palves@redhat.com>
463
464 * linux-low.c (read_one_ptr): Read the inferior's pointer through
465 a variable whose type size is the same as the inferior's pointer
466 size.
467
468 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
469
470 * linux-arm-low.c (arm_stopped_by_watchpoint): Use siginfo_t instead of
471 struct siginfo.
472 * linux-low.c (siginfo_fixup, linux_xfer_siginfo): Likewise.
473 * linux-x86-low.c (x86_siginfo_fixup): Likewise.
474 * linux-low.h: Include <signal.h>.
475 (struct siginfo): Remove forward declaration.
476 (struct linux_target_ops) <siginfo_fixup>: Use siginfo_t instead of
477 struct siginfo.
478
479 2012-03-21 Mike Frysinger <vapier@gentoo.org>
480
481 * .gitignore: Ignore more files.
482
483 2012-03-19 Pedro Alves <palves@redhat.com>
484 Jan Kratochvil <jan.kratochvil@redhat.com>
485
486 * server.c (cont_thread, general_thread): Add describing comments.
487 (start_inferior): Clear `cont_thread'.
488 (handle_v_cont): Don't set `cont_thread' if resuming all threads
489 of a process.
490
491 2012-03-15 Yao Qi <yao@codesourcery.com>
492
493 * tracepoint.c (install_tracepoint): Move duplicated tracepoint
494 handling to ...
495 (cmd_qtdp): ... here.
496
497 2012-03-15 Yao Qi <yao@codesourcery.com>
498
499 * tracepoint.c (struct tracepoint_action_ops): New.
500 (struct tracepoint_action) [!IN_PROCESS_AGENT] <ops>: New field.
501 (m_tracepoint_action_download): New.
502 (r_tracepoint_action_download): New.
503 (x_tracepoint_action_download): New.
504 (l_tracepoint_action_download): New.
505 (add_tracepoint_action): Install `action->ops' according type.
506 (download_tracepoint_1): Move code `download' function pointer
507 of various tracepoint_action_ops.
508
509 2012-03-13 Jan Kratochvil <jan.kratochvil@redhat.com>
510
511 * linux-low.c (linux_attach_lwp_1): New variable buffer. Call
512 linux_ptrace_attach_warnings.
513
514 2012-03-13 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 * Makefile.in (linux-ptrace.o): New.
517 * configure.srv (arm*-*-linux*, bfin-*-*linux*, crisv32-*-linux*)
518 (cris-*-linux*, i[34567]86-*-linux*, ia64-*-linux*, m32r*-*-linux*)
519 (m68*-*-linux*, m68*-*-uclinux*, mips*-*-linux*, powerpc*-*-linux*)
520 (s390*-*-linux*, sh*-*-linux*, sparc*-*-linux*, tic6x-*-uclinux)
521 (x86_64-*-linux*, xtensa*-*-linux*): Add linux-ptrace.o to SRV_TGTOBJ
522 of these targets.
523 * linux-low.c (linux_attach_lwp_1): Remove redundent else clause.
524
525 2012-03-08 Yao Qi <yao@codesourcery.com>
526 Pedro Alves <palves@redhat.com>
527
528 Fix PR server/13392.
529 * linux-x86-low.c (amd64_install_fast_tracepoint_jump_pad): Check
530 offset of JMP insn.
531 * tracepoint.c (remove_tracepoint): New.
532 (cmd_qtdp): Call remove_tracepoint when failed to install.
533
534 2012-03-07 Pedro Alves <palves@redhat.com>
535
536 * linux-low.c (get_detach_signal): New.
537 (linux_detach_one_lwp): Get rid of a pending SIGSTOP with SIGCONT.
538 Pass on pending signals to PTRACE_DETACH. Check the result of the
539 ptrace call.
540 * server.c (program_signals, program_signals_p): New.
541 (handle_general_set): Handle QProgramSignals.
542 * server.h (program_signals, program_signals_p): Declare.
543
544 2012-03-05 Pedro Alves <palves@redhat.com>
545 Jan Kratochvil <jan.kratochvil@redhat.com>
546
547 * linux-low.c (get_dynamic): Don't warn when PT_PHDR isn't found.
548 New comment why.
549
550 2012-03-03 Yao Qi <yao@codesourcery.com>
551
552 * tracepoint.c (tracepoint_look_up_symbols): Update call to
553 agent_look_up_symbols.
554
555 2012-03-03 Yao Qi <yao@codesourcery.com>
556
557 * Makefile.in (linux-low.o): Keep dependence on agent.h.
558 (linux-x86-low.o): Likewise.
559 * server.h: Remove in_process_agent_loaded.
560 * tracepoint.c (in_process_agent_loaded): Removed. Moved it
561 common/agent.c.
562 Update callers.
563
564 2012-03-03 Yao Qi <yao@codesourcery.com>
565
566 * tracepoint.c (gdb_agent_capability): New global.
567 (in_process_agent_loaded_ust): Renamed to
568 `in_process_agent_supports_ust'.
569 Update callers.
570 (in_process_agent_supports_ust): Call agent_capability_check.
571 (clear_installed_tracepoints): Assert that agent supports
572 agent.
573
574 2012-03-03 Yao Qi <yao@codesourcery.com>
575
576 * linux-low.c (linux_supports_agent): New.
577 (linux_target_ops): Initialize field `supports_agent' with
578 linux_supports_agent.
579 * target.h (struct target_ops) <supports_agent>: New.
580 (target_supports_agent): New macro.
581 * server.c (handle_general_set): Handle packet 'QAgent'.
582 (handle_query): Send `QAgent+'.
583 * Makefile.in (server.o): Depends on agent.h.
584
585 2012-03-03 Yao Qi <yao@codesourcery.com>
586
587 * Makefile.in (OBS): Add agent.o.
588 Add new rule for agent.o.
589 Track dependence of tracepoint.c on agent.h.
590 * tracepoint.c (run_inferior_command_1):
591 (run_inferior_command): Call agent_run_command.
592 (gdb_ust_connect_sync_socket): Deleted. Move it to
593 common/agent.c.
594 (resume_thread, stop_thread): Likewise.
595 (gdb_ust_socket_init): Renamed to ...
596 (gdb_agent_socket_init): ... New.
597 (gdb_ust_thread): Renamed to ...
598 (gdb_agent_helper_thread): ... New.
599 (gdb_ust_init): Move some code to ...
600 (gdb_agent_init): ... here. New.
601 [HAVE_UST]: Call gdb_ust_init.
602 (initialize_tracepoint_ftlib): Call gdb_agent_init.
603 * configure.ac: Add `sys/un.h' to AC_CHECK_HEADERS.
604 * config.in, configure: Regenerated.
605
606 2012-03-02 Pedro Alves <palves@redhat.com>
607
608 * inferiors.c (add_pid_to_list, pull_pid_from_list): Delete.
609 * linux-low.c (struct simple_pid_list): New.
610 (stopped_pids): New a struct simple_pid_list pointer.
611 (add_to_pid_list, pull_pid_from_list): New.
612 (handle_extended_wait): Don't assume the first signal new children
613 report is SIGSTOP. Adjust call to pull_pid_from_list.
614 (linux_wait_for_lwp): Adjust.
615
616 2012-03-02 Yao Qi <yao@codesourcery.com>
617
618 * tracepoint.c (do_action_at_tracepoint): Write `stop_pc' in
619 debug log.
620
621 2012-03-02 Yao Qi <yao@codesourcery.com>
622
623 * tracepoint.c (collect_ust_data_at_tracepoint): Remove parameters
624 `stop_pc' and `tpoint'. Update caller.
625
626 2012-03-01 Maciej W. Rozycki <macro@codesourcery.com>
627
628 * linux-low.h (linux_target_ops): Add regset_bitmap member.
629 * linux-low.c (use_linux_regsets): New macro.
630 [!HAVE_LINUX_REGSETS] (regsets_fetch_inferior_registers): Likewise.
631 [!HAVE_LINUX_REGSETS] (regsets_store_inferior_registers): Likewise.
632 (linux_register_in_regsets): New function.
633 (usr_fetch_inferior_registers): Skip registers covered by
634 regsets.
635 (usr_store_inferior_registers): Likewise.
636 (usr_fetch_inferior_registers): New macro.
637 (usr_store_inferior_registers): Likewise.
638 (linux_fetch_registers): Handle mixed regset/non-regset targets.
639 (linux_store_registers): Likewise.
640 * linux-mips-low.c (init_registers_mips_dsp_linux): New
641 prototype.
642 (init_registers_mips64_dsp_linux): Likewise.
643 (init_registers_mips_linux): New macro.
644 (init_registers_mips_dsp_linux): Likewise.
645 (mips_dsp_num_regs): Likewise.
646 (DSP_BASE, DSP_CONTROL): New fallback macros.
647 (mips_base_regs): New macro.
648 (mips_regmap): Use it. Fix the size.
649 (mips_dsp_regmap): New variable.
650 (mips_dsp_regset_bitmap): Likewise.
651 (mips_arch_setup): New function.
652 (mips_cannot_fetch_register): Use the_low_target.regmap rather
653 than mips_regmap.
654 (mips_cannot_store_register): Likewise.
655 (the_low_target): Update .arch_setup, .num_regs and .regmap
656 initializers. Add .regset_bitmap initializer.
657 * linux-arm-low.c (the_low_target): Add .regset_bitmap
658 initializer.
659 * linux-bfin-low.c (the_low_target): Likewise.
660 * linux-cris-low.c (the_low_target): Likewise.
661 * linux-crisv32-low.c (the_low_target): Likewise.
662 * linux-ia64-low.c (the_low_target): Likewise.
663 * linux-m32r-low.c (the_low_target): Likewise.
664 * linux-m68k-low.c (the_low_target): Likewise.
665 * linux-ppc-low.c (the_low_target): Likewise.
666 * linux-s390-low.c (the_low_target): Likewise.
667 * linux-sh-low.c (the_low_target): Likewise.
668 * linux-sparc-low.c (the_low_target): Likewise.
669 * linux-tic6x-low.c (the_low_target): Likewise.
670 * linux-x86-low.c (the_low_target): Likewise.
671 * linux-xtensa-low.c (the_low_target): Likewise.
672 * configure.srv <mips*-*-linux*>: Add mips-dsp-linux.o and
673 mips64-dsp-linux.o to srv_regobj. Add mips-dsp-linux.xml,
674 mips64-dsp-linux.xml, mips-dsp.xml and mips64-dsp.xml to
675 srv_xmlfiles.
676 * Makefile.in (mips-dsp-linux.o, mips-dsp-linux.c): New targets.
677 (mips64-dsp-linux.o, mips64-dsp-linux.c): Likewise.
678
679 2012-02-29 Yao Qi <yao@codesourcery.com>
680 Pedro Alves <palves@redhat.com>
681
682 * linux-low.c: (linux_wait_1): Call unsuspend_all_lwps when
683 `step_over_finished' is true.
684
685 2012-02-27 Pedro Alves <palves@redhat.com>
686
687 * linux-low.c (pid_is_stopped): Delete, moved to common/.
688 (linux_attach_lwp_1): Adjust to use linux_proc_pid_is_stopped.
689
690 2012-02-27 Pedro Alves <palves@redhat.com>
691
692 PR server/9684
693 * linux-low.c (pid_is_stopped): New.
694 (linux_attach_lwp_1): Handle attaching to 'T (stopped)' processes.
695
696 2012-02-25 Luis Machado <lgustavo@codesourcery.com>
697
698 * mem-break.c (clear_gdb_breakpoint_conditions): Fix de-allocation
699 of conditions.
700
701 2012-02-24 Maciej W. Rozycki <macro@codesourcery.com>
702
703 * linux-mips-low.c (mips_regmap): Correct the index of $f9.
704
705 2012-02-24 Luis Machado <lgustavo@codesourcery>
706
707 * server.c (handle_query): Advertise support for target-side
708 breakpoint condition evaluation.
709 (process_point_options): New function.
710 (process_serial_event): When inserting a breakpoint, check for
711 a target-side condition that should be evaluated.
712
713 * mem-break.c: Include regcache.h and ax.h.
714 (point_cond_list_t): New data structure.
715 (breakpoint) <cond_list>: New field.
716 (find_gdb_breakpoint_at): Make non-static.
717 (delete_gdb_breakpoint_at): Clear any target-side
718 conditions.
719 (clear_gdb_breakpoint_conditions): New function.
720 (add_condition_to_breakpoint): Likewise.
721 (add_breakpoint_condition): Likewise.
722 (gdb_condition_true_at_breakpoint): Likewise.
723 (gdb_breakpoint_here): Return result directly instead
724 of going through a local variable.
725
726 * mem-break.h (find_gdb_breakpoint_at): New prototype.
727 (clear_gdb_breakpoint_conditions): Likewise.
728 (add_breakpoint_condition): Likewise.
729 (gdb_condition_true_at_breakpoint): Likewise.
730
731 * linux-low.c (linux_wait_1): Evaluate target-side breakpoint condition.
732 (need_step_over_p): Take target-side breakpoint condition into
733 consideration.
734
735 2012-02-24 Luis Machado <lgustavo@codesourcery>
736
737 * server.h: Include tracepoint.h.
738 (agent_mem_read, agent_get_trace_state_variable_value,
739 agent_set_trace_state_variable_value,
740 agent_tsv_read, agent_mem_read_string, get_get_tsv_func_addr,
741 get_set_tsv_func_addr): New prototypes.
742
743 * ax.h: New include file.
744 * ax.c: New source file.
745
746 * tracepoint.c: Include ax.h.
747 (gdb_agent_op, gdb_agent_op_names, gdb_agent_op_sizes,
748 agent_expr, eval_result_type): Move to ax.h.
749 (parse_agent_expr): Rename to ...
750 (gdb_parse_agent_expr): ... this, make it non-static and move
751 to ax.h.
752 (unparse_agent_expr) Rename to ...
753 (gdb_unparse_agent_expr): ... this, make it non-static and move
754 to ax.h.
755 (eval_agent_expr): Rename to ...
756 (eval_tracepoint_agent_expr): ... this.
757 (agent_mem_read, agent_mem_read_string, agent_tsv_read): Remove
758 forward declarations.
759 (add_tracepoint_action): Call gdb_parse_agent_expr (...).
760 (agent_get_trace_state_variable_value): New function.
761 (agent_set_trace_state_variable_value): New function.
762 (cmd_qtdp): Call gdb_parse_agent_expr (...).
763 (response_tracepoint): Call gdb_unparse_agent_expr (...).
764 (do_action_at_tracepoint): Call eval_tracepoint_agent_expr (...).
765 (condition_true_at_tracepoint): Likewise.
766 (parse_agent_expr): Rename to ...
767 (gdb_parse_agent_expr): ... this and move to ax.c.
768 (unparse_agent_expr): Rename to ...
769 (gdb_unparse_agent_expr): ... this and move to ax.c.
770 (gdb_agent_op_name): Move to ax.c.
771 (eval_agent_expr): Rename to ...
772 (gdb_eval_agent_expr): ... this, use regcache passed as parameter
773 and move to ax.c.
774 (eval_tracepoint_agent_expr): New function.
775 (agent_mem_read, agent_mem_read_string, agent_tsv_read): Make
776 non-static.
777 (current_insn_ptr, emit_error, struct bytecode_address): Move to
778 ax.c.
779 (emit_prologue, emit_epilogue, emit_add, emit_sub, emit_mul, emit_lsh,
780 emit_rsh_signed, emit_rsh_unsigned, emit_ext, emit_log_not,
781 emit_bit_and, emit_bit_or, emit_bit_xor, emit_bit_not, emit_equal,
782 emit_less_signed, emit_less_unsigned, emit_ref, emit_if_goto,
783 emit_goto, write_goto_address, emit_const, emit_reg, emit_pop,
784 emit_stack, emit_zero_ext, emit_swap, emit_stack_adjust,
785 emit_int_call_1, emit_void_call_2, emit_eq_goto, emit_ne_goto,
786 emit_lt_goto, emit_ge_goto, emit_gt_goto, emit_le_goto): Move to ax.c.
787 (get_get_tsv_func_addr, get_set_tsv_func_addr): New functions.
788 (compile_bytecodes): Remove forward declaration.
789 (is_goto_target): Move to ax.c.
790 (compile_bytecodes): Move to ax.c and call
791 agent_get_trace_state_variable_value (...) and
792 agent_set_trace_state_variable_value (...).
793
794 * Makefile.in: Update ax.c and IPA dependencies.
795
796 2012-02-24 Pedro Alves <palves@redhat.com>
797
798 * tracepoint.c (cmd_bigqtbuffer): Rename as ...
799 (cmd_bigqtbuffer_circular): ... this. Only handle
800 'QTBuffer:circular:'.
801 (handle_tracepoint_general_set): Adjust.
802
803 2012-02-16 Yao Qi <yao@codesourcery.com>
804
805 * inferiors.c: Move code to ...
806 * dll.c: .... here. New.
807 * server.h: Declare clear_dlls.
808 * Makefile.in (SFILES): Add dll.c.
809 (OBS): Add dll.o
810 (dll.o): New rule.
811
812 2012-02-11 Yao Qi <yao@codesourcery.com>
813
814 * server.c: (handle_monitor_command): Add a new parameter
815 `own_buf'.
816 (handle_query): Update caller.
817
818 2012-02-09 Joel Brobecker <brobecker@adacore.com>
819
820 * configure.ac: Add readlink to AC_CHECK_FUNCS list.
821 * configure, config.in: Regenerate.
822 * hostio.c: Provide an alternate implementation if HAVE_READLINK
823 is not defined.
824
825 2012-02-02 Pedro Alves <palves@redhat.com>
826
827 Try SIGKILL first, then PTRACE_KILL.
828 * linux-low.c (linux_kill_one_lwp): New.
829 (linux_kill_one_lwp): Rename to ...
830 (kill_one_lwp_callback): ... this. Use the new
831 linux_kill_one_lwp.
832
833 2012-02-02 Pedro Alves <palves@redhat.com>
834
835 * tracepoint.c (cmd_qtminftpilen): Return 0 if there's no current
836 inferior.
837
838 2012-01-27 Pedro Alves <palves@redhat.com>
839
840 * linux-low.c (linux_child_pid_to_exec_file): Delete.
841 (elf_64_file_p): Make static.
842 (linux_pid_exe_is_elf_64_file): New.
843 * linux-low.h (linux_child_pid_to_exec_file, elf_64_file_p):
844 Delete declarations.
845 (linux_pid_exe_is_elf_64_file): Declare.
846 * linux-x86-low.c (x86_arch_setup): Use
847 linux_pid_exe_is_elf_64_file.
848
849 2012-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
850
851 * linux-low.c (linux_wait_for_event_1): Rename to ...
852 (linux_wait_for_event): ... here and merge it with former
853 linux_wait_for_event - new variable wait_ptid, use it.
854 (linux_wait_for_event): Remove - merge it to linux_wait_for_event_1.
855
856 2012-01-23 Pedro Alves <palves@redhat.com>
857
858 * server.c (main): Avoid yet another case of infinite loop while
859 detaching/killing after a longjmp.
860
861 2012-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 Code cleanup.
864 * linux-low.c (linux_wait_for_event_1): Use ptid_is_pid.
865
866 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
867
868 * hostio.c (handle_readlink): New function.
869 (handle_vFile): Call it to handle "vFile:readlink" packets.
870
871 2012-01-20 Pedro Alves <palves@redhat.com>
872 Ulrich Weigand <ulrich.weigand@linaro.org>
873
874 * server.c (handle_v_requests): Only support vAttach and vRun to
875 start multiple processes when in extended protocol mode.
876
877 2012-01-17 Pedro Alves <palves@redhat.com>
878
879 * tracepoint.c (initialize_tracepoint): Use mmap instead of
880 memalign plus mprotect to allocate the scratch buffer.
881
882 2012-01-13 Pedro Alves <palves@redhat.com>
883
884 * server.c (attach_inferior): Clear `cont_thread'.
885
886 2012-01-13 Pedro Alves <palves@redhat.com>
887
888 * server.c (main): Avoid infinite loop while detaching/killing
889 after a longjmp.
890
891 2012-01-09 Doug Evans <dje@google.com>
892
893 * server.c (start_inferior): Set last_ptid in --wrapper case.
894
895 2012-01-06 Yao Qi <yao@codesourcery.com>
896
897 * tracepoint.c [IN_PROCESS_AGENT] (debug_threads): Macro
898 defined.
899 [IN_PROCESS_AGENT] (debug_agent): New global variable.
900
901 2012-01-04 Yao Qi <yao@codesourcery.com>
902
903 * tracepoint.c (cmd_qtdp): Print debug message
904 for static tracepoint.
905
906 2012-01-04 Yao Qi <yao@codesourcery.com>
907
908 * tracepoint.c (trace_vdebug): Differentiate debug message
909 between gdbserver and IPA.
910
911 2012-01-03 Yao Qi <yao@codesourcery.com>
912
913 * tracepoint.c (tracepoint_was_hit): Don't collect for
914 static tracepoint.
915
916 2012-01-02 Joel Brobecker <brobecker@adacore.com>
917
3 * terminal.h: Reformat copyright header. 918 * terminal.h: Reformat copyright header.
4 919
5 2012-01-02 Joel Brobecker <brobecker@adacore.com> 920 2012-01-02 Joel Brobecker <brobecker@adacore.com>
6 921
7 * server.c (gdbserver_version): Update copyright year. 922 * server.c (gdbserver_version): Update copyright year.
8 * gdbreplay.c (gdbreplay_version): Likewise. 923 * gdbreplay.c (gdbreplay_version): Likewise.
9 924
925 2011-12-18 Jan Kratochvil <jan.kratochvil@redhat.com>
926
927 * linux-low.c (linux_create_inferior): Put empty if clause for write.
928
929 Revert:
930 2011-12-18 Hui Zhu <teawater@gmail.com>
931 * linux-low.c (linux_create_inferior): Save return value to ret.
932
933 2011-12-18 Hui Zhu <teawater@gmail.com>
934
935 * linux-low.c (linux_create_inferior): Save return value to ret.
936
937 2011-12-16 Doug Evans <dje@google.com>
938
939 * linux-low.c (linux_create_inferior): If stdio connection,
940 redirect stdin from /dev/null, stdout to stderr.
941 * remote-utils.c (remote_is_stdio): New static global.
942 (remote_connection_is_stdio): New function.
943 (remote_prepare): Handle stdio connection.
944 (remote_open): Ditto.
945 (remote_close): Don't close stdin for stdio connections.
946 (read_prim,write_prim): New functions. Replace all calls to
947 read/write to these.
948 * server.c (main): Watch for "-" argument. Move call to
949 remote_prepare before start_inferior.
950 * server.h (STDIO_CONNECTION_NAME): New macro.
951 (remote_connection_is_stdio): Declare.
952
953 * remote-utils.c (prepare_resume_reply): Remove extraneous \n
954 in debugging output.
955
956 2011-12-15 Yao Qi <yao@codesourcery.com>
957
958 * tracepoint.c: Include sys/syscall.h.
959 (gdb_ust_thread): Remove preprocessor conditional.
960
961 2011-12-14 Pedro Alves <pedro@codesourcery.com>
962
963 * linux-low.c (linux_detach_one_lwp): Call
964 the_low_target.prepare_to_resume before detaching.
965
966 2011-12-14 Yao Qi <yao@codesourcery.com>
967
968 * tracepoint.c (gdb_ust_thread): Don't ignore return value
969 of write.
970
971 2011-12-14 Yao Qi <yao@codesourcery.com>
972
973 * i386-low.c (i386_low_stopped_data_address): Initialize local
974 variable `control'.
975
976 2011-12-13 Pedro Alves <pedro@codesourcery.com>
977
978 PR remote/13492
979
980 * i386-low.c (i386_low_stopped_data_address): Avoid fetching
981 DR_CONTROL unless necessary. Extend comments.
982 * linux-x86-low.c (x86_linux_prepare_to_resume): Don't write to
983 DR0-3 if not used. If any watchpoint was set, clear DR_STATUS.
984
10 2011-12-13 Yao Qi <yao@codesourcery.com> 985 2011-12-13 Yao Qi <yao@codesourcery.com>
11 986
12 * tracepoint.c (trace_buffer_alloc): Replace magic numbers with 987 * tracepoint.c (trace_buffer_alloc): Replace magic numbers with
13 macros. 988 macros.
14 (upload_fast_traceframes, upload_fast_traceframes): Likewise. 989 (upload_fast_traceframes, upload_fast_traceframes): Likewise.
15 990
16 2011-12-08 Jan Kratochvil <jan.kratochvil@redhat.com> 991 2011-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
17 992
18 * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist. 993 * linux-low.c (linux_kill): Skip PTRACE_KILL if LWP does not exist.
19 Print new debug message for such case. 994 Print new debug message for such case.
(...skipping 6290 matching lines...) Expand 10 before | Expand all | Expand 10 after
6310 (collect_register): Change buf argument to void *. 7285 (collect_register): Change buf argument to void *.
6311 (collect_register_by_name): Likewise. 7286 (collect_register_by_name): Likewise.
6312 * regcache.h: Add missing prototypes. 7287 * regcache.h: Add missing prototypes.
6313 * remote-utils.c: Include <arpa/inet.h> for inet_ntoa. 7288 * remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
6314 * server.c (handle_query): New function. 7289 * server.c (handle_query): New function.
6315 (attached): New static variable, moved out of main. 7290 (attached): New static variable, moved out of main.
6316 (main): Quiet longjmp clobber warnings. 7291 (main): Quiet longjmp clobber warnings.
6317 * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. 7292 * server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes.
6318 * utils.c (error): Remove NORETURN. 7293 * utils.c (error): Remove NORETURN.
6319 (fatal): Likewise. 7294 (fatal): Likewise.
OLDNEW
« no previous file with comments | « gdb/gdbserver/.gitignore ('k') | gdb/gdbserver/Makefile.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698