Commit | Line | Data |
---|---|---|
296b1496 GB |
1 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
2 | ||
3 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
4 | Don't include defs.h or server.h. | |
5 | ||
53f81362 GB |
6 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
7 | ||
8 | * nat/linux-btrace.c: Include common-defs.h. | |
9 | Don't include defs.h, server.h or gdbthread.h. | |
10 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
11 | ||
727605ca GB |
12 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
13 | ||
14 | * common/agent.c: Include common-defs.h. | |
15 | Don't include defs.h or server.h. | |
16 | * common/buffer.c: Likewise. | |
17 | * common/common-debug.c: Likewise. | |
18 | * common/common-utils.c: Likewise. | |
19 | * common/errors.c: Likewise. | |
20 | * common/filestuff.c: Likewise. | |
21 | * common/format.c: Likewise. | |
22 | * common/gdb_vecs.c: Likewise. | |
23 | * common/print-utils.c: Likewise. | |
24 | * common/ptid.c: Likewise. | |
25 | * common/rsp-low.c: Likewise. | |
26 | * common/signals.c: Likewise. | |
27 | * common/vec.c: Likewise. | |
28 | * common/xml-utils.c: Likewise. | |
29 | * nat/linux-osdata.c: Likewise. | |
30 | * nat/linux-procfs.c: Likewise. | |
31 | * nat/linux-ptrace.c: Likewise. | |
32 | * nat/mips-linux-watch.c: Likewise. | |
33 | * target/waitstatus.c: Likewise. | |
34 | ||
361c8ade GB |
35 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
36 | Gary Benson <gbenson@redhat.com> | |
37 | ||
38 | * common/common-regcache.h: New file. | |
39 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
40 | * regcache.h: Include common-regcache.h. | |
41 | (regcache_read_pc): Don't declare. | |
42 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
43 | * nat/linux-btrace.c: Don't include regcache.h. | |
44 | Include common-regcache.h. | |
45 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
46 | ||
a01cbb49 TS |
47 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
48 | ||
49 | * regcache.h (struct regset): Declare. | |
50 | ||
98880d46 PA |
51 | 2014-09-11 Pedro Alves <palves@redhat.com> |
52 | ||
53 | PR gdb/17347 | |
54 | * main.c: Include "infrun.h". | |
55 | (catch_command_errors, catch_command_errors_const): Wait for the | |
56 | foreground command to complete. | |
57 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
58 | from ... | |
59 | (maybe_wait_sync_command_done): ... here. | |
60 | * top.h (maybe_wait_sync_command_done): New declaration. | |
61 | ||
bd9269f7 GB |
62 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
63 | Gary Benson <gbenson@redhat.com> | |
64 | ||
65 | * common/symbol.h: New file. | |
66 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
67 | * minsyms.c (find_minimal_symbol_address): New function. | |
68 | * common/agent.c: Include common/symbol.h. | |
69 | [!GDBSERVER]: Don't include objfiles.h. | |
70 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
71 | ||
f8c1d06b GB |
72 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
73 | ||
74 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
75 | Declare. | |
76 | * target.c (target_stop_ptid, target_continue_ptid): New | |
77 | functions. | |
78 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
79 | (agent_run_command): Always use target_stop_ptid and | |
80 | target_continue_ptid. | |
81 | ||
721ec300 GB |
82 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
83 | Gary Benson <gbenson@redhat.com> | |
84 | ||
85 | * target/target.h: New file. | |
86 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
87 | * target.h: Include target/target.h. | |
88 | (target_read_memory, target_write_memory): Don't declare. | |
89 | * target.c (target_read_uint32): New function. | |
90 | * common/agent.c: Include target/target.h. | |
91 | [!GDBSERVER]: Don't include target.h. | |
92 | (helper_thread_id): Type changed to uint32_t. | |
93 | (agent_get_helper_thread_id): Use target_read_uint32. | |
94 | (agent_run_command): Always use target_read_memory and | |
95 | target_write_memory. | |
96 | (agent_capability): Type changed to uint32_t. | |
97 | (agent_capability_check): Use target_read_uint32. | |
98 | ||
c5e92cca GB |
99 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
100 | ||
101 | * common/common-debug.h (show_debug_regs): Declare. | |
102 | * common/common-debug.c (show_debug_regs): Define. | |
103 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
104 | all uses with show_debug_regs. Replace all uses that considered | |
105 | debug_hw_points as a multi-value integer with straight boolean | |
106 | uses. | |
107 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
108 | with show_debug_regs. | |
109 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
110 | all uses with show_debug_regs. | |
111 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
112 | uses with show_debug_regs. | |
113 | ||
eeef931a UW |
114 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
115 | ||
116 | * findvar.c (address_from_register): Handle targets requiring | |
117 | a special conversion routine even for plain pointer types. | |
118 | ||
8efa9855 UW |
119 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
120 | ||
121 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
122 | (store_register): Do not call exec_one_dummy_insn. | |
123 | ||
eb479039 JB |
124 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
125 | ||
126 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
127 | dereference it first. Use value_enclosing_type instead of | |
128 | value_type. | |
129 | (ada_array_length): Likewise. | |
130 | ||
deede10c JB |
131 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
132 | ||
133 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
134 | Adjust function implementation and documentation accordingly. | |
135 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
136 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
137 | Update call to ada_value_ptr_subscript. | |
138 | ||
7828a5f5 JB |
139 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
140 | ||
141 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
142 | instead of VAL's type. | |
143 | ||
35782f14 JB |
144 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
145 | ||
146 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
147 | ||
d342a0da DE |
148 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
149 | ||
150 | PR guile/17367 | |
151 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
152 | last parameter to pkg-config, not first. | |
153 | * configure.ac: Pass --with-guile provided pkg-config path to | |
154 | GDB_GUILE_PROGRAM_NAMES. | |
155 | * configure: Regenerate. | |
156 | ||
b4a3d263 GKB |
157 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
158 | ||
159 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
160 | Bertazi". | |
161 | ||
6e466374 MR |
162 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
163 | ||
164 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
165 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
166 | the list of sections determining GDB_OSABI_IRIX. | |
167 | ||
a1ada89a JH |
168 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
169 | ||
170 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
171 | ||
86db008d JH |
172 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
173 | ||
174 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
175 | ||
72fde3df JB |
176 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
177 | ||
178 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
179 | ||
92d8d229 DE |
180 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
181 | ||
182 | PR 17247 | |
183 | * guile.c: #include <signal.h>. | |
184 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
185 | ||
186 | Replaces the following, which is reverted. | |
187 | ||
188 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
189 | ||
190 | PR 17185 | |
191 | * configure.ac: Add check for header gc/gc.h. | |
192 | Add check for function setenv. | |
193 | * configure: Regenerate. | |
194 | * config.in: Regenerate. | |
195 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
196 | ||
d81412aa DE |
197 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
198 | ||
199 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
200 | with named constant. Fix style of pointer comparison. | |
201 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
202 | ||
a9f116cb GKB |
203 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
204 | ||
205 | PR gdb/17035 | |
206 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
207 | decide whether we display the command on "show user". | |
208 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
209 | printing command name. | |
210 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
211 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
212 | to verify whether cmd_list_element is a user-defined command. | |
213 | ||
c75bd3a2 JK |
214 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
215 | ||
216 | PR python/17355 | |
217 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
218 | Fix goto out of TRY_CATCH. | |
219 | ||
faa42425 | 220 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 221 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
222 | |
223 | PR 15276 | |
224 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
225 | $_any_caller_matches. | |
226 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
227 | * python/lib/gdb/function/caller_is.py: New file. | |
228 | ||
0d41ba00 DE |
229 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
230 | ||
231 | * infcmd.c (program_info): Fix typo. | |
232 | ||
474ca4f6 SDJ |
233 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
234 | ||
235 | PR gdb/17235 | |
236 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
237 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
238 | subexpressions on SDT probes. | |
239 | ||
ebf13736 PA |
240 | 2014-09-04 Pedro Alves <palves@redhat.com> |
241 | ||
242 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
243 | the input is only one character long. | |
244 | ||
eb0b0463 SDJ |
245 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
246 | ||
247 | PR fortran/17237 | |
248 | * f-valprint.c (f_val_print): Specify the correct print option to | |
249 | use when printing integer values. | |
250 | ||
5ee44bfa GB |
251 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
252 | ||
253 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
254 | Remove code to cope with LWPs wrapped as PIDs. | |
255 | Add assertions to ensure no wrapped LWPs are passed. | |
256 | ||
4875ffdb PA |
257 | 2014-09-04 Pedro Alves <palves@redhat.com> |
258 | ||
259 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
260 | from ... | |
261 | (value_contents_copy_raw): ... here. | |
262 | (unpack_value_bits_as_long_1): Rename back to ... | |
263 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
264 | 'result' parameters. Change return type to LONGEST. | |
265 | (unpack_value_bits_as_long): Delete. | |
266 | (unpack_value_field_as_long_1): Delete. | |
267 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
268 | (unpack_value_bitfield): New function. | |
269 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
270 | (value_fetch_lazy): Use unpack_value_bitfield. | |
271 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
272 | ||
5f3b99cf SS |
273 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
274 | ||
275 | * python/py-frame.c (frapy_read_register): New function. | |
276 | ||
ac740bc7 JH |
277 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
278 | ||
279 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
280 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
281 | ||
7d793aa9 SDJ |
282 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
283 | ||
284 | PR python/16699 | |
285 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
286 | function. | |
287 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
288 | * cli/cli-decode.h (struct cmd_list_element) | |
289 | <completer_handle_brkchars>: New field. | |
290 | * command.h (completer_ftype_void): New typedef. | |
291 | (set_cmd_completer_handle_brkchars): New prototype. | |
292 | * completer.c (set_gdb_completion_word_break_characters): New | |
293 | function. | |
294 | (complete_line_internal): Call "completer_handle_brkchars" | |
295 | callback from command. | |
296 | * completer.h: Include "command.h". | |
297 | (set_gdb_completion_word_break_characters): New prototype. | |
298 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
299 | (cmdpy_completer_handle_brkchars): New function. | |
300 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
301 | (cmdpy_init): Set completer_handle_brkchars to | |
302 | cmdpy_completer_handle_brkchars. | |
303 | ||
97ea6506 GB |
304 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
305 | ||
306 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
307 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
308 | Loop conditions changed to equivalent form. | |
309 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
310 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
311 | ALL_DEBUG_ADDRESS_REGISTERS. | |
312 | ||
d1437815 JB |
313 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
314 | ||
315 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
316 | description fix. | |
317 | ||
9b94fcf1 DE |
318 | 2014-09-02 Doug Evans <dje@google.com> |
319 | ||
320 | * typeprint.c (find_global_typedef): Fix comment. | |
321 | ||
df7e5265 GB |
322 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
323 | ||
324 | * i386-nat.h: Renamed as... | |
325 | * x86-nat.h: New file. All type, function and variable name | |
326 | prefixes changed from "i386_" to "x86_". All references updated. | |
327 | * i386-nat.c: Renamed as... | |
328 | * x86-nat.c: New file. All type, function and variable name | |
329 | prefixes changed from "i386_" to "x86_". All references updated. | |
330 | * common/i386-xstate.h: Renamed as... | |
331 | * common/x86-xstate.h: New file. All type, function and variable | |
332 | name prefixes changed from "i386_" to "x86_". All references | |
333 | updated. | |
334 | * nat/i386-cpuid.h: Renamed as... | |
335 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
336 | prefixes changed from "i386_" to "x86_". All references updated. | |
337 | * nat/i386-gcc-cpuid.h: Renamed as... | |
338 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
339 | name prefixes changed from "i386_" to "x86_". All references | |
340 | updated. | |
341 | * nat/i386-dregs.h: Renamed as... | |
342 | * nat/x86-dregs.h: New file. All type, function and variable name | |
343 | prefixes changed from "i386_" to "x86_". All references updated. | |
344 | * nat/i386-dregs.c: Renamed as... | |
345 | * nat/x86-dregs.c: New file. All type, function and variable name | |
346 | prefixes changed from "i386_" to "x86_". All references updated. | |
347 | ||
1c3569d4 MR |
348 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
349 | ||
350 | * varobj.c (_initialize_varobj): Move to the end of file. | |
351 | ||
ff55e1b5 GB |
352 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
353 | ||
354 | * common/common-exceptions.h: New file. | |
355 | * common/common-exceptions.c: Likewise. | |
356 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
357 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
358 | (COMMON_OBS): Add common-exceptions.o. | |
359 | (common-exceptions.o): New rule. | |
360 | * exceptions.h (common-exceptions.h): Include. | |
361 | (gdb_setjmp.h): Do not include. | |
362 | (return_reason): Moved to common-exceptions.h. | |
363 | (enum return_reason): Likewise. | |
364 | (RETURN_MASK): Likewise. | |
365 | (typedef return_mask): Likewise. | |
366 | (enum errors): Likewise. | |
367 | (struct gdb_exception): Likewise. | |
368 | (exceptions_state_mc_init): Likewise. | |
369 | (exceptions_state_mc_action_iter): Likewise. | |
370 | (exceptions_state_mc_action_iter_1): Likewise. | |
371 | (TRY_CATCH): Likewise. | |
372 | (throw_exception): Likewise. | |
373 | (throw_verror): Likewise. | |
374 | (throw_vquit): Likewise. | |
375 | (throw_error): Likewise. | |
376 | (throw_quit): Likewise. | |
377 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
378 | (enum catcher_action): Likewise. | |
379 | (struct catcher): Likewise. | |
380 | (current_catcher): Likewise. | |
381 | (catcher_list_size): Likewise. | |
382 | (exceptions_state_mc_init): Likewise. | |
383 | (catcher_pop): Likewise. | |
384 | (exceptions_state_mc): Likewise. | |
385 | (exceptions_state_mc_action_iter): Likewise. | |
386 | (exceptions_state_mc_action_iter_1): Likewise. | |
387 | (throw_exception): Likewise. | |
388 | (exception_messages): Likewise. | |
389 | (exception_messages_size): Likewise. | |
390 | (throw_it): Likewise. | |
391 | (throw_verror): Likewise. | |
392 | (throw_vquit): Likewise. | |
393 | (throw_error): Likewise. | |
394 | (throw_quit): Likewise. | |
395 | (prepare_to_throw_exception): New function. | |
396 | ||
e9bcb658 GB |
397 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
398 | ||
399 | * common/gdb_setjmp.h: New file. | |
400 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
401 | * configure.ac: Move sigsetjmp check... | |
402 | * common/common.m4: ...here. | |
403 | * configure: Regenerate. | |
404 | * cp-support.c (SIGJMP_BUF): Delete. | |
405 | (SIGSETJMP): Likewise. | |
406 | (SIGLONGJMP): Likewise. | |
407 | * exceptions.h (gdb_setjmp.h): Include. | |
408 | (setjmp.h): Do not include. | |
409 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
410 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
411 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
412 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
413 | from gdb_setjmp.h. | |
414 | * exceptions.c: Likewise. | |
415 | ||
e3180625 GB |
416 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
417 | ||
418 | * cleanups.h: Moved to... | |
419 | * common/cleanups.h: New file. | |
420 | * cleanups.c: Moved to... | |
421 | * common/cleanups.c: New file. Include common-defs.h and | |
422 | cleanups.h. Do not include defs.h. | |
423 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
424 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
425 | (cleanups.o): New rule. | |
426 | ||
e3d6ba5d GB |
427 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
428 | ||
429 | * common/errors.h (internal_warning): New declaration. | |
430 | (internal_vwarning): Likewise. | |
431 | * common/errors.c (internal_warning): New function. | |
432 | * utils.h (internal_warning): Don't declare. | |
433 | (internal_vwarning): Likewise. | |
434 | * utils.c (internal_warning): Removed. | |
435 | ||
075c7033 GB |
436 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
437 | ||
438 | * main.c (captured_main): Use warning during startup. | |
439 | Prefix startup warning messages with command name. | |
440 | ||
91b35fd0 GB |
441 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
442 | ||
443 | * main.c (captured_main): Handle usage errors with error. | |
444 | ||
b1ec390e GB |
445 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
446 | ||
447 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
448 | exit pair with a call to error. Wrap the message with _(). | |
449 | ||
fd0ef3dd GB |
450 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
451 | ||
452 | * main.c (captured_main): Replace a fprintf/exit | |
453 | pair with a call to error. Wrap the message with _(). | |
454 | ||
e0e6bcab GB |
455 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
456 | ||
457 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
458 | pairs with calls to error. Wrap the message with _(). | |
459 | ||
0d2f5c07 GB |
460 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
461 | ||
462 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
463 | and wrap_here. | |
464 | ||
5df43998 GB |
465 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
466 | ||
467 | * exceptions.c (print_flush): Protect calls to | |
468 | target_terminal_ours and wrap_here. | |
469 | ||
2437fd32 GB |
470 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
471 | ||
472 | * utils.h (filtered_printing_initialized): New declaration. | |
473 | * utils.c (abort_with_message): New function. | |
474 | (internal_vproblem): Use abort_with_message for first level | |
475 | recursive internal problems, and if gdb_stderr is not set up. | |
476 | Protect calls to target_terminal_ours, begin_line and query. | |
477 | ||
f1f58506 DE |
478 | 2014-08-28 Doug Evans <dje@google.com> |
479 | ||
480 | * symtab.c (in_prologue): Move definition to better spot. | |
481 | (skip_prologue_using_sal): Ditto. | |
482 | ||
aab2f208 DE |
483 | 2014-08-28 Doug Evans <dje@google.com> |
484 | ||
485 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
486 | ||
6b65d1b6 YQ |
487 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
488 | ||
489 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
490 | found_stack_adjust in forward scan. Remove condition check | |
491 | on found_stack_adjust which is always true. Indent the code. | |
492 | ||
a1b34d15 YQ |
493 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
494 | ||
495 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
496 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
497 | (dwarf_decode_lines): Remove argument | |
498 | want_line_info. Remove condition check on want_line_info. | |
499 | Callers update. | |
500 | ||
d5962de5 DE |
501 | 2014-08-27 Doug Evans <dje@google.com> |
502 | ||
503 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
504 | ||
9b139002 SDJ |
505 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
506 | ||
507 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
508 | declaration. | |
509 | (target_terminal_save_ours): Remove macro. | |
510 | * target-delegates.c: Regenerate. | |
511 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
512 | field to_terminal_save_ours. | |
513 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
514 | * terminal.h (gdb_save_tty_state): New declaration. | |
515 | * inflow.c (child_terminal_save_ours): Rename to ... | |
516 | (gdb_save_tty_state): ... this. | |
517 | * tui/tui.c: Include terminal.h. | |
518 | (tui_enable): Use gdb_save_tty_state instead of | |
519 | target_terminal_save_ours. | |
520 | (tui_disable): Likewise. | |
521 | ||
9debeba0 DE |
522 | 2014-08-25 Doug Evans <dje@google.com> |
523 | ||
524 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
525 | Pass NULL instead of 0 for context pointer. | |
526 | ||
428fc5fc YQ |
527 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
528 | ||
529 | * dwarf2read.c: Fix grammatical error. | |
530 | ||
cdc07690 YQ |
531 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
532 | ||
533 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
534 | Rename argument 'need_pc' with 'set_addrmap'. | |
535 | (add_partial_namespace): Rename argument 'need_pc' with | |
536 | 'set_addrmap'. | |
537 | (add_partial_module): Likewise. | |
538 | (add_partial_subprogram): Likewise. Update comments. | |
539 | (dwarf2_name): Fix typo. | |
540 | ||
a05a36a5 DE |
541 | 2014-08-22 Doug Evans <dje@google.com> |
542 | ||
543 | PR 17276 | |
544 | * dwarf2read.c (dwarf_record_line_p): New function. | |
545 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
546 | for the same line if any entry had a non-zero discriminator. | |
547 | ||
252a6764 DE |
548 | 2014-08-22 Doug Evans <dje@google.com> |
549 | ||
550 | * buildsym.h (record_line_ftype): New typedef. | |
551 | (record_line): Use it. | |
552 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
553 | (dwarf_decode_lines_1): Call them. | |
554 | ||
510db052 YQ |
555 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
556 | ||
557 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
558 | (ctf_end): Remove code. | |
559 | ||
22fd09ae JK |
560 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
561 | ||
562 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
563 | (linux_make_corefile_notes): call update_thread_list, protected against | |
564 | exceptions. | |
565 | ||
656e8868 PA |
566 | 2014-08-21 Pedro Alves <palves@redhat.com> |
567 | ||
568 | * infcmd.c (attach_command): Remove comment. | |
569 | ||
de589d04 WN |
570 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
571 | ||
572 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
573 | unsigned LONGEST to ULONGEST. | |
574 | ||
2a31c623 PA |
575 | 2014-08-20 Pedro Alves <palves@redhat.com> |
576 | ||
577 | * Makefile.in (check-read1): New rule. | |
578 | ||
d36430db JB |
579 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
580 | ||
581 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
582 | typedef layers before checking its TYPE_DATA_LOCATION. | |
583 | ||
000339af PA |
584 | 2014-08-20 Pedro Alves <palves@redhat.com> |
585 | ||
586 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
587 | ||
5f52445b YQ |
588 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
589 | ||
590 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
591 | example. Move "*/" to a new line. | |
592 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
593 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
594 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
595 | ||
9a0dc9e3 PA |
596 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
597 | Pedro Alves <palves@redhat.com> | |
598 | ||
599 | PR symtab/14604 | |
600 | PR symtab/14605 | |
601 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
602 | value_contents_copy_raw. | |
603 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
604 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
605 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
606 | code handle optimized out values. | |
607 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
608 | * d-valprint.c (dynamic_array_type): Use | |
609 | value_bits_any_optimized_out. | |
610 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
611 | check_any_valid fields. | |
612 | (check_pieced_value_bits): Delete and inline ... | |
613 | (check_pieced_synthetic_pointer): ... here. | |
614 | (check_pieced_value_validity): Delete. | |
615 | (check_pieced_value_invalid): Delete. | |
616 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
617 | fields. | |
618 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
619 | (write_pieced_value): Switch to use | |
620 | mark_value_bytes_optimized_out. | |
621 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
622 | of assuming the whole value is optimized out. | |
623 | * findvar.c (read_frame_register_value): Remove special handling | |
624 | of optimized out registers. | |
625 | (value_from_register): Use mark_value_bytes_optimized_out. | |
626 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
627 | mark_value_bytes_optimized_out. | |
628 | * jv-valprint.c (java_value_print): Adjust. | |
629 | (java_print_value_fields): Let the common printing code handle | |
630 | optimized out values. | |
631 | * mips-tdep.c (mips_print_register): Remove special handling of | |
632 | optimized out registers. | |
633 | * opencl-lang.c (lval_func_check_validity): Delete. | |
634 | (lval_func_check_any_valid): Delete. | |
635 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
636 | fields. | |
637 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
638 | printing code handle optimized out values. | |
639 | * stack.c (read_frame_arg): Remove special handling of optimized | |
640 | out values. Fetch both VAL and ENTRYVAL before comparing | |
641 | contents. Adjust to value_available_contents_eq rename. | |
642 | * valprint.c (valprint_check_validity) | |
643 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
644 | (val_print_array_elements): Adjust. | |
645 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
646 | (value_bits_any_optimized_out): New function. | |
647 | (value_entirely_covered_by_range_vector): New function, factored | |
648 | out from value_entirely_unavailable. | |
649 | (value_entirely_unavailable): Reimplement. | |
650 | (value_entirely_optimized_out): New function. | |
651 | (insert_into_bit_range_vector): New function, factored out from | |
652 | mark_value_bits_unavailable. | |
653 | (mark_value_bits_unavailable): Reimplement. | |
654 | (struct ranges_and_idx): New struct. | |
655 | (find_first_range_overlap_and_match): New function, factored out | |
656 | from value_available_contents_bits_eq. | |
657 | (value_available_contents_bits_eq): Rename to ... | |
658 | (value_contents_bits_eq): ... this. Check both unavailable | |
659 | contents and optimized out contents. | |
660 | (value_available_contents_eq): Rename to ... | |
661 | (value_contents_eq): ... this. | |
662 | (allocate_value_lazy): Remove reference to the old optimized_out | |
663 | boolean. | |
664 | (allocate_optimized_out_value): Use | |
665 | mark_value_bytes_optimized_out. | |
666 | (require_not_optimized_out): Adjust to check whether the | |
667 | optimized_out vec is empty. | |
668 | (ranges_copy_adjusted): New function, factored out from | |
669 | value_contents_copy_raw. | |
670 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
671 | Assert the destination ranges aren't optimized out. | |
672 | (value_contents_copy): Update comment, remove call to | |
673 | require_not_optimized_out. | |
674 | (value_contents_equal): Adjust to check whether the optimized_out | |
675 | vec is empty. | |
676 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
677 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
678 | New functions. | |
679 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
680 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
681 | (value_primitive_field): Remove special handling of optimized out. | |
682 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
683 | regions. Use value_bits_any_optimized_out. Remove some special | |
684 | handling for optimized out values. | |
685 | * value.h: Add intro comment about <optimized out> and | |
686 | <unavailable>. | |
687 | (struct lval_funcs): Remove check_validity and check_any_valid | |
688 | fields. | |
689 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
690 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
691 | New declarations. | |
692 | (value_bits_any_optimized_out): New declaration. | |
693 | (value_bits_valid): Delete declaration. | |
694 | (value_available_contents_eq): Rename to ... | |
695 | (value_contents_eq): ... this, and extend comments. | |
696 | ||
6694c411 JK |
697 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
698 | ||
699 | Fix -fsanitize=address on unreadable inferior strings. | |
700 | * valprint.c (val_print_string): Fix access before BUFFER. | |
701 | ||
89a1c21a SM |
702 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
703 | ||
704 | * target.c (target_struct_size): Remove. | |
705 | (target_struct_allocsize): Remove. | |
706 | (DEFAULT_ALLOCSIZE): Remove. | |
707 | (target_ops_p): New typedef. | |
708 | (DEF_VEC_P (target_ops_p)): New vector type. | |
709 | (target_structs): Change type to VEC (target_ops_p). | |
710 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
711 | (find_default_run_target): Rewrite for loop following changes to | |
712 | target_structs. | |
713 | ||
cb417230 JB |
714 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
715 | ||
716 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
717 | Adjust code accordingly. Adjust function description comment. | |
718 | ||
817e0957 YQ |
719 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
720 | ||
721 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
722 | types. | |
723 | ||
2974be62 AM |
724 | 2014-08-19 Alan Modra <amodra@gmail.com> |
725 | ||
726 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
727 | * config.in: Regenerate. | |
728 | * configure: Regenerate. | |
729 | ||
34abf635 GB |
730 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
731 | Gary Benson <gbenson@redhat.com> | |
732 | ||
733 | * common/common-debug.h: New file. | |
734 | * common/common-debug.c: Likewise. | |
735 | * debug.c: Likewise. | |
736 | * Makefile.in (SFILES): Add common/common-debug.c. | |
737 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
738 | (COMMON_OBS): Add common-debug.o and debug.o. | |
739 | (common-debug.o): New rule. | |
740 | * common/common-defs.h: Include common-debug.h. | |
741 | * common/agent.c (debug_agent_printf): New function. | |
742 | (DEBUG_AGENT): Redefine. | |
743 | * nat/i386-dregs.c (debug_printf): Undefine. | |
744 | ||
f6e94d78 GB |
745 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
746 | ||
747 | * common/common-defs.h: Include print-utils.h. | |
748 | * utils.h: Do not include print-utils.h. | |
749 | ||
9239eeab GB |
750 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
751 | Gary Benson <gbenson@redhat.com> | |
752 | ||
753 | * common/common-types.h: New file. | |
754 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
755 | * common/common-defs.h: Include common-types.h. | |
756 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
757 | (ULONGEST): Remove. | |
758 | ||
ef87c8bb GB |
759 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
760 | Gary Benson <gbenson@redhat.com> | |
761 | ||
762 | * common/errors.h: New file. | |
763 | * common/errors.c: Likewise. | |
764 | * Makefile.in (SFILES): Add common/errors.c. | |
765 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
766 | (COMMON_OBS): Add errors.o. | |
767 | (errors.o): New rule. | |
768 | * common/common-defs.h: Include errors.h. | |
769 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
770 | Don't declare. | |
771 | * common/common-utils.h: (malloc_failure, internal_error): | |
772 | Likewise. | |
773 | ||
196a707b GB |
774 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
775 | ||
776 | * utils.c (internal_vproblem): Always print the message. | |
777 | ||
ded4fc8f DE |
778 | 2014-08-18 Doug Evans <dje@google.com> |
779 | ||
780 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
781 | ||
950c97d8 JB |
782 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
783 | ||
784 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
785 | Return 0 if TYPE is dynamic. | |
786 | (print_range): Add handling of dynamic ranges. | |
787 | ||
3cdcd0ce JB |
788 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
789 | Joel Brobecker <brobecker@adacore.com> | |
790 | ||
791 | * gdbtypes.h (struct main_type): Add field "data_location". | |
792 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
793 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
794 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
795 | a dynamic data location. | |
796 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
797 | (copy_recursive, copy_type): Copy the data_location information | |
798 | when present. | |
799 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
800 | * value.c (value_from_contents_and_address): Add | |
801 | DW_AT_data_location handling. | |
802 | ||
08412b07 JB |
803 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
804 | Joel Brobecker <brobecker@adacore.com> | |
805 | ||
806 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
807 | field "get_object_address". | |
808 | * dwarf2expr.c (execute_stack_op): Add handling for | |
809 | DW_OP_push_object_address. | |
810 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
811 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
812 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
813 | (dwarf_expr_get_obj_addr): New function. | |
814 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
815 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
816 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
817 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
818 | (needs_get_obj_addr): New function. | |
819 | (needs_frame_ctx_funcs): Add get_object_address field. | |
820 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
821 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
822 | (resolve_dynamic_array): Likewise. | |
823 | ||
84754697 JB |
824 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
825 | ||
826 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
827 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
828 | fixed value for records and unions for which some GNAT encodings | |
829 | are present. | |
830 | ||
da5c522f JB |
831 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
832 | ||
833 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
834 | rewrite to avoid "else if" and "else" constructs. Should be | |
835 | a no-op in practice. | |
836 | ||
0d72a7c3 JB |
837 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
838 | ||
839 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
840 | of lexical block. | |
841 | ||
e66d4446 SC |
842 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
843 | ||
844 | PR c++/17132 | |
845 | * eval.c: Update all calls to find_overload_match. | |
846 | * valarith.c: Likewise. | |
847 | (value_user_defined_cpp_op, value_user_defined_op): New | |
848 | argument NOSIDE. Update all callers. | |
849 | * valops.c (find_overload_match): New argument NOSIDE. | |
850 | * value.h (find_overload_match): Update signature. | |
851 | ||
940df408 SC |
852 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
853 | ||
854 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
855 | 'items' methods instead of 'iteritems' method on dictionaries. | |
856 | ||
699ca60a DE |
857 | 2014-08-15 Doug Evans <dje@google.com> |
858 | ||
859 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
860 | closer to use. | |
861 | ||
37780ee5 DE |
862 | 2014-08-15 Doug Evans <dje@google.com> |
863 | ||
864 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
865 | ||
0ad93d4f DE |
866 | 2014-08-15 Doug Evans <dje@google.com> |
867 | ||
868 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
869 | ||
20d8c372 DE |
870 | 2014-08-15 Doug Evans <dje@google.com> |
871 | ||
872 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
873 | unused. | |
874 | ||
cb039ba4 EZ |
875 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
876 | ||
877 | * dcache.h: Include target.h, to avoid compile time warnings. | |
878 | ||
eb7a547a JB |
879 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
880 | ||
881 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
882 | frame_info" partial declaration. | |
883 | * gdbarch.h: Regenerate. | |
884 | ||
783cecc8 YQ |
885 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
886 | ||
887 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
888 | Add parameter 'decode_for_pst_p'. Callers update. | |
889 | ||
65c749e7 YQ |
890 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
891 | ||
892 | PR build/17104 | |
893 | * configure.ac: Use local variable 'pos'. | |
894 | * configure: Regenerated. | |
895 | ||
d769e349 DE |
896 | 2014-08-11 Doug Evans <dje@google.com> |
897 | ||
898 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
899 | message, it is redundant with "Reading symbols from ..." message. | |
900 | ||
24f1235e DE |
901 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
902 | ||
903 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
904 | ||
dcd2e6ef YQ |
905 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
906 | ||
907 | PR remote/9053 | |
908 | * remote.c (remote_xfer_partial): Remove dead code. | |
909 | ||
070bdf0b AA |
910 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
911 | ||
912 | * ia64-linux-tdep.c: Include "regset.h". | |
913 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
914 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
915 | (ia64_linux_supply_fpregset): New function. | |
916 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
917 | (ia64_linux_regset_from_core_section): New function. | |
918 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
919 | method. | |
920 | ||
08f9f542 AA |
921 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
922 | ||
923 | * m68klinux-tdep.c: Include "regset.h". | |
924 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
925 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
926 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
927 | (m68k_linux_regset_from_core_section): New function. | |
928 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
929 | method. | |
930 | ||
8f1cee41 AA |
931 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
932 | ||
933 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
934 | function. Move logic to... | |
935 | (tilegx_linux_regmap): ... this new register map. | |
936 | (tilegx_linux_regset): Refer to register map, replace supply | |
937 | method by regcache_supply_regset, and add collect method. | |
938 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
939 | TILEGX_FIRST_EASY_REGNUM. | |
940 | ||
c5741217 AA |
941 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
942 | ||
943 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
944 | that calls regcache_supply_regset and handles the EPC register | |
945 | separately. Move main logic to... | |
946 | (score7_linux_gregmap): ... this new register map. | |
947 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
948 | (score7_linux_gregset): Refer to register map. Add collect method. | |
949 | (score7_linux_regset_from_core_section): Replace | |
950 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
951 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
952 | (struct regset): Delete unused forward declaraction. | |
953 | (struct pt_regs): Delete structure definition. | |
954 | (elf_gregset_t): Delete typedef. | |
955 | ||
81580573 AA |
956 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
957 | ||
958 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
959 | (nios2_core_regset): Add collect method. | |
960 | ||
ba199d7d AA |
961 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
962 | ||
963 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
964 | platform-independent and don't write to read-only input buffer. | |
965 | (m32r_linux_collect_gregset): New function. | |
966 | (m32r_linux_gregset): Add collect method. | |
967 | ||
0006a9da AA |
968 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
969 | ||
970 | * hppa-linux-tdep.c (greg_map): Rename to... | |
971 | (hppa_linux_gregmap): ... this. Also convert to | |
972 | regcache_map_entry format. | |
973 | (hppa_linux_supply_regset): Delete function. | |
974 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
975 | (hppa_linux_fpregmap): ... this new register map. | |
976 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
977 | register map, replace supply method by regcache_supply_regset, and | |
978 | add collect method regcache_collect_regset. | |
979 | ||
901e1b23 AA |
980 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
981 | ||
982 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
983 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
984 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
985 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
986 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
987 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
988 | (frv_linux_supply_gregset): Replace main logic by call to | |
989 | regcache_supply_regset, but keep clearing gr32-gr63. | |
990 | (frv_linux_supply_fpregset): Delete function. | |
991 | (frv_linux_gregset): Refer to appropriate register map and add | |
992 | regcache_collect_regset as the collect method. | |
993 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
994 | by regcache_supply_regset. | |
995 | ||
1d6e7555 AA |
996 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
997 | ||
998 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
999 | by call to alpha_supply_int_regs. | |
1000 | (alpha_linux_collect_gregset): New function. | |
1001 | (alpha_linux_supply_fpregset): Replace logic by call to | |
1002 | alpha_supply_fp_regs. | |
1003 | (alpha_linux_collect_fpregset): New function. | |
1004 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
1005 | ||
d4d793bf AA |
1006 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1007 | ||
1008 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
1009 | by call to regcache_collect_regset. | |
1010 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
1011 | instead of aarch64_linux_supply_gregset/_fpregset. | |
1012 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
1013 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
1014 | header file instead. | |
1015 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
1016 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
1017 | functions. Move logic to ... | |
1018 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
1019 | register maps. | |
1020 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
1021 | refer to new register maps, replace *_regset_from_core by | |
1022 | regcache_supply_regset, and also use regcache_collect_regset. | |
1023 | * aarch64-linux-tdep.h: Include "regset.h". | |
1024 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
1025 | Delete prototypes. | |
1026 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
1027 | macros, moved from C source file. | |
1028 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
1029 | variable declarations. | |
1030 | ||
99b7da5d AA |
1031 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1032 | ||
1033 | * s390-linux-nat.c: Include "regset.h". | |
1034 | (regmap_gregset): Delete macro. | |
1035 | (s390_64_regmap_gregset): New register map for | |
1036 | regcache_supply/_collect_regset. | |
1037 | (s390_64_gregset): New regset. | |
1038 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
1039 | (regmap_fpregset): Delete macro. | |
1040 | (s390_native_supply, s390_native_collect): Delete functions. | |
1041 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
1042 | handling by a call to regcache_supply/_collect_regset. | |
1043 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
1044 | _collect_regset instead of s390_native_supply/_collect. | |
1045 | (fetch_regset, store_regset): Likewise. Also change the last | |
1046 | parameter to a regset instead of a regmap. | |
1047 | (s390_linux_fetch_inferior_registers) | |
1048 | (390_linux_store_inferior_registers): Adjust last parameter in | |
1049 | calls to fetch_regset and store_regset. | |
1050 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
1051 | (s390_gregmap): ... this. Also make static const and convert to | |
1052 | regcache_map_entry format. | |
1053 | (s390x_regmap_gregset): Delete. | |
1054 | (s390_regmap_fpregset): Rename to... | |
1055 | (s390_fpregmap): ... this. Make static const and convert to | |
1056 | regcache_map_entry format. | |
1057 | (s390_regmap_upper, s390_regmap_last_break) | |
1058 | (s390x_regmap_last_break, s390_regmap_system_call) | |
1059 | (s390_regmap_tdb): Likewise. | |
1060 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
1061 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
1062 | s390_supply_regset. | |
1063 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
1064 | (s390_last_break_regset, s390x_last_break_regset) | |
1065 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
1066 | replace s390_supply/_collect_regset by regcache_supply/ | |
1067 | _collect_regset. | |
1068 | (s390x_gregset): Delete. | |
1069 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
1070 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
1071 | (s390_regmap_fpregset, s390_regmap_last_break) | |
1072 | (s390x_regmap_last_break, s390_regmap_system_call) | |
1073 | (s390_regmap_tdb): Delete global variable declarations. | |
1074 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
1075 | (s390x_last_break_regset, s390_system_call_regset) | |
1076 | (s390_tdb_regset): New global variable declarations. | |
1077 | ||
0b309272 AA |
1078 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1079 | ||
1080 | * regcache.c: Include "regset.h". | |
1081 | (regcache_transfer_regset): New local function. | |
1082 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
1083 | * regcache.h (struct regcache_map_entry): New structure. | |
1084 | (REGCACHE_MAP_SKIP): New enum value. | |
1085 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
1086 | ||
7fefa8d7 AA |
1087 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1088 | ||
1089 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
1090 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
1091 | (ppc_linux_collect_gregset ): Likewise. | |
1092 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
1093 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
1094 | (ppc_collect_vrregset): Likewise. | |
1095 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
1096 | Likewise. | |
1097 | ||
96c4f946 YQ |
1098 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
1099 | ||
1100 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
1101 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
1102 | * remote.c (remote_read_bytes): Likewise. | |
1103 | ||
fffbe6a8 YQ |
1104 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
1105 | ||
1106 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
1107 | ||
5ee8a82c YQ |
1108 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
1109 | ||
1110 | PR remote/17230 | |
1111 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
1112 | TARGET_XFER_OK instead of 0. | |
1113 | ||
bb974a24 GB |
1114 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1115 | ||
1116 | * common/common-defs.h: Include errno.h. | |
1117 | * defs.h: Do not include errno.h. | |
1118 | * ada-typeprint.c: Likewise. | |
1119 | * c-typeprint.c: Likewise. | |
1120 | * core-regset.c: Likewise. | |
1121 | * corefile.c: Likewise. | |
1122 | * corelow.c: Likewise. | |
1123 | * event-loop.c: Likewise. | |
1124 | * f-typeprint.c: Likewise. | |
1125 | * gnu-nat.c: Likewise. | |
1126 | * go32-nat.c: Likewise. | |
1127 | * i386gnu-nat.c: Likewise. | |
1128 | * m2-typeprint.c: Likewise. | |
1129 | * nat/linux-btrace.c: Likewise. | |
1130 | * p-typeprint.c: Likewise. | |
1131 | * procfs.c: Likewise. | |
1132 | * remote-sim.c: Likewise. | |
1133 | * rs6000-nat.c: Likewise. | |
1134 | * target.c: Likewise. | |
1135 | * typeprint.c: Likewise. | |
1136 | * ui-file.c: Likewise. | |
1137 | * valops.c: Likewise. | |
1138 | * valprint.c: Likewise. | |
1139 | ||
6d3d12eb GB |
1140 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1141 | ||
1142 | * common/common-defs.h: Include string.h. | |
1143 | * aarch64-tdep.c: Do not include string.h. | |
1144 | * ada-exp.y: Likewise. | |
1145 | * ada-lang.c: Likewise. | |
1146 | * ada-lex.l: Likewise. | |
1147 | * ada-typeprint.c: Likewise. | |
1148 | * ada-valprint.c: Likewise. | |
1149 | * aix-thread.c: Likewise. | |
1150 | * alpha-linux-tdep.c: Likewise. | |
1151 | * alpha-mdebug-tdep.c: Likewise. | |
1152 | * alpha-nat.c: Likewise. | |
1153 | * alpha-osf1-tdep.c: Likewise. | |
1154 | * alpha-tdep.c: Likewise. | |
1155 | * alphanbsd-tdep.c: Likewise. | |
1156 | * amd64-dicos-tdep.c: Likewise. | |
1157 | * amd64-linux-tdep.c: Likewise. | |
1158 | * amd64-nat.c: Likewise. | |
1159 | * amd64-sol2-tdep.c: Likewise. | |
1160 | * amd64fbsd-tdep.c: Likewise. | |
1161 | * amd64obsd-tdep.c: Likewise. | |
1162 | * arch-utils.c: Likewise. | |
1163 | * arm-linux-nat.c: Likewise. | |
1164 | * arm-linux-tdep.c: Likewise. | |
1165 | * arm-tdep.c: Likewise. | |
1166 | * arm-wince-tdep.c: Likewise. | |
1167 | * armbsd-tdep.c: Likewise. | |
1168 | * armnbsd-nat.c: Likewise. | |
1169 | * armnbsd-tdep.c: Likewise. | |
1170 | * armobsd-tdep.c: Likewise. | |
1171 | * avr-tdep.c: Likewise. | |
1172 | * ax-gdb.c: Likewise. | |
1173 | * ax-general.c: Likewise. | |
1174 | * bcache.c: Likewise. | |
1175 | * bfin-tdep.c: Likewise. | |
1176 | * breakpoint.c: Likewise. | |
1177 | * build-id.c: Likewise. | |
1178 | * buildsym.c: Likewise. | |
1179 | * c-exp.y: Likewise. | |
1180 | * c-lang.c: Likewise. | |
1181 | * c-typeprint.c: Likewise. | |
1182 | * c-valprint.c: Likewise. | |
1183 | * charset.c: Likewise. | |
1184 | * cli-out.c: Likewise. | |
1185 | * cli/cli-cmds.c: Likewise. | |
1186 | * cli/cli-decode.c: Likewise. | |
1187 | * cli/cli-dump.c: Likewise. | |
1188 | * cli/cli-interp.c: Likewise. | |
1189 | * cli/cli-logging.c: Likewise. | |
1190 | * cli/cli-script.c: Likewise. | |
1191 | * cli/cli-setshow.c: Likewise. | |
1192 | * cli/cli-utils.c: Likewise. | |
1193 | * coffread.c: Likewise. | |
1194 | * common/agent.c: Likewise. | |
1195 | * common/buffer.c: Likewise. | |
1196 | * common/buffer.h: Likewise. | |
1197 | * common/common-utils.c: Likewise. | |
1198 | * common/filestuff.c: Likewise. | |
1199 | * common/filestuff.c: Likewise. | |
1200 | * common/format.c: Likewise. | |
1201 | * common/print-utils.c: Likewise. | |
1202 | * common/rsp-low.c: Likewise. | |
1203 | * common/signals.c: Likewise. | |
1204 | * common/vec.h: Likewise. | |
1205 | * common/xml-utils.c: Likewise. | |
1206 | * core-regset.c: Likewise. | |
1207 | * corefile.c: Likewise. | |
1208 | * corelow.c: Likewise. | |
1209 | * cp-abi.c: Likewise. | |
1210 | * cp-name-parser.y: Likewise. | |
1211 | * cp-support.c: Likewise. | |
1212 | * cp-valprint.c: Likewise. | |
1213 | * cris-tdep.c: Likewise. | |
1214 | * d-exp.y: Likewise. | |
1215 | * darwin-nat.c: Likewise. | |
1216 | * dbxread.c: Likewise. | |
1217 | * dcache.c: Likewise. | |
1218 | * demangle.c: Likewise. | |
1219 | * dicos-tdep.c: Likewise. | |
1220 | * disasm.c: Likewise. | |
1221 | * doublest.c: Likewise. | |
1222 | * dsrec.c: Likewise. | |
1223 | * dummy-frame.c: Likewise. | |
1224 | * dwarf2-frame.c: Likewise. | |
1225 | * dwarf2loc.c: Likewise. | |
1226 | * dwarf2read.c: Likewise. | |
1227 | * elfread.c: Likewise. | |
1228 | * environ.c: Likewise. | |
1229 | * eval.c: Likewise. | |
1230 | * event-loop.c: Likewise. | |
1231 | * exceptions.c: Likewise. | |
1232 | * exec.c: Likewise. | |
1233 | * expprint.c: Likewise. | |
1234 | * f-exp.y: Likewise. | |
1235 | * f-lang.c: Likewise. | |
1236 | * f-typeprint.c: Likewise. | |
1237 | * f-valprint.c: Likewise. | |
1238 | * fbsd-nat.c: Likewise. | |
1239 | * findcmd.c: Likewise. | |
1240 | * findvar.c: Likewise. | |
1241 | * fork-child.c: Likewise. | |
1242 | * frame.c: Likewise. | |
1243 | * frv-linux-tdep.c: Likewise. | |
1244 | * frv-tdep.c: Likewise. | |
1245 | * gdb.c: Likewise. | |
1246 | * gdb_bfd.c: Likewise. | |
1247 | * gdbarch.c: Likewise. | |
1248 | * gdbarch.sh: Likewise. | |
1249 | * gdbtypes.c: Likewise. | |
1250 | * gnu-nat.c: Likewise. | |
1251 | * gnu-v2-abi.c: Likewise. | |
1252 | * gnu-v3-abi.c: Likewise. | |
1253 | * go-exp.y: Likewise. | |
1254 | * go-lang.c: Likewise. | |
1255 | * go32-nat.c: Likewise. | |
1256 | * guile/guile.c: Likewise. | |
1257 | * guile/scm-auto-load.c: Likewise. | |
1258 | * hppa-hpux-tdep.c: Likewise. | |
1259 | * hppa-linux-nat.c: Likewise. | |
1260 | * hppanbsd-tdep.c: Likewise. | |
1261 | * hppaobsd-tdep.c: Likewise. | |
1262 | * i386-cygwin-tdep.c: Likewise. | |
1263 | * i386-dicos-tdep.c: Likewise. | |
1264 | * i386-linux-tdep.c: Likewise. | |
1265 | * i386-nto-tdep.c: Likewise. | |
1266 | * i386-sol2-tdep.c: Likewise. | |
1267 | * i386-tdep.c: Likewise. | |
1268 | * i386bsd-tdep.c: Likewise. | |
1269 | * i386gnu-nat.c: Likewise. | |
1270 | * i386nbsd-tdep.c: Likewise. | |
1271 | * i386obsd-tdep.c: Likewise. | |
1272 | * i387-tdep.c: Likewise. | |
1273 | * ia64-libunwind-tdep.c: Likewise. | |
1274 | * ia64-linux-nat.c: Likewise. | |
1275 | * inf-child.c: Likewise. | |
1276 | * inf-ptrace.c: Likewise. | |
1277 | * inf-ttrace.c: Likewise. | |
1278 | * infcall.c: Likewise. | |
1279 | * infcmd.c: Likewise. | |
1280 | * inflow.c: Likewise. | |
1281 | * infrun.c: Likewise. | |
1282 | * interps.c: Likewise. | |
1283 | * iq2000-tdep.c: Likewise. | |
1284 | * irix5-nat.c: Likewise. | |
1285 | * jv-exp.y: Likewise. | |
1286 | * jv-lang.c: Likewise. | |
1287 | * jv-typeprint.c: Likewise. | |
1288 | * jv-valprint.c: Likewise. | |
1289 | * language.c: Likewise. | |
1290 | * linux-fork.c: Likewise. | |
1291 | * linux-nat.c: Likewise. | |
1292 | * lm32-tdep.c: Likewise. | |
1293 | * m2-exp.y: Likewise. | |
1294 | * m2-typeprint.c: Likewise. | |
1295 | * m32c-tdep.c: Likewise. | |
1296 | * m32r-linux-nat.c: Likewise. | |
1297 | * m32r-linux-tdep.c: Likewise. | |
1298 | * m32r-rom.c: Likewise. | |
1299 | * m32r-tdep.c: Likewise. | |
1300 | * m68hc11-tdep.c: Likewise. | |
1301 | * m68k-tdep.c: Likewise. | |
1302 | * m68kbsd-tdep.c: Likewise. | |
1303 | * m68klinux-nat.c: Likewise. | |
1304 | * m68klinux-tdep.c: Likewise. | |
1305 | * m88k-tdep.c: Likewise. | |
1306 | * machoread.c: Likewise. | |
1307 | * macrocmd.c: Likewise. | |
1308 | * main.c: Likewise. | |
1309 | * mdebugread.c: Likewise. | |
1310 | * mem-break.c: Likewise. | |
1311 | * memattr.c: Likewise. | |
1312 | * memory-map.c: Likewise. | |
1313 | * mep-tdep.c: Likewise. | |
1314 | * mi/mi-cmd-break.c: Likewise. | |
1315 | * mi/mi-cmd-disas.c: Likewise. | |
1316 | * mi/mi-cmd-env.c: Likewise. | |
1317 | * mi/mi-cmd-stack.c: Likewise. | |
1318 | * mi/mi-cmd-var.c: Likewise. | |
1319 | * mi/mi-cmds.c: Likewise. | |
1320 | * mi/mi-console.c: Likewise. | |
1321 | * mi/mi-getopt.c: Likewise. | |
1322 | * mi/mi-interp.c: Likewise. | |
1323 | * mi/mi-main.c: Likewise. | |
1324 | * mi/mi-parse.c: Likewise. | |
1325 | * microblaze-rom.c: Likewise. | |
1326 | * microblaze-tdep.c: Likewise. | |
1327 | * mingw-hdep.c: Likewise. | |
1328 | * minidebug.c: Likewise. | |
1329 | * minsyms.c: Likewise. | |
1330 | * mips-irix-tdep.c: Likewise. | |
1331 | * mips-linux-tdep.c: Likewise. | |
1332 | * mips-tdep.c: Likewise. | |
1333 | * mips64obsd-tdep.c: Likewise. | |
1334 | * mipsnbsd-tdep.c: Likewise. | |
1335 | * mipsread.c: Likewise. | |
1336 | * mn10300-linux-tdep.c: Likewise. | |
1337 | * mn10300-tdep.c: Likewise. | |
1338 | * monitor.c: Likewise. | |
1339 | * moxie-tdep.c: Likewise. | |
1340 | * mt-tdep.c: Likewise. | |
1341 | * nat/linux-btrace.c: Likewise. | |
1342 | * nat/linux-osdata.c: Likewise. | |
1343 | * nat/linux-procfs.c: Likewise. | |
1344 | * nat/linux-ptrace.c: Likewise. | |
1345 | * nat/linux-waitpid.c: Likewise. | |
1346 | * nbsd-tdep.c: Likewise. | |
1347 | * nios2-linux-tdep.c: Likewise. | |
1348 | * nto-procfs.c: Likewise. | |
1349 | * nto-tdep.c: Likewise. | |
1350 | * objc-lang.c: Likewise. | |
1351 | * objfiles.c: Likewise. | |
1352 | * opencl-lang.c: Likewise. | |
1353 | * osabi.c: Likewise. | |
1354 | * osdata.c: Likewise. | |
1355 | * p-exp.y: Likewise. | |
1356 | * p-lang.c: Likewise. | |
1357 | * p-typeprint.c: Likewise. | |
1358 | * parse.c: Likewise. | |
1359 | * posix-hdep.c: Likewise. | |
1360 | * ppc-linux-nat.c: Likewise. | |
1361 | * ppc-sysv-tdep.c: Likewise. | |
1362 | * ppcfbsd-tdep.c: Likewise. | |
1363 | * ppcnbsd-tdep.c: Likewise. | |
1364 | * ppcobsd-tdep.c: Likewise. | |
1365 | * printcmd.c: Likewise. | |
1366 | * procfs.c: Likewise. | |
1367 | * prologue-value.c: Likewise. | |
1368 | * python/py-auto-load.c: Likewise. | |
1369 | * python/py-gdb-readline.c: Likewise. | |
1370 | * ravenscar-thread.c: Likewise. | |
1371 | * regcache.c: Likewise. | |
1372 | * registry.c: Likewise. | |
1373 | * remote-fileio.c: Likewise. | |
1374 | * remote-m32r-sdi.c: Likewise. | |
1375 | * remote-mips.c: Likewise. | |
1376 | * remote-notif.c: Likewise. | |
1377 | * remote-sim.c: Likewise. | |
1378 | * remote.c: Likewise. | |
1379 | * reverse.c: Likewise. | |
1380 | * rs6000-aix-tdep.c: Likewise. | |
1381 | * ser-base.c: Likewise. | |
1382 | * ser-go32.c: Likewise. | |
1383 | * ser-mingw.c: Likewise. | |
1384 | * ser-pipe.c: Likewise. | |
1385 | * ser-tcp.c: Likewise. | |
1386 | * ser-unix.c: Likewise. | |
1387 | * serial.c: Likewise. | |
1388 | * sh-tdep.c: Likewise. | |
1389 | * sh64-tdep.c: Likewise. | |
1390 | * shnbsd-tdep.c: Likewise. | |
1391 | * skip.c: Likewise. | |
1392 | * sol-thread.c: Likewise. | |
1393 | * solib-dsbt.c: Likewise. | |
1394 | * solib-frv.c: Likewise. | |
1395 | * solib-osf.c: Likewise. | |
1396 | * solib-som.c: Likewise. | |
1397 | * solib-spu.c: Likewise. | |
1398 | * solib-target.c: Likewise. | |
1399 | * solib.c: Likewise. | |
1400 | * somread.c: Likewise. | |
1401 | * source.c: Likewise. | |
1402 | * sparc-nat.c: Likewise. | |
1403 | * sparc-sol2-tdep.c: Likewise. | |
1404 | * sparc-tdep.c: Likewise. | |
1405 | * sparc64-tdep.c: Likewise. | |
1406 | * sparc64fbsd-tdep.c: Likewise. | |
1407 | * sparc64nbsd-tdep.c: Likewise. | |
1408 | * sparcnbsd-tdep.c: Likewise. | |
1409 | * spu-linux-nat.c: Likewise. | |
1410 | * spu-multiarch.c: Likewise. | |
1411 | * spu-tdep.c: Likewise. | |
1412 | * stabsread.c: Likewise. | |
1413 | * stack.c: Likewise. | |
1414 | * std-regs.c: Likewise. | |
1415 | * symfile.c: Likewise. | |
1416 | * symmisc.c: Likewise. | |
1417 | * symtab.c: Likewise. | |
1418 | * target.c: Likewise. | |
1419 | * thread.c: Likewise. | |
1420 | * tilegx-linux-nat.c: Likewise. | |
1421 | * tilegx-tdep.c: Likewise. | |
1422 | * top.c: Likewise. | |
1423 | * tracepoint.c: Likewise. | |
1424 | * tui/tui-command.c: Likewise. | |
1425 | * tui/tui-data.c: Likewise. | |
1426 | * tui/tui-disasm.c: Likewise. | |
1427 | * tui/tui-file.c: Likewise. | |
1428 | * tui/tui-layout.c: Likewise. | |
1429 | * tui/tui-out.c: Likewise. | |
1430 | * tui/tui-regs.c: Likewise. | |
1431 | * tui/tui-source.c: Likewise. | |
1432 | * tui/tui-stack.c: Likewise. | |
1433 | * tui/tui-win.c: Likewise. | |
1434 | * tui/tui-windata.c: Likewise. | |
1435 | * tui/tui-winsource.c: Likewise. | |
1436 | * typeprint.c: Likewise. | |
1437 | * ui-file.c: Likewise. | |
1438 | * ui-out.c: Likewise. | |
1439 | * user-regs.c: Likewise. | |
1440 | * utils.c: Likewise. | |
1441 | * v850-tdep.c: Likewise. | |
1442 | * valarith.c: Likewise. | |
1443 | * valops.c: Likewise. | |
1444 | * valprint.c: Likewise. | |
1445 | * value.c: Likewise. | |
1446 | * varobj.c: Likewise. | |
1447 | * vax-tdep.c: Likewise. | |
1448 | * vaxnbsd-tdep.c: Likewise. | |
1449 | * vaxobsd-tdep.c: Likewise. | |
1450 | * windows-nat.c: Likewise. | |
1451 | * xcoffread.c: Likewise. | |
1452 | * xml-support.c: Likewise. | |
1453 | * xstormy16-tdep.c: Likewise. | |
1454 | * xtensa-linux-nat.c: Likewise. | |
1455 | ||
dccbb609 GB |
1456 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1457 | ||
1458 | * common/common-defs.h: Include gdb_assert.h. | |
1459 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
1460 | * addrmap.c: Likewise. | |
1461 | * aix-thread.c: Likewise. | |
1462 | * alpha-linux-tdep.c: Likewise. | |
1463 | * alpha-mdebug-tdep.c: Likewise. | |
1464 | * alphanbsd-tdep.c: Likewise. | |
1465 | * amd64-nat.c: Likewise. | |
1466 | * amd64-tdep.c: Likewise. | |
1467 | * amd64bsd-nat.c: Likewise. | |
1468 | * amd64fbsd-nat.c: Likewise. | |
1469 | * amd64fbsd-tdep.c: Likewise. | |
1470 | * amd64nbsd-nat.c: Likewise. | |
1471 | * amd64nbsd-tdep.c: Likewise. | |
1472 | * amd64obsd-nat.c: Likewise. | |
1473 | * amd64obsd-tdep.c: Likewise. | |
1474 | * arch-utils.c: Likewise. | |
1475 | * arm-tdep.c: Likewise. | |
1476 | * armbsd-tdep.c: Likewise. | |
1477 | * auxv.c: Likewise. | |
1478 | * bcache.c: Likewise. | |
1479 | * bfin-tdep.c: Likewise. | |
1480 | * blockframe.c: Likewise. | |
1481 | * breakpoint.c: Likewise. | |
1482 | * bsd-kvm.c: Likewise. | |
1483 | * bsd-uthread.c: Likewise. | |
1484 | * buildsym.c: Likewise. | |
1485 | * c-exp.y: Likewise. | |
1486 | * c-lang.c: Likewise. | |
1487 | * charset.c: Likewise. | |
1488 | * cleanups.c: Likewise. | |
1489 | * cli-out.c: Likewise. | |
1490 | * cli/cli-decode.c: Likewise. | |
1491 | * cli/cli-dump.c: Likewise. | |
1492 | * cli/cli-logging.c: Likewise. | |
1493 | * cli/cli-script.c: Likewise. | |
1494 | * cli/cli-utils.c: Likewise. | |
1495 | * coffread.c: Likewise. | |
1496 | * common/common-utils.c: Likewise. | |
1497 | * common/queue.h: Likewise. | |
1498 | * common/signals.c: Likewise. | |
1499 | * common/vec.h: Likewise. | |
1500 | * complaints.c: Likewise. | |
1501 | * completer.c: Likewise. | |
1502 | * corelow.c: Likewise. | |
1503 | * cp-abi.c: Likewise. | |
1504 | * cp-name-parser.y: Likewise. | |
1505 | * cp-namespace.c: Likewise. | |
1506 | * cp-support.c: Likewise. | |
1507 | * cris-tdep.c: Likewise. | |
1508 | * dbxread.c: Likewise. | |
1509 | * dictionary.c: Likewise. | |
1510 | * doublest.c: Likewise. | |
1511 | * dsrec.c: Likewise. | |
1512 | * dummy-frame.c: Likewise. | |
1513 | * dwarf2-frame-tailcall.c: Likewise. | |
1514 | * dwarf2-frame.c: Likewise. | |
1515 | * dwarf2expr.c: Likewise. | |
1516 | * dwarf2loc.c: Likewise. | |
1517 | * dwarf2read.c: Likewise. | |
1518 | * eval.c: Likewise. | |
1519 | * event-loop.c: Likewise. | |
1520 | * exceptions.c: Likewise. | |
1521 | * expprint.c: Likewise. | |
1522 | * f-valprint.c: Likewise. | |
1523 | * fbsd-nat.c: Likewise. | |
1524 | * findvar.c: Likewise. | |
1525 | * frame-unwind.c: Likewise. | |
1526 | * frame.c: Likewise. | |
1527 | * frv-tdep.c: Likewise. | |
1528 | * gcore.c: Likewise. | |
1529 | * gdb-dlfcn.c: Likewise. | |
1530 | * gdb_bfd.c: Likewise. | |
1531 | * gdbarch.c: Likewise. | |
1532 | * gdbarch.sh: Likewise. | |
1533 | * gdbtypes.c: Likewise. | |
1534 | * gnu-nat.c: Likewise. | |
1535 | * gnu-v3-abi.c: Likewise. | |
1536 | * go-lang.c: Likewise. | |
1537 | * guile/scm-exception.c: Likewise. | |
1538 | * guile/scm-gsmob.c: Likewise. | |
1539 | * guile/scm-lazy-string.c: Likewise. | |
1540 | * guile/scm-math.c: Likewise. | |
1541 | * guile/scm-pretty-print.c: Likewise. | |
1542 | * guile/scm-safe-call.c: Likewise. | |
1543 | * guile/scm-utils.c: Likewise. | |
1544 | * guile/scm-value.c: Likewise. | |
1545 | * h8300-tdep.c: Likewise. | |
1546 | * hppa-hpux-nat.c: Likewise. | |
1547 | * hppa-tdep.c: Likewise. | |
1548 | * hppanbsd-tdep.c: Likewise. | |
1549 | * hppaobsd-tdep.c: Likewise. | |
1550 | * i386-darwin-nat.c: Likewise. | |
1551 | * i386-darwin-tdep.c: Likewise. | |
1552 | * i386-nto-tdep.c: Likewise. | |
1553 | * i386-tdep.c: Likewise. | |
1554 | * i386bsd-nat.c: Likewise. | |
1555 | * i386fbsd-tdep.c: Likewise. | |
1556 | * i386gnu-nat.c: Likewise. | |
1557 | * i386nbsd-tdep.c: Likewise. | |
1558 | * i386obsd-tdep.c: Likewise. | |
1559 | * i387-tdep.c: Likewise. | |
1560 | * ia64-libunwind-tdep.c: Likewise. | |
1561 | * ia64-tdep.c: Likewise. | |
1562 | * inf-ptrace.c: Likewise. | |
1563 | * inf-ttrace.c: Likewise. | |
1564 | * infcall.c: Likewise. | |
1565 | * infcmd.c: Likewise. | |
1566 | * infrun.c: Likewise. | |
1567 | * inline-frame.c: Likewise. | |
1568 | * interps.c: Likewise. | |
1569 | * jv-lang.c: Likewise. | |
1570 | * jv-typeprint.c: Likewise. | |
1571 | * linux-fork.c: Likewise. | |
1572 | * linux-nat.c: Likewise. | |
1573 | * linux-thread-db.c: Likewise. | |
1574 | * m32c-tdep.c: Likewise. | |
1575 | * m32r-linux-nat.c: Likewise. | |
1576 | * m32r-tdep.c: Likewise. | |
1577 | * m68k-tdep.c: Likewise. | |
1578 | * m68kbsd-nat.c: Likewise. | |
1579 | * m68kbsd-tdep.c: Likewise. | |
1580 | * m88k-tdep.c: Likewise. | |
1581 | * machoread.c: Likewise. | |
1582 | * macroexp.c: Likewise. | |
1583 | * macrotab.c: Likewise. | |
1584 | * maint.c: Likewise. | |
1585 | * mdebugread.c: Likewise. | |
1586 | * memory-map.c: Likewise. | |
1587 | * mep-tdep.c: Likewise. | |
1588 | * mi/mi-common.c: Likewise. | |
1589 | * microblaze-tdep.c: Likewise. | |
1590 | * mingw-hdep.c: Likewise. | |
1591 | * mips-linux-nat.c: Likewise. | |
1592 | * mips-linux-tdep.c: Likewise. | |
1593 | * mips-tdep.c: Likewise. | |
1594 | * mips64obsd-tdep.c: Likewise. | |
1595 | * mipsnbsd-tdep.c: Likewise. | |
1596 | * mn10300-linux-tdep.c: Likewise. | |
1597 | * mn10300-tdep.c: Likewise. | |
1598 | * moxie-tdep.c: Likewise. | |
1599 | * mt-tdep.c: Likewise. | |
1600 | * nat/linux-btrace.c: Likewise. | |
1601 | * nat/linux-osdata.c: Likewise. | |
1602 | * nat/linux-ptrace.c: Likewise. | |
1603 | * nat/mips-linux-watch.c: Likewise. | |
1604 | * nios2-linux-tdep.c: Likewise. | |
1605 | * nios2-tdep.c: Likewise. | |
1606 | * objc-lang.c: Likewise. | |
1607 | * objfiles.c: Likewise. | |
1608 | * obsd-nat.c: Likewise. | |
1609 | * opencl-lang.c: Likewise. | |
1610 | * osabi.c: Likewise. | |
1611 | * parse.c: Likewise. | |
1612 | * ppc-linux-nat.c: Likewise. | |
1613 | * ppc-sysv-tdep.c: Likewise. | |
1614 | * ppcfbsd-nat.c: Likewise. | |
1615 | * ppcfbsd-tdep.c: Likewise. | |
1616 | * ppcnbsd-nat.c: Likewise. | |
1617 | * ppcnbsd-tdep.c: Likewise. | |
1618 | * ppcobsd-nat.c: Likewise. | |
1619 | * ppcobsd-tdep.c: Likewise. | |
1620 | * printcmd.c: Likewise. | |
1621 | * procfs.c: Likewise. | |
1622 | * prologue-value.c: Likewise. | |
1623 | * psymtab.c: Likewise. | |
1624 | * python/py-lazy-string.c: Likewise. | |
1625 | * python/py-value.c: Likewise. | |
1626 | * regcache.c: Likewise. | |
1627 | * reggroups.c: Likewise. | |
1628 | * registry.c: Likewise. | |
1629 | * remote-sim.c: Likewise. | |
1630 | * remote.c: Likewise. | |
1631 | * rs6000-aix-tdep.c: Likewise. | |
1632 | * rs6000-tdep.c: Likewise. | |
1633 | * s390-linux-tdep.c: Likewise. | |
1634 | * score-tdep.c: Likewise. | |
1635 | * ser-base.c: Likewise. | |
1636 | * ser-mingw.c: Likewise. | |
1637 | * sh-tdep.c: Likewise. | |
1638 | * sh64-tdep.c: Likewise. | |
1639 | * solib-darwin.c: Likewise. | |
1640 | * solib-spu.c: Likewise. | |
1641 | * solib-svr4.c: Likewise. | |
1642 | * source.c: Likewise. | |
1643 | * sparc-nat.c: Likewise. | |
1644 | * sparc-sol2-tdep.c: Likewise. | |
1645 | * sparc-tdep.c: Likewise. | |
1646 | * sparc64-sol2-tdep.c: Likewise. | |
1647 | * sparc64-tdep.c: Likewise. | |
1648 | * sparc64fbsd-tdep.c: Likewise. | |
1649 | * sparc64nbsd-tdep.c: Likewise. | |
1650 | * sparc64obsd-tdep.c: Likewise. | |
1651 | * sparcnbsd-tdep.c: Likewise. | |
1652 | * sparcobsd-tdep.c: Likewise. | |
1653 | * spu-multiarch.c: Likewise. | |
1654 | * spu-tdep.c: Likewise. | |
1655 | * stabsread.c: Likewise. | |
1656 | * stack.c: Likewise. | |
1657 | * symfile.c: Likewise. | |
1658 | * symtab.c: Likewise. | |
1659 | * target-descriptions.c: Likewise. | |
1660 | * target-memory.c: Likewise. | |
1661 | * target.c: Likewise. | |
1662 | * tic6x-linux-tdep.c: Likewise. | |
1663 | * tic6x-tdep.c: Likewise. | |
1664 | * tilegx-linux-nat.c: Likewise. | |
1665 | * tilegx-tdep.c: Likewise. | |
1666 | * top.c: Likewise. | |
1667 | * tramp-frame.c: Likewise. | |
1668 | * tui/tui-out.c: Likewise. | |
1669 | * tui/tui-winsource.c: Likewise. | |
1670 | * ui-out.c: Likewise. | |
1671 | * user-regs.c: Likewise. | |
1672 | * utils.c: Likewise. | |
1673 | * v850-tdep.c: Likewise. | |
1674 | * valops.c: Likewise. | |
1675 | * value.c: Likewise. | |
1676 | * varobj.c: Likewise. | |
1677 | * vax-nat.c: Likewise. | |
1678 | * xml-syscall.c: Likewise. | |
1679 | * xml-tdesc.c: Likewise. | |
1680 | * xstormy16-tdep.c: Likewise. | |
1681 | * xtensa-linux-nat.c: Likewise. | |
1682 | * xtensa-tdep.c: Likewise. | |
1683 | ||
e76df0d0 GB |
1684 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1685 | ||
1686 | * common/common-defs.h: Include common-utils.h. | |
1687 | * defs.h: Do not include common-utils.h. | |
1688 | * common/gdb_assert.h: Likewise. | |
1689 | * darwin-nat.h: Likewise. | |
1690 | * nat/linux-btrace.c: Likewise. | |
1691 | * target/waitstatus.h: Likewise. | |
1692 | ||
4cb9c816 GB |
1693 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1694 | ||
1695 | * common/common-defs.h: Include ptid.h. | |
1696 | * defs.h: Do not include ptid.h. | |
1697 | * inferior.h: Likewise. | |
1698 | * infrun.h: Likewise. | |
1699 | * nat/linux-btrace.h: Likewise. | |
1700 | * nat/linux-osdata.h: Likewise. | |
1701 | * target/waitstatus.h: Likewise. | |
1702 | ||
3995eeee GB |
1703 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1704 | ||
1705 | * common/common-defs.h: Include gdb_locale.h. | |
1706 | * defs.h: Do not include gdb_locale.h. | |
1707 | ||
cb9f1a9b GB |
1708 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1709 | ||
1710 | * common/common-defs.h: Include gdb/signals.h. | |
1711 | * defs.h: Do not include gdb/signals.h. | |
1712 | ||
a5fceff8 GB |
1713 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1714 | ||
1715 | * common/common-defs.h: Include pathmax.h. | |
1716 | * defs.h: Do not include pathmax.h. | |
1717 | ||
b9391142 GB |
1718 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1719 | ||
1720 | * common/common-defs.h: Include libiberty.h. | |
1721 | * defs.h: Do not include libiberty.h. | |
1722 | * common/queue.h: Likewise. | |
1723 | * cp-name-parser.y: Likewise. | |
1724 | * mi/mi-cmd-catch.c: Likewise. | |
1725 | * python/python.c: Likewise. | |
1726 | ||
0e443c87 GB |
1727 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1728 | ||
1729 | * common/common-defs.h: Include ansidecl.h. | |
1730 | * defs.h: Do not include ansidecl.h. | |
1731 | * common/buffer.h: Likewise. | |
1732 | * common/common-utils.h: Likewise. | |
1733 | ||
8ebb3f56 GB |
1734 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1735 | ||
1736 | * common/common-defs.h: Include stddef.h. | |
1737 | * defs.h: Do not include stddef.h. | |
1738 | * common/common-utils.h: Likewise. | |
1739 | * amd64fbsd-nat.c: Likewise. | |
1740 | * bcache.c: Likewise. | |
1741 | * charset.c: Likewise. | |
1742 | * common/buffer.h: Likewise. | |
1743 | * common/vec.h: Likewise. | |
1744 | * i386bsd-nat.c: Likewise. | |
1745 | * nat/linux-btrace.h: Likewise. | |
1746 | * ppcfbsd-nat.c: Likewise. | |
1747 | * ppcnbsd-tdep.h: Likewise. | |
1748 | * ppcobsd-nat.c: Likewise. | |
1749 | * ppcobsd-tdep.h: Likewise. | |
1750 | * python/py-gdb-readline.c: Likewise. | |
1751 | ||
8980bdf6 GB |
1752 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1753 | ||
1754 | * common/common-defs.h: Include stdarg.h. | |
1755 | * defs.h: Do not include stdarg.h. | |
1756 | * ada-lang.c: Likewise. | |
1757 | * common/common-utils.h: Likewise. | |
1758 | * guile/scm-string.c: Likewise. | |
1759 | * guile/scm-utils.c: Likewise. | |
1760 | * m32c-tdep.c: Likewise. | |
1761 | ||
d7096f71 GB |
1762 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1763 | ||
1764 | * common/common-defs.h: Include stdlib.h. | |
1765 | * defs.h: Do not include stdlib.h. | |
1766 | * addrmap.c: Likewise. | |
1767 | * bcache.c: Likewise. | |
1768 | * common/buffer.c: Likewise. | |
1769 | * common/common-utils.c: Likewise. | |
1770 | * cp-name-parser.y: Likewise. | |
1771 | * go32-nat.c: Likewise. | |
1772 | * mn10300-linux-tdep.c: Likewise. | |
1773 | * nat/linux-osdata.c: Likewise. | |
1774 | * tui/tui.c: Likewise. | |
1775 | * windows-nat.c: Likewise. | |
1776 | ||
d02f550d GB |
1777 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
1778 | ||
1779 | * common/common-defs.h: Include stdio.h. | |
1780 | * defs.h: Do not include stdio.h. | |
1781 | * ada-lang.c: Likewise. | |
1782 | * common/buffer.c: Likewise. | |
1783 | * common/common-utils.c: Likewise. | |
1784 | * cp-name-parser.y: Likewise. | |
1785 | * gnu-nat.c: Likewise. | |
1786 | * go32-nat.c: Likewise. | |
1787 | * i386gnu-nat.c: Likewise. | |
1788 | * proc-api.c: Likewise. | |
1789 | * proc-events.c: Likewise. | |
1790 | * proc-flags.c: Likewise. | |
1791 | * proc-why.c: Likewise. | |
1792 | * python/python-internal.h: Likewise. | |
1793 | * target-memory.c: Likewise. | |
1794 | * tui/tui-io.c: Likewise. | |
1795 | * tui/tui.c: Likewise. | |
1796 | ||
b6d7a4bf SM |
1797 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
1798 | ||
1799 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
1800 | (scan_dyntag_auxv): Same. | |
1801 | ||
af19829b YQ |
1802 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
1803 | ||
1804 | * amd64-linux-nat.c: Remove duplicated include | |
1805 | "x86-linux-nat.h". | |
1806 | * i386-linux-nat.c: Likewise. | |
1807 | ||
8e07a239 YQ |
1808 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
1809 | ||
1810 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
1811 | operand" with "Special opcode" in comments. | |
1812 | ||
7bfe8241 GB |
1813 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
1814 | ||
1815 | * interps.c (initialize_interps): Remove prototype. | |
1816 | (interpreter_initialized): Remove static global. | |
1817 | (interp_add): Do not call initialize_interps. | |
1818 | (initialize_interps): Remove function. | |
1819 | ||
d6c95504 GB |
1820 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
1821 | ||
1822 | * utils.c (vwarning): Remove spurious va_end. | |
1823 | ||
241fd515 AM |
1824 | 2014-08-05 Alan Modra <amodra@gmail.com> |
1825 | ||
1826 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
1827 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
1828 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
1829 | (read_unwind_info): Use size_t for some locals. | |
1830 | * jit.c (finalize_symtab): Likewise. | |
1831 | * utils.c (hashtab_obstack_allocate): Likewise. | |
1832 | * symmisc.c (print_objfile_statistics): Update format strings. | |
1833 | ||
dc304a94 JK |
1834 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
1835 | ||
1836 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
1837 | (Changes in GDB 7.8): ... here. | |
1838 | ||
3cecbbbe TT |
1839 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
1840 | ||
1841 | * target.c (set_targetdebug): New function. | |
1842 | (initialize_targets): Pass set_targetdebug when creating "set | |
1843 | debug target". | |
1844 | ||
6908c509 JB |
1845 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1846 | ||
1847 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
1848 | if detecting a variable-sized field that is not the last field. | |
1849 | Fix struct type length computation. | |
1850 | ||
53e8f97d JB |
1851 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1852 | ||
1853 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
1854 | Add debug trace. | |
1855 | ||
e068c55d JB |
1856 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
1857 | ||
1858 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
1859 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
1860 | ||
4d4ca2a1 DE |
1861 | 2014-07-31 Doug Evans <dje@google.com> |
1862 | ||
1863 | * inflow.c (child_terminal_inferior): Add comment. | |
1864 | (child_terminal_ours_for_output): Add comment. | |
1865 | (child_terminal_ours): Add comment. | |
1866 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
1867 | (linux_nat_terminal_ours): Add comment. | |
1868 | ||
462f517e GB |
1869 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
1870 | ||
1871 | * common/btrace-common.h: Do not include defs.h or server.h. | |
1872 | * nat/mips-linux-watch.h: Likewise. | |
1873 | * gdb-dlfcn.h: Do not include defs.h. | |
1874 | * tracefile.h: Likewise. | |
1875 | ||
74228e77 RM |
1876 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
1877 | ||
1878 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
1879 | ||
014f9477 TT |
1880 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1881 | ||
1882 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
1883 | * corelow.c (core_open): Constify. | |
1884 | * ctf.c (ctf_open): Constify. | |
1885 | * dbug-rom.c (dbug_open): Constify. | |
1886 | * exec.c (exec_open): Constify. | |
1887 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
1888 | * microblaze-rom.c (picobug_open): Constify. | |
1889 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
1890 | Constify. | |
1891 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
1892 | * record-btrace.c (record_btrace_open): Constify. | |
1893 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
1894 | (record_full_open): Constify. | |
1895 | * remote-m32r-sdi.c (m32r_open): Constify. | |
1896 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
1897 | (rockhopper_open, lsi_open): Constify. | |
1898 | * remote-sim.c (gdbsim_open): Constify. | |
1899 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
1900 | Constify. | |
1901 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
1902 | * tracefile-tfile.c (tfile_open): Constify. | |
1903 | ||
e799154c TT |
1904 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1905 | ||
1906 | * breakpoint.c (map_breakpoint_numbers): Update. | |
1907 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
1908 | (get_number_const): New function. | |
1909 | (get_number): Rewrite using get_number_const. | |
1910 | (init_number_or_range): Make "string" const. | |
1911 | (number_is_in_list): Make "list" const. | |
1912 | * cli/cli-utils.h (get_number_const): Declare. | |
1913 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
1914 | (init_number_or_range, number_is_in_list): Update. | |
1915 | * printcmd.c (map_display_numbers): Update. | |
1916 | * value.c (value_from_history_ref): Constify. | |
1917 | * value.h (value_from_history_ref): Update. | |
1918 | ||
5f08566b TT |
1919 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1920 | ||
1921 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
1922 | (specify_exec_file_hook): Constify. | |
1923 | * exec.c (exec_file_attach): Make "filename" const. | |
1924 | * gdbcore.h (deprecated_exec_file_display_hook) | |
1925 | (specify_exec_file_hook, exec_file_attach): Constify. | |
1926 | * main.c (captured_main): Use catch_command_errors_const. | |
1927 | ||
8981c758 TT |
1928 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
1929 | ||
1930 | * target.c (open_target): New function. | |
1931 | (add_target_with_completer, add_deprecated_target_alias): Use | |
1932 | set_cmd_sfunc, set_cmd_context. | |
1933 | (debug_to_open): Remove. | |
1934 | (setup_target_debug): Update. | |
1935 | ||
a1c7835a YQ |
1936 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
1937 | ||
1938 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
1939 | comments. | |
1940 | * parse.c (exp_iterate): Update comments. | |
1941 | ||
976411d6 GB |
1942 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1943 | ||
1944 | * common/common-defs.h: New file. | |
1945 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
1946 | * defs.h: Include common-defs.h. | |
1947 | Do not include config.h or build-gnulib/config.h. | |
1948 | ||
5d4848a4 GB |
1949 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1950 | ||
1951 | * common/common-utils.h: Do not include config.h. | |
1952 | * nat/linux-btrace.h: Likewise. | |
1953 | ||
d41f6d8e GB |
1954 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
1955 | ||
1956 | * btrace.c: Include defs.h. | |
1957 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
1958 | * nat/mips-linux-watch.c: Likewise. | |
1959 | ||
84202f9c TT |
1960 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
1961 | ||
1962 | * target.c (target_is_pushed): Simplify. | |
1963 | ||
2530441c JB |
1964 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
1965 | ||
1966 | GDB 7.8 released. | |
1967 | ||
7e09a223 YQ |
1968 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
1969 | ||
1970 | PR gdb/17206 | |
1971 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
1972 | ||
7ebdbe92 DE |
1973 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
1974 | ||
1975 | PR guile/17203 | |
1976 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
1977 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
1978 | parameters. | |
1979 | ||
f347ffc9 WN |
1980 | 2014-07-28 Will Newton <will.newton@linaro.org> |
1981 | ||
1982 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
1983 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
1984 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
1985 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
1986 | (THUMB2_EABI_SYSCALL): Likewise. | |
1987 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
1988 | struct tramp_frame. | |
1989 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
1990 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
1991 | ||
37c5f1f7 DE |
1992 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
1993 | ||
1994 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
1995 | ||
0c3abbc7 DE |
1996 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
1997 | ||
1998 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
1999 | ||
e76c5d17 DE |
2000 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
2001 | Doug Evans <xdje42@gmail.com> | |
2002 | ||
2003 | PR guile/17146 | |
2004 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
2005 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
2006 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
2007 | then disable guile support. | |
2008 | * configure: Regenerate. | |
2009 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
2010 | GUILE_FILE_LIST. | |
2011 | (GUILE_COMPILED_FILES): New variable. | |
2012 | (GUILE_FILES) Update. | |
2013 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
2014 | (stamp-guile): Compile scm files. | |
2015 | * guile/guile.c (boot_guile_support): New function. | |
2016 | (standard_throw_args_p): New function. | |
2017 | (print_standard_throw_error, print_throw_error): New functions. | |
2018 | (handle_boot_error): New function. | |
2019 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
2020 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
2021 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
2022 | ||
186fcde0 DE |
2023 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
2024 | Doug Evans <xdje42@gmail.com> | |
2025 | ||
2026 | PR guile/17146 | |
2027 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
2028 | * guile/lib/gdb/support.scm: New file. | |
2029 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
2030 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
2031 | All uses updated. | |
2032 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
2033 | All uses updated. | |
2034 | (%assert-type): Ditto, and renamed to assert-type. | |
2035 | (%exception-print-style): Delete. | |
2036 | ||
4df42755 DE |
2037 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
2038 | ||
2039 | PR build/17105 | |
2040 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
2041 | * configure: Regenerate. | |
2042 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
2043 | PYTHON_FILES. | |
2044 | (PYTHON_FILES): New variable. | |
2045 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
2046 | (GUILE_FILES): New variable. | |
2047 | (stamp-python, install-python, uninstall-python): Handle empty | |
2048 | file list. | |
2049 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
2050 | ||
ee7333ae DE |
2051 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
2052 | ||
2053 | PR guile/17177 | |
2054 | * guile/lib/gdb.scm (pretty-printers): Export. | |
2055 | (set-pretty-printers!): Export. | |
2056 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
2057 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
2058 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
2059 | (pretty_printer_list_var): Delete. | |
2060 | (pretty_printer_list): New static global. | |
2061 | (gdbscm_pretty_printers): New function. | |
2062 | (gdbscm_set_pretty_printers_x): New function. | |
2063 | (ppscm_find_pretty_printer_from_gdb): Update. | |
2064 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
2065 | (gdbscm_initialize_pretty_printers): Update. | |
2066 | ||
74edf516 DE |
2067 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
2068 | ||
2069 | PR 17185 | |
2070 | * configure.ac: Add check for header gc/gc.h. | |
2071 | Add check for function setenv. | |
2072 | * configure: Regenerate. | |
2073 | * config.in: Regenerate. | |
2074 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
2075 | ||
d54398a7 MR |
2076 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
2077 | ||
2078 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
2079 | variation in gdbarch matching. | |
2080 | ||
ab16fce8 TT |
2081 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
2082 | ||
2083 | * exec.c (using_exec_ops): Remove. | |
2084 | (exec_close_1): Update. Remove extraneous block, reindent. | |
2085 | (add_target_sections): Use target_is_pushed. | |
2086 | ||
88056fbb PA |
2087 | 2014-07-25 Pedro Alves <palves@redhat.com> |
2088 | ||
2089 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
2090 | * monitor.c (monitor_create_inferior): Likewise. | |
2091 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
2092 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
2093 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
2094 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
2095 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
2096 | ||
70509625 PA |
2097 | 2014-07-25 Pedro Alves <palves@redhat.com> |
2098 | ||
2099 | * NEWS: Mention signal passing and "signal" command changes. | |
2100 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
2101 | comment. | |
2102 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
2103 | call. | |
2104 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
2105 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
2106 | (jump_command): Adjust clear_proceed_status call. | |
2107 | (signal_command): Warn if other thread that are resumed have | |
2108 | signals that will be delivered. Adjust clear_proceed_status call. | |
2109 | (until_next_command, finish_command) | |
2110 | (proceed_after_attach_callback, attach_command_post_wait) | |
2111 | (attach_command): Adjust clear_proceed_status call. | |
2112 | * infrun.c (proceed_after_vfork_done): Likewise. | |
2113 | (proceed_after_attach_callback): Adjust comment. | |
2114 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
2115 | state. | |
2116 | (clear_proceed_status_callback): Delete. | |
2117 | (clear_proceed_status): New 'step' parameter. Only clear the | |
2118 | proceed status of threads the command being prepared is about to | |
2119 | resume. | |
2120 | (proceed): If passed in an explicit signal, override stop_signal | |
2121 | with it. Don't pass the last stop signal to the thread we're | |
2122 | resuming. | |
2123 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
2124 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
2125 | be passed. | |
2126 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
2127 | (user_visible_resume_ptid): Add comment. | |
2128 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
2129 | signal is in pass state. | |
2130 | * remote.c (append_pending_thread_resumptions): Likewise. | |
2131 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
2132 | ||
d8be2939 TT |
2133 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
2134 | ||
2135 | * target.h (target_stopped_data_address) | |
2136 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
2137 | parentheses. | |
2138 | ||
7d0d9d2b PL |
2139 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
2140 | ||
2141 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
2142 | comments. | |
2143 | (avr_pointer_to_address): Likewise. | |
2144 | ||
e9e7f724 TT |
2145 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2146 | ||
2147 | * monitor.c (compile_pattern): Update. | |
2148 | * target.h (struct target_ops) <to_shortname, to_longname, | |
2149 | to_doc>: Now const. | |
2150 | ||
1947513d TT |
2151 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2152 | ||
2153 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
2154 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
2155 | (add_info_alias, add_com): Make "doc" const. | |
2156 | (print_doc_line): Make "str" const. | |
2157 | (delete_cmd): Update. | |
2158 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
2159 | (print_doc_line): Update. | |
2160 | * cli/cli-script.c (document_command): Update. | |
2161 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
2162 | (add_com, add_info, add_info_alias): Update. | |
2163 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
2164 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
2165 | ||
64e61d29 TT |
2166 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2167 | ||
2168 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
2169 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
2170 | (help_cmd_list): Constify. | |
2171 | (lookup_cmd): Update. | |
2172 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
2173 | const. | |
2174 | (help_cmd_list, apropos_cmd): Update. | |
2175 | * cli/cli-script.c (show_user): Update. | |
2176 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
2177 | * cli/cli-setshow.h (cmd_show_list): Update. | |
2178 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
2179 | (cmd_show_list): Update. | |
2180 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
2181 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
2182 | ||
429e55ea TT |
2183 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2184 | ||
2185 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
2186 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
2187 | const. | |
2188 | * command.h (deprecate_cmd): Update. | |
2189 | * maint.c (maintenance_do_deprecate): Add casts. | |
2190 | ||
64669f3b TT |
2191 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2192 | ||
2193 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
2194 | * cli/cli-decode.h (help_cmd): Update. | |
2195 | ||
d3d3328b TT |
2196 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2197 | ||
2198 | * stack.c (up_silently_base, down_silently_base): Make argument | |
2199 | const. | |
2200 | ||
414842dc TT |
2201 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2202 | ||
2203 | * solib.c (solib_add): Make "pattern" const. | |
2204 | * solib.h (solib_add): Update. | |
2205 | ||
baa336ce TT |
2206 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2207 | ||
2208 | * remote.c (remote_serial_open, print_packet, putpkt) | |
2209 | (putpkt_binary): Constify. | |
2210 | * remote.h (putpkt): Update. | |
2211 | ||
5a19e2d0 TT |
2212 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2213 | ||
2214 | * monitor.c (monitor_open): Make "args" const. | |
2215 | * monitor.h (monitor_open): Update. | |
2216 | ||
fc4baa5e TT |
2217 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2218 | ||
2219 | * maint.c (match_bfd_flags): Make "string" const. | |
2220 | (print_bfd_section_info): Remove casts. | |
2221 | (print_objfile_section_info): Make "string" const. | |
2222 | ||
0d5f0dbe TT |
2223 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2224 | ||
2225 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
2226 | * inf-child.h (inf_child_open_target): Update. | |
2227 | ||
41c77899 TT |
2228 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2229 | ||
2230 | * environ.c (unset_in_environ): Make "var" const. | |
2231 | * environ.h (unset_in_environ): Update. | |
2232 | ||
93db0d79 TT |
2233 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2234 | ||
2235 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
2236 | Make "cmd" const. | |
2237 | (scan_filename_with_cleanup): Likewise. | |
2238 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
2239 | Make arguments const. | |
2240 | (restore_command): Update. | |
2241 | ||
36d6eb95 PA |
2242 | 2014-07-24 Pedro Alves <palves@redhat.com> |
2243 | ||
2244 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
2245 | ||
8009206a TT |
2246 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2247 | Gary Benson <gbenson@redhat.com> | |
2248 | ||
2249 | * nat/linux-ptrace.c (additional_flags): New global. | |
2250 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
2251 | additional_flags; don't check GDBSERVER. | |
2252 | (linux_ptrace_set_additional_flags): New function. | |
2253 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
2254 | Declare. | |
2255 | * linux-nat.c (_initialize_linux_nat): Call | |
2256 | linux_ptrace_set_additional_flags. | |
2257 | ||
a7068b60 TT |
2258 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
2259 | ||
2260 | * make-target-delegates (munge_type, write_debugmethod): New | |
2261 | functions. | |
2262 | (debug_names): New global. | |
2263 | ($TARGET_DEBUG_PRINTER): New global. | |
2264 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
2265 | name. | |
2266 | Write debug methods. Generate init_debug_target. | |
2267 | * target-debug.h: New file. | |
2268 | * target-delegates.c: Rebuild. | |
2269 | * target.c: Include target-debug.h. | |
2270 | (debug_target): Hoist definition. | |
2271 | (target_kill, target_get_section_table, target_memory_map) | |
2272 | (target_flash_erase, target_flash_done, target_detach) | |
2273 | (target_disconnect, target_wait, target_resume) | |
2274 | (target_pass_signals, target_program_signals, target_follow_fork) | |
2275 | (target_mourn_inferior, target_search_memory) | |
2276 | (target_thread_address_space, target_close) | |
2277 | (target_find_new_threads, target_core_of_thread) | |
2278 | (target_verify_memory, target_insert_mask_watchpoint) | |
2279 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
2280 | (debug_to_post_attach, debug_to_prepare_to_store) | |
2281 | (debug_to_files_info, debug_to_insert_breakpoint) | |
2282 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
2283 | (debug_to_region_ok_for_hw_watchpoint) | |
2284 | (debug_to_can_accel_watchpoint_condition) | |
2285 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
2286 | (debug_to_watchpoint_addr_within_range) | |
2287 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
2288 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
2289 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
2290 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
2291 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
2292 | (debug_to_load, debug_to_post_startup_inferior) | |
2293 | (debug_to_insert_fork_catchpoint) | |
2294 | (debug_to_remove_fork_catchpoint) | |
2295 | (debug_to_insert_vfork_catchpoint) | |
2296 | (debug_to_remove_vfork_catchpoint) | |
2297 | (debug_to_insert_exec_catchpoint) | |
2298 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
2299 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
2300 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
2301 | (setup_target_debug): Call init_debug_target. | |
2302 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
2303 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
2304 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
2305 | ||
2c51604d GB |
2306 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
2307 | ||
2308 | * exceptions.h (throw_vfatal): Renamed to... | |
2309 | (throw_vquit): New declaration. | |
2310 | (throw_quit): Likewise. | |
2311 | * exceptions.c (throw_vfatal): Renamed to... | |
2312 | (throw_vquit): New function. | |
2313 | (throw_quit): Likewise. | |
2314 | (throw_error): Call throw_verror rather than throw_it. | |
2315 | * utils.h (vfatal): Removed. | |
2316 | (fatal): Likewise. | |
2317 | * utils.c (vfatal): Removed. | |
2318 | (fatal): Likewise. | |
2319 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
2320 | (quit): Replaced calls to fatal with calls to throw_quit. | |
2321 | ||
34211963 ME |
2322 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
2323 | ||
2324 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
2325 | target_read_code. | |
2326 | ||
a52b4d3e ME |
2327 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
2328 | ||
2329 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
2330 | less than zero in conditional expression. | |
2331 | ||
a8bdc56b TT |
2332 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
2333 | ||
2334 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
2335 | ($INTRO_PART): Don't match whitespace. | |
2336 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
2337 | argument matching. | |
2338 | ($METHOD): Add $METHOD_TRAILER. | |
2339 | (trim): Rewrite. | |
2340 | (scan_target_h): New sub. | |
2341 | Change main loop not to collect state. | |
2342 | * target-delegates.c: Rebuild. | |
2343 | ||
91b52240 GB |
2344 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
2345 | ||
2346 | * cp-support.c (gdb_demangle): Fix build on systems without | |
2347 | sigaltstack. | |
2348 | ||
45326f6f JK |
2349 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2350 | ||
2351 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
2352 | for reference entry value target data value. | |
2353 | ||
e214cf6c JK |
2354 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2355 | ||
2356 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
2357 | value_available_contents_eq. | |
2358 | ||
bddbbedd PA |
2359 | 2014-07-22 Pedro Alves <palves@redhat.com> |
2360 | ||
2361 | * value.c (allocate_optimized_out_value): Don't mark value as | |
2362 | non-lazy. | |
2363 | ||
45c71484 JW |
2364 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
2365 | ||
2366 | * MAINTAINERS (Write After Approval): Update my email address. | |
2367 | ||
9597b22a DE |
2368 | 2014-07-20 Doug Evans <dje@google.com> |
2369 | ||
2370 | PR server/17147 | |
2371 | * remote.c (putpkt_binary): Add text to error message. | |
2372 | ||
91101fe5 YQ |
2373 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
2374 | ||
2375 | * eval.c: Remove "Chill" from comments. | |
2376 | * gdbtypes.h: Likewise. | |
2377 | * symtab.h: Likewise. | |
2378 | ||
c9402c95 YQ |
2379 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
2380 | ||
2381 | * std-operator.def: Update comments to TERNOP_SLICE. | |
2382 | ||
ae8fddda YQ |
2383 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
2384 | ||
2385 | * std-operator.def: Remove BINOP_RANGE. | |
2386 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
2387 | * expprint.c (dump_subexp_body_standard): Likewise. | |
2388 | * eval.c (init_array_element): Remove dead code. | |
2389 | (evaluate_subexp_standard): Likewise. | |
2390 | ||
9c816640 YQ |
2391 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
2392 | ||
2393 | * std-operator.def: Remove BINOP_IN. | |
2394 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
2395 | * eval.c (evaluate_subexp_standard): Likewise. | |
2396 | * expprint.c (dump_subexp_body_standard): Likewise. | |
2397 | ||
164224e9 ME |
2398 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
2399 | ||
2400 | * microblaze-tdep.c (microblaze_register_names): Add | |
2401 | the rshr and rslr register names. | |
2402 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
2403 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
2404 | Use of tdesc_numbered_register. Use of | |
2405 | microblaze_register_g_packet_guesses. Use of | |
2406 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
2407 | (microblaze_register_g_packet_guesses): New. | |
2408 | * microblaze-tdep.h (microblaze_reg_num): Add | |
2409 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
2410 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
2411 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
2412 | * features/microblaze-core.xml: New file. | |
2413 | * features/microblaze-stack-protect.xml: New file. | |
2414 | * features/microblaze-with-stack-protect.c: New file. | |
2415 | * features/microblaze-with-stack-protect.xml: New file. | |
2416 | * features/microblaze.xml: New file. | |
2417 | * features/microblaze.c: New file. | |
2418 | * features/Makefile (microblaze-with-stack-protect): Add | |
2419 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
2420 | * regformats/microblaze-with-stack-protect.dat: New file. | |
2421 | * regformats/microblaze.dat: New file. | |
2422 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
2423 | ||
e8b2341c TT |
2424 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
2425 | ||
2426 | * exec.c (exec_ops): Now static. | |
2427 | * exec.h (exec_ops): Don't declare. | |
2428 | ||
44e89118 TT |
2429 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
2430 | ||
2431 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
2432 | to find_target_beneath. | |
2433 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
2434 | find_target_beneath. | |
2435 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
2436 | ||
b0ed115f TT |
2437 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
2438 | ||
2439 | PR gdb/17130: | |
2440 | * utils.c (quit): Use target_supports_terminal_ours. | |
2441 | * target.h (target_supports_terminal_ours): Declare. | |
2442 | * target.c (target_supports_delete_record): Don't check | |
2443 | to_delete_record against NULL. | |
2444 | (target_supports_terminal_ours): New function. | |
2445 | ||
e75fdfca TT |
2446 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
2447 | ||
2448 | PR gdb/17130: | |
2449 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
2450 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
2451 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
2452 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
2453 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
2454 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
2455 | delegation. | |
2456 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
2457 | (record_btrace_prepare_to_store, record_btrace_resume) | |
2458 | (record_btrace_wait, record_btrace_find_new_threads) | |
2459 | (record_btrace_thread_alive): Likewise. | |
2460 | * procfs.c (procfs_xfer_partial): Always delegate. | |
2461 | * corelow.c (core_xfer_partial): Always delegate. | |
2462 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
2463 | ||
83814951 TT |
2464 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
2465 | ||
2466 | * exec.c (exec_make_note_section): Move earlier. | |
2467 | ||
b8b8facf DE |
2468 | 2014-07-17 Doug Evans <dje@google.com> |
2469 | ||
74b49205 | 2470 | PR gdb/17170 |
b8b8facf DE |
2471 | * maint.c (count_symtabs_and_blocks): Handle NULL |
2472 | current_program_space. | |
2473 | (report_command_stats): Check global enabled flag in addition to | |
2474 | recorded enabled flag. | |
2475 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
2476 | ||
69ff6be5 PA |
2477 | 2014-07-16 Pedro Alves <palves@redhat.com> |
2478 | ||
2479 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
2480 | ||
252db1b5 TT |
2481 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
2482 | ||
2483 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
2484 | comment. | |
2485 | ||
a432721e TT |
2486 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
2487 | ||
2488 | * target-delegates.c: Rebuild. | |
2489 | ||
487d9753 PL |
2490 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
2491 | ||
2492 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
2493 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
2494 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
2495 | (avr_pointer_to_address): Likewise. | |
2496 | (avr_address_class_type_flags): New function. | |
2497 | (avr_address_class_type_flags_to_name): Likewise. | |
2498 | (avr_address_class_name_to_type_flags): Likewise. | |
2499 | (avr_gdbarch_init): Set address_class_type_flags, | |
2500 | address_class_type_flags_to_name and | |
2501 | address_class_name_to_type_flags. | |
2502 | ||
57745c90 PA |
2503 | 2014-07-15 Pedro Alves <palves@redhat.com> |
2504 | ||
2505 | * linux-nat.c (kill_callback): Save errno and work with saved | |
2506 | copy. | |
2507 | ||
2d40be18 SM |
2508 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
2509 | ||
2510 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
2511 | ||
572f6555 EBM |
2512 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
2513 | ||
2514 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
2515 | breakpoint support correctly. | |
2516 | ||
cc1c52ad PA |
2517 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2518 | ||
2519 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
2520 | ||
1e973570 PA |
2521 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2522 | ||
2523 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
2524 | catch_errors. Don't re-enable stdin or notify observers where, | |
2525 | and rethrow error. | |
2526 | (fetch_inferior_event_wrapper): Delete. | |
2527 | ||
93d6eb10 PA |
2528 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2529 | ||
2530 | PR gdb/17072 | |
2531 | * top.c: Include "inf-loop.h". | |
2532 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
2533 | field. | |
2534 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
2535 | was async before. | |
2536 | (gdb_readline_wrapper): Store whether the target is async, and | |
2537 | make it sync. | |
2538 | ||
0017922d PA |
2539 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2540 | ||
2541 | PR gdb/17072 | |
2542 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
2543 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
2544 | the input handler callback. | |
2545 | ||
94696ad3 PA |
2546 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2547 | ||
2548 | PR gdb/17072 | |
2549 | * main.c: Include event-top.h. | |
2550 | (handle_command_errors): New function. | |
2551 | (catch_command_errors, catch_command_errors_const): Use it. | |
2552 | ||
9d1e69a2 PA |
2553 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2554 | ||
2555 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
2556 | Moved to main.c. | |
2557 | * exceptions.h (catch_command_errors_ftype) | |
2558 | (catch_command_errors_const_ftype): Moved to main.c. | |
2559 | (catch_command_errors, catch_command_errors_const): Delete | |
2560 | declarations. | |
2561 | * main.c (catch_command_errors_ftype) | |
2562 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
2563 | (catch_command_errors, catch_command_errors_const)): Moved here | |
2564 | from exceptions.c and make static. | |
2565 | ||
feefc97b PA |
2566 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2567 | ||
2568 | * exceptions.c (print_any_exception): Delete. | |
2569 | (catch_exceptions_with_msg): Use exception_print instead of | |
2570 | print_any_exception. | |
2571 | (catch_errors): Use exception_fprintf instead of | |
2572 | print_any_exception. | |
2573 | (catch_command_errors, catch_command_errors_const): Use | |
2574 | exception_print instead of print_any_exception. | |
2575 | ||
c933f875 PA |
2576 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2577 | ||
2578 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
2579 | running the inferior call. | |
2580 | ||
feb6f816 PA |
2581 | 2014-07-14 Pedro Alves <palves@redhat.com> |
2582 | ||
2583 | * value.c (value_contents_equal): Delete function. | |
2584 | * value.h (value_contents_equal): Delete declaration. | |
2585 | ||
d98b7a16 TT |
2586 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
2587 | ||
2588 | PR exp/17106: | |
2589 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
2590 | is_dynamic_type. | |
2591 | (is_dynamic_type): Rewrite. | |
2592 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
2593 | (resolve_dynamic_struct): Likewise. | |
2594 | (resolve_dynamic_type_internal): New function, from | |
2595 | resolve_dynamic_type. | |
2596 | (resolve_dynamic_type): Rewrite. | |
2597 | ||
548740d6 TT |
2598 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
2599 | ||
2600 | * target.c (target_require_runnable): Also check record_stratum. | |
2601 | Update comment. | |
2602 | ||
808f7ab1 YQ |
2603 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
2604 | ||
2605 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
2606 | thumb_instruction_restores_sp return true. | |
2607 | ||
540314bd YQ |
2608 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
2609 | ||
2610 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
2611 | (thumb_in_function_epilogue_p): Call | |
2612 | thumb_instruction_restores_sp. | |
2613 | ||
1db01f22 YQ |
2614 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
2615 | ||
2616 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
2617 | 'add sp, #imm'. | |
2618 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
2619 | ||
3116063b GB |
2620 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2621 | ||
2622 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
2623 | (regset.h): Likewise. | |
2624 | (nat/linux-btrace.h): Likewise. | |
2625 | (btrace.h): Likewise. | |
2626 | (gdb_assert.h): Likewise. | |
2627 | (string.h): Likewise. | |
2628 | (sys/uio.h): Likewise. | |
2629 | (sys/debugreg.h): Likewise. | |
2630 | (sys/syscall.h): Likewise. | |
2631 | (sys/procfs.h): Likewise. | |
2632 | (sys/user.h): Likewise. | |
2633 | (asm/ptrace.h): Likewise. | |
2634 | (i386-nat.h): Likewise. | |
2635 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
2636 | (regset.h): Likewise. | |
2637 | (target.h): Likewise. | |
2638 | (linux-nat.h): Likewise. | |
2639 | (nat/linux-btrace.h): Likewise. | |
2640 | (btrace.h): Likewise. | |
2641 | (gdb_assert.h): Likewise. | |
2642 | (string.h): Likewise. | |
2643 | (sys/uio.h): Likewise. | |
2644 | (sys/user.h): Likewise. | |
2645 | (sys/procfs.h): Likewise. | |
2646 | (sys/reg.h): Likewise. | |
2647 | (sys/debugreg.h): Likewise. | |
2648 | (ORIG_EAX): Remove definition. | |
2649 | ||
040baaf6 GB |
2650 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2651 | ||
2652 | * i386-linux-nat.h: New file. | |
2653 | * x86-linux-nat.h: Likewise. | |
2654 | * x86-linux-nat.c: Likewise. | |
2655 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
2656 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
2657 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
2658 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
2659 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
2660 | (PTRACE_SETREGSET): Likewise. | |
2661 | (arch_lwp_info): Now in x86-linux-nat.c. | |
2662 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
2663 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
2664 | (x86_linux_dr_set): Likewise. | |
2665 | (x86_linux_dr_get_addr): Likewise. | |
2666 | (x86_linux_dr_get_control): Likewise. | |
2667 | (x86_linux_dr_get_status): Likewise. | |
2668 | (update_debug_registers_callback): Likewise. | |
2669 | (x86_linux_dr_set_control): Likewise. | |
2670 | (x86_linux_dr_set_addr): Likewise. | |
2671 | (x86_linux_prepare_to_resume): Likewise. | |
2672 | (x86_linux_new_thread): Likewise. | |
2673 | (x86_linux_new_fork): Likewise. | |
2674 | (x86_linux_get_thread_area): Likewise. | |
2675 | (super_post_startup_inferior): Likewise. | |
2676 | (x86_linux_child_post_startup_inferior): Likewise. | |
2677 | (AMD64_LINUX_USER64_CS): Likewise. | |
2678 | (AMD64_LINUX_X32_DS): Likewise. | |
2679 | (x86_linux_read_description): Likewise. | |
2680 | (x86_linux_enable_btrace): Likewise. | |
2681 | (x86_linux_disable_btrace): Likewise. | |
2682 | (x86_linux_teardown_btrace): Likewise. | |
2683 | (x86_linux_read_btrace): Likewise. | |
2684 | (x86_linux_create_target): Likewise. | |
2685 | (x86_linux_add_target): Likewise. | |
2686 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
2687 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
2688 | (PTRACE_SETREGSET): Likewise. | |
2689 | (arch_lwp_info): Now in x86-linux-nat.c. | |
2690 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
2691 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
2692 | (x86_linux_dr_set): Likewise. | |
2693 | (x86_linux_dr_get_addr): Likewise. | |
2694 | (x86_linux_dr_get_control): Likewise. | |
2695 | (x86_linux_dr_get_status): Likewise. | |
2696 | (update_debug_registers_callback): Likewise. | |
2697 | (x86_linux_dr_set_control): Likewise. | |
2698 | (x86_linux_dr_set_addr): Likewise. | |
2699 | (x86_linux_prepare_to_resume): Likewise. | |
2700 | (x86_linux_new_thread): Likewise. | |
2701 | (x86_linux_new_fork): Likewise. | |
2702 | (x86_linux_get_thread_area): Likewise. | |
2703 | (super_post_startup_inferior): Likewise. | |
2704 | (x86_linux_child_post_startup_inferior): Likewise. | |
2705 | (AMD64_LINUX_USER64_CS): Likewise. | |
2706 | (AMD64_LINUX_X32_DS): Likewise. | |
2707 | (x86_linux_read_description): Likewise. | |
2708 | (x86_linux_enable_btrace): Likewise. | |
2709 | (x86_linux_disable_btrace): Likewise. | |
2710 | (x86_linux_teardown_btrace): Likewise. | |
2711 | (x86_linux_read_btrace): Likewise. | |
2712 | (x86_linux_create_target): Likewise. | |
2713 | (x86_linux_add_target): Likewise. | |
2714 | ||
1aa7e42c GB |
2715 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2716 | ||
2717 | * amd64-linux-nat.c: Comment and whitespace changes. | |
2718 | * i386-linux-nat.c: Comment and whitespace changes. | |
2719 | ||
c1e246a0 GB |
2720 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2721 | ||
2722 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
2723 | (x86_linux_add_target): Likewise. | |
2724 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
2725 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
2726 | (x86_linux_add_target): Likewise. | |
2727 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
2728 | ||
8c420b8d GB |
2729 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2730 | ||
2731 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
2732 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
2733 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
2734 | (ps_get_thread_area): Delegate to the above. | |
2735 | ||
cb1da100 GB |
2736 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2737 | ||
2738 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
2739 | x86_linux_read_description. All uses updated. amd64-specific | |
2740 | code conditionalized. Conditionalized i386-specific code added. | |
2741 | Redundant cast removed. | |
2742 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
2743 | x86_linux_read_description. All uses updated. i386-specific | |
2744 | code conditionalized. Conditionalized amd64-specific code added. | |
2745 | One sizeof replaced with the actual type it is describing. | |
2746 | ||
2acf3cd0 GB |
2747 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
2748 | ||
2749 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
2750 | x86_linux_dr_get. All uses updated. | |
2751 | (amd64_linux_dr_set): Renamed to | |
2752 | x86_linux_dr_set. All uses updated. | |
2753 | (amd64_linux_dr_get_addr): Renamed to | |
2754 | x86_linux_dr_get_addr. All uses updated. | |
2755 | (amd64_linux_dr_get_control): Renamed to | |
2756 | x86_linux_dr_get_control. All uses updated. | |
2757 | (amd64_linux_dr_get_status): Renamed to | |
2758 | x86_linux_dr_get_status. All uses updated. | |
2759 | (amd64_linux_dr_set_control): Renamed to | |
2760 | x86_linux_dr_set_control. All uses updated. | |
2761 | (amd64_linux_dr_set_addr): Renamed to | |
2762 | x86_linux_dr_set_addr. All uses updated. | |
2763 | (amd64_linux_prepare_to_resume): Renamed to | |
2764 | x86_linux_prepare_to_resume. All uses updated. | |
2765 | (amd64_linux_new_thread): Renamed to | |
2766 | x86_linux_new_thread. All uses updated. | |
2767 | (amd64_linux_new_fork): Renamed to | |
2768 | x86_linux_new_fork. All uses updated. | |
2769 | (amd64_linux_child_post_startup_inferior): Renamed to | |
2770 | x86_linux_child_post_startup_inferior. All uses updated. | |
2771 | (amd64_linux_enable_btrace): Renamed to | |
2772 | x86_linux_enable_btrace. All uses updated. | |
2773 | (amd64_linux_disable_btrace): Renamed to | |
2774 | x86_linux_disable_btrace. All uses updated. | |
2775 | (amd64_linux_teardown_btrace): Renamed to | |
2776 | x86_linux_teardown_btrace. All uses updated. | |
2777 | (amd64_linux_read_btrace): Renamed to | |
2778 | x86_linux_read_btrace. All uses updated. | |
2779 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
2780 | x86_linux_dr_get. All uses updated. | |
2781 | (i386_linux_dr_set): Renamed to | |
2782 | x86_linux_dr_set. All uses updated. | |
2783 | (i386_linux_dr_get_addr): Renamed to | |
2784 | x86_linux_dr_get_addr. All uses updated. | |
2785 | (i386_linux_dr_get_control): Renamed to | |
2786 | x86_linux_dr_get_control. All uses updated. | |
2787 | (i386_linux_dr_get_status): Renamed to | |
2788 | x86_linux_dr_get_status. All uses updated. | |
2789 | (i386_linux_dr_set_control): Renamed to | |
2790 | x86_linux_dr_set_control. All uses updated. | |
2791 | (i386_linux_dr_set_addr): Renamed to | |
2792 | x86_linux_dr_set_addr. All uses updated. | |
2793 | (i386_linux_prepare_to_resume): Renamed to | |
2794 | x86_linux_prepare_to_resume. All uses updated. | |
2795 | (i386_linux_new_thread): Renamed to | |
2796 | x86_linux_new_thread. All uses updated. | |
2797 | (i386_linux_new_fork): Renamed to | |
2798 | x86_linux_new_fork. All uses updated. | |
2799 | (i386_linux_child_post_startup_inferior): Renamed to | |
2800 | x86_linux_child_post_startup_inferior. All uses updated. | |
2801 | (i386_linux_enable_btrace): Renamed to | |
2802 | x86_linux_enable_btrace. All uses updated. | |
2803 | (i386_linux_disable_btrace): Renamed to | |
2804 | x86_linux_disable_btrace. All uses updated. | |
2805 | (i386_linux_teardown_btrace): Renamed to | |
2806 | x86_linux_teardown_btrace. All uses updated. | |
2807 | (i386_linux_read_btrace): Renamed to | |
2808 | x86_linux_read_btrace. All uses updated. | |
2809 | ||
b9c1d481 AS |
2810 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
2811 | ||
2812 | * remote.c (extended_remote_post_attach): New function. | |
2813 | (init_extended_remote_ops): Install it as to_post_attach method. | |
2814 | ||
7180e04a PA |
2815 | 2014-07-09 Pedro Alves <palves@redhat.com> |
2816 | ||
2817 | * infcmd.c (attach_command_post_wait): Don't call | |
2818 | target_terminal_inferior here. | |
2819 | (attach_command): Call it here instead. | |
2820 | ||
9a9a7608 AB |
2821 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2822 | ||
2823 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
2824 | field. | |
2825 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
2826 | from varobj.c, with additional checks. | |
2827 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
2828 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
2829 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
2830 | field. | |
2831 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
2832 | ops method. | |
2833 | (varobj_default_is_path_expr_parent): New function. | |
2834 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
2835 | (varobj_default_is_path_expr_parent): Declare new function. | |
2836 | ||
1f267ae3 MM |
2837 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
2838 | ||
2839 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
2840 | ||
b2ee242b PA |
2841 | 2014-07-07 Pedro Alves <palves@redhat.com> |
2842 | ||
8a869bca | 2843 | PR gdb/17096 |
b2ee242b PA |
2844 | * remote.c (async_handle_remote_sigint) |
2845 | (async_handle_remote_sigint_twice): Call | |
2846 | gdb_call_async_signal_handler instead of | |
2847 | mark_async_signal_handler. | |
2848 | ||
38e229b2 TT |
2849 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
2850 | ||
2851 | * target-delegates.c: Rebuild. | |
2852 | * target.c (target_info_record): Remove. | |
2853 | * record.c (info_record_command): Unconditionally call | |
2854 | to_info_record. | |
2855 | * target.h (struct target_ops) <to_info_record>: Use | |
2856 | TARGET_DEFAULT_IGNORE. | |
2857 | (target_info_record): Remove. | |
2858 | ||
f0f9ff95 TT |
2859 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
2860 | ||
2861 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
2862 | TARGET_DEFAULT_NORETURN. | |
2863 | * target.c (generic_tls_error): New function. | |
2864 | (target_translate_tls_address): Don't search target stack. | |
2865 | * target-delegates.c: Rebuild. | |
2866 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
2867 | stack. | |
2868 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
2869 | Unconditionally call beneath target. | |
2870 | ||
4a5be5ee MK |
2871 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
2872 | ||
2873 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
2874 | gdb_stdtargerr. | |
2875 | ||
92c3b204 AB |
2876 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
2877 | ||
2878 | * MAINTAINERS (Write After Approval): Update my email address. | |
2879 | ||
9b11e3a7 GB |
2880 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
2881 | ||
2882 | * proc-service.c (ps_xfer_memory): Update comment. | |
2883 | (ps_pstop): Remove unused function. | |
2884 | (ps_pcontinue): Likewise. | |
2885 | (ps_lstop): Likewise. | |
2886 | (ps_lcontinue): Likewise. | |
2887 | (ps_lgetxregsize): Likewise. | |
2888 | (ps_lgetxregs): Likewise. | |
2889 | (ps_lsetxregs): Likewise. | |
2890 | (ps_plog): Likewise. | |
2891 | (ps_ptread): Likewise. | |
2892 | (ps_ptwrite): Likewise. | |
2893 | ||
cf363f18 MW |
2894 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
2895 | ||
2896 | * dwarf2read.c (add_array_cv_type): New function. | |
2897 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
2898 | (read_tag_volatile_type): Likewise. | |
2899 | ||
82ae6c8d TT |
2900 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
2901 | ||
2902 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
2903 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
2904 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
2905 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
2906 | * command.h (cmd_cfunc_ftype): Move earlier. | |
2907 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
2908 | (add_com, add_info): Use cmd_cfunc_ftype. | |
2909 | ||
96142726 TT |
2910 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
2911 | ||
2912 | * symtab.c (operator_chars): Make parameters and return type | |
2913 | const. | |
2914 | (file_matches): Make "files" const. | |
2915 | (struct search_symbols_data) <files>: Now const. | |
2916 | (search_symbols): Make "regexp" and "files" parameters const. | |
2917 | Update. | |
2918 | (symtab_symbol_info): Remove cast. | |
2919 | (rbreak_command): Update. | |
2920 | * symtab.h (search_symbols): Update. | |
2921 | ||
b67a2c6f YQ |
2922 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
2923 | ||
2924 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
2925 | Change parameter type to 'struct thread_info *'. Caller | |
2926 | updated. | |
2927 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
2928 | Update declaration. | |
2929 | * dummy-frame.c (struct dummy_frame_id): New. | |
2930 | (dummy_frame_id_eq): New function. | |
2931 | (struct dummy_frame) <id>: Change its type to 'struct | |
2932 | dummy_frame_id'. | |
2933 | (dummy_frame_push): Add parameter ptid and save it in | |
2934 | dummy_frame_id. | |
2935 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
2936 | inferior_ptid. | |
2937 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
2938 | to inferior_ptid. | |
2939 | (lookup_dummy_frame): Change parameter type to 'struct | |
2940 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
2941 | instead of frame_id_eq. | |
2942 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
2943 | Update comments. Compose dummy_frame_id and pass it to | |
2944 | lookup_dummy_frame. | |
2945 | (dummy_frame_discard): Add parameter ptid. | |
2946 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
2947 | dummy_frame_id_eq instead of frame_id_eq. | |
2948 | (fprint_dummy_frames): Print ptid. | |
2949 | * dummy-frame.h: Remove comments. | |
2950 | (dummy_frame_push): Add ptid in declaration. | |
2951 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
2952 | ||
5b10184c TT |
2953 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2954 | ||
2955 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
2956 | * command.h (error_no_arg): Update. | |
2957 | ||
06900326 TT |
2958 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2959 | ||
2960 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
2961 | (do_show_command): Make "arg" const. | |
2962 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
2963 | ||
c2bcbb1d TT |
2964 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2965 | ||
2966 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
2967 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
2968 | * record.c (record_goto): New function. | |
2969 | (cmd_record_goto): Use it. Now static. | |
2970 | * record.h (record_goto): Declare. | |
2971 | (cmd_record_goto): Remove declaration. | |
2972 | * target-delegates.c: Rebuild. | |
2973 | * target.h (struct target_ops) <to_get_bookmark, | |
2974 | to_goto_bookmark>: Make parameter const. | |
2975 | ||
9cbe5fff TT |
2976 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2977 | ||
2978 | * defs.h (generic_load): Update. | |
2979 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
2980 | * monitor.c (monitor_load): Make "args" const. | |
2981 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
2982 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
2983 | const. | |
2984 | (mips_load): Make "file" const. | |
2985 | * remote-sim.c (gdbsim_load): Make "args" const. | |
2986 | * remote.c (remote_load): Make "name" const. | |
2987 | * symfile.c (generic_load): Make "args" const. | |
2988 | * target-delegates.c: Rebuild. | |
2989 | * target.c (target_load): Make "arg" const. | |
2990 | (debug_to_load): Make "args" const. | |
2991 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
2992 | (target_load): Update. | |
2993 | ||
34a68019 TT |
2994 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
2995 | ||
2996 | PR symtab/16902: | |
2997 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
2998 | (dwarf2_physname, read_partial_die) | |
2999 | (guess_partial_die_structure_name, fixup_partial_die) | |
3000 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
3001 | (dwarf2_name): Use per-BFD obstack. | |
3002 | ||
efc889c1 YQ |
3003 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
3004 | ||
3005 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
3006 | dummyframe and this_id into inner block below. | |
3007 | ||
4395285e YQ |
3008 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
3009 | ||
3010 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
3011 | with "signal_pass[0]" in the initialization of signal_pass. | |
3012 | ||
aef92902 MM |
3013 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
3014 | ||
3015 | * record-btrace.c (record_btrace_generating_corefile) | |
3016 | (record_btrace_prepare_to_generate_core) | |
3017 | (record_btrace_done_generating_core): New. | |
3018 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
3019 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
3020 | Forward request when generating a core file. | |
3021 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
3022 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
3023 | to_done_generating_core. | |
3024 | ||
5fff78c4 MM |
3025 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
3026 | ||
3027 | * target.h (target_ops) <to_prepare_to_generate_core> | |
3028 | <to_done_generating_core>: New. | |
3029 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
3030 | * target.c (target_prepare_to_generate_core) | |
3031 | (target_done_generating_core): New. | |
3032 | * target-delegates.c: Regenerate. | |
3033 | * gcore.c: (write_gcore_file): Rename to ... | |
3034 | (write_gcore_file_1): ...this. | |
3035 | (write_gcore_file): Call target_prepare_to_generate_core | |
3036 | and target_done_generating_core. | |
3037 | ||
1d1f1ccb MM |
3038 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
3039 | ||
3040 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
3041 | * gcore.c (write_gcore_file): Free memory returned from | |
3042 | make_corefile_notes. | |
3043 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
3044 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
3045 | ||
3343ef86 YQ |
3046 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
3047 | ||
3048 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
3049 | (arm_linux_init_abi): Set skip_trampoline_code with | |
3050 | gdbarch_skip_trampoline_code instead of | |
3051 | find_solib_trampoline_target. | |
3052 | ||
18d18ac8 YQ |
3053 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
3054 | ||
3055 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
3056 | arm_skip_bx_reg returns non-zero. | |
3057 | ||
80d8d390 YQ |
3058 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
3059 | ||
3060 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
3061 | (arm_skip_stub): Call arm_skip_bx_reg. | |
3062 | ||
6a18a01c DB |
3063 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
3064 | ||
3065 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
3066 | ||
8e9db26e PA |
3067 | 2014-06-23 Pedro Alves <palves@redhat.com> |
3068 | ||
3069 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
3070 | DR_CONTROL before setting DR0..DR3. | |
3071 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
3072 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
3073 | bits of DR_CONTROL related to the debug register slot being | |
3074 | disabled. If all slots are vacant, clear local slowdown as well, | |
3075 | and assert DR_CONTROL is 0. | |
3076 | ||
70afc5b7 SC |
3077 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
3078 | ||
3079 | * python/lib/gdb/command/xmethods.py | |
3080 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
3081 | current progspace only if the string "progspace" matches LOCUS_RE. | |
3082 | ||
840ed64d JK |
3083 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
3084 | ||
3085 | Fix --with-system-readline with readline-6.3 patch 5. | |
3086 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
3087 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
3088 | types. | |
3089 | ||
26f2dc30 TT |
3090 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
3091 | ||
3092 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
3093 | OBSTACK_CALLOC. | |
3094 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
3095 | ||
125f8a3d GB |
3096 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
3097 | ||
3098 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
3099 | * common/glibc_thread_db.h: Likewise. | |
3100 | * common/i386-cpuid.h: Likewise. | |
3101 | * common/i386-gcc-cpuid.h: Likewise. | |
3102 | * common/linux-btrace.h: Likewise. | |
3103 | * common/linux-osdata.h: Likewise. | |
3104 | * common/linux-procfs.h: Likewise. | |
3105 | * common/linux-ptrace.h: Likewise. | |
3106 | * common/mips-linux-watch.h: Likewise. | |
3107 | * common/linux-btrace.c: Moved to nat. | |
3108 | * common/linux-osdata.c: Likewise. | |
3109 | * common/linux-procfs.c: Likewise. | |
3110 | * common/linux-ptrace.c: Likewise. | |
3111 | * common/mips-linux-watch.c: Likewise. | |
3112 | * nat/gdb_thread_db.h: Moved from common. | |
3113 | * nat/glibc_thread_db.h: Likewise. | |
3114 | * nat/i386-cpuid.h: Likewise. | |
3115 | * nat/i386-gcc-cpuid.h: Likewise. | |
3116 | * nat/linux-btrace.c: Likewise. | |
3117 | * nat/linux-btrace.h: Likewise. | |
3118 | * nat/linux-osdata.c: Likewise. | |
3119 | * nat/linux-osdata.h: Likewise. | |
3120 | * nat/linux-procfs.c: Likewise. | |
3121 | * nat/linux-procfs.h: Likewise. | |
3122 | * nat/linux-ptrace.c: Likewise. | |
3123 | * nat/linux-ptrace.h: Likewise. | |
3124 | * nat/mips-linux-watch.c: Likewise. | |
3125 | * nat/mips-linux-watch.h: Likewise. | |
3126 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
3127 | (object file files): Reordered. | |
3128 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
3129 | of glibc_thread_db.h. | |
3130 | ||
42995dbd GB |
3131 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
3132 | ||
3133 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
3134 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
3135 | (i386_dr_low): Likewise. | |
3136 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
3137 | (i386_dr_low_set_addr): Likewise. | |
3138 | (i386_dr_low_get_addr): Likewise. | |
3139 | (i386_dr_low_can_set_control): Likewise. | |
3140 | (i386_dr_low_set_control): Likewise. | |
3141 | (i386_dr_low_get_control): Likewise. | |
3142 | (i386_dr_low_get_status): Likewise. | |
3143 | (i386_get_debug_register_length): Likewise. | |
3144 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
3145 | (i386_dr_low): Likewise. | |
3146 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
3147 | (i386-nat.h): Likewise. | |
3148 | (nat/i386-dregs.h): New include. | |
3149 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
3150 | (i386_dr_low_set_addr): Likewise. | |
3151 | (i386_dr_low_get_addr): Likewise. | |
3152 | (i386_dr_low_can_set_control): Likewise. | |
3153 | (i386_dr_low_set_control): Likewise. | |
3154 | (i386_dr_low_get_control): Likewise. | |
3155 | (i386_dr_low_get_status): Likewise. | |
3156 | (i386_get_debug_register_length): Likewise. | |
3157 | (debug_hw_points): Likewise. | |
3158 | ||
3ed9baed IB |
3159 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
3160 | ||
3161 | * Makefile.in (SFILES): Add d-exp.y. | |
3162 | (YYFILES): Add d-exp.c. | |
3163 | (YYOBJ): Add d-exp.o. | |
3164 | (local-maintainer-clean): Delete d-exp.c. | |
3165 | * d-exp.y: New file. | |
3166 | * d-lang.h (d_parse): New declaration. | |
3167 | (d_error): New declaration. | |
3168 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
3169 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
3170 | PREC_ORDER operators. | |
3171 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
3172 | ||
78c164b0 YQ |
3173 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
3174 | ||
3175 | * gdbthread.h (any_running): Remove the declaration. | |
3176 | * thread.c (any_running): Remove. | |
3177 | ||
f6e29b6e YQ |
3178 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
3179 | ||
3180 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
3181 | 'enum thread_state'. Update comments. | |
3182 | ||
034f788c PA |
3183 | 2014-06-19 Pedro Alves <palves@redhat.com> |
3184 | ||
3185 | * gdbthread.h (ALL_THREADS): Delete. | |
3186 | (ALL_NON_EXITED_THREADS): New macro. | |
3187 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
3188 | instead of ALL_THREADS. | |
3189 | * infrun.c (find_thread_needs_step_over) | |
3190 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
3191 | instead of ALL_THREADS. | |
3192 | * record-btrace.c (record_btrace_open) | |
3193 | (record_btrace_stop_recording, record_btrace_close) | |
3194 | (record_btrace_is_replaying, record_btrace_resume) | |
3195 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
3196 | * remote.c (append_pending_thread_resumptions): Likewise. | |
3197 | * thread.c (thread_apply_all_command): Likewise. | |
3198 | ||
46e33252 GB |
3199 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3200 | ||
3201 | * i386-nat.c (i386_stopped_by_watchpoint): | |
3202 | Use i386_dr_stopped_by_watchpoint. | |
3203 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
3204 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
3205 | ||
3a8ee006 GB |
3206 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3207 | ||
3208 | * nat/i386-dregs.c: New file. | |
3209 | * Makefile.in (i386-dregs.o): New rule. | |
3210 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
3211 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
3212 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
3213 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
3214 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
3215 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3216 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3217 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
3218 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
3219 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
3220 | * i386-nat.h (debug_hw_points): New declaration. | |
3221 | * i386-nat.c (breakpoint.h): Remove include. | |
3222 | (command.h): Likewise. | |
3223 | (target.h): Likewise. | |
3224 | (gdb_assert.h): Likewise. | |
3225 | (debug_hw_points): Made nonstatic. | |
3226 | (debug_printf): Now in i386-dregs.c. | |
3227 | (TARGET_HAS_DR_LEN_8): Likewise. | |
3228 | (DR_CONTROL_SHIFT): Likewise. | |
3229 | (DR_CONTROL_SIZE): Likewise. | |
3230 | (DR_RW_EXECUTE): Likewise. | |
3231 | (DR_RW_WRITE): Likewise. | |
3232 | (DR_RW_READ): Likewise. | |
3233 | (DR_RW_IORW): Likewise. | |
3234 | (DR_LEN_1): Likewise. | |
3235 | (DR_LEN_2): Likewise. | |
3236 | (DR_LEN_4): Likewise. | |
3237 | (DR_LEN_8): Likewise. | |
3238 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
3239 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
3240 | (DR_ENABLE_SIZE): Likewise. | |
3241 | (DR_LOCAL_SLOWDOWN): Likewise. | |
3242 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
3243 | (DR_CONTROL_RESERVED): Likewise. | |
3244 | (I386_DR_CONTROL_MASK): Likewise. | |
3245 | (I386_DR_VACANT): Likewise. | |
3246 | (I386_DR_LOCAL_ENABLE): Likewise. | |
3247 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
3248 | (I386_DR_DISABLE): Likewise. | |
3249 | (I386_DR_SET_RW_LEN): Likewise. | |
3250 | (I386_DR_GET_RW_LEN): Likewise. | |
3251 | (I386_DR_WATCH_HIT): Likewise. | |
3252 | (i386_wp_op_t): Likewise. | |
3253 | (i386_show_dr): Likewise. | |
3254 | (i386_length_and_rw_bits): Likewise. | |
3255 | (i386_insert_aligned_watchpoint): Likewise. | |
3256 | (i386_remove_aligned_watchpoint): Likewise. | |
3257 | (i386_handle_nonaligned_watchpoint): Likewise. | |
3258 | (i386_update_inferior_debug_regs): Likewise. | |
3259 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
3260 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
3261 | (i386_region_ok_for_watchpoint): | |
3262 | Use i386_dr_region_ok_for_watchpoint. | |
3263 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
3264 | ||
322a8e06 GB |
3265 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3266 | ||
3267 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
3268 | i386_insert_watchpoint. | |
3269 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
3270 | ||
8f26655c GB |
3271 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3272 | ||
3273 | * i386-nat.c (i386_dr_show): Renamed to | |
3274 | i386_show_dr and made static. All uses updated. | |
3275 | (i386_dr_length_and_rw_bits): Renamed to | |
3276 | i386_length_and_rw_bits and made static. | |
3277 | All uses updated. | |
3278 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
3279 | i386_insert_aligned_watchpoint and made static. | |
3280 | All uses updated. | |
3281 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
3282 | i386_remove_aligned_watchpoint and made static. | |
3283 | All uses updated. | |
3284 | (i386_dr_update_inferior_debug_regs): Renamed to | |
3285 | i386_update_inferior_debug_regs and made static. | |
3286 | All uses updated. | |
3287 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
3288 | (i386_dr_length_and_rw_bits): Likewise. | |
3289 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
3290 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
3291 | (i386_dr_update_inferior_debug_regs): Likewise. | |
3292 | ||
992c7d70 GB |
3293 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3294 | ||
3295 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
3296 | * configure: Regenerate. | |
3297 | * config.in: Likewise. | |
3298 | * main.c (signal.h): New include. | |
3299 | (setup_alternate_signal_stack): New function. | |
3300 | (captured_main): Call the above. | |
3301 | * cp-support.c (signal.h): New include. | |
3302 | (catch_demangler_crashes): New flag. | |
3303 | (SIGJMP_BUF): New define. | |
3304 | (SIGSETJMP): Likewise. | |
3305 | (SIGLONGJMP): Likewise. | |
3306 | (gdb_demangle_jmp_buf): New static global. | |
3307 | (gdb_demangle_attempt_core_dump): Likewise. | |
3308 | (gdb_demangle_signal_handler): New function. | |
3309 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
3310 | above signal handler before calling bfd_demangle, and restore | |
3311 | the original signal handler afterwards. Display the offending | |
3312 | symbol and call demangler_warning the first time a segmentation | |
3313 | fault is caught. | |
3314 | (_initialize_cp_support): New maint set/show command. | |
3315 | ||
eae7090b GB |
3316 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3317 | ||
3318 | * utils.h (resource_limit_kind): New enum. | |
3319 | (can_dump_core): New declaration. | |
3320 | (warn_cant_dump_core): Likewise. | |
3321 | (dump_core): Likewise. | |
3322 | * utils.c (dump_core): Made nonstatic. Added new | |
3323 | parameter "limit_kind". | |
3324 | (can_dump_core): Made nonstatic. Moved printing code to... | |
3325 | (warn_cant_dump_core): New function. | |
3326 | (can_dump_core_warn): Likewise. | |
3327 | (internal_vproblem): Replace calls to can_dump_core with | |
3328 | calls to can_dump_core_warn. Supply new argument to each. | |
3329 | ||
57fcfb1b GB |
3330 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
3331 | ||
3332 | * utils.h (demangler_vwarning): New declaration. | |
3333 | (demangler_warning): Likewise. | |
3334 | * utils.c (struct internal_problem) | |
3335 | <user_settable_should_quit>: New field. | |
3336 | <user_settable_should_dump_core>: Likewise | |
3337 | (internal_error_problem): Add values for above new fields. | |
3338 | (internal_warning_problem): Likewise. | |
3339 | (demangler_warning_problem): New static global. | |
3340 | (demangler_vwarning): New function. | |
3341 | (demangler_warning): Likewise. | |
3342 | (add_internal_problem_command): Selectively add commands. | |
3343 | (_initialize_utils): New internal problem command. | |
3344 | * maint.c (maintenance_demangler_warning): New function. | |
3345 | (_initialize_maint_cmds): New command. | |
3346 | ||
17a40b44 TT |
3347 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3348 | ||
3349 | * f-valprint.c (info_common_command_for_block): Update. | |
3350 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
3351 | const. | |
3352 | ||
346d1dfe TT |
3353 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3354 | ||
3355 | * symtab.h (struct symtab) <blockvector>: Now const. | |
3356 | * ada-lang.c (ada_add_global_exceptions): Update. | |
3357 | * buildsym.c (augment_type_symtab): Update. | |
3358 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
3359 | * jit.c (finalize_symtab): Update. | |
3360 | * jv-lang.c (add_class_symtab_symbol): Update. | |
3361 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
3362 | Update. | |
3363 | * objfiles.c (objfile_relocate1): Update. | |
3364 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
3365 | (maintenance_check_psymtabs): Update. | |
3366 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
3367 | Update. | |
3368 | * spu-tdep.c (spu_catch_start): Update. | |
3369 | * symmisc.c (dump_symtab_1): Update. | |
3370 | * symtab.c (lookup_global_symbol_from_objfile) | |
3371 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
3372 | (basic_lookup_transparent_type_quick) | |
3373 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
3374 | (find_pc_sect_line, search_symbols): Update. | |
3375 | * block.c (find_block_in_blockvector): Make "bl" const. | |
3376 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
3377 | const. | |
3378 | (blockvector_contains_pc): Make "bv" const. | |
3379 | (block_for_pc_sect): Update. | |
3380 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
3381 | (blockvector_contains_pc): Update. | |
3382 | * breakpoint.c (resolve_sal_pc): Update. | |
3383 | * inline-frame.c (block_starting_point_at): Update. | |
3384 | ||
1834676b TT |
3385 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3386 | ||
3387 | * completer.c (complete_line): Make "line_buffer" const. | |
3388 | * completer.h (complete_line): Update. | |
3389 | ||
ac1a991b TT |
3390 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3391 | ||
3392 | * symtab.c (add_macro_name): Remove unneeded cast. | |
3393 | ||
5bc98e52 TT |
3394 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3395 | ||
3396 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
3397 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
3398 | ||
8236def8 TT |
3399 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3400 | ||
3401 | * probe.c (info_probes_for_ops): Make "arg" const. | |
3402 | * probe.h (info_probes_for_ops): Update. | |
3403 | ||
3977b71f TT |
3404 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
3405 | ||
3406 | * varobj.c (varobj_create): Update. | |
3407 | * valops.c (value_of_this): Update. | |
3408 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
3409 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
3410 | * symtab.c (skip_prologue_sal) | |
3411 | (default_make_symbol_completion_list_break_on) | |
3412 | (skip_prologue_using_sal): Update. | |
3413 | * stack.h (iterate_over_block_locals) | |
3414 | (iterate_over_block_local_vars): Update. | |
3415 | * stack.c (print_frame_args): Update. | |
3416 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
3417 | parameter const. | |
3418 | (get_selected_block): Make return type const. | |
3419 | * python/py-frame.c (frapy_block): Update. | |
3420 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
3421 | * p-exp.y (%union) <bval>: Now const. | |
3422 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
3423 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
3424 | * m2-exp.y (%union) <bval>: Now const. | |
3425 | * linespec.c (get_current_search_block): Make return type const. | |
3426 | (create_sals_line_offset, find_label_symbols): Update. | |
3427 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
3428 | Update. | |
3429 | (block_starting_point_at): Make "block" const. | |
3430 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
3431 | (check_exception_resume): Update. | |
3432 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
3433 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
3434 | * frame.h (get_frame_block): Update. | |
3435 | (get_selected_block): Make return type const. | |
3436 | * frame.c (frame_id_inner): Update. | |
3437 | * f-valprint.c (info_common_command_for_block) | |
3438 | (info_common_command): Update. | |
3439 | * dwarf2loc.c (dwarf2_find_location_expression) | |
3440 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
3441 | (locexpr_describe_location_piece): Update. | |
3442 | * c-exp.y (%union) <bval>: Now const. | |
3443 | * breakpoint.c (resolve_sal_pc): Update. | |
3444 | * blockframe.c (get_frame_block):Make return type const. | |
3445 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
3446 | (block_innermost_frame): Update. | |
3447 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
3448 | (block_for_pc, block_for_pc_sect): Update. | |
3449 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
3450 | 'pblock' const. | |
3451 | (block_for_pc_sect, block_for_pc): Make return type const. | |
3452 | * ax-gdb.c (gen_expr): Update. | |
3453 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
3454 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
3455 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
3456 | (ada_read_var_value): Update. | |
3457 | * ada-exp.y (struct name_info) <block>: Now const. | |
3458 | (%union): Likewise. | |
3459 | (block_lookup): Constify. | |
3460 | ||
b9228891 GB |
3461 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3462 | ||
3463 | * nat/i386-dregs.h: New file. | |
3464 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
3465 | * i386-nat.h (i386-dregs.h): New include. | |
3466 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
3467 | (DR_LASTADDR): Likewise. | |
3468 | (DR_NADDR): Likewise. | |
3469 | (DR_STATUS): Likewise. | |
3470 | (DR_CONTROL): Likewise. | |
3471 | (i386_debug_reg_state): Likewise. | |
3472 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
3473 | ||
a1aa2221 LM |
3474 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
3475 | ||
3476 | * breakpoint.c (set_longjmp_breakpoint): Call | |
3477 | momentary_breakpoint_from_master with additional argument. | |
3478 | (set_longjmp_breakpoint_for_call_dummy): Call | |
3479 | momentary_breakpoint_from_master with additional argument. | |
3480 | (set_std_terminate_breakpoint): Call | |
3481 | momentary_breakpoint_from_master with additional argument. | |
3482 | (momentary_breakpoint_from_master): Add argument to function | |
3483 | definition and use it to initialize structure member flag. | |
74228e77 | 3484 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
3485 | momentary_breakpoint_from_master with additional argument. |
3486 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
3487 | member flags set in momentary_breakpoint_from_master. | |
3488 | ||
4be83cc2 GB |
3489 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3490 | ||
3491 | * i386-nat.c (i386_show_dr): Renamed to | |
3492 | i386_dr_show and made nonstatic. All uses updated. | |
3493 | (i386_length_and_rw_bits): Renamed to | |
3494 | i386_dr_length_and_rw_bits and made nonstatic. | |
3495 | All uses updated. | |
3496 | (i386_insert_aligned_watchpoint): Renamed to | |
3497 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
3498 | All uses updated. | |
3499 | (i386_remove_aligned_watchpoint): Renamed to | |
3500 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
3501 | All uses updated. | |
3502 | (i386_update_inferior_debug_regs): Renamed to | |
3503 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
3504 | All uses updated. | |
3505 | ||
131aa0d4 GB |
3506 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3507 | ||
3508 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
3509 | (i386_dr_low_can_set_control): Likewise. | |
3510 | (i386_dr_low_set_addr): Likewise. | |
3511 | (i386_dr_low_set_control): Likewise. | |
3512 | (i386_dr_low_get_addr): Likewise. | |
3513 | (i386_dr_low_get_status): Likewise. | |
3514 | (i386_dr_low_get_control): Likewise. | |
3515 | (i386_insert_aligned_watchpoint): Use new macros. | |
3516 | (i386_update_inferior_debug_regs): Likewise. | |
3517 | (i386_stopped_data_address): Likewise. | |
3518 | ||
d9305f7f GB |
3519 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3520 | ||
3521 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
3522 | New parameter. All uses updated. | |
3523 | ||
ea008da4 GB |
3524 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3525 | ||
3526 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
3527 | All uses updated. | |
3528 | ||
1b6d4134 GB |
3529 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3530 | ||
3531 | * i386-nat.c (debug_printf): New macro. | |
3532 | (i386_get_debug_register_length): Likewise. | |
3533 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
3534 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
3535 | and printf_unfiltered. Use phex to format values. | |
3536 | ||
9b4550ef GB |
3537 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3538 | ||
3539 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
3540 | Make const. | |
3541 | ||
6e62758f GB |
3542 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3543 | ||
3544 | * i386-nat.c: Comment changes. | |
3545 | ||
51c79e94 GB |
3546 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3547 | ||
3548 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
3549 | ||
3e11889a GB |
3550 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3551 | ||
3552 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
3553 | (i386_insert_aligned_watchpoint): Likewise. | |
3554 | (i386_remove_aligned_watchpoint): Likewise. | |
3555 | (i386_handle_nonaligned_watchpoint): Likewise. | |
3556 | ||
fc6e2f03 GB |
3557 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
3558 | ||
3559 | * i386-nat.c: Whitespace changes. | |
3560 | ||
2afe7d50 SB |
3561 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
3562 | ||
3563 | * MAINTAINERS: Update Roland McGrath's email address. | |
3564 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 3565 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 3566 | |
3bca49ee TT |
3567 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
3568 | ||
3569 | * utils.h (savestring): Remove declaration. | |
3570 | ||
6e366df1 TT |
3571 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
3572 | ||
3573 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
3574 | ||
6be47f0c KS |
3575 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
3576 | ||
3577 | PR mi/15863 | |
3578 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
3579 | to update the varobj if inferior_ptid is null_ptid. | |
3580 | ||
7bc112c1 TT |
3581 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
3582 | ||
3583 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
3584 | const. | |
3585 | (target_info_proc): Update. | |
3586 | * target.c (target_info_proc): Make "args" const. | |
3587 | * procfs.c (procfs_info_proc): Update. | |
3588 | * linux-tdep.c (linux_info_proc): Update. | |
3589 | (linux_core_info_proc_mappings): Make "args" const. | |
3590 | (linux_core_info_proc): Update. | |
3591 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
3592 | * gdbarch.c: Rebuild. | |
3593 | * gdbarch.h: Rebuild. | |
3594 | * corelow.c (core_info_proc): Update. | |
3595 | ||
fee354ee TT |
3596 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
3597 | ||
3598 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
3599 | const. | |
3600 | (target_disconnect): Update. | |
3601 | * target.c (target_disconnect): Make "args" const. | |
3602 | * target-delegates.c: Rebuild. | |
3603 | * remote.c (remote_disconnect): Update. | |
3604 | * record.h (record_disconnect): Update. | |
3605 | * record.c (record_disconnect): Update. | |
3606 | * inf-child.c (inf_child_disconnect): Update. | |
3607 | ||
a30bf1f1 TT |
3608 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
3609 | ||
3610 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
3611 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
3612 | * target-delegates.c: Rebuild. | |
3613 | * remote.c (remote_rcmd): Update. | |
3614 | * monitor.c (monitor_rcmd): Update. | |
3615 | ||
d03de421 PA |
3616 | 2014-06-16 Pedro Alves <palves@redhat.com> |
3617 | ||
3618 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
3619 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
3620 | have OBJF_SHARED set. | |
3621 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
3622 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
3623 | instead of OBJF_USERLOADED. | |
3624 | * objfiles.h (OBJF_SHARED): Update comment. | |
3625 | (userloaded_objfile_contains_address_p): Rename to ... | |
3626 | (shared_objfile_contains_address_p): ... this, and update | |
3627 | comments. | |
3628 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
3629 | new objfile. | |
3630 | (remove_symbol_file_command): Skip objfiles that don't have | |
3631 | OBJF_SHARED set. | |
3632 | ||
99f4262f TT |
3633 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
3634 | ||
3635 | * minsyms.h (prim_record_minimal_symbol) | |
3636 | (prim_record_minimal_symbol_and_info): Update comments. | |
3637 | ||
97d66cc6 EZ |
3638 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
3639 | ||
3640 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
3641 | or --without-guile, according to how GDB was built. | |
3642 | ||
635c7e8a TT |
3643 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
3644 | ||
3645 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
3646 | to help_list. | |
3647 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
3648 | to help_list. | |
3649 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
3650 | help_list. | |
3651 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
3652 | help_list.Pass all_commands, not -1, to help_list. | |
3653 | * cli/cli-dump.c (dump_command, append_command) | |
3654 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
3655 | (binary_dump_command, binary_append_command): Pass all_commands, | |
3656 | not -1, to help_list. | |
3657 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
3658 | -1, to help_list. | |
3659 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
3660 | -1, to help_list. | |
3661 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
3662 | help_list. | |
3663 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
3664 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
3665 | all_commands, not -1, to help_list. | |
3666 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
3667 | help_list. | |
3668 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
3669 | help_list. | |
3670 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
3671 | help_list. | |
3672 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
3673 | -1, to help_list. | |
3674 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
3675 | not -1, to help_list. | |
3676 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
3677 | not -1, to help_list. | |
3678 | * maint.c (maintenance_command, maintenance_info_command) | |
3679 | (maintenance_print_command, maintenance_set_cmd): Pass | |
3680 | all_commands, not -1, to help_list. | |
3681 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
3682 | help_list. | |
3683 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
3684 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
3685 | help_list. | |
3686 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
3687 | help_list. | |
3688 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
3689 | help_list. | |
3690 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
3691 | help_list. | |
3692 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
3693 | help_list. | |
3694 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
3695 | all_commands, not -1, to help_list. | |
3696 | ||
b94ade42 PL |
3697 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
3698 | ||
3699 | * regcache.c (struct register_to_invalidate): New structure. | |
3700 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
3701 | functions. | |
3702 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
3703 | ||
31f628ae YQ |
3704 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
3705 | ||
3706 | * varobj.c (varobj_get_num_children): Call | |
3707 | varobj_is_dynamic_p. | |
3708 | (varobj_list_children): Likewise. | |
3709 | (varobj_update): Likewise. Update comments. | |
3710 | ||
cde5ef40 YQ |
3711 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
3712 | ||
3713 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
3714 | (varobj_is_dynamic_p): ... this. New function. | |
3715 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
3716 | (varobj_is_dynamic_p): Declare. | |
3717 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
3718 | (mi_print_value_p, varobj_update_one): Likewise. | |
3719 | ||
576ea091 YQ |
3720 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
3721 | Yao Qi <yao@codesourcery.com> | |
3722 | ||
3723 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
3724 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
3725 | "#if HAVE_PYTHON" and "#endif". | |
3726 | (update_dynamic_varobj_children): Likewise. | |
3727 | ||
827f100c YQ |
3728 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
3729 | Yao Qi <yao@codesourcery.com> | |
3730 | ||
3731 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
3732 | gdb_python_initialized is false. Move some code from varobj.c. | |
3733 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
3734 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
3735 | (struct varobj_item): Moved to varobj-iter.h". | |
3736 | (varobj_clear_saved_item): New function. | |
3737 | (update_dynamic_varobj_children): Move python-related code to | |
3738 | py-varobj.c. | |
3739 | (free_variable): Call varobj_clear_saved_item and | |
3740 | varobj_iter_delete. | |
3741 | ||
e5250216 YQ |
3742 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
3743 | Yao Qi <yao@codesourcery.com> | |
3744 | ||
3745 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
3746 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
3747 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
3748 | (py-varobj.o): New rule. | |
3749 | * python/py-varobj.c: New file. | |
3750 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
3751 | * varobj-iter.h: New file. | |
3752 | * varobj.c: Include "varobj-iter.h" | |
3753 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
3754 | to "struct varobj_iter *". | |
3755 | <saved_item>: Likewise. | |
3756 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
3757 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
3758 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
3759 | python-specific code to python/py-varobj.c. | |
3760 | (install_visualizer): Call varobj_iter_delete instead of | |
3761 | Py_XDECREF. | |
3762 | * varobj.h (varobj_ensure_python_env): Declare. | |
3763 | ||
5a2e0d6e YQ |
3764 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
3765 | ||
3766 | * varobj.c (struct varobj_item): New structure. | |
3767 | (create_child_with_value): Update declaration. | |
3768 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
3769 | 'item'. All callers updated. | |
3770 | (install_dynamic_child): Likewise. | |
3771 | (update_dynamic_varobj_children): Likewise. | |
3772 | (varobj_add_child): Likewise. | |
3773 | (create_child_with_value): Likewise. | |
3774 | ||
919b9a93 JB |
3775 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
3776 | ||
3777 | * NEWS: Create a new section for the next release branch. | |
3778 | Rename the section of the current branch, now that it has | |
3779 | been cut. | |
3780 | ||
71a55bdf JB |
3781 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
3782 | ||
3783 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
3784 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
3785 | ||
364fe1f7 PA |
3786 | 2014-06-11 Pedro Alves <palves@redhat.com> |
3787 | ||
3788 | PR remote/17028 | |
3789 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
3790 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
3791 | net_windows_socket_check_pending. | |
3792 | (net_windows_wait_handle): Check for pending events with | |
3793 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
3794 | checking the socket's event. | |
3795 | ||
5a6c7709 SC |
3796 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
3797 | ||
3798 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
3799 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
3800 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
3801 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 3802 | |
0e58ee40 JB |
3803 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
3804 | ||
3805 | * serial.c (serial_write): Fix index of character to be printed | |
3806 | in call to serial_logchar when serial debug traces are enabled. | |
3807 | ||
d190df30 JB |
3808 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
3809 | ||
3810 | * gdbtypes (resolve_dynamic_range): Add function description. | |
3811 | ||
b4b01d36 PA |
3812 | 2014-06-09 Pedro Alves <palves@redhat.com> |
3813 | ||
3814 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
3815 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
3816 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
3817 | state. | |
3818 | ||
3657956b GB |
3819 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
3820 | ||
3821 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
3822 | the always-available ANSI-standard signals from the signals that | |
3823 | require checking. | |
3824 | (do_gdb_signal_to_host): Likewise. | |
3825 | * proc-events.c (signal_table): Likewise. | |
3826 | ||
c077881a HZ |
3827 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
3828 | ||
3829 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
3830 | function. | |
3831 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
3832 | declaration. | |
3833 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
3834 | detach. | |
3835 | ||
4186eb54 KS |
3836 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
3837 | ||
3838 | Revert: | |
3839 | PR c++/16253 | |
3840 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
3841 | from symbol_matches_domain in symtab.c. All local callers | |
3842 | of symbol_matches_domain updated. | |
3843 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
3844 | search STRUCT_DOMAIN. | |
3845 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
3846 | independently. standard_lookup will do that automatically. | |
3847 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
3848 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
3849 | (cp_lookup_symbol_in_namespace): Likewise. | |
3850 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
3851 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
3852 | may return a STRUCT_DOMAIN match. | |
3853 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
3854 | * cp-support.c: Include language.h. | |
3855 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
3856 | VAR_DOMAIN. | |
3857 | * psymtab.c (match_partial_symbol): Compare the requested | |
3858 | domain with the symbol's domain directly. | |
3859 | (lookup_partial_symbol): Likewise. | |
3860 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
3861 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
3862 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
3863 | appropriate languages. | |
3864 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
3865 | and moved to ada-lang.c | |
3866 | (lookup_block_symbol): Explain that this function only returns | |
3867 | symbol matching the requested DOMAIN. | |
3868 | Compare the requested domain with the symbol's domain directly. | |
3869 | (iterate_over_symbols): Compare the requested domain with the | |
3870 | symbol's domain directly. | |
3871 | * symtab.h (symbol_matches_domain): Remove. | |
3872 | ||
25326a28 | 3873 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
3874 | |
3875 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
3876 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
3877 | (gdbscm_guile_version_is_at_least): Declare. | |
3878 | (gdbscm_scm_string_to_int): Declare. | |
3879 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
3880 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
3881 | (guile_datadir): New static global. | |
3882 | (gdbscm_guile_data_directory): New function. | |
3883 | (initialize_scheme_side): Update. | |
3884 | (misc_guile_functions): Add guile-data-directory. | |
3885 | (initialize_gdb_module): Fetch guile version number. | |
3886 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
3887 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
3888 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
3889 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
3890 | comments. | |
3891 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
3892 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
3893 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
3894 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
3895 | ||
0a770bb2 | 3896 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
3897 | ||
3898 | * main.c (print_gdb_help): Add -q and --silent. | |
3899 | ||
73ba372c GB |
3900 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
3901 | ||
3902 | * common/signals.c: Remove preprocessor conditionals for | |
3903 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
3904 | SIGSEGV and SIGTERM. | |
3905 | * proc-events.c: Likewise. | |
3906 | ||
c33b2f12 MM |
3907 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
3908 | ||
3909 | * symfile.c (symfile_free_objfile): Remove restriction to | |
3910 | OBJF_USERLOADED. | |
3911 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
3912 | add_target_sections_of_objfile. | |
3913 | ||
fb934770 LC |
3914 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
3915 | ||
3916 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
3917 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
3918 | 'vlscm_scm_to_value'. | |
3919 | ||
6ef284bd SM |
3920 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
3921 | ||
3922 | PR mi/15806 | |
3923 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
3924 | Update function documentation to clarify effect of parameter | |
3925 | QUOTER. | |
3926 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
3927 | fputstrn_unfiltered. | |
3928 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
3929 | generate the output. | |
3930 | (mi_solib_unloaded): Same. | |
3931 | ||
270c9937 JB |
3932 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
3933 | ||
3934 | * development.sh: Delete. | |
3935 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
3936 | * configure.ac: Adjust development.sh source call. | |
3937 | * configure: Regenerate. | |
3938 | ||
16f691fb DE |
3939 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
3940 | ||
3941 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
3942 | is_scheme_bkpt, spec. | |
3943 | (bpscm_make_breakpoint_smob): Initialize new members. | |
3944 | (gdbscm_create_breakpoint_x): Split into two ... | |
3945 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
3946 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
3947 | (scheme_function breakpoint_functions): Update. | |
3948 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
3949 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
3950 | register-breakpoint!. | |
3951 | ||
ef7cab6b JB |
3952 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
3953 | ||
3954 | PR server/17023 | |
3955 | * mem-break.c (z_type_supported): Return zero if | |
3956 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
3957 | ||
012370f6 TT |
3958 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3959 | ||
3960 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
3961 | value_from_contents_and_address_unresolved. | |
3962 | (ada_template_to_fixed_record_type_1): Likewise. | |
3963 | (ada_which_variant_applies): Likewise. | |
3964 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
3965 | * value.c (value_from_contents_and_address_unresolved): New | |
3966 | function. | |
3967 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
3968 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
3969 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
3970 | ||
92e2a17f TT |
3971 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3972 | ||
3973 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
3974 | ||
c0939df1 TT |
3975 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3976 | ||
3977 | * procfs.c (procfs_attach): Make "args" const. | |
3978 | * windows-nat.c (windows_attach): Make "args" const. | |
3979 | * nto-procfs.c (procfs_attach): Make "args" const. | |
3980 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
3981 | * go32-nat.c (go32_attach): Make "args" const. | |
3982 | * gnu-nat.c (gnu_attach): Make "args" const. | |
3983 | * darwin-nat.c (darwin_attach): Make "args" const. | |
3984 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
3985 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
3986 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
3987 | Make "args" const. | |
3988 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
3989 | (find_default_attach): Likewise. | |
3990 | * utils.c (parse_pid_to_attach): Make "args" const. | |
3991 | * utils.h (parse_pid_to_attach): Update. | |
3992 | ||
8eaff7cd TT |
3993 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
3994 | ||
3995 | * target-delegates.c: Rebuild. | |
3996 | * target.c (default_thread_address_space): New function. | |
3997 | (target_thread_address_space): Simplify. | |
3998 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
3999 | TARGET_DEFAULT_FUNC. | |
4000 | ||
1913f160 DE |
4001 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
4002 | ||
4003 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
4004 | ||
70ad5bff MM |
4005 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
4006 | ||
4007 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
4008 | (record_btrace_resume_exec_dir) | |
4009 | (record_btrace_async_inferior_event_handler) | |
4010 | (record_btrace_handle_async_inferior_event): New. | |
4011 | (record_btrace_open): Create async event handler. | |
4012 | (record_btrace_close): Delete async event handler. | |
4013 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
4014 | Mark async event handler. | |
4015 | (record_btrace_execution_direction): New. | |
4016 | (init_record_btrace_ops): Initialize to_execution_direction. | |
4017 | ||
b6210538 DE |
4018 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
4019 | ||
4020 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
4021 | (gdbscm_make_parameter): Ditto. | |
4022 | ||
a5b1fd27 DE |
4023 | 2014-06-03 Doug Evans <dje@google.com> |
4024 | ||
4025 | * exec.c (exec_close_1): Call clear_section_table instead of | |
4026 | resize_section_table. | |
4027 | (clear_section_table): New function. | |
4028 | (resize_section_table): Make static. Rename arg num_added to | |
4029 | adjustment. | |
4030 | * exec.h (clear_section_table): Declare. | |
4031 | (resize_section_table): Delete. | |
4032 | * progspace.c (release_program_space): Call clear_section_table | |
4033 | instead of resize_section_table. | |
4034 | ||
0c6e92a5 SC |
4035 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
4036 | ||
4037 | * NEWS (Python Scripting): Add entry about the new xmethods | |
4038 | feature. | |
4039 | ||
883964a7 SC |
4040 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
4041 | ||
4042 | * python/py-xmethods.c: New file. | |
4043 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
4044 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
4045 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
4046 | field. | |
4047 | (objfpy_get_xmethods): New function. | |
4048 | (objfile_getset): New entry 'xmethods'. | |
4049 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
4050 | (pspy_dealloc): XDECREF on the new xmethods field. | |
4051 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
4052 | field. | |
4053 | (pspy_get_xmethods): New function. | |
4054 | (pspace_getset): New entry 'xmethods'. | |
4055 | * python/python-internal.h: Add declarations for new functions. | |
4056 | * python/python.c (_initialize_python): Invoke | |
4057 | gdbpy_initialize_xmethods. | |
4058 | * python/lib/gdb/__init__.py (xmethods): New | |
4059 | attribute. | |
4060 | * python/lib/gdb/xmethod.py: New file. | |
4061 | * python/lib/gdb/command/xmethods.py: New file. | |
4062 | ||
58992dc5 SC |
4063 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
4064 | ||
4065 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
4066 | best match method returned by find_overload_match is an xmethod. | |
4067 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
4068 | the best matching operator returned by find_overload_match is an | |
4069 | xmethod. | |
4070 | * valops.c: #include "extension.h". | |
4071 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
4072 | Return void. The list of matching source methods is returned in | |
4073 | "fn_list" and a vector of matching debug method workers is | |
4074 | returned in "xm_worker_vec". Update all callers. | |
4075 | (value_find_oload_method_list): Likewise. | |
4076 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
4077 | non-NULL, then the index of the best matching method in this | |
4078 | vector is returned. Update all callers. | |
4079 | (find_overload_match): Include xmethods while performing overload | |
4080 | resolution. | |
4081 | ||
e81e7f5e SC |
4082 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
4083 | ||
4084 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
4085 | * extension-priv.h (struct extension_language_ops): Add the | |
4086 | xmethod interface. | |
4087 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
4088 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
4089 | invoke_xmethod, free_xmethod_worker, | |
4090 | free_xmethod_worker_vec): New functions. | |
4091 | * extension.h: #include "common/vec.h". | |
4092 | New function declarations. | |
4093 | (struct xmethod_worker): New struct. | |
4094 | (VEC (xmethod_worker_ptr)): New vector type. | |
4095 | (xmethod_worker_ptr): New typedef. | |
4096 | (xmethod_worker_vec): Likewise. | |
4097 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
4098 | builtin_type. | |
4099 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
4100 | (struct builtin_type): New field "xmethod". | |
4101 | * valarith.c (value_ptradd): Assert that the value argument is not | |
4102 | lval_xcallable. | |
4103 | * valops.c (value_must_coerce_to_target): Return 0 for | |
4104 | lval_xcallable values. | |
4105 | * value.c (struct value): New field XM_WORKER in the field | |
4106 | LOCATION. | |
4107 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
4108 | values. | |
4109 | (set_value_address): Assert that the value is not an | |
4110 | lval_xcallable. | |
4111 | (value_free): Free the associated xmethod worker when freeing | |
4112 | lval_xcallable values. | |
4113 | (set_value_component_location): Assert that the WHOLE value is not | |
4114 | lval_xcallable. | |
4115 | (value_of_xmethod, call_xmethod): New functions. | |
4116 | * value.h: Declare "struct xmethod_worker". | |
4117 | Declare new functions value_of_xmethod, call_xmethod. | |
4118 | ||
ef370185 JB |
4119 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
4120 | Pedro Alves <palves@redhat.com> | |
4121 | ||
4122 | PR breakpoints/17000 | |
4123 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
4124 | New function, extracted from software_breakpoint_inserted_here_p. | |
4125 | (software_breakpoint_inserted_here_p): Replace factored out code | |
4126 | by call to find_non_raw_software_breakpoint_inserted_here. | |
4127 | (bp_target_info_copy_insertion_state): New function. | |
4128 | (bkpt_insert_location): Handle the case of a single-step | |
4129 | breakpoint already inserted at the same address. | |
4130 | (bkpt_remove_location): Handle the case of a single-step | |
4131 | breakpoint still inserted at the same address. | |
4132 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
4133 | breakpoint already inserted at the same address. | |
4134 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
4135 | non-raw breakpoint still inserted at the same address. | |
4136 | (find_single_step_breakpoint): New function, extracted from | |
4137 | single_step_breakpoint_inserted_here_p. | |
4138 | (find_single_step_breakpoint): New function, | |
4139 | factored out from single_step_breakpoint_inserted_here_p. | |
4140 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
4141 | ||
1e2ccb61 BM |
4142 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
4143 | ||
4144 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
4145 | * source.c (show_substitute_path_command): Fix display of matching | |
4146 | substitution rules. | |
4147 | ||
d3448d85 GB |
4148 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
4149 | ||
4150 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
4151 | ||
06eb1586 DE |
4152 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
4153 | ||
4154 | Add parameter support for Guile. | |
4155 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
4156 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
4157 | (scm-param.o): New rule. | |
4158 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
4159 | (gdbscm_misc_error): Declare. | |
4160 | (gdbscm_canonicalize_command_name): Declare. | |
4161 | (gdbscm_scm_to_host_string): Declare. | |
4162 | (gdbscm_scm_from_host_string): Declare. | |
4163 | (gdbscm_initialize_parameters): Declare. | |
4164 | * guile/guile.c (initialize_gdb_module): Call | |
4165 | gdbscm_initialize_parameters. | |
4166 | * guile/lib/gdb.scm: Export parameter symbols. | |
4167 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
4168 | cmdscm_canonicalize_name and made public. All callers updated. | |
4169 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
4170 | * guile/scm-param.c: New file. | |
4171 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
4172 | (gdbscm_scm_to_host_string): New function. | |
4173 | (gdbscm_scm_from_host_string): New function. | |
4174 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
4175 | ||
e698b8c4 DE |
4176 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
4177 | ||
4178 | Add command support for Guile. | |
4179 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
4180 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
4181 | (scm-cmd.o): New rule. | |
4182 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
4183 | (gdbscm_user_error_p): Declare. | |
4184 | (gdbscm_parse_command_name): Declare. | |
4185 | (gdbscm_valid_command_class_p): Declare. | |
4186 | (gdbscm_initialize_commands): Declare. | |
4187 | * guile/guile.c (initialize_gdb_module): Call | |
4188 | gdbscm_initialize_commands. | |
4189 | * guile/lib/gdb.scm: Export command symbols. | |
4190 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
4191 | (throw-user-error): New function. | |
4192 | * guile/scm-cmd.c: New file. | |
4193 | * guile/scm-exception.c (user_error_symbol): New static global. | |
4194 | (gdbscm_user_error_p): New function. | |
4195 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
4196 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
4197 | ||
fb1f94b0 PM |
4198 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
4199 | ||
4200 | * top.c (command_loop): Handle comments here... | |
4201 | (command_line_input): ... not here. | |
4202 | ||
ded03782 DE |
4203 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
4204 | ||
4205 | Add progspace support for Guile. | |
4206 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
4207 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
4208 | (scm-progspace.o): New rule. | |
4209 | * guile/guile-internal.h (pspace_smob): New typedef. | |
4210 | (psscm_pspace_smob_pretty_printers): Declare. | |
4211 | (psscm_pspace_smob_from_pspace): Declare. | |
4212 | (psscm_scm_from_pspace): Declare. | |
4213 | * guile/guile.c (initialize_gdb_module): Call | |
4214 | gdbscm_initialize_pspaces. | |
4215 | * guile/lib/gdb.scm: Export progspace symbols. | |
4216 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
4217 | support. | |
4218 | (append-pretty-printer!): Ditto. | |
4219 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
4220 | Implement. | |
4221 | * guile/scm-progspace.c: New file. | |
4222 | ||
397998fc AM |
4223 | 2014-06-03 Alan Modra <amodra@gmail.com> |
4224 | ||
4225 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
4226 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
4227 | ||
6aa5f3a6 DE |
4228 | 2014-06-02 Doug Evans <dje@google.com> |
4229 | ||
4230 | Add support for skeletonless type units. | |
4231 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
4232 | n_allocated_type_units. | |
4233 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
4234 | nr_all_type_units_reallocs. | |
4235 | (create_signatured_type_table_from_index): Initialize | |
4236 | n_allocated_type_units | |
4237 | (create_all_type_units): Ditto. | |
4238 | (add_type_unit): Move up in file. New arg slot. | |
4239 | All callers updated. Increase space for all_type_units more | |
4240 | efficiently. | |
4241 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
4242 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
4243 | (lookup_dwp_signatured_type): Ditto. | |
4244 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
4245 | All callers updated. | |
4246 | (build_type_psymtabs_1): Leave type_unit_groups as | |
4247 | NULL if no TUs present. | |
4248 | (print_tu_stats): New function. | |
4249 | (process_skeletonless_type_unit): New function. | |
4250 | (process_dwo_file_for_skeletonless_type_units): New | |
4251 | function. | |
4252 | (process_skeletonless_type_units): New function. | |
4253 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
4254 | Call print tu_stats if debugging enabled. | |
4255 | ||
41fac0cf PA |
4256 | 2014-06-02 Pedro Alves <palves@redhat.com> |
4257 | ||
4258 | * breakpoint.c (build_target_command_list): Don't build a command | |
4259 | list if we have any duplicate location that isn't a dprintf. | |
4260 | ||
cd1608cc PA |
4261 | 2014-06-02 Pedro Alves <palves@redhat.com> |
4262 | ||
4263 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
4264 | (initialize_breakpoint_ops): Install it as dprintf's | |
4265 | breakpoint_hit method. | |
4266 | ||
486ef3b9 JB |
4267 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
4268 | ||
4269 | * source.c (substitute_path_rule_matches): Simplify using | |
4270 | filename_ncmp instead of FILENAME_CMP. | |
4271 | ||
230cd560 JB |
4272 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
4273 | ||
4274 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
4275 | ||
16954d5d LC |
4276 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
4277 | ||
4278 | * configure.ac: When Guile is available, check for the | |
4279 | availability of 'scm_new_smob'. | |
4280 | * configure, config.h.in: Regenerate. | |
4281 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
4282 | function. | |
4283 | ||
53e8a631 AB |
4284 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
4285 | ||
4286 | * frame.c (struct frame_info): Add stop_string field. | |
4287 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
4288 | (get_prev_frame_always): Old content moved into | |
4289 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
4290 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
4291 | (frame_stop_reason_string): New function definition. | |
4292 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
4293 | mention frame_stop_reason_string. | |
4294 | (frame_stop_reason_string): New function declaration. | |
4295 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
4296 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
4297 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
4298 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
4299 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
4300 | ||
70e38b8e AB |
4301 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
4302 | ||
4303 | * frame.c (frame_stop_reason_string): Rename to ... | |
4304 | (unwind_stop_reason_to_string): this. | |
4305 | * frame.h (frame_stop_reason_string): Rename to ... | |
4306 | (unwind_stop_reason_to_string): this. | |
4307 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
4308 | (backtrace_command_1): Likewise. | |
4309 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
4310 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
4311 | ||
938f0e2f AB |
4312 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
4313 | ||
4314 | * frame.c (remove_prev_frame): New function. | |
4315 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
4316 | remove_prev_frame. | |
4317 | ||
a09dd441 PA |
4318 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4319 | ||
4320 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
4321 | and make it const. When a single-step decays to a continue, | |
4322 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
4323 | to step to user_visible_resume_ptid, not what we ask the | |
4324 | target to do. | |
4325 | ||
bdc36728 PA |
4326 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4327 | ||
4328 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
4329 | (handle_step_into_function_backward): Adjust. | |
4330 | Don't set the even thread's stop_step and call stop_waiting before | |
4331 | calling end_stepping_range. Instead do that ... | |
4332 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
4333 | ||
22bcd14b PA |
4334 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4335 | ||
4336 | * infrun.c (stop_stepping): Rename to ... | |
4337 | (stop_waiting): ... this. | |
4338 | (proceed): Update comment. | |
4339 | (process_event_stop_test, handle_inferior_event) | |
4340 | (handle_signal_stop, handle_step_into_function) | |
4341 | (handle_step_into_function_backward): Update. | |
4342 | ||
4ae57c05 PA |
4343 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4344 | ||
4345 | * infcall.c (run_inferior_call): Don't check whether the current | |
4346 | thread is running after the proceed call. | |
4347 | ||
329ea579 PA |
4348 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4349 | Tom Tromey <tromey@redhat.com> | |
4350 | ||
4351 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
4352 | background execution commands are now always available. | |
4353 | * target.h (target_async_permitted): Update comment. | |
4354 | * target.c (target_async_permitted, target_async_permitted_1): | |
4355 | Default to 1. | |
4356 | (set_target_async_command): Rename to ... | |
4357 | (maint_set_target_async_command): ... this. | |
4358 | (show_target_async_command): Rename to ... | |
4359 | (maint_show_target_async_command): ... this. | |
4360 | (_initialize_target): Adjust. | |
4361 | * infcmd.c (prepare_execution_command): Make extern. | |
4362 | * inferior.h (prepare_execution_command): Declare. | |
4363 | * infrun.c (set_observer_mode): Leave target async alone. | |
4364 | * mi/mi-interp.c (mi_interpreter_init): Install | |
4365 | mi_on_sync_execution_done as sync_execution_done observer. | |
4366 | (mi_on_sync_execution_done): New function. | |
4367 | (mi_execute_command_input_handler): Don't print the prompt if we | |
4368 | just started a synchronous command with an async target. | |
4369 | (mi_on_resume): Check sync_execution before printing prompt. | |
4370 | * mi/mi-main.h (mi_async_p): Declare. | |
4371 | * mi/mi-main.c: Include gdbcmd.h. | |
4372 | (mi_async_p): New function. | |
4373 | (mi_async, mi_async_1): New globals. | |
4374 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
4375 | functions. | |
4376 | (exec_continue): Call prepare_execution_command. | |
4377 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
4378 | (mi_execute_async_cli_command): Use mi_async_p. | |
4379 | (_initialize_mi_main): Install "set mi-async". Make | |
4380 | "target-async" a deprecated alias. | |
4381 | ||
92bcb5f9 PA |
4382 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4383 | ||
4384 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
4385 | (_initialize_cli_interp): Adjust. | |
4386 | * event-loop.c: Include "observer.h". | |
4387 | (start_event_loop): Notify 'command_error' observers instead of | |
4388 | calling display_gdb_prompt. Remove FIXME comment. | |
4389 | * event-top.c (display_gdb_prompt): Remove call into the | |
4390 | interpreters. | |
4391 | * inf-loop.c: Include "observer.h". | |
4392 | (inferior_event_handler): Notify 'command_error' observers instead | |
4393 | of calling display_gdb_prompt. | |
4394 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
4395 | observers instead of calling display_gdb_prompt. | |
4396 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
4397 | (current_interp_display_prompt_p): Delete. | |
4398 | * interps.h (interp_prompt_p): Delete declaration. | |
4399 | (interp_prompt_p_ftype): Delete. | |
4400 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
4401 | (current_interp_display_prompt_p): Delete declaration. | |
4402 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
4403 | (_initialize_mi_interp): Adjust. | |
4404 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
4405 | 'command_error' observers. | |
4406 | (tui_on_sync_execution_done, tui_on_command_error): New | |
4407 | functions. | |
4408 | (tui_display_prompt_p): Delete. | |
4409 | (_initialize_tui_interp): Adjust. | |
4410 | ||
fd664c91 PA |
4411 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4412 | ||
4413 | PR gdb/13860 | |
4414 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
4415 | (cli_uiout, cli_interp): New globals. | |
4416 | (cli_on_signal_received, cli_on_end_stepping_range) | |
4417 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
4418 | functions. | |
4419 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
4420 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
4421 | observers. | |
4422 | (_initialize_cli_interp): Remove cli_interp local. | |
4423 | * infrun.c (handle_inferior_event): Call the several stop reason | |
4424 | observers instead of printing the stop reason directly. | |
4425 | (end_stepping_range): New function. | |
4426 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
4427 | (print_exited_reason, print_signal_received_reason) | |
4428 | (print_no_history_reason): Make static, and add an uiout | |
4429 | parameter. Print to that instead of to CURRENT_UIOUT. | |
4430 | * infrun.h (print_end_stepping_range_reason) | |
4431 | (print_signal_exited_reason, print_exited_reason) | |
4432 | (print_signal_received_reason print_no_history_reason): New | |
4433 | declarations. | |
4434 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
4435 | 'mi_uiout'. | |
4436 | <cli_uiout>: New field. | |
4437 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
4438 | uiout for CLI output. Install 'signal_received', | |
4439 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
4440 | observers. | |
4441 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
4442 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
4443 | (mi_on_no_history): New functions. | |
4444 | (ui_out_free_cleanup): Delete function. | |
4445 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
4446 | instead use the one already stored in the MI interpreter data. | |
4447 | (mi_ui_out): Adjust. | |
4448 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
4449 | (tui_interp): New global. | |
4450 | (tui_on_signal_received, tui_on_end_stepping_range) | |
4451 | (tui_on_signal_exited, tui_on_exited) | |
4452 | (tui_on_no_history): New functions. | |
4453 | (tui_init): Install them as 'end_stepping_range', | |
4454 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
4455 | observers. | |
4456 | (_initialize_tui_interp): Delete tui_interp local. | |
4457 | ||
8817a6f2 PA |
4458 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4459 | ||
4460 | PR gdb/15713 | |
4461 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
4462 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
4463 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
4464 | before resuming sibling lwps. Instead ask | |
4465 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
4466 | stopped after actually resuming it. | |
4467 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
4468 | resuming it. | |
4469 | (wait_lwp): Mark the lwp as stopped here. | |
4470 | (stop_wait_callback): Mark the lwp as not stopped right after | |
4471 | resuming it. Don't mark lwps as stopped here. | |
4472 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
4473 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
4474 | ||
251bde03 PA |
4475 | 2014-05-29 Pedro Alves <palves@redhat.com> |
4476 | ||
4477 | PR PR15693 | |
4478 | * infrun.c (resume): Determine how much to resume depending on | |
4479 | whether the caller wanted a step, not whether we can hardware step | |
4480 | the target. Mark all threads that we intend to run as running, | |
4481 | unless we're calling an inferior function. | |
4482 | (normal_stop): If the thread is running an infcall, don't finish | |
4483 | thread state. | |
4484 | * target.c (target_resume): Don't mark threads as running here. | |
4485 | ||
7f3c0343 JB |
4486 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
4487 | ||
4488 | * serial.c (_initialize_serial): Remove support for | |
4489 | the "set remotebaud" and "show remotebaud" commands. | |
4490 | * NEWS: Add entry documenting the removal of that command. | |
4491 | ||
ee34b3f9 YQ |
4492 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
4493 | ||
4494 | * charset.c: Fix typo in comments. | |
4495 | ||
add6c04d GB |
4496 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
4497 | ||
4498 | * utils.c (internal_vproblem): Prompt for a bug report. | |
4499 | ||
92c48fc5 AW |
4500 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
4501 | ||
4502 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
4503 | * guile/scm-block.c (bkscm_mark_block_smob) | |
4504 | (bkscm_mark_block_syms_progress_smob): | |
4505 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
4506 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
4507 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
4508 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
4509 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
4510 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
4511 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
4512 | (ppscm_mark_pretty_printer_worker_smob): | |
4513 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
4514 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
4515 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
4516 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
4517 | mark functions. | |
4518 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
4519 | function. | |
4520 | ||
b2715b27 AW |
4521 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
4522 | Doug Evans <xdje42@gmail.com> | |
4523 | ||
4524 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
4525 | empty_base_class. All uses updated. | |
4526 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
4527 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
4528 | Adapt all callers. | |
4529 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
4530 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
4531 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
4532 | (gdbscm_gsmob_has_property_p, add_property_name) | |
4533 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
4534 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
4535 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
4536 | (gdb-object-kind): Renamed from gsmob-kind. | |
4537 | ||
214ab2da AW |
4538 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
4539 | ||
4540 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
4541 | * configure: Regenerate. | |
4542 | ||
589fdceb MM |
4543 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
4544 | ||
4545 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
4546 | ||
67b5c0c1 MM |
4547 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
4548 | ||
4549 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
4550 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
4551 | (replay_memory_access_types, replay_memory_access) | |
4552 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
4553 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
4554 | (cmd_show_replay_memory_access): New. | |
4555 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
4556 | (record_btrace_remove_breakpoint): Replace | |
4557 | record_btrace_allow_memory_access with replay_memory_access. | |
4558 | (_initialize_record_btrace): Add commands. | |
4559 | * NEWS: Announce it. | |
4560 | ||
036cd381 RR |
4561 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4562 | ||
4563 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
4564 | ||
c77c1e42 RR |
4565 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
4566 | ||
4567 | * MAINTAINERS (Write After Approval): Move self back from | |
4568 | paper trail. | |
4569 | ||
45741a9c PA |
4570 | 2014-05-22 Pedro Alves <palves@redhat.com> |
4571 | ||
4572 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
4573 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
4574 | (disable_randomization, enum exec_direction_kind) | |
4575 | (execution_direction, stop_registers, start_remote) | |
4576 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
4577 | (wait_for_inferior, normal_stop, get_last_target_status) | |
4578 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
4579 | (insert_step_resume_breakpoint_at_sal) | |
4580 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
4581 | (set_step_info, print_stop_event, signal_stop_state) | |
4582 | (signal_print_state, signal_pass_state, signal_stop_update) | |
4583 | (signal_print_update, signal_pass_update) | |
4584 | (update_signals_program_target, clear_exit_convenience_vars) | |
4585 | (displaced_step_dump_bytes, update_observer_mode) | |
4586 | (signal_catch_update, gdb_signal_from_command): Move | |
4587 | declarations ... | |
4588 | * infrun.h: ... to this new file. | |
4589 | * amd64-tdep.c: Include infrun.h. | |
4590 | * annotate.c: Include infrun.h. | |
4591 | * arch-utils.c: Include infrun.h. | |
4592 | * arm-linux-tdep.c: Include infrun.h. | |
4593 | * arm-tdep.c: Include infrun.h. | |
4594 | * break-catch-sig.c: Include infrun.h. | |
4595 | * breakpoint.c: Include infrun.h. | |
4596 | * common/agent.c: Include infrun.h instead of inferior.h. | |
4597 | * corelow.c: Include infrun.h. | |
4598 | * event-top.c: Include infrun.h. | |
4599 | * go32-nat.c: Include infrun.h. | |
4600 | * i386-tdep.c: Include infrun.h. | |
4601 | * inf-loop.c: Include infrun.h. | |
4602 | * infcall.c: Include infrun.h. | |
4603 | * infcmd.c: Include infrun.h. | |
4604 | * infrun.c: Include infrun.h. | |
4605 | * linux-fork.c: Include infrun.h. | |
4606 | * linux-nat.c: Include infrun.h. | |
4607 | * linux-thread-db.c: Include infrun.h. | |
4608 | * monitor.c: Include infrun.h. | |
4609 | * nto-tdep.c: Include infrun.h. | |
4610 | * procfs.c: Include infrun.h. | |
4611 | * record-btrace.c: Include infrun.h. | |
4612 | * record-full.c: Include infrun.h. | |
4613 | * remote-m32r-sdi.c: Include infrun.h. | |
4614 | * remote-mips.c: Include infrun.h. | |
4615 | * remote-notif.c: Include infrun.h. | |
4616 | * remote-sim.c: Include infrun.h. | |
4617 | * remote.c: Include infrun.h. | |
4618 | * reverse.c: Include infrun.h. | |
4619 | * rs6000-tdep.c: Include infrun.h. | |
4620 | * s390-linux-tdep.c: Include infrun.h. | |
4621 | * solib-irix.c: Include infrun.h. | |
4622 | * solib-osf.c: Include infrun.h. | |
4623 | * solib-svr4.c: Include infrun.h. | |
4624 | * target.c: Include infrun.h. | |
4625 | * top.c: Include infrun.h. | |
4626 | * windows-nat.c: Include infrun.h. | |
4627 | * mi/mi-interp.c: Include infrun.h. | |
4628 | * mi/mi-main.c: Include infrun.h. | |
4629 | * python/py-threadevent.c: Include infrun.h. | |
4630 | ||
98eb56a4 PA |
4631 | 2014-05-22 Pedro Alves <palves@redhat.com> |
4632 | ||
4633 | * infrun.c (handle_inferior_event): Store the exit code for | |
4634 | --return-child-result here, instead of ... | |
4635 | (print_exited_reason): ... here. | |
4636 | ||
17b2616c PA |
4637 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4638 | ||
4639 | PR gdb/13860 | |
4640 | * gdbthread.h (struct thread_control_state): New field | |
4641 | `command_interp'. | |
4642 | * infrun.c (follow_fork): Copy the new thread control field to the | |
4643 | child fork thread. | |
4644 | (clear_proceed_status_thread): Clear the new thread control field. | |
4645 | (proceed): Set the new thread control field. | |
4646 | * interps.h (command_interp): Declare. | |
4647 | * interps.c (command_interpreter): New global. | |
4648 | (command_interp): New function. | |
4649 | (interp_exec): Set `command_interpreter' while here. | |
4650 | * cli-out.c (cli_uiout_dtor): New function. | |
4651 | (cli_ui_out_impl): Install it. | |
4652 | * mi/mi-interp.c: Include cli-out.h. | |
4653 | (mi_cmd_interpreter_exec): Add comment. | |
4654 | (restore_current_uiout_cleanup): New function. | |
4655 | (ui_out_free_cleanup): New function. | |
4656 | (mi_on_normal_stop): If finishing an execution command started by | |
4657 | a CLI command, or any kind of breakpoint-like event triggered, | |
4658 | print the stop event to the output (CLI) stream. | |
4659 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
4660 | ||
5166082f PA |
4661 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4662 | ||
4663 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
4664 | current source line having changed. | |
4665 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
4666 | * infrun.c (normal_stop): Adjust call to | |
4667 | set_current_sal_from_frame. | |
4668 | * source.c (clear_lines_listed_range): New function. | |
4669 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
4670 | the lines listed range. | |
4671 | (line_info): Handle the first "info line" after the current source | |
4672 | line having changed. | |
4673 | * stack.c (print_stack_frame): Remove center handling. | |
4674 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
4675 | center sal.line. | |
4676 | ||
c1ee2fb3 PA |
4677 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4678 | ||
4679 | * inf-child.c (inf_child_mourn_inferior): New function. | |
4680 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
4681 | * darwin-nat.c (darwin_mourn_inferior): Use | |
4682 | inf_child_mourn_inferior. | |
4683 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
4684 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
4685 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
4686 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
4687 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
4688 | ||
5c6d4fb2 DE |
4689 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
4690 | ||
250748cb | 4691 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 4692 | |
4a2722c5 DE |
4693 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
4694 | ||
17292b30 | 4695 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
4696 | (gdbscm_out_of_range_error): Ditto. |
4697 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
4698 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
4699 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
4700 | (gdbscm_out_of_range_error): Update. |
4701 | (gdbscm_memory_error): Update. | |
4702 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
4703 | ||
6a3cb8e8 PA |
4704 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4705 | ||
4706 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
4707 | globals. | |
4708 | (inf_child_open_target): New function. | |
4709 | (inf_child_open): Use inf_child_open_target to push the target | |
4710 | instead of erroring out. | |
4711 | (inf_child_disconnect, inf_child_close) | |
4712 | (inf_child_maybe_unpush_target): New functions. | |
4713 | (inf_child_target): Install inf_child_disconnect and | |
4714 | inf_child_close. Store a pointer to the returned object. | |
4715 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
4716 | declarations. | |
4717 | * target.c (auto_connect_native_target): New global. | |
4718 | (show_default_run_target): New function. | |
4719 | (find_default_run_target): Return NULL if automatically connecting | |
4720 | to the native target is disabled. | |
4721 | (_initialize_target): Install set/show auto-connect-native-target. | |
4722 | * NEWS: Mention "set auto-connect-native-target", and "target | |
4723 | native". | |
4724 | * linux-nat.c (super_close): New global. | |
4725 | (linux_nat_close): Call super_close. | |
4726 | (linux_nat_add_target): Store a pointer to the base class's | |
4727 | to_close method. | |
4728 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
4729 | inf_child_maybe_unpush. | |
4730 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
4731 | already pushed. | |
4732 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
4733 | the inferior. Use inf_child_maybe_unpush_target. | |
4734 | (inf_ttrace_attach): Don't push the target if it is already | |
4735 | pushed. | |
4736 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
4737 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
4738 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
4739 | (darwin_attach_pid): Don't push the target if it is already | |
4740 | pushed. | |
4741 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
4742 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
4743 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
4744 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
4745 | is already pushed. | |
4746 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
4747 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
4748 | (procfs_open): Rename to ... | |
4749 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
4750 | comments. Can target_preopen before changing node. Call | |
4751 | inf_child_open_target to push the target explicitly. | |
4752 | (procfs_attach): Don't push the target if it is already pushed. | |
4753 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
4754 | (procfs_create_inferior): Don't push the target if it is already | |
4755 | pushed. | |
4756 | (nto_native_ops): New global. | |
4757 | (procfs_open): Reimplement. | |
4758 | (procfs_native_open): New function. | |
4759 | (init_procfs_targets): Install procfs_native_open as to_open of | |
4760 | "target native". Store a pointer to the "native" target in | |
4761 | nto_native_ops. | |
4762 | * procfs.c (procfs_attach): Don't push the target if it is already | |
4763 | pushed. | |
4764 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
4765 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
4766 | inferior. Use inf_child_maybe_unpush_target. | |
4767 | (procfs_init_inferior): Don't push the target if it is already | |
4768 | pushed. | |
4769 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
4770 | if it is already pushed. | |
4771 | ||
930ee1b1 PA |
4772 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4773 | ||
4774 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
4775 | and "procfs" targets are now called "native" instead. | |
4776 | ||
1f5d1b13 PA |
4777 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4778 | ||
4779 | * go32-nat.c (go32_open): Delete. | |
4780 | (go32_target): Don't override the to_open method. | |
4781 | ||
132f8e03 PA |
4782 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4783 | ||
4784 | * nto-procfs.c (procfs_can_run): New function. | |
4785 | (nto_procfs_ops): New global. | |
4786 | (init_procfs_targets): New, based on procfs_target. Install | |
4787 | "target native" in addition to "target procfs". | |
4788 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
4789 | the target here. | |
4790 | ||
03c136c3 PA |
4791 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4792 | ||
4793 | * windows-nat.c (windows_target): Don't override to_shortname, | |
4794 | to_longname or to_doc. | |
4795 | ||
a635d0f3 PA |
4796 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4797 | ||
4798 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
4799 | to_doc. | |
4800 | ||
4f9b5133 PA |
4801 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4802 | ||
4803 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
4804 | to_shortname, to_longname or to_doc. | |
4805 | ||
bc85afde PA |
4806 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4807 | ||
4808 | * go32-nat.c (go32_target): Don't override to_shortname, | |
4809 | to_longname or to_doc. | |
4810 | ||
4ebfc96e PA |
4811 | 2014-05-21 Pedro Alves <palves@redhat.com> |
4812 | ||
4813 | * inf-child.c (inf_child_open): Remove mention of "child". | |
4814 | (inf_child_target): Rename target to "native" instead of "child". | |
4815 | ||
2648dfed AA |
4816 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4817 | ||
4818 | * Makefile.in (SFILES): Delete "regset.c". | |
4819 | (COMMON_OBS): Delete "regset.o". | |
4820 | * regset.c: Remove. | |
4821 | * regset.h (regset_alloc): Delete prototype. | |
4822 | ||
b13feb94 AA |
4823 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4824 | ||
4825 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
4826 | (sparc32_linux_fpregset): New static regset structures. | |
4827 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
4828 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
4829 | 'fpregset' fields. | |
4830 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
4831 | (sparc64_linux_fpregset): New static regset structures. | |
4832 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
4833 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
4834 | New static regset structures. | |
4835 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
4836 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
4837 | New static regset structures. | |
4838 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
4839 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
4840 | New static regset structures. | |
4841 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
4842 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
4843 | New static regset structures. | |
4844 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
4845 | ||
b4fd25c9 AA |
4846 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4847 | ||
4848 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
4849 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
4850 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
4851 | for all regmap types and variables. | |
4852 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
4853 | (sparc32_linux_supply_core_gregset) | |
4854 | (sparc32_linux_collect_core_gregset) | |
4855 | (sparc32_linux_supply_core_fpregset) | |
4856 | (sparc32_linux_collect_core_fpregset): Likewise. | |
4857 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
4858 | (sparc_gregmap, sparc_fpregmap): ... these. | |
4859 | (sparc_supply_gregset, sparc_collect_gregset) | |
4860 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
4861 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
4862 | (_initialize_sparc_nat): Rename regmaps. | |
4863 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
4864 | (sparc_gregmap, sparc_fpregmap): ... these. | |
4865 | (sparc_supply_gregset, sparc_collect_gregset) | |
4866 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
4867 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
4868 | Rename macros to... | |
4869 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
4870 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
4871 | Likewise. | |
4872 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
4873 | Rename to... | |
4874 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
4875 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
4876 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
4877 | regmaps. | |
4878 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
4879 | (sparc32_bsd_fpregset): Rename to... | |
4880 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
4881 | (sparc32_bsd_fpregmap): ... these. | |
4882 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
4883 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
4884 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
4885 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
4886 | (struct sparc_gregmap, struct sparc_fpregmap) | |
4887 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
4888 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
4889 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
4890 | (sparc32_supply_regset, sparc32_collect_gregset) | |
4891 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
4892 | prototypes. | |
4893 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
4894 | (sparc64_linux_ptrace_gregmap): ... this. | |
4895 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
4896 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
4897 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
4898 | (sparc64_linux_core_gregmap): ... this. | |
4899 | (sparc64_linux_supply_core_gregset) | |
4900 | (sparc64_linux_collect_core_gregset) | |
4901 | (sparc64_linux_supply_core_fpregset) | |
4902 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
4903 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
4904 | (sparc64_sol2_fpregset): Rename to... | |
4905 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
4906 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
4907 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
4908 | regmaps. | |
4909 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
4910 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
4911 | (sparc64_bsd_fpregset): Rename to... | |
4912 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
4913 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
4914 | (sparc64_bsd_fpregmap): ... these. | |
4915 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
4916 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
4917 | prototypes. | |
4918 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
4919 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
4920 | (sparc64fbsd_gregmap): ... this. | |
4921 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
4922 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
4923 | Rename regmaps. | |
4924 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
4925 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
4926 | (sparc64nbsd_collect_fpregset): Likewise. | |
4927 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
4928 | (sparc64nbsd_gregmap): ... this. | |
4929 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
4930 | regmaps. | |
4931 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
4932 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
4933 | (sparc64obsd_gregmap): ... this. | |
4934 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
4935 | regmaps. | |
4936 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
4937 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
4938 | (sparc32nbsd_gregmap): ... this. | |
4939 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
4940 | regmaps. | |
4941 | ||
8fea3224 AA |
4942 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4943 | ||
4944 | * score-tdep.c (score7_linux_gregset): New static regset | |
4945 | structure. | |
4946 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
4947 | allocation. | |
4948 | (score_gdbarch_init): Drop allocation of tdep structure. | |
4949 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
4950 | ||
24534243 AA |
4951 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4952 | ||
4953 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
4954 | regset structures. | |
4955 | (am33_regset_from_core_section): Remove dynamic regset | |
4956 | allocations. | |
4957 | ||
b7195f27 AA |
4958 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4959 | ||
4960 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
4961 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
4962 | structures. | |
4963 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
4964 | allocations. | |
4965 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
4966 | 'gregset64', 'fpregset', and 'fpregset64'. | |
4967 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
4968 | deleted tdep fields. | |
4969 | ||
ecc37a5a AA |
4970 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4971 | ||
4972 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
4973 | regset structures. | |
4974 | (amd64_regset_from_core_section): Remove dynamic regset | |
4975 | allocations. | |
4976 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
4977 | structure. | |
4978 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
4979 | allocation. | |
4980 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
4981 | Likewise. | |
4982 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
4983 | x86-common regset supply function. | |
4984 | * i386-tdep.c (i386_collect_gregset): Make static. | |
4985 | (i386_gregset): New global regset structure. | |
4986 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
4987 | (i386_regset_from_core_section): Remove dynamic regset | |
4988 | allocations. | |
4989 | (i386_gdbarch_init): Remove initialization of tdep fields | |
4990 | 'gregset', 'fpregset', and 'xstateregset'. | |
4991 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
4992 | 'fpregset', and 'xstateregset'. | |
4993 | (i386_collect_gregset): Remove prototype. | |
4994 | (i386_gregset): New declaration. | |
4995 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
4996 | structure. | |
4997 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
4998 | allocation. | |
4999 | ||
b7611c43 AA |
5000 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
5001 | ||
5002 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
5003 | (arm_linux_vfpregset): New static regset structures. | |
5004 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
5005 | regset structures. | |
5006 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
5007 | and 'vfpregset' fields. | |
5008 | ||
a069a2bd AA |
5009 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
5010 | ||
5011 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
5012 | (aarch64_linux_fpregset): New static regset structures. | |
5013 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
5014 | of regset structures. | |
5015 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
5016 | 'fpregset' fields. | |
5017 | ||
09424cff AA |
5018 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
5019 | ||
5020 | * regset.h (struct regset): Remove gdbarch field. | |
5021 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
5022 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
5023 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
5024 | Likewise. | |
5025 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
5026 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
5027 | (ppc32_linux_vsxregset): Likewise. | |
5028 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
5029 | via the regcache instead of the regset. | |
5030 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
5031 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
5032 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
5033 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
5034 | Likewise. | |
5035 | ||
3ca7dae4 AA |
5036 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
5037 | ||
5038 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
5039 | Constify structures. | |
5040 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
5041 | (alphanbsd_aout_gregset): Likewise. | |
5042 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
5043 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
5044 | Likewise. | |
5045 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
5046 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
5047 | Likewise. | |
5048 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
5049 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
5050 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
5051 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
5052 | * m88k-tdep.c (m88k_gregset): Likewise. | |
5053 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
5054 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
5055 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
5056 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
5057 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
5058 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
5059 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
5060 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
5061 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
5062 | Likewise. | |
5063 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
5064 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
5065 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
5066 | * vax-tdep.c (vax_gregset): Likewise. | |
5067 | ||
5876f503 JK |
5068 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
5069 | ||
5070 | Fix TLS access for -static -pthread. | |
5071 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
5072 | (try_thread_db_load_1): Initialize it. | |
5073 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
5074 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
5075 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
5076 | load_module_addr comment. | |
5077 | ||
0256a6ac PA |
5078 | 2014-05-21 Pedro Alves <palves@redhat.com> |
5079 | ||
5080 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
5081 | fails, fallback to reading just the memory the caller wanted. | |
5082 | ||
227533ac DE |
5083 | 2014-05-20 Doug Evans <dje@google.com> |
5084 | ||
5085 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
5086 | instead of get_current_arch. | |
5087 | ||
936d2992 PA |
5088 | 2014-05-20 Pedro Alves <palves@redhat.com> |
5089 | ||
5090 | * NEWS: Mention that compare-sections now works with all targets. | |
5091 | ||
5092 | * remote.c (PACKET_qCRC): New enum value. | |
5093 | (remote_verify_memory): Don't send qCRC if the target has no | |
5094 | execution. Use packet_support/packet_ok. If the target doesn't | |
5095 | support the qCRC packet, fallback to a deep memory copy. | |
5096 | (compare_sections_command): Say "target image" instead of "remote | |
5097 | executable". | |
5098 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
5099 | packets that have no associated command. Extend comment. | |
5100 | * target.c (simple_verify_memory, default_verify_memory): New | |
5101 | function. | |
5102 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
5103 | default_verify_memory. | |
5104 | (simple_verify_memory): New declaration. | |
5105 | * target-delegates.c: Regenerate. | |
5106 | ||
e59fa00f MM |
5107 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
5108 | ||
5109 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
5110 | ||
f2205de0 HZ |
5111 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
5112 | Yao Qi <yao@codesourcery.com> | |
5113 | ||
5114 | PR backtrace/16558 | |
5115 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
5116 | and change address of sp and pc. | |
5117 | ||
c4e54771 TT |
5118 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
5119 | ||
5120 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
5121 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
5122 | ||
73051182 DE |
5123 | 2014-05-19 Doug Evans <dje@google.com> |
5124 | ||
5125 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
5126 | build_type_unit_groups and moved closer to only caller. Remove | |
5127 | arguments. All references updated. Remove outdated .gdb_index | |
5128 | comment. | |
5129 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
5130 | build_type_psymtabs_1. | |
5131 | ||
8832e7e3 DE |
5132 | 2014-05-19 Doug Evans <dje@google.com> |
5133 | ||
5134 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
5135 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
5136 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
5137 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
5138 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
5139 | (add_type_unit_group_to_table): Delete. | |
5140 | ||
cd8ae15e DE |
5141 | 2014-05-19 Doug Evans <dje@google.com> |
5142 | ||
5143 | * eval.c (evaluate_subexp_standard): Add some comments. | |
5144 | ||
08f4850b DE |
5145 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
5146 | ||
5147 | * progspace.c (remove_program_space): Delete, unused. | |
5148 | * progspace.h (remove_program_space): Ditto. | |
5149 | ||
bed8455c DE |
5150 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
5151 | ||
5152 | * inferior.c (prune_inferiors): Fix comment. | |
5153 | (remove_inferior_command): Call prune_program_spaces. | |
5154 | ||
8d551b02 DE |
5155 | 2014-05-16 Doug Evans <dje@google.com> |
5156 | ||
5157 | New command line option -D. | |
5158 | * NEWS: Mention it. | |
5159 | * main.c (set_gdb_data_directory): New function. | |
5160 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
5161 | Call set_gdb_data_directory. | |
5162 | (print_gdb_help): Print --data-directory, -D. | |
5163 | * main.h (set_gdb_data_directory): Declare. | |
5164 | * top.c (staged_gdb_datadir): New static global. | |
5165 | (set_gdb_datadir): Call set_gdb_data_directory | |
5166 | (show_gdb_datadir): New function. | |
5167 | (init_main): Update init of data-directory parameter. | |
5168 | ||
18848e28 GF |
5169 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
5170 | ||
5171 | Import the "dirfd" gnulib module. | |
5172 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
5173 | * gnulib/aclocal.m4: Update. | |
5174 | * gnulib/config.in: Update. | |
5175 | * gnulib/configure: Update. | |
5176 | * gnulib/import/Makefile.am: Update. | |
5177 | * gnulib/import/Makefile.in: Update. | |
5178 | * gnulib/import/dirfd.c: New. | |
5179 | * gnulib/import/m4/dirfd.m4: New. | |
5180 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
5181 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
5182 | ||
95c64f92 YQ |
5183 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
5184 | Yao Qi <yao@codesourcery.com> | |
5185 | ||
5186 | * valprint.c (print_wchar): Move the code on checking whether | |
5187 | W is a printable wide char to the default branch of switch | |
5188 | statement below. Call wchar_printable instead of gdb_iswprint. | |
5189 | ||
cac395ea TM |
5190 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
5191 | ||
19679eca | 5192 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
5193 | ldr.w and ldrd instructions. |
5194 | ||
83655187 DE |
5195 | 2014-05-15 Doug Evans <dje@google.com> |
5196 | ||
5197 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
5198 | ||
dd756689 TT |
5199 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
5200 | ||
5201 | * macrocmd.c (print_macro_definition): Reindent. | |
5202 | ||
75ddda77 DE |
5203 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
5204 | ||
5205 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
5206 | (completers): Make const. | |
5207 | ||
b0f16a3e SM |
5208 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
5209 | ||
5210 | * infrun.c (resume): Remove should_resume (unused). Move up | |
5211 | declaration of resume_ptid. | |
5212 | ||
033c3379 TT |
5213 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
5214 | ||
5215 | * language.h (unop_type_check): Remove. | |
5216 | (binop_type_check): Don't declare. | |
5217 | ||
9b44a3a5 AA |
5218 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
5219 | ||
5220 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
5221 | call to regcache_raw_collect. | |
5222 | ||
303a33fa SM |
5223 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
5224 | ||
5225 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
5226 | mi_console->quote as the quoting character. | |
5227 | ||
196100a0 SM |
5228 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
5229 | ||
5230 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
5231 | ||
f989a1c8 TT |
5232 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
5233 | ||
5234 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
5235 | "show debug varobj". | |
5236 | ||
9404b58f KM |
5237 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
5238 | ||
5239 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
5240 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
5241 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
5242 | with aarch64_software_single_step. | |
5243 | ||
5e49ba57 JB |
5244 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
5245 | ||
5246 | GDB 7.7.1 released. | |
5247 | ||
c888a17d KS |
5248 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
5249 | ||
5250 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
5251 | variable or history value is successfully parsed. | |
5252 | ||
290a839c YQ |
5253 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
5254 | Pedro Alves <palves@redhat.com> | |
5255 | ||
5256 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
5257 | address of blocks that intersects the requested range. Trim | |
5258 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
5259 | sections. | |
5260 | * ctf.c (ctf_xfer_partial): Likewise. | |
5261 | ||
91256dc2 YQ |
5262 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
5263 | ||
5264 | * printcmd.c (display_command): Remove the check to | |
5265 | target_has_execution. | |
5266 | ||
07284463 MK |
5267 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
5268 | ||
5269 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
5270 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
5271 | add_target. | |
5272 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
5273 | ||
30a1e6cc SDJ |
5274 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
5275 | ||
5276 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
5277 | and 16-bit signed and unsigned arguments. Update comment. | |
5278 | (stap_parse_probe_arguments): Extend code to handle such | |
5279 | arguments. Use warning instead of complaint to notify about | |
5280 | unrecognized bitness. | |
5281 | ||
f33da99a SDJ |
5282 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
5283 | ||
5284 | PR breakpoints/16889 | |
5285 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
5286 | check for non-prefixed probes (i.e., probes whose | |
5287 | arguments do not start with "N@"). Always set the | |
5288 | argument type to a sane value. | |
5289 | ||
95cf3b38 DT |
5290 | 2014-05-01 David Taylor <dtaylor@emc.com> |
5291 | ||
5292 | * remote.c (compare_sections_command): Add -r option to compare | |
5293 | all loadable read-only sections. | |
5294 | ||
1cfdf534 SC |
5295 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
5296 | ||
5297 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
5298 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
5299 | Update all callers. | |
5300 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
5301 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
5302 | Remove unused CORE_ADDR argument. Update all callers. | |
5303 | ||
ca4f7f8b PA |
5304 | 2014-04-29 Pedro Alves <palves@redhat.com> |
5305 | ||
5306 | * remote.c (struct packet_config) <detect>: Extend comment. | |
5307 | (add_packet_config_cmd): Don't set the config's detect or support | |
5308 | fields here. | |
5309 | (init_all_packet_configs): Also initialize the config's 'detect' | |
5310 | field. | |
5311 | (reset_all_packet_configs_support): New function. | |
5312 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
5313 | init_all_packet_configs. | |
5314 | (_initialize_remote): Initialize all packet configs. Assert that | |
5315 | all packets have an associated command, except a few known | |
5316 | outliers. | |
5317 | ||
11c1ba78 JB |
5318 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
5319 | ||
5320 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
5321 | DW_AT_lower_bound attributes. | |
5322 | ||
8739bc53 JB |
5323 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
5324 | ||
5325 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
5326 | dynamic bounds before computing its upper bound. | |
5327 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
5328 | ||
6f8a3220 JB |
5329 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
5330 | ||
5331 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
5332 | range types. Adjust the array handling implementation to | |
5333 | take advantage of this change. | |
5334 | (resolve_dynamic_range): New function, mostly extracted from | |
5335 | resolve_dynamic_bounds. | |
5336 | (resolve_dynamic_array): New function, mostly extracted from | |
5337 | resolve_dynamic_bounds. | |
5338 | (resolve_dynamic_bounds): Delete. | |
5339 | (resolve_dynamic_type): Reimplement. Add handling of | |
5340 | TYPE_CODE_RANGE types. | |
5341 | ||
4d072ce4 JB |
5342 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
5343 | ||
5344 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
5345 | handling of parallel ___XA types. | |
5346 | ||
52865325 JB |
5347 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
5348 | ||
5349 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
5350 | unnecessary second call to static_unwrap_type. | |
5351 | ||
433e77fa HZ |
5352 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
5353 | ||
5354 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
5355 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
5356 | ||
b51a69ee DE |
5357 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
5358 | ||
5359 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
5360 | ||
7ae1a6a6 PA |
5361 | 2014-04-25 Pedro Alves <palves@redhat.com> |
5362 | ||
5363 | PR server/16255 | |
5364 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
5365 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
5366 | and newline from built string. | |
5367 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
5368 | (linux_ptrace_attach_fail_reason): ... this. | |
5369 | * linux-nat.c (linux_nat_attach): Adjust to use | |
5370 | linux_ptrace_attach_fail_reason. | |
5371 | ||
4082afcc PA |
5372 | 2014-04-25 Pedro Alves <palves@redhat.com> |
5373 | ||
5374 | * remote.c (struct remote_state): Remove multi_process_aware, | |
5375 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
5376 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
5377 | install_in_trace, disconnected_tracing, | |
5378 | enable_disable_tracepoints, string_tracing, and | |
5379 | augmented_libraries_svr4_read fields. | |
5380 | (remote_multi_process_p): Move further below in the file. | |
5381 | (struct packet_config): Add comments. | |
5382 | (update_packet_config): Delete function. | |
5383 | (show_packet_config_cmd): Use packet_config_support. | |
5384 | (add_packet_config_cmd): Use NULL as set callback. | |
5385 | (packet_ok): "set remote foo-packet"-style commands no longer | |
5386 | change config->supported -- adjust. | |
5387 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
5388 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
5389 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
5390 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
5391 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
5392 | (PACKET_DisconnectedTracing_feature) | |
5393 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
5394 | (set_remote_protocol_packet_cmd): Delete function. | |
5395 | (packet_config_support, packet_support): New functions. | |
5396 | (set_remote_protocol_Z_packet_cmd): Don't call | |
5397 | update_packet_config. | |
5398 | (remote_query_attached, remote_pass_signals) | |
5399 | (remote_program_signals, remote_threads_info) | |
5400 | (remote_threads_extra_info, remote_start_remote): Use | |
5401 | packet_support. | |
5402 | (remote_start_remote): Use packet_config_support and | |
5403 | packet_support. | |
5404 | (init_all_packet_configs): Set all packets to unknown support, | |
5405 | instead of calling update_packet_config. | |
5406 | (remote_check_symbols): Use packet_support. | |
5407 | (remote_supported_packet): Unconditionally set the packet config's | |
5408 | support status. | |
5409 | (remote_multi_process_feature, remote_non_stop_feature) | |
5410 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
5411 | (remote_breakpoint_commands_feature) | |
5412 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
5413 | (remote_install_in_trace_feature) | |
5414 | (remote_disconnected_tracing_feature) | |
5415 | (remote_enable_disable_tracepoint_feature) | |
5416 | (remote_string_tracing_feature) | |
5417 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
5418 | (remote_protocol_features): Adjust to use remote_supported_packet | |
5419 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
5420 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
5421 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
5422 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
5423 | "EnableDisableTracepoints", and "tracenz". | |
5424 | (remote_query_supported): Use packet_support. | |
5425 | (remote_open_1): Adjust. | |
5426 | (extended_remote_attach_1): Use packet_support. Switch on the | |
5427 | result of packet_ok instead of checking whether the packet ended | |
5428 | up disabled. | |
5429 | (remote_vcont_resume): Use packet_support. | |
5430 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
5431 | (remote_prepare_to_store, store_register_using_P) | |
5432 | (check_binary_download, remote_write_bytes): Use packet_support. | |
5433 | (remote_vkill): Use packet_support. Switch on the result of | |
5434 | packet_ok instead of checking whether the packet ended up | |
5435 | disabled. | |
5436 | (extended_remote_supports_disable_randomization): Use | |
5437 | packet_support. | |
5438 | (extended_remote_run): Switch on the result of packet_ok instead | |
5439 | of checking whether the packet ended up disabled. | |
5440 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
5441 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
5442 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
5443 | packet_support. | |
5444 | (remote_search_memory): Use packet_config_support. | |
5445 | (remote_get_thread_local_address, remote_get_tib_address) | |
5446 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
5447 | packet_support. | |
5448 | (remote_supports_cond_tracepoints) | |
5449 | (remote_supports_cond_breakpoints) | |
5450 | (remote_supports_fast_tracepoints) | |
5451 | (remote_supports_static_tracepoints) | |
5452 | (remote_supports_install_in_trace) | |
5453 | (remote_supports_enable_disable_tracepoint) | |
5454 | (remote_supports_string_tracing) | |
5455 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
5456 | the packet config says the feature is enabled or disabled. | |
5457 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
5458 | (remote_get_trace_status): Use packet_support. | |
5459 | (remote_set_disconnected_tracing): Adjust to check whether the | |
5460 | feature is enabled with packet_support. | |
5461 | (remote_set_trace_buffer_size, remote_use_agent) | |
5462 | (remote_can_use_agent, remote_supports_btrace): Use | |
5463 | packet_support. | |
5464 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
5465 | Use packet_config_support. | |
5466 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
5467 | the packet config says the feature is enabled or disabled. | |
5468 | (set_range_stepping): Use packet_support. | |
5469 | ||
bdb52a22 TT |
5470 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
5471 | ||
5472 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
5473 | argument. | |
5474 | ||
e9475ead SA |
5475 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
5476 | ||
5477 | * NEWS: Mention support for C99 variable length arrays. | |
5478 | ||
82eacd52 JB |
5479 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
5480 | ||
5481 | * ada-lang.c (standard_exc): Expand introductory comment. | |
5482 | ||
01f9f808 MS |
5483 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
5484 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
5485 | ||
5486 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
5487 | AVX512 registers. | |
5488 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
5489 | mask and return respective tdesc. | |
5490 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
5491 | and features/i386/x32-avx512-linux.c. | |
5492 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
5493 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
5494 | xstate mask and return respective tdesc. | |
5495 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
5496 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
5497 | calculation. | |
5498 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
5499 | (tdesc_amd64_avx512_linux): New prototype. | |
5500 | (tdesc_x32_avx512_linux): Likewise. | |
5501 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
5502 | features/i386/x32-avx512.c. | |
5503 | (amd64_ymm_avx512_names): New register names for pseudo | |
5504 | registers YMM16-31. | |
5505 | (amd64_ymmh_avx512_names): New register names for raw registers | |
5506 | YMMH16-31. | |
5507 | (amd64_k_names): New register names for K registers. | |
5508 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
5509 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
5510 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
5511 | registers. | |
5512 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
5513 | registers. | |
5514 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
5515 | if feature is present. | |
5516 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
5517 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
5518 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
5519 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
5520 | registers supplied via XSTATE by AVX512 registers. | |
5521 | (i386_linux_read_description): Add case for AVX512. | |
5522 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
5523 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
5524 | (i386_linux_core_read_description): Add case for AVX512. | |
5525 | (i386_linux_init_abi): Install supported register note section | |
5526 | for AVX512. | |
5527 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
5528 | AVX512. | |
5529 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
5530 | registers to be number of zmm7h + 1. | |
5531 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
5532 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
5533 | (i386_zmm_names): Add ZMM pseudo register names array. | |
5534 | (i386_zmmh_names): Add ZMM raw register names array. | |
5535 | (i386_k_names): Add K raw register names array. | |
5536 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
5537 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
5538 | registers. | |
5539 | (i386_zmmh_regnum_p): Add function to look up register number of | |
5540 | ZMM raw registers. | |
5541 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
5542 | (i386_k_regnum_p): Likewise for K raw registers. | |
5543 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
5544 | registers added by AVX512. | |
5545 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
5546 | registers added by AVX512. | |
5547 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
5548 | added by AVX512. | |
5549 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
5550 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
5551 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
5552 | registers. | |
5553 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
5554 | ZMM0-31 pseudo registers and K registers. | |
5555 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
5556 | and YMM16-31 registers from register cache. | |
5557 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
5558 | YMM16-31 registers. | |
5559 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
5560 | registers in/from respective register groups. | |
5561 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
5562 | registers if feature is present in xcr0. | |
5563 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
5564 | variables in tdep structure, wire in pseudo registers and call | |
5565 | initialize_tdesc_i386_avx512. | |
5566 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
5567 | variables. | |
5568 | (i386_regnum): Add AVX512 registers. | |
5569 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
5570 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
5571 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
5572 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
5573 | 512 bits wide. | |
5574 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
5575 | (i386_ymm_avx512_regnum_p): Likewise. | |
5576 | (i386_k_regnum_p): Likewise. | |
5577 | (i386_zmm_regnum_p): Likewise. | |
5578 | (i386_zmmh_regnum_p): Likewise. | |
5579 | * i387-tdep.c : Update year in copyright notice. | |
5580 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
5581 | XSAVE buffer. | |
5582 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
5583 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
5584 | XSAVE buffer. | |
5585 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
5586 | (xsave_avx512_k_offset): New table for K register offsets in | |
5587 | XSAVE buffer. | |
5588 | (XSAVE_AVX512_K_ADDR): New macro. | |
5589 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
5590 | in XSAVE buffer. | |
5591 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
5592 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
5593 | buffer. | |
5594 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
5595 | XSAVE buffer. | |
5596 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
5597 | of XMM16-31 registers. | |
5598 | (I387_NUM_K_REGS): New define for number of K registers. | |
5599 | (I387_K0_REGNUM): New define for K0 register number. | |
5600 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
5601 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
5602 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
5603 | registers. | |
5604 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
5605 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
5606 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
5607 | (I387_KEND_REGNUM): New define for last K register number. | |
5608 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
5609 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
5610 | number. | |
5611 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
5612 | number. | |
5613 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
5614 | size. | |
5615 | * features/Makefile: Add AVX512 related files. | |
5616 | * features/i386/32bit-avx512.xml: New file. | |
5617 | * features/i386/64bit-avx512.xml: Likewise. | |
5618 | * features/i386/amd64-avx512-linux.c: Likewise. | |
5619 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
5620 | * features/i386/amd64-avx512.c: Likewise. | |
5621 | * features/i386/amd64-avx512.xml: Likewise. | |
5622 | * features/i386/i386-avx512-linux.c: Likewise. | |
5623 | * features/i386/i386-avx512-linux.xml: Likewise. | |
5624 | * features/i386/i386-avx512.c: Likewise. | |
5625 | * features/i386/i386-avx512.xml: Likewise. | |
5626 | * features/i386/x32-avx512-linux.c: Likewise. | |
5627 | * features/i386/x32-avx512-linux.xml: Likewise. | |
5628 | * features/i386/x32-avx512.c: Likewise. | |
5629 | * features/i386/x32-avx512.xml: Likewise. | |
5630 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
5631 | * regformats/i386/amd64-avx512.dat: Likewise. | |
5632 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
5633 | * regformats/i386/i386-avx512.dat: Likewise. | |
5634 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
5635 | * regformats/i386/x32-avx512.dat: Likewise. | |
5636 | * NEWS: Add note about new support for AVX512. | |
5637 | ||
5638 | ||
08351840 PA |
5639 | 2014-04-23 Pedro Alves <palves@redhat.com> |
5640 | ||
5641 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
5642 | breakpoint is set in a user-loaded objfile. | |
5643 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
5644 | location is marked shlib_disabled. If the breakpoint is set in a | |
5645 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
5646 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
5647 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
5648 | flag. | |
5649 | * mem-break.c (memory_validate_breakpoint): New function. | |
5650 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
5651 | function. | |
5652 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
5653 | * target.h (memory_validate_breakpoint): New declaration. | |
5654 | ||
076855f9 PA |
5655 | 2014-04-23 Pedro Alves <palves@redhat.com> |
5656 | ||
5657 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
5658 | the breakpoint is set in a shared library, only suppress | |
5659 | errors for software breakpoints, not hardware breakpoints. | |
5660 | ||
483805cf PA |
5661 | 2014-04-22 Pedro Alves <palves@redhat.com> |
5662 | ||
5663 | * infrun.c (schedlock_applies): New function, factored out from | |
5664 | find_thread_needs_step_over. | |
5665 | (find_thread_needs_step_over): Use it. | |
5666 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
5667 | step over is finished. Return early if scheduler locking applies. | |
5668 | Look for the stepping thread and a potential step-over thread with | |
5669 | a single loop. | |
5670 | (currently_stepping_or_nexting_callback): Delete. | |
5671 | ||
a75fef0e NC |
5672 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
5673 | ||
5674 | * NEWS: Mention that ARM sim now supports tracing. | |
5675 | ||
48b6e87e YQ |
5676 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
5677 | ||
5678 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
5679 | to ... | |
5680 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
5681 | function. | |
5682 | * tracefile.h (tracefile_fetch_registers): Declare. | |
5683 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
5684 | tracefile_fetch_registers. | |
5685 | ||
17617f2d EZ |
5686 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
5687 | ||
5688 | PR gdb/14018 | |
5689 | * windows-nat.c (thread_rec): Don't display a warning when | |
5690 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
5691 | fails for any reason, set th->suspended to -1, so that we don't | |
5692 | try to resume such a thread. Also, don't return NULL in these | |
5693 | cases, to avoid completely ruin the session due to "PC register is | |
5694 | not available" error. | |
5695 | (do_windows_fetch_inferior_registers): Check errors in | |
5696 | GetThreadContext call. | |
5697 | (windows_continue): Accept an additional argument KILLED; if not | |
5698 | zero, ignore errors in the SetThreadContext call, since the | |
5699 | inferior was killed and is shutting down. | |
5700 | (windows_resume, get_windows_debug_event) | |
5701 | (windows_create_inferior, windows_mourn_inferior) | |
5702 | (windows_kill_inferior): All callers of windows_continue changed | |
5703 | to adjust to its new calling sequence. | |
5704 | ||
5723a6fd YQ |
5705 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
5706 | ||
5707 | * ctf.c (ctf_open): Call post_create_inferior. | |
5708 | ||
614d5099 YQ |
5709 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
5710 | ||
5711 | * ctf.c (handle_id): New static variable. | |
5712 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
5713 | value. Get the declaration of event "register" and get length | |
5714 | of field "contents". | |
5715 | ||
dac3e710 YQ |
5716 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
5717 | ||
5718 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
5719 | ||
2bca57ba SC |
5720 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
5721 | ||
5722 | * valops.c (oload_method_static): Remove unnecessary argument | |
5723 | METHOD. Update all callers. | |
5724 | ||
51d48146 PA |
5725 | 2014-04-18 Pedro alves <palves@redhat.com> |
5726 | Tom Tromey <tromey@redhat.com> | |
5727 | ||
5728 | PR backtrace/15558 | |
5729 | * frame.c (get_prev_frame_1): Rename to ... | |
5730 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
5731 | (skip_artificial_frames): Use get_prev_frame_always. | |
5732 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
5733 | (get_frame_unwind_stop_reason): Adjust to rename. | |
5734 | * frame.h (get_prev_frame_always): Declare. | |
5735 | * inline-frame.c: Include frame.h. | |
5736 | (inline_frame_this_id): Use get_prev_frame_always. | |
5737 | ||
1bdad2e0 TG |
5738 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
5739 | ||
5740 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
5741 | code by using bfd_mach_o_get_base_address. | |
5742 | ||
7ce16bd4 UW |
5743 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
5744 | ||
5745 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
5746 | (spu_ax_pseudo_register_collect): New function. | |
5747 | (spu_ax_pseudo_register_push_stack): Likewise. | |
5748 | (spu_dwarf_reg_to_regnum): Likewise. | |
5749 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
5750 | ||
2ed3c037 UW |
5751 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
5752 | ||
5753 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
5754 | Replace FRAME argument with FRAME_ID. | |
5755 | * gdbarch.c, gdbarch.h: Regenerate. | |
5756 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
5757 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
5758 | (value_from_register): Update call to gdbarch_value_from_register. | |
5759 | * value.h (default_value_from_register): Update prototype. | |
5760 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
5761 | and call to default_value_from_register. | |
5762 | * spu-tdep.c (spu_value_from_register): Likewise. | |
5763 | ||
5764 | * findvar.c (address_from_register): Remove TYPE argument. | |
5765 | Do not call value_from_register; use gdbarch_value_from_register | |
5766 | with null_frame_id instead. | |
5767 | * value.h (address_from_register): Update prototype. | |
5768 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
5769 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
5770 | address_from_register interface change. | |
5771 | ||
71e50e83 YQ |
5772 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
5773 | ||
5774 | * gdbtypes.h: Update comments to link to types and macros' | |
5775 | definitions. | |
5776 | ||
7a23c549 SC |
5777 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
5778 | ||
5779 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
5780 | ||
22869d73 KS |
5781 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
5782 | ||
5783 | PR gdb/15827 | |
5784 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
5785 | sibling DIEs fall within range of the current reader's buffer. | |
5786 | (read_partial_die): Likewise. | |
5787 | ||
c4f87ca6 KS |
5788 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
5789 | ||
5790 | PR c++/16597 | |
5791 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
5792 | `this' is NULL, return immediately. | |
5793 | ||
b50c8614 KS |
5794 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
5795 | ||
5796 | PR c++/16253 | |
5797 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
5798 | from symbol_matches_domain in symtab.c. All local callers | |
5799 | of symbol_matches_domain updated. | |
5800 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
5801 | search STRUCT_DOMAIN. | |
5802 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
5803 | independently. standard_lookup will do that automatically. | |
5804 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
5805 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
5806 | (cp_lookup_symbol_in_namespace): Likewise. | |
5807 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
5808 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
5809 | may return a STRUCT_DOMAIN match. | |
5810 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
5811 | * cp-support.c: Include language.h. | |
5812 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
5813 | VAR_DOMAIN. | |
5814 | * psymtab.c (match_partial_symbol): Compare the requested | |
5815 | domain with the symbol's domain directly. | |
5816 | (lookup_partial_symbol): Likewise. | |
5817 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
5818 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
5819 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
5820 | appropriate languages. | |
5821 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
5822 | and moved to ada-lang.c | |
5823 | (lookup_block_symbol): Explain that this function only returns | |
5824 | symbol matching the requested DOMAIN. | |
5825 | Compare the requested domain with the symbol's domain directly. | |
5826 | (iterate_over_symbols): Compare the requested domain with the | |
5827 | symbol's domain directly. | |
5828 | * symtab.h (symbol_matches_domain): Remove. | |
5829 | ||
3d567982 TT |
5830 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5831 | ||
5832 | PR c++/15246: | |
5833 | * c-exp.y (type_aggregate_p): New function. | |
5834 | (qualified_name, classify_inner_name): Use it. | |
5835 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
5836 | and TYPE_TARGET_TYPE of an enum type. | |
5837 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
5838 | an enum type. | |
5839 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
5840 | handle TYPE_DECLARED_CLASS. | |
5841 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
5842 | types. | |
5843 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
5844 | * valops.c (enum_constant_from_type): New function. | |
5845 | (value_aggregate_elt): Use it. | |
5846 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
5847 | TYPE_CODE_ENUM. | |
5848 | ||
c848d642 TT |
5849 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5850 | ||
5851 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
5852 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
5853 | const. | |
5854 | * value.h (value_aggregate_elt): Update. | |
5855 | ||
0626fc76 TT |
5856 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
5857 | ||
5858 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
5859 | ||
5ecaaa66 SA |
5860 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5861 | ||
5862 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
5863 | (evaluate_subexp_standard): Pass noside argument. | |
5864 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
5865 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
5866 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
5867 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
5868 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
5869 | ||
1612e0c0 SA |
5870 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5871 | ||
5872 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
5873 | points to a constant blob. | |
5874 | ||
c451ebe5 SA |
5875 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5876 | ||
5877 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
5878 | property and store it as the high bound and flag the range accordingly. | |
5879 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
5880 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
5881 | * gdbtypes.h (enum range_flags): New enum. | |
5882 | (struct range_bounds): Add flags member. | |
5883 | ||
1d42e4c4 SA |
5884 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5885 | ||
5886 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
5887 | check for not yet resolved high bound. If unresolved, print | |
5888 | "variable length" string to the console instead of random | |
5889 | length. | |
5890 | ||
9f1f738a SA |
5891 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5892 | ||
5893 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
5894 | value. | |
5895 | (ada_template_to_fixed_record_type_1): Likewise. | |
5896 | (ada_to_fixed_type_1): Likewise. | |
5897 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
5898 | (cp_print_value): Likewise. | |
5899 | * d-valprint.c (dynamic_array_type): Likewise. | |
5900 | * findvar.c (address_of_variable): Likewise. | |
5901 | * jv-valprint.c (java_value_print): Likewise. | |
5902 | * valops.c (value_ind): Likewise. | |
5903 | * value.c (coerce_ref): Likewise. | |
5904 | ||
3c8452d4 SA |
5905 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5906 | ||
5907 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
5908 | value and retrieve the dynamic type size. | |
5909 | ||
4ad88275 SA |
5910 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5911 | ||
5912 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
5913 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
5914 | ||
80180f79 SA |
5915 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
5916 | Joel Brobecker <brobecker@adacore.com> | |
5917 | ||
5918 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
5919 | (dwarf2_evaluate_property): New function. | |
5920 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
5921 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
5922 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
5923 | attribute. | |
5924 | * gdbtypes.c: Include dwarf2loc.h. | |
5925 | (is_dynamic_type): New function. | |
5926 | (resolve_dynamic_type): New function. | |
5927 | (resolve_dynamic_bounds): New function. | |
5928 | (get_type_length): New function. | |
5929 | (check_typedef): Use get_type_length to compute type length. | |
5930 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
5931 | (TYPE_LOW_BOUND_KIND): New macro. | |
5932 | (is_dynamic_type): New function prototype. | |
5933 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
5934 | to resolve dynamic properties of the type. Update comment. | |
5935 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
5936 | ||
a1556843 RH |
5937 | 2014-04-14 Richard Henderson <rth@redhat.com> |
5938 | ||
5939 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
5940 | ||
0be03e84 DE |
5941 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
5942 | Doug Evans <xdje42@gmail.com> | |
5943 | ||
5944 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
5945 | dereference TYPE_CODE_REF values. | |
5946 | ||
6b662e19 JB |
5947 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
5948 | ||
5949 | Revert the following changes due to regressions: | |
5950 | ||
5951 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
5952 | (dwarf2_evaluate_property): New function. | |
5953 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
5954 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
5955 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
5956 | attribute. | |
5957 | * gdbtypes.c: Include dwarf2loc.h. | |
5958 | (is_dynamic_type): New function. | |
5959 | (resolve_dynamic_type): New function. | |
5960 | (resolve_dynamic_bounds): New function. | |
5961 | (get_type_length): New function. | |
5962 | (check_typedef): Use get_type_length to compute type length. | |
5963 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
5964 | (TYPE_LOW_BOUND_KIND): New macro. | |
5965 | (is_dynamic_type): New function prototype. | |
5966 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
5967 | to resolve dynamic properties of the type. Update comment. | |
5968 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
5969 | ||
5970 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
5971 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
5972 | ||
5973 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
5974 | value and retrieve the dynamic type size. | |
5975 | ||
5976 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
5977 | (ada_template_to_fixed_record_type_1): Likewise. | |
5978 | (ada_to_fixed_type_1): Likewise. | |
5979 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
5980 | (cp_print_value): Likewise. | |
5981 | * d-valprint.c (dynamic_array_type): Likewise. | |
5982 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
5983 | * findvar.c (address_of_variable): Likewise. | |
5984 | * jv-valprint.c (java_value_print): Likewise. | |
5985 | * valops.c (value_ind): Likewise. | |
5986 | * value.c (coerce_ref): Likewise. | |
5987 | ||
5988 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
5989 | check for not yet resolved high bound. If unresolved, print | |
5990 | "variable length" string to the console instead of random | |
5991 | length. | |
5992 | ||
5993 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
5994 | property and store it as the high bound and flag the range accordingly. | |
5995 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
5996 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
5997 | * gdbtypes.h (enum range_flags): New enum. | |
5998 | (struct range_bounds): Add flags member. | |
5999 | ||
6000 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
6001 | points to a constant blob. | |
6002 | ||
6003 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
6004 | (evaluate_subexp_standard): Pass noside argument. | |
6005 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
6006 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
6007 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
6008 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
6009 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
6010 | ||
245a5f0b KS |
6011 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
6012 | ||
6013 | PR c++/16675 | |
6014 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
6015 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
6016 | reference types. | |
6017 | ||
3bce8237 SA |
6018 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6019 | ||
6020 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
6021 | (evaluate_subexp_standard): Pass noside argument. | |
6022 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
6023 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
6024 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
6025 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
6026 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
6027 | ||
92b09522 SA |
6028 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6029 | ||
6030 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
6031 | points to a constant blob. | |
6032 | ||
e1969afb SA |
6033 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6034 | ||
6035 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
6036 | property and store it as the high bound and flag the range accordingly. | |
6037 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
6038 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
6039 | * gdbtypes.h (enum range_flags): New enum. | |
6040 | (struct range_bounds): Add flags member. | |
6041 | ||
b86138fb SA |
6042 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6043 | ||
6044 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
6045 | check for not yet resolved high bound. If unresolved, print | |
6046 | "variable length" string to the console instead of random | |
6047 | length. | |
6048 | ||
bcd629a4 SA |
6049 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6050 | ||
6051 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
6052 | (ada_template_to_fixed_record_type_1): Likewise. | |
6053 | (ada_to_fixed_type_1): Likewise. | |
6054 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
6055 | (cp_print_value): Likewise. | |
6056 | * d-valprint.c (dynamic_array_type): Likewise. | |
6057 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
6058 | * findvar.c (address_of_variable): Likewise. | |
6059 | * jv-valprint.c (java_value_print): Likewise. | |
6060 | * valops.c (value_ind): Likewise. | |
6061 | * value.c (coerce_ref): Likewise. | |
6062 | ||
04b19544 SA |
6063 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6064 | ||
6065 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
6066 | value and retrieve the dynamic type size. | |
6067 | ||
26cb189f SA |
6068 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6069 | ||
6070 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
6071 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
6072 | ||
37c1ab67 SA |
6073 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6074 | ||
6075 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
6076 | (dwarf2_evaluate_property): New function. | |
6077 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
6078 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
6079 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
6080 | attribute. | |
6081 | * gdbtypes.c: Include dwarf2loc.h. | |
6082 | (is_dynamic_type): New function. | |
6083 | (resolve_dynamic_type): New function. | |
6084 | (resolve_dynamic_bounds): New function. | |
6085 | (get_type_length): New function. | |
6086 | (check_typedef): Use get_type_length to compute type length. | |
6087 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
6088 | (TYPE_LOW_BOUND_KIND): New macro. | |
6089 | (is_dynamic_type): New function prototype. | |
6090 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
6091 | to resolve dynamic properties of the type. Update comment. | |
6092 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
6093 | ||
729efb13 SA |
6094 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6095 | ||
6096 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
6097 | declaring high/low bounds and change uses accordingly. Call | |
6098 | create_range_type instead of create_static_range_type. | |
6099 | * gdbtypes.c (create_range_type): New function. | |
6100 | (create_range_type): Convert bounds into struct bound_prop and pass | |
6101 | them to create_range_type. | |
6102 | * gdbtypes.h (struct bound_prop): New struct. | |
6103 | (create_range_type): New function prototype. | |
6104 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
6105 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
6106 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
6107 | part of the bound. | |
6108 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
6109 | ||
0c9c3474 SA |
6110 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
6111 | ||
6112 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
6113 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
6114 | * ada-lang.c: All uses of create_range_type updated. | |
6115 | * coffread.c: All uses of create_range_type updated. | |
6116 | * dwarf2read.c: All uses of create_range_type updated. | |
6117 | * f-exp.y: All uses of create_range_type updated. | |
6118 | * m2-valprint.c: All uses of create_range_type updated. | |
6119 | * mdebugread.c: All uses of create_range_type updated. | |
6120 | * stabsread.c: All uses of create_range_type updated. | |
6121 | * valops.c: All uses of create_range_type updated. | |
6122 | * valprint.c: All uses of create_range_type updated. | |
6123 | ||
9d497a19 PA |
6124 | 2014-04-10 Pedro Alves <palves@redhat.com> |
6125 | ||
6126 | * breakpoint.c (single_step_breakpoints) | |
6127 | (single_step_gdbarch): Move up in the file. | |
6128 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
6129 | (breakpoint_xfer_memory): ... here. Also process single-step | |
6130 | breakpoints. | |
6131 | ||
15a9128a TG |
6132 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
6133 | ||
6134 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
6135 | comments. | |
6136 | (darwin_decode_exception_message): Free port only after use. | |
6137 | ||
9c97a070 PL |
6138 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
6139 | ||
6140 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
6141 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
6142 | when setting the size of call_length. | |
6143 | ||
7af389b8 SC |
6144 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
6145 | ||
6146 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
6147 | dereference TYPE_CODE_REF values. | |
6148 | ||
86ad98c3 JB |
6149 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
6150 | ||
6151 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
6152 | end of warning message. | |
6153 | ||
b0aeadb3 DE |
6154 | 2014-04-03 Doug Evans <dje@google.com> |
6155 | ||
6156 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
6157 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
6158 | ||
5979d6b6 AM |
6159 | 2014-04-02 Alan Modra <amodra@gmail.com> |
6160 | ||
6161 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
6162 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
6163 | (struct symbol_file_add_from_memory_args): Add size field. | |
6164 | (find_vdso_size): New function. | |
6165 | (add_vsyscall_page): Attempt to find vdso size. | |
6166 | ||
0d60c288 DE |
6167 | 2014-04-01 Doug Evans <dje@google.com> |
6168 | ||
6169 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
6170 | ||
a41f2563 TG |
6171 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
6172 | ||
6173 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
6174 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
6175 | (darwin_decode_message): Handle message by id. Ignore message | |
6176 | to unknown inferior. | |
6177 | (darwin_wait): Discard unknown messages, add debug trace. | |
6178 | ||
11a865c8 DE |
6179 | 2014-03-31 Doug Evans <dje@google.com> |
6180 | ||
6181 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
6182 | comp_dir_string. | |
6183 | ||
770e7fc7 DE |
6184 | 2014-03-31 Doug Evans <dje@google.com> |
6185 | ||
6186 | New option "set print symbol-loading". | |
6187 | * NEWS: Mention it. | |
6188 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
6189 | if requested. | |
6190 | (solib_add): If symbol loading is in "brief" mode, notify user | |
6191 | symbols are being loaded. | |
6192 | (reload_shared_libraries_1): Ditto. | |
6193 | * symfile.c (print_symbol_loading_off): New static global. | |
6194 | (print_symbol_loading_brief): New static global. | |
6195 | (print_symbol_loading_full): New static global. | |
6196 | (print_symbol_loading_enums): New static global. | |
6197 | (print_symbol_loading): New static global. | |
6198 | (print_symbol_loading_p): New function. | |
6199 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
6200 | if requested. | |
6201 | (_initialize_symfile): Register "print symbol-loading" set/show | |
6202 | command. | |
6203 | * symfile.h (print_symbol_loading_p): Declare. | |
6204 | ||
c32c64b7 DE |
6205 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
6206 | ||
6207 | * infrun.c (set_last_target_status): New function. | |
6208 | (handle_inferior_event): Call it. | |
6209 | ||
7c0bc051 DE |
6210 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
6211 | ||
6212 | * inferior.h (enum stop_kind): Improve comment. | |
6213 | ||
8776cfe9 JB |
6214 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
6215 | ||
6216 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
6217 | a reference, strip the reference layer before calling | |
6218 | the lang_ops value_has_mutated callback. | |
6219 | ||
410a0ff2 SDJ |
6220 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
6221 | ||
6222 | Remove some globals from our parser. | |
6223 | * language.c (unk_lang_parser): Add "struct parser_state" | |
6224 | argument. | |
6225 | * language.h (struct language_defn) <la_parser>: Likewise. | |
6226 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
6227 | (initialize_expout): Add "struct parser_state" argument. | |
6228 | Rewrite function to use the parser state. | |
6229 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
6230 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
6231 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
6232 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
6233 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
6234 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
6235 | write_dollar_variable): Likewise. | |
6236 | (parse_exp_in_context_1): Use parser state. | |
6237 | (insert_type_address_space): Add "struct parser_state" argument. | |
6238 | Use parser state. | |
6239 | (increase_expout_size): New function. | |
6240 | * parser-defs.h: Forward declare "struct language_defn" and | |
6241 | "struct parser_state". | |
6242 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
6243 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
6244 | accept the parser state. | |
6245 | (struct parser_state): New struct. | |
6246 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
6247 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
6248 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
6249 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
6250 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
6251 | write_exp_msymbol, write_dollar_variable, | |
6252 | mark_struct_expression, insert_type_address_space): Add "struct | |
6253 | parser_state" argument. | |
6254 | (increase_expout_size): New function. | |
6255 | * utils.c (do_clear_parser_state): New function. | |
6256 | (make_cleanup_clear_parser_state): Likewise. | |
6257 | * utils.h (make_cleanup_clear_parser_state): New function | |
6258 | prototype. | |
6259 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
6260 | Update calls to write_exp* in order to pass the parser state. | |
6261 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
6262 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
6263 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
6264 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
6265 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
6266 | (stap_parse_single_operand): Likewise. | |
6267 | (stap_parse_argument_1): Likewise. | |
6268 | (stap_parse_argument): Use parser state. | |
6269 | * stap-probe.h: Include "parser-defs.h". | |
6270 | (struct stap_parse_info) <pstate>: New field. | |
6271 | * c-exp.y (parse_type): Rewrite to use parser state. | |
6272 | (yyparse): Redefine to c_parse_internal. | |
6273 | (pstate): New global variable. | |
6274 | (parse_number): Add "struct parser_state" argument. | |
6275 | (write_destructor_name): Likewise. | |
6276 | (type_exp): Update calls to write_exp* and similars in order to | |
6277 | use parser state. | |
6278 | (exp1, exp, variable, qualified_name, space_identifier, | |
6279 | typename, typebase): Likewise. | |
6280 | (write_destructor_name, parse_number, lex_one_token, | |
6281 | classify_name, classify_inner_name, c_parse): Add "struct | |
6282 | parser_state" argument. Update function to use parser state. | |
6283 | * c-lang.h: Forward declare "struct parser_state". | |
6284 | (c_parse): Add "struct parser_state" argument. | |
6285 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
6286 | (yyparse): Redefine macro to ada_parse_internal. | |
6287 | (pstate): New variable. | |
6288 | (write_int, write_object_renaming, write_var_or_type, | |
6289 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
6290 | type_int, type_long, type_long_long, type_float, type_double, | |
6291 | type_long_double, type_char, type_boolean, type_system_address): | |
6292 | Add "struct parser_state" argument. | |
6293 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
6294 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
6295 | var_or_type, aggregate, aggregate_component_list, | |
6296 | positional_list, others, component_group, | |
6297 | component_associations): Update calls to write_exp* and similar | |
6298 | functions in order to use parser state. | |
6299 | (ada_parse, write_var_from_sym, write_int, | |
6300 | write_exp_op_with_string, write_object_renaming, | |
6301 | find_primitive_type, write_selectors, write_ambiguous_var, | |
6302 | write_var_or_type, write_name_assoc, type_int, type_long, | |
6303 | type_long_long, type_float, type_double, type_long_double, | |
6304 | type_char, type_boolean, type_system_address): Add "struct | |
6305 | parser_state" argument. Adjust function to use parser state. | |
6306 | * ada-lang.c (parse): Likewise. | |
6307 | * ada-lang.h: Forward declare "struct parser_state". | |
6308 | (ada_parse): Add "struct parser_state" argument. | |
6309 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
6310 | calls to both functions. | |
6311 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
6312 | parser state. | |
6313 | (yyparse): Redefine macro to f_parse_internal. | |
6314 | (pstate): New variable. | |
6315 | (parse_number): Add "struct parser_state" argument. | |
6316 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
6317 | and similars in order to use parser state. | |
6318 | (parse_number): Adjust code to use parser state. | |
6319 | (yylex): Likewise. | |
6320 | (f_parse): New function. | |
6321 | * f-lang.h: Forward declare "struct parser_state". | |
6322 | (f_parse): Add "struct parser_state" argument. | |
6323 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
6324 | parser state. | |
6325 | (yyparse): Redefine macro for java_parse_internal. | |
6326 | (pstate): New variable. | |
6327 | (push_expression_name, push_expression_name, insert_exp): Add | |
6328 | "struct parser_state" argument. | |
6329 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
6330 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
6331 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
6332 | PostIncrementExpression, PostDecrementExpression, | |
6333 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
6334 | UnaryExpressionNotPlusMinus, CastExpression, | |
6335 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
6336 | RelationalExpression, EqualityExpression, AndExpression, | |
6337 | ExclusiveOrExpression, InclusiveOrExpression, | |
6338 | ConditionalAndExpression, ConditionalOrExpression, | |
6339 | ConditionalExpression, Assignment, LeftHandSide): Update | |
6340 | calls to write_exp* and similars in order to use parser state. | |
6341 | (parse_number): Ajust code to use parser state. | |
6342 | (yylex): Likewise. | |
6343 | (java_parse): New function. | |
6344 | (push_variable): Add "struct parser_state" argument. Adjust | |
6345 | code to user parser state. | |
6346 | (push_fieldnames, push_qualified_expression_name, | |
6347 | push_expression_name, insert_exp): Likewise. | |
6348 | * jv-lang.h: Forward declare "struct parser_state". | |
6349 | (java_parse): Add "struct parser_state" argument. | |
6350 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
6351 | parser state. | |
6352 | (yyparse): Redefine macro to m2_parse_internal. | |
6353 | (pstate): New variable. | |
6354 | (type_exp, exp, fblock, variable, type): Update calls to | |
6355 | write_exp* and similars to use parser state. | |
6356 | (yylex): Likewise. | |
6357 | (m2_parse): New function. | |
6358 | * m2-lang.h: Forward declare "struct parser_state". | |
6359 | (m2_parse): Add "struct parser_state" argument. | |
6360 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
6361 | * objc-lang.h: Forward declare "struct parser_state". | |
6362 | (end_msglist): Add "struct parser_state" argument. | |
6363 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
6364 | (yyparse): Redefine macro to pascal_parse_internal. | |
6365 | (pstate): New variable. | |
6366 | (parse_number): Add "struct parser_state" argument. | |
6367 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
6368 | write_exp* and similars in order to use parser state. | |
6369 | (parse_number, yylex): Adjust code to use parser state. | |
6370 | (pascal_parse): New function. | |
6371 | * p-lang.h: Forward declare "struct parser_state". | |
6372 | (pascal_parse): Add "struct parser_state" argument. | |
6373 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
6374 | (yyparse): Redefine macro to go_parse_internal. | |
6375 | (pstate): New variable. | |
6376 | (parse_number): Add "struct parser_state" argument. | |
6377 | (type_exp, exp1, exp, variable, type): Update calls to | |
6378 | write_exp* and similars in order to use parser state. | |
6379 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
6380 | to use parser state. | |
6381 | (go_parse): Likewise. | |
6382 | * go-lang.h: Forward declare "struct parser_state". | |
6383 | (go_parse): Add "struct parser_state" argument. | |
6384 | ||
342587c4 DE |
6385 | 2014-03-27 Doug Evans <dje@google.com> |
6386 | ||
6387 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
6388 | ||
33e80786 DE |
6389 | 2014-03-27 Doug Evans <dje@google.com> |
6390 | ||
6391 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
6392 | Remove argument abbrev_section. All callers updated. | |
6393 | ||
1dbab08b DE |
6394 | 2014-03-27 Doug Evans <dje@google.com> |
6395 | ||
6396 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
6397 | addr_base, ranges_base. | |
6398 | ||
318d3177 KS |
6399 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
6400 | ||
6401 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
6402 | types, not VAR_DOMAIN. | |
6403 | ||
1e54db15 SL |
6404 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
6405 | ||
6406 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
6407 | "ra" registers. | |
6408 | * features/nios2-linux.c: Regenerated. | |
6409 | * features/nios2.c: Regenerated. | |
6410 | ||
d3839ede PA |
6411 | 2014-03-25 Pedro Alves <palves@redhat.com> |
6412 | ||
6413 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
6414 | sync mode. | |
6415 | ||
7588d2ec PL |
6416 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
6417 | ||
6418 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
6419 | small stack allocation. | |
6420 | ||
a6290449 TG |
6421 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
6422 | ||
6423 | * darwin-nat.c (exc_server): Remove unused prototype. | |
6424 | (darwin_dump_message): Correctly display data on x86_64. | |
6425 | (darwin_encode_reply): Fix style. | |
6426 | Add comments and fix indentation. | |
6427 | ||
31ae9d24 | 6428 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
6429 | |
6430 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
6431 | ||
6339bfc4 DE |
6432 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
6433 | ||
6434 | * infcmd.c: Whitespace fixes. | |
6435 | (interrupt_command): Merge two function comments into one. | |
6436 | ||
0a07590b DE |
6437 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
6438 | ||
6439 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
6440 | All uses updated. | |
6441 | ||
b55fbac4 YQ |
6442 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
6443 | ||
6444 | * remote.c (target_read_live_memory): Remove. | |
6445 | (memory_xfer_live_readonly_partial): Rename it to | |
6446 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
6447 | All callers updated. Call remote_read_bytes_1 | |
6448 | instead of target_read_live_memory. | |
6449 | * tracepoint.c (set_traceframe_number): Remove. | |
6450 | (make_cleanup_restore_traceframe_number): Likewise . | |
6451 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
6452 | (make_cleanup_restore_traceframe_number): Likewise. | |
6453 | ||
9217e74e YQ |
6454 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
6455 | ||
6456 | * remote.c (remote_read_bytes): Move code on reading from the | |
6457 | remote stub to ... | |
6458 | (remote_read_bytes_1): ... here. New function. | |
6459 | ||
8acf9577 YQ |
6460 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
6461 | ||
6462 | * ctf.c (ctf_xfer_partial): Check the return value of | |
6463 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
6464 | return TARGET_XFER_UNAVAILABLE. | |
6465 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
6466 | * target.c (target_read_live_memory): Move it to remote.c. | |
6467 | (memory_xfer_live_readonly_partial): Likewise. | |
6468 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
6469 | * remote.c (target_read_live_memory): Moved from target.c. | |
6470 | (memory_xfer_live_readonly_partial): Likewise. | |
6471 | (remote_read_bytes): Factored out from | |
6472 | memory_xfer_partial_1. | |
6473 | ||
feef67ab DE |
6474 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
6475 | ||
6476 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
6477 | NULL pointer. | |
6478 | ||
b65dc60b PA |
6479 | 2014-03-21 Pedro Alves <palves@redhat.com> |
6480 | ||
6481 | * infrun.c (normal_stop): Extend comment. | |
6482 | ||
b4ab256d HZ |
6483 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
6484 | Pedro Alves <palves@redhat.com> | |
6485 | ||
6486 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
6487 | static buffer. | |
6488 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
6489 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
6490 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
6491 | ||
deba7593 MR |
6492 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
6493 | ||
6494 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
6495 | `z' formatted output modifier. | |
6496 | ||
1bff71c3 SDJ |
6497 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
6498 | Sergio Durigan Junior <sergiodj@redhat.com> | |
6499 | ||
6500 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
6501 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
6502 | exceptions when parsing probes. Rearrange the code for clarity. | |
6503 | ||
90e28950 TT |
6504 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
6505 | ||
6506 | PR gdb/14135 | |
6507 | * top.c (execute_command): Only dispatch events if the command | |
6508 | started the target. | |
6509 | ||
beb460e8 PA |
6510 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
6511 | ||
6512 | PR cli/15718 | |
6513 | * infcall.c: Include event-top.h. | |
6514 | (run_inferior_call): Call async_disable_stdin if needed. | |
6515 | ||
99619bea PA |
6516 | 2014-03-20 Pedro Alves <palves@redhat.com> |
6517 | ||
6518 | * infrun.c (prepare_to_proceed): Delete. | |
6519 | (thread_still_needs_step_over): New function. | |
6520 | (find_thread_needs_step_over): New function. | |
6521 | (proceed): If the current thread needs a step-over, set its | |
6522 | steping_over_breakpoint flag. Adjust to use | |
6523 | find_thread_needs_step_over instead of prepare_to_proceed. | |
6524 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
6525 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
6526 | breakpoint. | |
6527 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
6528 | threads not the stepping thread, before switching back to the | |
6529 | stepping thread. | |
6530 | ||
2adfaa28 PA |
6531 | 2014-03-20 Pedro Alves <palves@redhat.com> |
6532 | ||
6533 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
6534 | extern. | |
6535 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
6536 | * infrun.c (saved_singlestep_ptid) | |
6537 | (stepping_past_singlestep_breakpoint): Delete. | |
6538 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
6539 | (proceed): Store the prev_pc of the stepping thread too. | |
6540 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
6541 | singlestep_pc. | |
6542 | (enum infwait_states): Delete infwait_thread_hop_state. | |
6543 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
6544 | field. | |
6545 | (handle_inferior_event): Adjust. | |
6546 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
6547 | handling and the thread-hop code. Before removing single-step | |
6548 | breakpoints, check whether the thread hit a single-step breakpoint | |
6549 | of another thread. If it did, the trap is not a random signal. | |
6550 | (switch_back_to_stepped_thread): If the event thread hit a | |
6551 | single-step breakpoint, unblock it before switching to the | |
6552 | stepping thread. Handle the case of the stepped thread having | |
6553 | advanced already. | |
6554 | (keep_going): Handle the case of the current thread moving past a | |
6555 | single-step breakpoint. | |
6556 | ||
31e77af2 PA |
6557 | 2014-03-20 Pedro Alves <palves@redhat.com> |
6558 | ||
6559 | PR breakpoints/7143 | |
6560 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
6561 | are being stepped over. | |
6562 | (breakpoint_address_match): Make extern. | |
6563 | * breakpoint.h (breakpoint_address_match): New declaration. | |
6564 | * inferior.h (stepping_past_instruction_at): New declaration. | |
6565 | * infrun.c (struct step_over_info): New type. | |
6566 | (step_over_info): New global. | |
6567 | (set_step_over_info, clear_step_over_info) | |
6568 | (stepping_past_instruction_at): New functions. | |
6569 | (handle_inferior_event): Clear the step-over info when | |
6570 | trap_expected is cleared. | |
6571 | (resume): Remove now stale comment. | |
6572 | (clear_proceed_status): Clear step-over info. | |
6573 | (proceed): Adjust step-over handling to set or clear the step-over | |
6574 | info instead of removing all breakpoints. | |
6575 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
6576 | breakpoints here. | |
6577 | (stop_stepping): Clear step-over info. | |
6578 | (keep_going): Adjust step-over handling to set or clear step-over | |
6579 | info and then always inserting breakpoints, instead of removing | |
6580 | all breakpoints when stepping over one. | |
6581 | ||
b9f437de PA |
6582 | 2014-03-20 Pedro Alves <palves@redhat.com> |
6583 | ||
6584 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
6585 | (deferred_step_ptid): Delete. | |
6586 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
6587 | (init_wait_for_inferior): Adjust. | |
6588 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
6589 | ||
06c868a8 JK |
6590 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
6591 | ||
6592 | PR gdb/15358 | |
6593 | * defs.h (sync_quit_force_run): New declaration. | |
6594 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
6595 | * event-top.c (async_sigterm_handler): New declaration. | |
6596 | (async_sigterm_token): New variable. | |
6597 | (async_init_signals): Create also async_sigterm_token. | |
6598 | (async_sigterm_handler): New function. | |
6599 | (sync_quit_force_run): New variable. | |
6600 | (handle_sigterm): Replace quit_force call by other calls. | |
6601 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
6602 | ||
dea80df0 MR |
6603 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
6604 | ||
6605 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
6606 | offset into SPE pseudo registers. | |
6607 | ||
0c7e1a46 PA |
6608 | 2014-03-18 Pedro Alves <palves@redhat.com> |
6609 | ||
6610 | PR gdb/13860 | |
6611 | * inferior.h (print_stop_event): Declare. | |
6612 | * infrun.c (print_stop_event): New, factored out from ... | |
6613 | (normal_stop): ... this. | |
6614 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
6615 | of bpstat_print/print_stack_frame. | |
6616 | ||
9c1fcd01 TT |
6617 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
6618 | ||
6619 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
6620 | ||
11aa919a PMR |
6621 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
6622 | ||
6623 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
6624 | minimal coercion for reference with coerce_ref instead of | |
6625 | ada_coerce_ref. | |
6626 | ||
d4ccb5e0 TG |
6627 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
6628 | ||
6629 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
6630 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
6631 | is unhandled. | |
6632 | ||
49840f2a UW |
6633 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
6634 | ||
6635 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
6636 | PyObject_GetAttrString to support Python 2.4. | |
6637 | ||
ed4123e5 JK |
6638 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
6639 | ||
6640 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
6641 | (Global Maintainers): Remove Jan Kratochvil. | |
6642 | ||
d6b64346 PA |
6643 | 2014-03-14 Pedro Alves <palves@redhat.com> |
6644 | ||
6645 | * inferior.h (terminal_ours_for_output): Rename to ... | |
6646 | (child_terminal_ours_for_output): ... this. | |
6647 | (terminal_save_ours): Rename to ... | |
6648 | (child_terminal_save_ours): ... this. | |
6649 | (terminal_ours): Rename to ... | |
6650 | (child_terminal_ours): ... this. | |
6651 | (terminal_inferior): Rename to ... | |
6652 | (child_terminal_inferior): ... this. | |
6653 | (terminal_init_inferior): Rename to ... | |
6654 | (child_terminal_init_inferior): ... this. | |
6655 | (terminal_init_inferior_with_pgrp): Rename to ... | |
6656 | (child_terminal_init_inferior_with_pgrp): ... this. | |
6657 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
6658 | (child_terminal_init_with_pgrp): ... this. | |
6659 | (terminal_save_ours): Rename to ... | |
6660 | (child_terminal_save_ours): ... this. | |
6661 | (terminal_init_inferior): Rename to ... | |
6662 | (child_terminal_init): ... this. Adjust. | |
6663 | (terminal_inferior): Rename to ... | |
6664 | (child_terminal_inferior): ... this. | |
6665 | (terminal_ours_for_output): Rename to ... | |
6666 | (child_terminal_ours_for_output): ... this. Adjust. | |
6667 | (terminal_ours): Rename to ... | |
6668 | (child_terminal_ours): ... this. | |
6669 | (terminal_ours_1): Rename to ... | |
6670 | (child_terminal_ours_1): ... this. Adjust. | |
6671 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
6672 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
6673 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
6674 | (gnu_terminal_init): ... this. Adjust. | |
6675 | (gnu_target): Adjust. | |
6676 | * inf-child.c (inf_child_target): Adjust. | |
6677 | ||
5a1e8c7a DE |
6678 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
6679 | ||
6680 | PR guile/16612 | |
6681 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
6682 | new eq?-hashtab. | |
6683 | ||
350e1a76 DE |
6684 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
6685 | ||
6686 | * value.c (record_latest_value): Call release_value_or_incref | |
6687 | instead of release_value. | |
6688 | ||
a69900ae PA |
6689 | 2014-03-13 Pedro Alves <palves@redhat.com> |
6690 | ||
6691 | * procfs.c (procfs_target): Don't override to_shortname, | |
6692 | to_longname or to_doc. | |
6693 | ||
5db9f0bd PA |
6694 | 2014-03-13 Pedro Alves <palves@redhat.com> |
6695 | ||
6696 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
6697 | Unix in user visible strings. | |
6698 | ||
5e3a2c38 SS |
6699 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
6700 | ||
6701 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
6702 | block comment with some general info. | |
6703 | ||
8bc2fe48 PA |
6704 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6705 | ||
6706 | * infcmd.c (prepare_execution_command): New function, factored out | |
6707 | from several execution commands. | |
6708 | (run_command_1, continue_command, step_1, jump_command) | |
6709 | (signal_command, until_command, advance_command, finish_command) | |
6710 | (attach_command): Use prepare_execution_command. | |
6711 | ||
638c5f49 OJ |
6712 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
6713 | ||
6714 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
6715 | (MAX_BPTS): Define. | |
6716 | (MAX_WPTS): Define. | |
6717 | (struct arm_linux_thread_points): Removed. | |
6718 | (struct arm_linux_process_info): New. | |
6719 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
6720 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
6721 | (arm_linux_find_breakpoints_by_tid): Removed. | |
6722 | (struct arch_lwp_info): New. | |
6723 | (arm_linux_find_process_pid): New functions. | |
6724 | (arm_linux_add_process): New functions. | |
6725 | (arm_linux_process_info_get): New functions. | |
6726 | (arm_linux_forget_process): New function. | |
6727 | (arm_linux_get_debug_reg_state): New function. | |
6728 | (struct update_registers_data): New. | |
6729 | (update_registers_callback): New function. | |
6730 | (arm_linux_insert_hw_breakpoint1): Updated. | |
6731 | (arm_linux_remove_hw_breakpoint1): Updated. | |
6732 | (arm_linux_insert_hw_breakpoint): Updated. | |
6733 | (arm_linux_remove_hw_breakpoint): Updated. | |
6734 | (arm_linux_insert_watchpoint): Updated. | |
6735 | (arm_linux_remove_watchpoint): Updated. | |
6736 | (arm_linux_new_thread): Updated. | |
6737 | (arm_linux_prepare_to_resume): New function. | |
6738 | (arm_linux_new_fork): New function. | |
6739 | (_initialize_arm_linux_nat): Updated. | |
6740 | ||
6d03af93 PA |
6741 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6742 | ||
6743 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
6744 | ||
b3ccfe11 TT |
6745 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
6746 | ||
6747 | * inf-child.c (return_zero): New function. | |
6748 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
6749 | * aix-thread.c (aix_thread_inferior_created): New function. | |
6750 | (aix_thread_attach): Remove. | |
6751 | (init_aix_thread_ops): Don't set to_attach. | |
6752 | (_initialize_aix_thread): Register inferior_created observer. | |
6753 | * corelow.c (init_core_ops): Don't set to_attach or | |
6754 | to_create_inferior. | |
6755 | * exec.c (init_exec_ops): Don't set to_attach or | |
6756 | to_create_inferior. | |
6757 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
6758 | target calls. | |
6759 | (attach_command): Use find_attach_target. Make direct target | |
6760 | calls. | |
6761 | * record-btrace.c (init_record_btrace_ops): Don't set | |
6762 | to_create_inferior. | |
6763 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
6764 | Remove. | |
6765 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
6766 | set to_create_inferior. | |
6767 | * target.c (complete_target_initialization): Add assertion. | |
6768 | (target_create_inferior): Remove. | |
6769 | (find_default_attach, find_default_create_inferior): Remove. | |
6770 | (find_attach_target, find_run_target): New functions. | |
6771 | (find_default_is_async_p, find_default_can_async_p) | |
6772 | (target_supports_non_stop, target_attach): Remove. | |
6773 | (init_dummy_target): Don't set to_create_inferior or | |
6774 | to_supports_non_stop. | |
6775 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
6776 | TARGET_DEFAULT_FUNC. | |
6777 | <to_create_inferior>: Add comment. | |
6778 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
6779 | TARGET_DEFAULT_RETURN. | |
6780 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
6781 | (find_attach_target, find_run_target): Declare. | |
6782 | (target_create_inferior): Remove. | |
6783 | (target_has_execution_1): Update comment. | |
6784 | (target_supports_non_stop): Remove. | |
6785 | * target-delegates.c: Rebuild. | |
6786 | ||
91f83b02 PA |
6787 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6788 | ||
6789 | * inf-child.h: Update comment to not mention Unix. | |
6790 | ||
f1aea813 PA |
6791 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6792 | ||
6793 | * inf-child.c: Update top comment to not mention Unix. Add | |
6794 | generic comment describing how this target is meant to be used. | |
6795 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
6796 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
6797 | Unix in comment. | |
6798 | ||
ee8e9165 PA |
6799 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6800 | ||
6801 | * nto-procfs.c: Include inf-child.h. | |
6802 | (procfs_ops): Delete global. | |
6803 | (procfs_can_run): Delete method. | |
6804 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
6805 | target pointer instead of referencing procfs_ops. | |
6806 | (procfs_prepare_to_store): Delete. | |
6807 | (init_procfs_ops): Delete function. | |
6808 | (procfs_target): New function, based on init_procfs_ops, but | |
6809 | inherit inf_child_target. | |
6810 | (_initialize_procfs): Use procfs_target. | |
6811 | ||
51a9c8c5 PA |
6812 | 2014-03-12 Pedro Alves <palves@redhat.com> |
6813 | ||
6814 | * windows-nat.c: Include inf-child.h. | |
6815 | (windows_ops): Delete global. | |
6816 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
6817 | methods. | |
6818 | (init_windows_ops): Delete function. | |
6819 | (windows_target): New function, based on init_windows_ops, but | |
6820 | inherit inf_child_target. | |
6821 | (_initialize_windows_nat): Use windows_target. Install x86 | |
6822 | specific target methods here. | |
6823 | ||
c1966e26 DE |
6824 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
6825 | ||
6826 | * guile/guile.c (call_initialize_gdb_module): New function. | |
6827 | (initialize_guile): Replace call to scm_init_guile with call to | |
6828 | scm_with_guile. | |
6829 | ||
023db19c JB |
6830 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
6831 | ||
6832 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
6833 | in call to TYPE_CODE macro. | |
6834 | ||
5ec18f2b JG |
6835 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
6836 | ||
8668be63 JB |
6837 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
6838 | Resolve tagged types to full view. | |
5ec18f2b | 6839 | |
7d03f2eb HZ |
6840 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
6841 | ||
6842 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
6843 | comments. | |
6844 | ||
c5164cbc DE |
6845 | 2014-03-07 Doug Evans <dje@google.com> |
6846 | ||
6847 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
6848 | ||
c4a3fee2 DE |
6849 | 2014-03-07 Doug Evans <dje@google.com> |
6850 | ||
6851 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
6852 | Remove unused local comp_dir_attr. Assert exactly one of | |
6853 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
6854 | ||
3156469c JB |
6855 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
6856 | ||
6857 | * target.h (complete_target_initialization, add_target): | |
6858 | Add comment. | |
6859 | ||
c1a7b7c6 PA |
6860 | 2014-03-07 Pedro Alves <palves@redhat.com> |
6861 | ||
6862 | * go32-nat.c: Include inf-child.h. | |
6863 | (go32_ops): Delete global. | |
6864 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
6865 | Delete methods. | |
6866 | (go32_create_inferior): Push the passed in target pointer instead | |
6867 | of referencing go32_ops. | |
6868 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
6869 | (go32_target): New function, based on init_go32_ops, but inherit | |
6870 | inf_child_target. | |
6871 | (_initialize_go32_nat): Use go32_target. Move parts of | |
6872 | init_go32_ops here. | |
6873 | ||
d3c1a85f JB |
6874 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
6875 | ||
6876 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
6877 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
6878 | SYMBOL_VALUE_ADDRESS. | |
6879 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
6880 | ||
5fa1d40e YQ |
6881 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6882 | ||
6883 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
6884 | optional_p. All callers updated. Adjust comments. Update | |
6885 | output message. | |
6886 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
6887 | ||
0c13193f YQ |
6888 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6889 | ||
6890 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
6891 | early if get_number returns zero. Use 'p' instead of 'args'. | |
6892 | ||
2217da06 YQ |
6893 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6894 | ||
6895 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
6896 | message. | |
6897 | ||
cc3da688 YQ |
6898 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6899 | ||
6900 | PR breakpoints/16508 | |
6901 | * tracepoint.c (check_trace_running): New function. | |
6902 | (trace_find_command): Move code to check_trace_running and | |
6903 | call check_trace_running. | |
6904 | (trace_find_pc_command): Likewise. | |
6905 | (trace_find_tracepoint_command): Likewise. | |
6906 | (trace_find_line_command): Likewise. | |
6907 | (trace_find_range_command): Likewise. | |
6908 | * tracepoint.h (check_trace_running): Likewise. | |
6909 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
6910 | ||
6a5f844b YQ |
6911 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
6912 | ||
6913 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
6914 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
6915 | * target-delegates.c: Regenerated. | |
6916 | ||
0f26cec1 PA |
6917 | 2014-03-05 Pedro Alves <palves@redhat.com> |
6918 | ||
6919 | PR gdb/16575 | |
6920 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
6921 | void. Update comment. | |
6922 | (dcache_xfer_memory): Delete. | |
6923 | (dcache_read_memory_partial): New, based on the read bits of | |
6924 | dcache_xfer_memory. | |
6925 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
6926 | adjust. Discard cache lines if the reason for the update was | |
6927 | error. | |
6928 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
6929 | (dcache_read_memory_partial): New declaration. | |
6930 | (dcache_update): Update prototype. | |
6931 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
6932 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
6933 | ||
b2b255bd MF |
6934 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
6935 | ||
6936 | * remote-sim.c (gdbsim_load): Add const to prog. | |
6937 | ||
5d9cf8a4 TT |
6938 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
6939 | ||
6940 | * elfread.c (probe_key): Change to bfd_data. | |
6941 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
6942 | now per-BFD, not per-objfile. | |
6943 | * stap-probe.c (stap_probe_destroy): Update comment. | |
6944 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
6945 | ||
729662a5 TT |
6946 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
6947 | ||
6948 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
6949 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
6950 | get_probe_address. | |
6951 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
6952 | (bkpt_probe_remove_location): Update. | |
6953 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
6954 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
6955 | (elf_probe_fns): Update. | |
6956 | (insert_exception_resume_breakpoint): Change type of "probe" | |
6957 | parameter to bound_probe. | |
6958 | (check_exception_resume): Update. | |
6959 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
6960 | * probe.c (bound_probe_s): New typedef. | |
6961 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
6962 | (find_probe_by_pc): Return a bound_probe. | |
6963 | (collect_probes): Return a VEC(bound_probe_s). | |
6964 | (compare_probes): Update. | |
6965 | (gen_ui_out_table_header_info): Change type of "probes" | |
6966 | parameter. Update. | |
6967 | (info_probes_for_ops): Update. | |
6968 | (get_probe_address): New function. | |
6969 | (probe_safe_evaluate_at_pc): Update. | |
6970 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
6971 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
6972 | (struct probe) <objfile>: Remove field. | |
6973 | <arch>: New field. | |
6974 | <address>: Update comment. | |
6975 | (struct bound_probe): New. | |
6976 | (find_probe_by_pc): Return a bound_probe. | |
6977 | (get_probe_address): Declare. | |
6978 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
6979 | (hash_probe_and_action, equal_probe_and_action): Update. | |
6980 | (register_solib_event_probe): Add address parameter. | |
6981 | (solib_event_probe_at): Update. | |
6982 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
6983 | get_probe_address. | |
6984 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
6985 | (stap_get_probe_address): New function. | |
6986 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
6987 | (compile_probe_arg): Update. | |
6988 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
6989 | address. | |
6990 | (handle_stap_probe): Don't relocate the probe. | |
6991 | (stap_relocate): Remove. | |
6992 | (stap_gen_info_probes_table_values): Update. | |
6993 | (stap_probe_ops): Remove stap_relocate. | |
6994 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
6995 | (debug_sym_probe_fns): Update. | |
6996 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
6997 | * symtab.c (init_sal): Use memset. | |
6998 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
6999 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
7000 | ||
ff887920 TT |
7001 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
7002 | ||
7003 | * probe.h (parse_probes, find_probe_by_pc) | |
7004 | (find_probes_in_objfile): Fix comments. | |
7005 | ||
f0407826 DE |
7006 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
7007 | ||
7008 | * infrun.c (handle_signal_stop): Replace test for | |
7009 | TARGET_WAITKIND_STOPPED with an assert. | |
7010 | ||
35e6a711 DE |
7011 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
7012 | ||
7013 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
7014 | ||
667f9d0b DE |
7015 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
7016 | ||
7017 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
7018 | ||
dc92ace0 MK |
7019 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
7020 | ||
7021 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
7022 | ||
a900370f MK |
7023 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
7024 | ||
7025 | * i386obsd-nat.c: Include "obsd-nat.h". | |
7026 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
7027 | add_target. | |
7028 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
7029 | ||
b72a7981 MK |
7030 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
7031 | ||
7032 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
7033 | ||
96c70aba MK |
7034 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
7035 | ||
7036 | * mips64obsd-nat.c: Include "obsd-nath". | |
7037 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
7038 | add_target | |
7039 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
7040 | ||
874a80af MK |
7041 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
7042 | ||
8fd408f1 MK |
7043 | * amd64obsd-nat.c: Include "obsd-nat,h. |
7044 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
7045 | add_target. | |
874a80af MK |
7046 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
7047 | ||
9cf95373 SC |
7048 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
7049 | ||
7050 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
7051 | (find_overload_match): Update call to find_oload_champ. | |
7052 | (find_oload_champ_namespace_loop): Likewise | |
7053 | ||
863e4da4 MK |
7054 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
7055 | ||
025cac40 MK |
7056 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
7057 | ||
1ed586ce MK |
7058 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
7059 | * config/sparc/obsd64.mh: New file. | |
7060 | * sparc64obsd-nat.c: New file. | |
7061 | ||
863e4da4 MK |
7062 | * obsd-nat.h: New file. |
7063 | * obsd-nat.c: New file. | |
7064 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
7065 | (ALLDEPFILES): Add obsd-nat.c. | |
7066 | ||
89de4da4 TT |
7067 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
7068 | ||
7069 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
7070 | * cli-out.h (cli_ui_out_impl): Now const. | |
7071 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
7072 | * ui-out.c (struct ui_out) <impl>: Now const. | |
7073 | (default_ui_out_impl): Now const. | |
7074 | (ui_out_new): Make 'impl' parameter const. | |
7075 | * ui-out.h (ui_out_new): Update. | |
7076 | ||
c725e7b6 MK |
7077 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
7078 | ||
7079 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
7080 | ||
670b46b3 MK |
7081 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
7082 | ||
7083 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
7084 | ||
c91550fc JK |
7085 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
7086 | ||
7087 | Additional PR 8882 fix. | |
7088 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
7089 | ||
2fa0369e PA |
7090 | 2014-02-27 Pedro Alves <palves@redhat.com> |
7091 | ||
7092 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
7093 | isn't set. | |
7094 | ||
d632a097 PA |
7095 | 2014-02-27 Pedro Alves <palves@redhat.com> |
7096 | ||
7097 | PR 12702 | |
7098 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
7099 | * nat/linux-waitpid.c: Include string.h. | |
7100 | (status_to_str): Moved here and made extern. | |
7101 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
7102 | ||
2ebd5a35 HZ |
7103 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
7104 | ||
7105 | PR 12702 | |
7106 | * infrun.c (ptid_match): Move ... | |
7107 | * common/ptid.c (ptid_match): ... here. | |
7108 | * inferior.h (ptid_match): Move ... | |
7109 | * common/ptid.h (ptid_match): ... here. | |
7110 | ||
3cdd631f MK |
7111 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
7112 | ||
7113 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
7114 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
7115 | gdb_target_obs. | |
7116 | ||
bee30a64 MK |
7117 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
7118 | ||
7119 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
7120 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
7121 | |
7122 | * gdbarch.sh (auxv_parse): New. | |
7123 | * gdbarch.h: Regenerated. | |
7124 | * gdbarch.c: Regenerated. | |
7125 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
7126 | ||
7a5a839f LC |
7127 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
7128 | ||
7129 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
7130 | (value_functions): Add it. | |
7131 | ||
31aa7e4e JB |
7132 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
7133 | ||
7134 | * dwarf2read.c (attr_value_as_address): New function. | |
7135 | (dwarf2_find_base_address, read_call_site_scope): Use | |
7136 | attr_value_as_address in place of DW_ADDR. | |
7137 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
7138 | the low and high addresses. Slight rework of the handling | |
7139 | of the high pc being a constant form, and limit it to | |
7140 | DWARF verson 4 or higher. | |
7141 | (dwarf2_record_block_ranges): Likewise. | |
7142 | (read_partial_die): Likewise. | |
7143 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
7144 | ||
9b333ba3 TT |
7145 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7146 | ||
7147 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
7148 | ||
5f6cac40 TT |
7149 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7150 | ||
7151 | * elfread.c (elf_read_minimal_symbols): Return early if | |
7152 | minimal symbols have already been read. Add "ei" parameter. | |
7153 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
7154 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
7155 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
7156 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
7157 | * symmisc.c (print_objfile_statistics): Update. | |
7158 | ||
2750ef27 TT |
7159 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7160 | ||
7161 | * elfread.c (elf_read_minimal_symbols): New function, from | |
7162 | elf_symfile_read. | |
7163 | (elf_symfile_read): Call it. | |
7164 | ||
34643a32 TT |
7165 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7166 | ||
7167 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
7168 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
7169 | (lookup_minimal_symbol_solib_trampoline) | |
7170 | (lookup_minimal_symbol_by_pc_section_1) | |
7171 | (lookup_minimal_symbol_and_objfile): Update. | |
7172 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
7173 | Don't allocate a minimal symbol if minsyms have already been read. | |
7174 | (build_minimal_symbol_hash_tables): Update. | |
7175 | (install_minimal_symbols): Do nothing if minsyms already read. | |
7176 | Use the per-BFD obstack. | |
7177 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
7178 | * objfiles.c (allocate_objfile): Call | |
7179 | terminate_minimal_symbol_table later. | |
7180 | (have_minimal_symbols): Update. | |
7181 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
7182 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
7183 | Move from struct objfile. | |
7184 | <minsyms_read>: New field. | |
7185 | (struct objfile) <msymbols, minimal_symbol_count, | |
7186 | msymbol_hash, msymbol_demangled_hash>: Move. | |
7187 | (ALL_OBJFILE_MSYMBOLS): Update. | |
7188 | * symfile.c (read_symbols): Set minsyms_read. | |
7189 | (reread_symbols): Update. | |
7190 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
7191 | ||
2273f0ac TT |
7192 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7193 | ||
7194 | * minsyms.c (msymbols_sort): Remove. | |
7195 | * minsyms.h (msymbols_sort): Remove. | |
7196 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
7197 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
7198 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
7199 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
7200 | to minimal symbol address. | |
7201 | * somread.c (text_offset, data_offset): Remove. | |
7202 | (som_symtab_read): Don't add section offsets to minimal symbol | |
7203 | addresses. | |
7204 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
7205 | Don't add section offsets to minimal symbols. | |
7206 | * coffread.c (coff_symtab_read): Don't add section offsets | |
7207 | to minimal symbol addresses. | |
7208 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
7209 | to minimal symbol addresses. | |
7210 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
7211 | section offset to minimal symbol addresses. | |
7212 | * mdebugread.c (parse_partial_symbols): Don't add section | |
7213 | offset to minimal symbol addresses. | |
7214 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
7215 | offset to minimal symbol addresses. | |
7216 | ||
77e371c0 TT |
7217 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7218 | ||
7219 | * ada-lang.c (ada_main_name): Update. | |
7220 | (ada_add_standard_exceptions): Update. | |
7221 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
7222 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
7223 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
7224 | * auxv.c (ld_so_xfer_auxv): Update. | |
7225 | * avr-tdep.c (avr_scan_prologue): Update. | |
7226 | * ax-gdb.c (gen_var_ref): Update. | |
7227 | * blockframe.c (get_pc_function_start) | |
7228 | (find_pc_partial_function_gnu_ifunc): Update. | |
7229 | * breakpoint.c (create_overlay_event_breakpoint) | |
7230 | (create_longjmp_master_breakpoint) | |
7231 | (create_std_terminate_master_breakpoint) | |
7232 | (create_exception_master_breakpoint): Update. | |
7233 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
7234 | * c-valprint.c (c_val_print): Update. | |
7235 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
7236 | * common/agent.c (agent_look_up_symbols): Update. | |
7237 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
7238 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
7239 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
7240 | * elfread.c (elf_gnu_ifunc_record_cache) | |
7241 | (elf_gnu_ifunc_resolve_by_got): Update. | |
7242 | * findvar.c (default_read_var_value): Update. | |
7243 | * frame.c (inside_main_func): Update. | |
7244 | * frv-tdep.c (frv_frame_this_id): Update. | |
7245 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
7246 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
7247 | Update. | |
7248 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
7249 | (hppa_hpux_find_dummy_bpaddr): Update. | |
7250 | * hppa-tdep.c (hppa_symbol_address): Update. | |
7251 | * infcmd.c (until_next_command): Update. | |
7252 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
7253 | Update. | |
7254 | * linespec.c (minsym_found, add_minsym): Update. | |
7255 | * linux-nat.c (get_signo): Update. | |
7256 | * linux-thread-db.c (inferior_has_bug): Update. | |
7257 | * m32c-tdep.c (m32c_return_value) | |
7258 | (m32c_m16c_address_to_pointer): Update. | |
7259 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
7260 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
7261 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
7262 | * maint.c (maintenance_translate_address): Update. | |
7263 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
7264 | (frob_address): New function. | |
7265 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
7266 | frob_address. Rename parameter to "pc_in". | |
7267 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
7268 | addresses. | |
7269 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
7270 | Update. | |
7271 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
7272 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
7273 | * objc-lang.c (find_objc_msgsend): Update. | |
7274 | * objfiles.c (objfile_relocate1): Update. | |
7275 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
7276 | * p-valprint.c (pascal_val_print): Update. | |
7277 | * parse.c (write_exp_msymbol): Update. | |
7278 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
7279 | (ppc_elfv2_skip_entrypoint): Update. | |
7280 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
7281 | * printcmd.c (build_address_symbolic, msym_info) | |
7282 | (address_info): Update. | |
7283 | * proc-service.c (ps_pglobal_lookup): Update. | |
7284 | * psymtab.c (find_pc_sect_psymtab_closer) | |
7285 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
7286 | Change msymbol parameter to bound_minimal_symbol. | |
7287 | * ravenscar-thread.c (get_running_thread_id): Update. | |
7288 | * remote.c (remote_check_symbols): Update. | |
7289 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
7290 | address. | |
7291 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
7292 | * solib-dsbt.c (lm_base): Update. | |
7293 | * solib-frv.c (lm_base, main_got): Update. | |
7294 | * solib-irix.c (locate_base): Update. | |
7295 | * solib-som.c (som_solib_create_inferior_hook) | |
7296 | (link_map_start): Update. | |
7297 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
7298 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
7299 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
7300 | (flush_ea_cache): Update. | |
7301 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
7302 | * stack.c (find_frame_funname): Update. | |
7303 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
7304 | (debug_qf_find_pc_sect_symtab): Update. | |
7305 | * symfile.c (simple_read_overlay_table) | |
7306 | (simple_overlay_update): Update. | |
7307 | * symfile.h (struct quick_symbol_functions) | |
7308 | <find_pc_sect_symtab>: Change type of msymbol to | |
7309 | bound_minimal_symbol. | |
7310 | * symmisc.c (dump_msymbols): Update. | |
7311 | * symtab.c (find_pc_sect_symtab_via_partial) | |
7312 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
7313 | (search_symbols, print_msymbol_info): Update. | |
7314 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
7315 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
7316 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
7317 | * tracepoint.c (scope_info): Update. | |
7318 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
7319 | (tui_get_begin_asm_address): Update. | |
7320 | * valops.c (find_function_in_inferior): Update. | |
7321 | * value.c (value_static_field, value_fn_field): Update. | |
7322 | ||
3b7344d5 TT |
7323 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7324 | ||
7325 | * ada-lang.c (ada_update_initial_language): Update. | |
7326 | (ada_main_name, ada_has_this_exception_support): Update. | |
7327 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
7328 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
7329 | * arm-tdep.c (arm_skip_stub): Update. | |
7330 | * auxv.c (ld_so_xfer_auxv): Update. | |
7331 | * avr-tdep.c (avr_scan_prologue): Update. | |
7332 | * ax-gdb.c (gen_var_ref): Update. | |
7333 | * breakpoint.c (struct breakpoint_objfile_data) | |
7334 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
7335 | type to bound_minimal_symbol. | |
7336 | (create_overlay_event_breakpoint) | |
7337 | (create_longjmp_master_breakpoint) | |
7338 | (create_std_terminate_master_breakpoint) | |
7339 | (create_exception_master_breakpoint): Update. | |
7340 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
7341 | * c-exp.y (classify_name): Update. | |
7342 | * coffread.c (coff_symfile_read): Update. | |
7343 | * common/agent.c (agent_look_up_symbols): Update. | |
7344 | * d-lang.c (d_main_name): Update. | |
7345 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
7346 | * dec-thread.c (enable_dec_thread): Update. | |
7347 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
7348 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
7349 | * eval.c (evaluate_subexp_standard): Update. | |
7350 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
7351 | to bound_minimal_symbol. | |
7352 | <objfile>: Remove. | |
7353 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
7354 | * frame.c (inside_main_func): Update. | |
7355 | * frv-tdep.c (frv_frame_this_id): Update. | |
7356 | * gcore.c (call_target_sbrk): Update. | |
7357 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
7358 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
7359 | Update. | |
7360 | * go-lang.c (go_main_name): Update. | |
7361 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
7362 | (hppa_hpux_find_import_stub_for_addr): Update. | |
7363 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
7364 | Update. Change return type. | |
7365 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
7366 | type. | |
7367 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
7368 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
7369 | Update. | |
7370 | * linux-nat.c (get_signo): Update. | |
7371 | * linux-thread-db.c (inferior_has_bug): Update | |
7372 | * m32c-tdep.c (m32c_return_value) | |
7373 | (m32c_m16c_address_to_pointer): Update. | |
7374 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
7375 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
7376 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
7377 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
7378 | lookup_minimal_symbol. Change return type. | |
7379 | (lookup_minimal_symbol): Remove. | |
7380 | (lookup_bound_minimal_symbol): Update. | |
7381 | (lookup_minimal_symbol_text): Change return type. | |
7382 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
7383 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
7384 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
7385 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
7386 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
7387 | (value_nsstring, find_imps): Update. | |
7388 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
7389 | * p-lang.c (pascal_main_name): Update. | |
7390 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
7391 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
7392 | * proc-service.c (ps_pglobal_lookup): Update. | |
7393 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
7394 | return type. | |
7395 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
7396 | * remote.c (remote_check_symbols): Update. | |
7397 | * sol-thread.c (ps_pglobal_lookup): Update. | |
7398 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
7399 | * solib-dsbt.c (lm_base): Update. | |
7400 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
7401 | Update. | |
7402 | * solib-irix.c (locate_base): Update. | |
7403 | * solib-som.c (som_solib_create_inferior_hook) | |
7404 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
7405 | Update. | |
7406 | * solib-spu.c (spu_enable_break): Update. | |
7407 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
7408 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
7409 | (flush_ea_cache): Update. | |
7410 | * stabsread.c (define_symbol): Update. | |
7411 | * symfile.c (simple_read_overlay_table): Update. | |
7412 | * symtab.c (find_pc_sect_line): Update. | |
7413 | * tracepoint.c (scope_info): Update. | |
7414 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
7415 | * value.c (value_static_field): Update. | |
7416 | ||
40c1a007 TT |
7417 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7418 | ||
7419 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
7420 | SET_MSYMBOL_VALUE_ADDRESS. | |
7421 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
7422 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
7423 | SET_MSYMBOL_VALUE_ADDRESS. | |
7424 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
7425 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
7426 | ||
efd66ac6 TT |
7427 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7428 | ||
7429 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
7430 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
7431 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
7432 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
7433 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
7434 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
7435 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
7436 | * ada-lang.c (ada_main_name): Update. | |
7437 | (ada_lookup_simple_minsym): Update. | |
7438 | (ada_make_symbol_completion_list): Update. | |
7439 | (ada_add_standard_exceptions): Update. | |
7440 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
7441 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
7442 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
7443 | * arm-tdep.c (skip_prologue_function): Update. | |
7444 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
7445 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
7446 | (arm_wince_skip_main_prologue): Update. | |
7447 | * auxv.c (ld_so_xfer_auxv): Update. | |
7448 | * avr-tdep.c (avr_scan_prologue): Update. | |
7449 | * ax-gdb.c (gen_var_ref): Update. | |
7450 | * block.c (call_site_for_pc): Update. | |
7451 | * blockframe.c (get_pc_function_start): Update. | |
7452 | (find_pc_partial_function_gnu_ifunc): Update. | |
7453 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
7454 | (create_longjmp_master_breakpoint): Update. | |
7455 | (create_std_terminate_master_breakpoint): Update. | |
7456 | (create_exception_master_breakpoint): Update. | |
7457 | (resolve_sal_pc): Update. | |
7458 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
7459 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
7460 | Update. | |
7461 | * c-valprint.c (c_val_print): Update. | |
7462 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
7463 | * coffread.c (coff_symfile_read): Update. | |
7464 | * common/agent.c (agent_look_up_symbols): Update. | |
7465 | * dbxread.c (find_stab_function_addr): Update. | |
7466 | (end_psymtab): Update. | |
7467 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
7468 | (func_verify_no_selftailcall): Update. | |
7469 | (tailcall_dump): Update. | |
7470 | (call_site_find_chain_1): Update. | |
7471 | (dwarf_expr_reg_to_entry_parameter): Update. | |
7472 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
7473 | (elf_gnu_ifunc_resolve_by_got): Update. | |
7474 | * f-valprint.c (info_common_command): Update. | |
7475 | * findvar.c (read_var_value): Update. | |
7476 | * frame.c (get_prev_frame_1): Update. | |
7477 | (inside_main_func): Update. | |
7478 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
7479 | (frv_frame_this_id): Update. | |
7480 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
7481 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
7482 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
7483 | (gnuv3_skip_trampoline): Update. | |
7484 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
7485 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
7486 | (hppa_hpux_skip_trampoline_code): Update. | |
7487 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
7488 | (hppa_hpux_find_import_stub_for_addr): Update. | |
7489 | (hppa_hpux_find_dummy_bpaddr): Update. | |
7490 | * hppa-tdep.c (hppa_symbol_address) | |
7491 | (hppa_lookup_stub_minimal_symbol): Update. | |
7492 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
7493 | (i386_pe_skip_trampoline_code): Update. | |
7494 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
7495 | * infcall.c (get_function_name): Update. | |
7496 | * infcmd.c (until_next_command): Update. | |
7497 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
7498 | (jit_inferior_init): Update. | |
7499 | * linespec.c (minsym_found): Update. | |
7500 | (add_minsym): Update. | |
7501 | * linux-fork.c (info_checkpoints_command): Update. | |
7502 | * linux-nat.c (get_signo): Update. | |
7503 | * linux-thread-db.c (inferior_has_bug): Update. | |
7504 | * m32c-tdep.c (m32c_return_value): Update. | |
7505 | (m32c_m16c_address_to_pointer): Update. | |
7506 | (m32c_m16c_pointer_to_address): Update. | |
7507 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
7508 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
7509 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
7510 | * maint.c (maintenance_translate_address): Update. | |
7511 | * minsyms.c (add_minsym_to_hash_table): Update. | |
7512 | (add_minsym_to_demangled_hash_table): Update. | |
7513 | (msymbol_objfile): Update. | |
7514 | (lookup_minimal_symbol): Update. | |
7515 | (iterate_over_minimal_symbols): Update. | |
7516 | (lookup_minimal_symbol_text): Update. | |
7517 | (lookup_minimal_symbol_by_pc_name): Update. | |
7518 | (lookup_minimal_symbol_solib_trampoline): Update. | |
7519 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
7520 | (lookup_minimal_symbol_and_objfile): Update. | |
7521 | (prim_record_minimal_symbol_full): Update. | |
7522 | (compare_minimal_symbols): Update. | |
7523 | (compact_minimal_symbols): Update. | |
7524 | (build_minimal_symbol_hash_tables): Update. | |
7525 | (install_minimal_symbols): Update. | |
7526 | (terminate_minimal_symbol_table): Update. | |
7527 | (find_solib_trampoline_target): Update. | |
7528 | (minimal_symbol_upper_bound): Update. | |
7529 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
7530 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
7531 | (mips_skip_pic_trampoline_code): Update. | |
7532 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
7533 | * objc-lang.c (selectors_info): Update. | |
7534 | (classes_info): Update. | |
7535 | (find_methods): Update. | |
7536 | (find_imps): Update. | |
7537 | (find_objc_msgsend): Update. | |
7538 | * objfiles.c (objfile_relocate1): Update. | |
7539 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
7540 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
7541 | * p-valprint.c (pascal_val_print): Update. | |
7542 | * parse.c (write_exp_msymbol): Update. | |
7543 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
7544 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
7545 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
7546 | * printcmd.c (build_address_symbolic): Update. | |
7547 | (sym_info): Update. | |
7548 | (address_info): Update. | |
7549 | * proc-service.c (ps_pglobal_lookup): Update. | |
7550 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
7551 | (find_pc_sect_psymtab): Update. | |
7552 | * python/py-framefilter.c (py_print_frame): Update. | |
7553 | * ravenscar-thread.c (get_running_thread_id): Update. | |
7554 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
7555 | Update. | |
7556 | * remote.c (remote_check_symbols): Update. | |
7557 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
7558 | (rs6000_skip_trampoline_code): Update. | |
7559 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
7560 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
7561 | * solib-dsbt.c (lm_base): Update. | |
7562 | * solib-frv.c (lm_base): Update. | |
7563 | (main_got): Update. | |
7564 | * solib-irix.c (locate_base): Update. | |
7565 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
7566 | (som_solib_desire_dynamic_linker_symbols): Update. | |
7567 | (link_map_start): Update. | |
7568 | * solib-spu.c (spu_enable_break): Update. | |
7569 | (ocl_enable_break): Update. | |
7570 | * solib-svr4.c (elf_locate_base): Update. | |
7571 | (enable_break): Update. | |
7572 | * spu-tdep.c (spu_get_overlay_table): Update. | |
7573 | (spu_catch_start): Update. | |
7574 | (flush_ea_cache): Update. | |
7575 | * stabsread.c (define_symbol): Update. | |
7576 | (scan_file_globals): Update. | |
7577 | * stack.c (find_frame_funname): Update. | |
7578 | (frame_info): Update. | |
7579 | * symfile.c (simple_read_overlay_table): Update. | |
7580 | (simple_overlay_update): Update. | |
7581 | * symmisc.c (dump_msymbols): Update. | |
7582 | * symtab.c (fixup_section): Update. | |
7583 | (find_pc_sect_line): Update. | |
7584 | (skip_prologue_sal): Update. | |
7585 | (search_symbols): Update. | |
7586 | (print_msymbol_info): Update. | |
7587 | (rbreak_command): Update. | |
7588 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
7589 | (completion_list_objc_symbol): Update. | |
7590 | (default_make_symbol_completion_list_break_on): Update. | |
7591 | * tracepoint.c (scope_info): Update. | |
7592 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
7593 | (tui_get_begin_asm_address): Update. | |
7594 | * valops.c (find_function_in_inferior): Update. | |
7595 | * value.c (value_static_field): Update. | |
7596 | (value_fn_field): Update. | |
7597 | ||
50e65b17 TT |
7598 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
7599 | ||
7600 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
7601 | bound minimal symbols. Move code that knows about minsym | |
7602 | table layout... | |
7603 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
7604 | function. | |
7605 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
7606 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
7607 | minimal_symbol_upper_bound. | |
7608 | ||
1b588015 JB |
7609 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
7610 | ||
7611 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
7612 | Use the type's name if its basic type does not have a tag. | |
7613 | ||
dbb9c2b1 JB |
7614 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
7615 | ||
7616 | * dwarf2read.c (read_subrange_type): Add comment. | |
7617 | ||
55426c9d JB |
7618 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
7619 | ||
7620 | * dwarf2read.c (update_enumeration_type_from_children): New | |
7621 | function, mostly extracted from process_structure_scope. | |
7622 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
7623 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
7624 | and flag_flag_enum fields. | |
7625 | ||
f2fce0ca PA |
7626 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7627 | ||
7628 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
7629 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
7630 | to_xfer_partial method. | |
7631 | ||
7a44e40e PA |
7632 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7633 | ||
7634 | * target.c (complete_target_initialization): Don't install | |
7635 | default_xfer_partial as to_xfer_partial hook. | |
7636 | (nomemory): Delete. | |
7637 | (update_current_target): Don't INHERIT nor de_fault | |
7638 | deprecated_xfer_memory. Delete de_fault macro. | |
7639 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
7640 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
7641 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
7642 | field. | |
7643 | ||
bd265cd0 PA |
7644 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7645 | ||
7646 | * go32-nat.c (my_write_child): New function. | |
7647 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
7648 | (go32_xfer_partial): New function. | |
7649 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
7650 | Instead install a to_xfer_partial hook. | |
7651 | ||
9d46c4e5 PA |
7652 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7653 | ||
7654 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
7655 | to_xfer_partial helper. Rewrite. | |
7656 | (procfs_xfer_partial): New function. | |
7657 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
7658 | Install a to_xfer_partial hook. | |
7659 | ||
a1583b1f PA |
7660 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7661 | ||
7662 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
7663 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
7664 | (m32r_xfer_partial): New function. | |
7665 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
7666 | Install a to_xfer_partial hook. | |
7667 | ||
6df1b29f PA |
7668 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7669 | ||
7670 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
7671 | helper. | |
7672 | (mips_xfer_partial): New function. | |
7673 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
7674 | hook. Install a to_xfer_partial hook. | |
7675 | ||
dc53a7ad JB |
7676 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
7677 | ||
7678 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
7679 | * gdbtypes.c (create_array_type_with_stride): New function, | |
7680 | renaming create_array_type, but with an added parameter | |
7681 | called "bit_stride". | |
7682 | (create_array_type): Re-implement using | |
7683 | create_array_type_with_stride. | |
7684 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
7685 | and DW_AT_bit_stride attributes. | |
7686 | ||
12ab52e9 PA |
7687 | 2014-02-26 Pedro Alves <palves@redhat.com> |
7688 | ||
7689 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
7690 | task-specific breakpoints. | |
7691 | ||
d16461ae PA |
7692 | 2014-02-25 Pedro Alves <palves@redhat.com> |
7693 | ||
7694 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
7695 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
7696 | ||
a8b16220 SS |
7697 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
7698 | ||
7699 | * defs.h: Annotate comments for Doxygen. | |
7700 | ||
b9e795ee TT |
7701 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
7702 | ||
7703 | * target.h (target_ignore): Don't declare. | |
7704 | * target.c (target_ignore): Remove. | |
7705 | ||
849c862e JK |
7706 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
7707 | ||
7708 | PR gdb/16626 | |
7709 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
7710 | debugfile. | |
7711 | ||
475109d8 JB |
7712 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
7713 | ||
7714 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
7715 | documentation. Adjust prototype to match the target_ops | |
7716 | to_xfer_partial method. Adjust implementation accordingly. | |
7717 | ||
e186c3bd HZ |
7718 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
7719 | ||
7720 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
7721 | to_traceframe_info. | |
7722 | ||
6d451942 KB |
7723 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
7724 | ||
041ab8b4 | 7725 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
7726 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
7727 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
7728 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
7729 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
7730 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
7731 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
7732 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
7733 | New constants. | |
7734 | (rl78_register_type): Use a data pointer type for SP and | |
7735 | new pseudo registers mentioned above. Use a 16 bit integer | |
7736 | type for all other register pairs. | |
7737 | (rl78_register_name, rl78_g10_register_name): Update for | |
7738 | new pseudo registers. | |
7739 | (rl78_pseudo_register_read): Likewise. | |
7740 | (rl78_pseudo_register_write): Likewise. | |
7741 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
7742 | to the newly added pseudo registers. | |
7743 | ||
eddf0bae DE |
7744 | 2014-02-24 Doug Evans <dje@google.com> |
7745 | ||
7746 | * value.c (record_latest_value): Fix comment. | |
7747 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
7748 | record_latest_value. | |
7749 | ||
e96027e0 PA |
7750 | 2014-02-24 Pedro Alves <palves@redhat.com> |
7751 | ||
7752 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
7753 | deprecated_xfer_memory hook. | |
7754 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
7755 | of the deprecated_xfer_memory target hook. | |
7756 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
7757 | helper. | |
7758 | ||
0837c976 YZ |
7759 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
7760 | ||
7761 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
7762 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
7763 | requested object is TARGET_OBJECT_LIBRARIES. | |
7764 | ||
bc113b4e YQ |
7765 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
7766 | ||
7767 | * target.h (enum target_xfer_status) | |
7768 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
7769 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
7770 | explicitly. New. | |
7771 | * corefile.c (memory_error_message): User updated. | |
7772 | * exec.c (section_table_read_available_memory): Likewise. | |
7773 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
7774 | * target.c (target_xfer_status_to_string): Likewise. | |
7775 | (raw_memory_xfer_partial): Likewise. | |
7776 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
7777 | * valops.c (read_value_memory): Likewise. | |
7778 | * exec.h: Update comments. | |
7779 | ||
01cb8804 YQ |
7780 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
7781 | ||
7782 | * target.c (target_xfer_status_to_string): Rename argument err | |
7783 | to status. | |
7784 | * target.h (target_xfer_status_to_string): Update declaration. | |
7785 | Replace target_xfer_error_to_string with | |
7786 | target_xfer_status_to_string in comment. | |
7787 | ||
93063aa6 YQ |
7788 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
7789 | ||
7790 | * mips-linux-nat.c (super_close): Update its type. | |
7791 | (mips_linux_close): Pass 'self' to super_close. | |
7792 | ||
5c328c05 YQ |
7793 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
7794 | ||
7795 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
7796 | * corefile.c (read_memory): Adjusted. | |
7797 | * target.c (target_write_with_progress): Adjusted. | |
7798 | ||
f73023dd YQ |
7799 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7800 | ||
7801 | Revert two patches: | |
7802 | ||
7803 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
7804 | ||
7805 | * remote.c (remote_traceframe_info): Return early if | |
7806 | traceframe is not selected. | |
7807 | ||
7808 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
7809 | ||
7810 | * target.c (update_current_target): Change the default action | |
7811 | of 'to_traceframe_info' from tcomplain to return_zero. | |
7812 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
7813 | comments. | |
7814 | ||
5a2eb0ef YQ |
7815 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7816 | ||
7817 | * valops.c (read_value_memory): Rewrite it. Call | |
7818 | target_xfer_partial in a loop. | |
7819 | * exec.h (section_table_available_memory): Remove declaration. | |
7820 | Move comments to ... | |
7821 | * exec.c (section_table_available_memory): ... here. Make it | |
7822 | static. | |
7823 | ||
1ee79381 YQ |
7824 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7825 | ||
7826 | * exec.c (section_table_read_available_memory): New function. | |
7827 | * exec.h (section_table_read_available_memory): Declare. | |
7828 | * ctf.c (ctf_xfer_partial): Call | |
7829 | section_table_read_available_memory. | |
7830 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
7831 | ||
1ca49d37 YQ |
7832 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7833 | ||
7834 | * ctf.c (ctf_xfer_partial): Move code to ... | |
7835 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
7836 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
7837 | * tracefile.c: Include "exec.h". | |
7838 | * exec.h (exec_read_partial_read_only): Declare. | |
7839 | ||
a283690e YQ |
7840 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7841 | ||
7842 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
7843 | (tfile_has_memory): Remove. | |
7844 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
7845 | to_has_memory of tfile_ops. | |
7846 | * tracefile.c (tracefile_has_all_memory): New function. | |
7847 | (tracefile_has_memory): New function. | |
7848 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
7849 | to_has_memory of 'ops'. | |
7850 | ||
12e03cd0 YQ |
7851 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7852 | ||
7853 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
7854 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
7855 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
7856 | init_tracefile_ops. | |
7857 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
7858 | (tfile_has_stack, tfile_has_registers): Remove. | |
7859 | (tfile_thread_alive): Remove. | |
7860 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
7861 | init_tracefile_ops. | |
7862 | * tracefile.c (tracefile_has_stack): New function. | |
7863 | (tracefile_has_registers): New function. | |
7864 | (tracefile_thread_alive): New function. | |
7865 | (tracefile_get_trace_status): New function. | |
7866 | (init_tracefile_ops): New function. | |
7867 | * tracefile.h (init_tracefile_ops): Declare. | |
7868 | ||
11395323 YQ |
7869 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7870 | ||
7871 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
7872 | (O_LARGEFILE): Likewise. | |
7873 | (tfile_ops): Likewise. | |
7874 | (TRACE_HEADER_SIZE): Likewise. | |
7875 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
7876 | (cur_data_size): Likewise. | |
7877 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
7878 | (tfile_close, tfile_files_info): Likewise. | |
7879 | (tfile_get_trace_status): Likewise. | |
7880 | (tfile_get_tracepoint_status): Likewise. | |
7881 | (tfile_get_traceframe_address): Likewise. | |
7882 | (tfile_trace_find, match_blocktype): Likewise. | |
7883 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
7884 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
7885 | (tfile_get_trace_state_variable_value): Likewise. | |
7886 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
7887 | (tfile_has_stack, tfile_has_registers): Likewise. | |
7888 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
7889 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
7890 | (_initialize_tracepoint): Don't call init_tfile_ops | |
7891 | and add_target_with_completer. | |
7892 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
7893 | exec.h, completer.h and filenames.h. | |
7894 | (_initialize_tracefile_tfile): New function. | |
7895 | ||
7951c4eb YQ |
7896 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
7897 | ||
7898 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
7899 | tracefile-tfile.o. | |
7900 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
7901 | * ctf.c: Include "tracefile.h". | |
7902 | * tracefile.h: New file. | |
7903 | * tracefile.c: New file | |
7904 | * tracefile-tfile.c: New file. | |
7905 | * tracepoint.c: Include "tracefile.h". | |
7906 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
7907 | (stop_reason_names): Add const. | |
7908 | (trace_file_writer_xfree): Move it to tracefile.c. | |
7909 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
7910 | (trace_save_ctf): Likewise. | |
7911 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
7912 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
7913 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
7914 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
7915 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
7916 | (tfile_write_raw_data, tfile_end): Likewise. | |
7917 | (tfile_trace_file_writer_new): Likewise. | |
7918 | (free_uploaded_tp): Make it extern. | |
7919 | (free_uploaded_tsv): Make it extern. | |
7920 | (_initialize_tracepoint): Move code to register command 'tsave' | |
7921 | to tracefile.c. | |
7922 | * tracepoint.h (stop_reason_names): Declare. | |
7923 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
7924 | (struct trace_file_write_ops): Likewise. | |
7925 | (struct trace_file_writer): Likewise. | |
7926 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
7927 | ||
184cd072 JK |
7928 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
7929 | ||
7930 | PR gdb/16594 | |
7931 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
7932 | process name. | |
7933 | (get_cores_used_by_process): New parameter num_cores, use it. | |
7934 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
7935 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
7936 | process name. | |
7937 | ||
c63528fc AK |
7938 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
7939 | ||
7940 | * target.c (memory_xfer_partial): Fix length arg in call to | |
7941 | breakpoint_xfer_memory. | |
7942 | ||
d7b30f67 SDJ |
7943 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
7944 | ||
7945 | PR tdep/16397 | |
7946 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
7947 | number comes after the + or - signs. Adjust length of register | |
7948 | name to be extracted. | |
7949 | ||
8838afaf TT |
7950 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
7951 | ||
7952 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
7953 | (ada_varobj_ops): Mark "extern". | |
7954 | ||
05227d14 TT |
7955 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
7956 | ||
7957 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
7958 | ||
1254eefc DE |
7959 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
7960 | ||
7961 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
7962 | All callers updated. | |
7963 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
7964 | All callers updated. | |
7965 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
7966 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
7967 | ||
adde2bff DE |
7968 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
7969 | Joel Brobecker <brobecker@adacore.com> | |
7970 | Doug Evans <xdje42@gmail.com> | |
7971 | ||
7972 | PR symtab/16581 | |
7973 | * dwarf2read.c (struct die_info): New member in_process. | |
7974 | (reset_die_in_process): New function. | |
7975 | (process_die): Set it at the start, reset when returning. | |
7976 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
7977 | not already being processed. | |
7978 | ||
3be75f87 JB |
7979 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7980 | ||
7981 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
7982 | (do_initial_windows_stuff): Add comment explaining why we wait | |
7983 | until after inferior initialization has finished before | |
7984 | processing all DLLs. | |
7985 | ||
47f7ffdb JB |
7986 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7987 | ||
7988 | * windows-nat.c (get_module_name): Delete. | |
7989 | (windows_get_exec_module_filename): New function, mostly | |
7990 | inspired from get_module_name. | |
7991 | (windows_pid_to_exec_file): Replace call to get_module_name | |
7992 | by call to windows_get_exec_module_filename. | |
7993 | ||
1cd9feab JB |
7994 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
7995 | ||
7996 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
7997 | introductory comment. Remove code using get_module_name | |
7998 | to get the DLL's name. | |
7999 | ||
ea39ad35 JB |
8000 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
8001 | ||
8002 | * windows-nat.c (get_windows_debug_event): Ignore | |
8003 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
8004 | if windows_initialization_done == 0. | |
8005 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
8006 | Adjust implementation to always load all DLLs. | |
8007 | (do_initial_windows_stuff): Replace call to | |
8008 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
8009 | ||
95060284 JB |
8010 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
8011 | ||
8012 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
8013 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
8014 | and "assf" aliases into commands, and deprecate them as well. | |
8015 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
8016 | aliases are now deprecated. | |
8017 | ||
8d4fdb12 JB |
8018 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
8019 | ||
8020 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
8021 | new-line in debug string. Remove trailing spaces. | |
8022 | ||
1b281443 SS |
8023 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
8024 | ||
8025 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
8026 | ||
f7bd0f78 SC |
8027 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
8028 | ||
8029 | * NEWS: Add entry for the new feature | |
8030 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
8031 | and class values. | |
8032 | ||
399ebc3d SS |
8033 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
8034 | ||
8035 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
8036 | ||
c658158d PA |
8037 | 2014-02-19 Pedro Alves <palves@redhat.com> |
8038 | ||
8039 | * common/ptid.h (struct ptid): Mention that process_stratum | |
8040 | targets should prefer ptid.lwp. | |
8041 | ||
ba348170 PA |
8042 | 2014-02-19 Pedro Alves <palves@redhat.com> |
8043 | ||
8044 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
8045 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
8046 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
8047 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
8048 | store remote thread ids rather than ptid.tid. | |
8049 | (_initialize_remote): Adjust. | |
8050 | ||
ac01945b TT |
8051 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8052 | ||
8053 | * target.c (target_get_unwinder): Rewrite. | |
8054 | (target_get_tailcall_unwinder): Rewrite. | |
8055 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
8056 | (record_btrace_to_get_tailcall_unwinder): New function. | |
8057 | (init_record_btrace_ops): Update. | |
8058 | * target.h (struct target_ops) <to_get_unwinder, | |
8059 | to_get_tailcall_unwinder>: Now function pointers. Use | |
8060 | TARGET_DEFAULT_RETURN. | |
8061 | ||
8476dc92 TT |
8062 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8063 | ||
8064 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
8065 | argument. | |
8066 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
8067 | ||
c0eca49f TT |
8068 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8069 | ||
8070 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
8071 | directly. | |
8072 | * target-delegates.c: Rebuild. | |
8073 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
8074 | TARGET_DEFAULT_FUNC. | |
8075 | * target.c (default_target_decr_pc_after_break): Rename from | |
8076 | forward_target_decr_pc_after_break. Simplify. | |
8077 | (target_decr_pc_after_break): Rely on delegation. | |
8078 | ||
596b6b39 TT |
8079 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8080 | ||
8081 | * target.c (update_current_target): Do not INHERIT to_doc or | |
8082 | to_magic. Do not de_fault to_open or to_close. | |
8083 | ||
b427c1bc TT |
8084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8085 | ||
8086 | * gcore.h (objfile_find_memory_regions): Declare. | |
8087 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
8088 | "self" argument. | |
8089 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
8090 | * exec.c: Include gcore.h. | |
8091 | (exec_set_find_memory_regions): Remove. | |
8092 | (exec_find_memory_regions): Remove. | |
8093 | (exec_do_find_memory_regions): Remove. | |
8094 | (init_exec_ops): Update. | |
8095 | * defs.h (exec_set_find_memory_regions): Remove. | |
8096 | ||
9b144037 TT |
8097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8098 | ||
8099 | * target-delegates.c: Rebuild. | |
8100 | * target.h (struct target_ops) <to_extra_thread_info, | |
8101 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
8102 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
8103 | not 0, in TARGET_DEFAULT_RETURN. | |
8104 | ||
555bbdeb TT |
8105 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8106 | ||
8107 | * target.c (complete_target_initialization): Remove casts. Use | |
8108 | return_zero_has_execution. | |
8109 | (return_zero): Add "ignore" argument. | |
8110 | (return_zero_has_execution): New function. | |
8111 | (init_dummy_target): Remove casts. Use | |
8112 | return_zero_has_execution. | |
8113 | ||
be4ddd36 TT |
8114 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8115 | ||
8116 | * target.c (update_current_target): Update comments. Do not | |
8117 | INHERIT to_stratum. | |
8118 | ||
2117c711 TT |
8119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8120 | ||
8121 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
8122 | needed. | |
8123 | * corelow.c (core_read_description): Delegate when needed. | |
8124 | * remote.c (remote_read_description): Delegate when needed. | |
8125 | * target-delegates.c: Rebuild. | |
8126 | * target.c (target_read_description): Rewrite. | |
8127 | * target.h (struct target_ops) <to_read_description>: Update | |
8128 | comment. Use TARGET_DEFAULT_RETURN. | |
8129 | ||
e88ef65c TT |
8130 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8131 | ||
8132 | * target-delegates.c: Rebuild. | |
8133 | * target.c (update_current_target): Don't inherit or default | |
8134 | to_can_run. | |
8135 | (find_default_run_target): Check against delegate_can_run. | |
8136 | * target.h (struct target_ops) <to_can_run>: Use | |
8137 | TARGET_DEFAULT_RETURN. | |
8138 | ||
86a0854a TT |
8139 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8140 | ||
8141 | * target-delegates.c: Rebuild. | |
8142 | * target.c (target_disconnect): Unconditionally delegate. | |
8143 | * target.h (struct target_ops) <to_disconnect>: Use | |
8144 | TARGET_DEFAULT_NORETURN. | |
8145 | ||
ee97f592 TT |
8146 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8147 | ||
8148 | * record.c (record_stop): Unconditionally delegate. | |
8149 | * target-delegates.c: Rebuild. | |
8150 | * target.c (target_stop_recording): Unconditionally delegate. | |
8151 | * target.h (struct target_ops) <to_stop_recording>: Use | |
8152 | TARGET_DEFAULT_IGNORE. | |
8153 | ||
6dc7fcf4 TT |
8154 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8155 | ||
8156 | * target-delegates.c: Rebuild. | |
8157 | * target.c (target_enable_btrace): Unconditionally delegate. | |
8158 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
8159 | TARGET_DEFAULT_NORETURN. | |
8160 | ||
eb5b20d4 TT |
8161 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8162 | ||
8163 | * target-delegates.c: Rebuild. | |
8164 | * target.c (target_read_btrace): Unconditionally delegate. | |
8165 | * target.h (struct target_ops) <to_read_btrace>: Use | |
8166 | TARGET_DEFAULT_NORETURN. | |
8167 | ||
9ace480d TT |
8168 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8169 | ||
8170 | * target-delegates.c: Rebuild. | |
8171 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
8172 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
8173 | TARGET_DEFAULT_NORETURN. | |
8174 | ||
8dc292d3 TT |
8175 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8176 | ||
8177 | * target-delegates.c: Rebuild. | |
8178 | * target.c (target_disable_btrace): Unconditionally delegate. | |
8179 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
8180 | TARGET_DEFAULT_NORETURN. | |
8181 | ||
58a5184e TT |
8182 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8183 | ||
8184 | * target-delegates.c: Rebuild. | |
8185 | * target.c (default_search_memory): New function. | |
8186 | (simple_search_memory): Update comment. | |
8187 | (target_search_memory): Unconditionally delegate. | |
8188 | * target.h (struct target_ops) <to_search_memory>: Use | |
8189 | TARGET_DEFAULT_FUNC. | |
8190 | ||
8de71aab TT |
8191 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8192 | ||
8193 | * auxv.c (default_auxv_parse): No longer static. | |
8194 | (target_auxv_parse): Unconditionally delegate. | |
8195 | * auxv.h (default_auxv_parse): Declare. | |
8196 | * target-delegates.c: Rebuild. | |
8197 | * target.c: Include auxv.h. | |
8198 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
8199 | TARGET_DEFAULT_FUNC. | |
8200 | ||
6b2c5a57 TT |
8201 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8202 | ||
8203 | * target-delegates.c: Rebuild. | |
8204 | * target.c (target_memory_map): Unconditionally delegate. | |
8205 | * target.h (struct target_ops) <to_memory_map>: Use | |
8206 | TARGET_DEFAULT_RETURN. | |
8207 | ||
cbffc065 TT |
8208 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8209 | ||
8210 | * target-delegates.c: Rebuild. | |
8211 | * target.c (target_thread_alive): Unconditionally delegate. | |
8212 | * target.h (struct target_ops) <to_thread_alive>: Use | |
8213 | TARGET_DEFAULT_RETURN. | |
8214 | ||
f09e2107 TT |
8215 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8216 | ||
8217 | * target-delegates.c: Rebuild. | |
8218 | * target.c (target_save_record): Unconditionally delegate. | |
8219 | * target.h (struct target_ops) <to_save_record>: Use | |
8220 | TARGET_DEFAULT_NORETURN. | |
8221 | ||
07366925 TT |
8222 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8223 | ||
8224 | * target-delegates.c: Rebuild. | |
8225 | * target.c (target_delete_record): Unconditionally delegate. | |
8226 | * target.h (struct target_ops) <to_delete_record>: Use | |
8227 | TARGET_DEFAULT_NORETURN. | |
8228 | ||
dd2e9d25 TT |
8229 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8230 | ||
8231 | * target-delegates.c: Rebuild. | |
8232 | * target.c (target_record_is_replaying): Unconditionally | |
8233 | delegate. | |
8234 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
8235 | TARGET_DEFAULT_RETURN. | |
8236 | ||
671e76cc TT |
8237 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8238 | ||
8239 | * target-delegates.c: Rebuild. | |
8240 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
8241 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
8242 | TARGET_DEFAULT_NORETURN. | |
8243 | ||
e9179bb3 TT |
8244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8245 | ||
8246 | * target-delegates.c: Rebuild. | |
8247 | * target.c (target_goto_record_end): Unconditionally delegate. | |
8248 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
8249 | TARGET_DEFAULT_NORETURN. | |
8250 | ||
05969c84 TT |
8251 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8252 | ||
8253 | * target-delegates.c: Rebuild. | |
8254 | * target.c (target_goto_record): Unconditionally delegate. | |
8255 | * target.h (struct target_ops) <to_goto_record>: Use | |
8256 | TARGET_DEFAULT_NORETURN. | |
8257 | ||
3679abfa TT |
8258 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8259 | ||
8260 | * target-delegates.c: Rebuild. | |
8261 | * target.c (target_insn_history): Unconditionally delegate. | |
8262 | * target.h (struct target_ops) <to_insn_history>: Use | |
8263 | TARGET_DEFAULT_NORETURN. | |
8264 | ||
8444ab58 TT |
8265 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8266 | ||
8267 | * target-delegates.c: Rebuild. | |
8268 | * target.c (target_insn_history_from): Unconditionally delegate. | |
8269 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
8270 | TARGET_DEFAULT_NORETURN. | |
8271 | ||
c29302cc TT |
8272 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8273 | ||
8274 | * target-delegates.c: Rebuild. | |
8275 | * target.c (target_insn_history_range): Unconditionally delegate. | |
8276 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
8277 | TARGET_DEFAULT_NORETURN. | |
8278 | ||
170049d4 TT |
8279 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8280 | ||
8281 | * target-delegates.c: Rebuild. | |
8282 | * target.c (target_call_history): Unconditionally delegate. | |
8283 | * target.h (struct target_ops) <to_call_history>: Use | |
8284 | TARGET_DEFAULT_NORETURN. | |
8285 | ||
16fc27d6 TT |
8286 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8287 | ||
8288 | * target-delegates.c: Rebuild. | |
8289 | * target.c (target_call_history_from): Unconditionally delegate. | |
8290 | * target.h (struct target_ops) <to_call_history_from>: Use | |
8291 | TARGET_DEFAULT_NORETURN. | |
8292 | ||
115d9817 TT |
8293 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8294 | ||
8295 | * target-delegates.c: Rebuild. | |
8296 | * target.c (target_call_history_range): Unconditionally delegate. | |
8297 | * target.h (struct target_ops) <to_call_history_range>: Use | |
8298 | TARGET_DEFAULT_NORETURN. | |
8299 | ||
eb276a6b TT |
8300 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8301 | ||
8302 | * target-delegates.c: Rebuild. | |
8303 | * target.c (target_verify_memory): Unconditionally delegate. | |
8304 | * target.h (struct target_ops) <to_verify_memory>: Use | |
8305 | TARGET_DEFAULT_NORETURN. | |
8306 | ||
9e538d0d TT |
8307 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8308 | ||
8309 | * target-delegates.c: Rebuild. | |
8310 | * target.c (target_core_of_thread): Unconditionally delegate. | |
8311 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
8312 | TARGET_DEFAULT_RETURN. | |
8313 | ||
f6fb2925 TT |
8314 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8315 | ||
8316 | * target-delegates.c: Rebuild. | |
8317 | * target.c (target_flash_done): Unconditionally delegate. | |
8318 | * target.h (struct target_ops) <to_flash_done>: Use | |
8319 | TARGET_DEFAULT_NORETURN. | |
8320 | ||
e8a6c6ac TT |
8321 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8322 | ||
8323 | * target-delegates.c: Rebuild. | |
8324 | * target.c (target_flash_erase): Unconditionally delegate. | |
8325 | * target.h (struct target_ops) <to_flash_erase>: Use | |
8326 | TARGET_DEFAULT_NORETURN. | |
8327 | ||
7e35c012 TT |
8328 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8329 | ||
8330 | * target-delegates.c: Rebuild. | |
8331 | * target.c (target_get_section_table): Unconditionally delegate. | |
8332 | * target.h (struct target_ops) <to_get_section_table>: Use | |
8333 | TARGET_DEFAULT_RETURN. | |
8334 | ||
770234d3 TT |
8335 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8336 | ||
8337 | * target-delegates.c: Rebuild. | |
8338 | * target.c (target_pid_to_str): Unconditionally delegate. | |
8339 | (init_dummy_target): Don't initialize to_pid_to_str. | |
8340 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
8341 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
8342 | TARGET_DEFAULT_FUNC. | |
8343 | ||
09b0dc2b TT |
8344 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8345 | ||
8346 | * target-delegates.c: Rebuild. | |
8347 | * target.c (target_find_new_threads): Unconditionally delegate. | |
8348 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
8349 | TARGET_DEFAULT_RETURN. | |
8350 | ||
7d4f8efa TT |
8351 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8352 | ||
8353 | * target-delegates.c: Rebuild. | |
8354 | * target.c (target_program_signals): Unconditionally delegate. | |
8355 | * target.h (struct target_ops) <to_program_signals>: Use | |
8356 | TARGET_DEFAULT_IGNORE. | |
8357 | ||
035cad7f TT |
8358 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8359 | ||
8360 | * target-delegates.c: Rebuild. | |
8361 | * target.c (target_pass_signals): Unconditionally delegate. | |
8362 | * target.h (struct target_ops) <to_pass_signals>: Use | |
8363 | TARGET_DEFAULT_IGNORE. | |
8364 | ||
8d657035 TT |
8365 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8366 | ||
8367 | * target-delegates.c: Rebuild. | |
8368 | * target.c (default_mourn_inferior): New function. | |
8369 | (target_mourn_inferior): Unconditionally delegate. | |
8370 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
8371 | TARGET_DEFAULT_FUNC. | |
8372 | ||
098dba18 TT |
8373 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8374 | ||
8375 | * target-delegates.c: Rebuild. | |
8376 | * target.c (default_follow_fork): New function. | |
8377 | (target_follow_fork): Unconditionally delegate. | |
8378 | * target.h (struct target_ops) <to_follow_fork>: Use | |
8379 | TARGET_DEFAULT_FUNC. | |
8380 | ||
423a4807 TT |
8381 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8382 | ||
8383 | * target-delegates.c: Rebuild. | |
8384 | * target.c (target_kill): Unconditionally delegate. | |
8385 | * target.h (struct target_ops) <to_kill>: Use | |
8386 | TARGET_DEFAULT_NORETURN. | |
8387 | ||
6c7e5e5c TT |
8388 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8389 | ||
8390 | * target-delegates.c: Rebuild. | |
8391 | * target.c (target_masked_watch_num_registers): Unconditionally | |
8392 | delegate. | |
8393 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
8394 | Use TARGET_DEFAULT_RETURN. | |
8395 | ||
8b1c364c TT |
8396 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8397 | ||
8398 | * target-delegates.c: Rebuild. | |
8399 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
8400 | delegate. | |
8401 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
8402 | TARGET_DEFAULT_RETURN. | |
8403 | ||
cd4ae029 TT |
8404 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8405 | ||
8406 | * target-delegates.c: Rebuild. | |
8407 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
8408 | delegate. | |
8409 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
8410 | TARGET_DEFAULT_RETURN. | |
8411 | ||
a134316b TT |
8412 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8413 | ||
8414 | * target-delegates.c: Rebuild. | |
8415 | * target.c (target_ranged_break_num_registers): Unconditionally | |
8416 | delegate. | |
8417 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
8418 | Use TARGET_DEFAULT_RETURN. | |
8419 | ||
ad5989bd TT |
8420 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8421 | ||
8422 | * target-delegates.c: Rebuild. | |
8423 | * target.c (target_fetch_registers): Unconditionally delegate. | |
8424 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
8425 | TARGET_DEFAULT_NORETURN. | |
8426 | ||
46ee7e8d TT |
8427 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8428 | ||
8429 | * target-delegates.c: Rebuild. | |
8430 | * target.c (update_current_target): Don't inherit or default | |
8431 | to_stop. | |
8432 | * target.h (struct target_ops) <to_stop>: Use | |
8433 | TARGET_DEFAULT_IGNORE. | |
8434 | ||
843f59ed TT |
8435 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8436 | ||
8437 | * target-delegates.c: Rebuild. | |
8438 | * target.c (update_current_target): Don't inherit or default | |
8439 | to_can_run_breakpoint_commands. | |
8440 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
8441 | Use TARGET_DEFAULT_RETURN. | |
8442 | ||
ccfde2a0 TT |
8443 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8444 | ||
8445 | * target-delegates.c: Rebuild. | |
8446 | * target.c (update_current_target): Don't inherit or default | |
8447 | to_supports_evaluation_of_breakpoint_conditions. | |
8448 | * target.h (struct target_ops) | |
8449 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
8450 | TARGET_DEFAULT_RETURN. | |
8451 | ||
0de91722 TT |
8452 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8453 | ||
8454 | * target-delegates.c: Rebuild. | |
8455 | * target.c (update_current_target): Don't inherit or default | |
8456 | to_augmented_libraries_svr4_read. | |
8457 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
8458 | Use TARGET_DEFAULT_RETURN. | |
8459 | ||
9a7d8b48 TT |
8460 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8461 | ||
8462 | * target-delegates.c: Rebuild. | |
8463 | * target.c (update_current_target): Don't inherit or default | |
8464 | to_can_use_agent. | |
8465 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
8466 | TARGET_DEFAULT_RETURN. | |
8467 | ||
d9db5b21 TT |
8468 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8469 | ||
8470 | * target-delegates.c: Rebuild. | |
8471 | * target.c (update_current_target): Don't inherit or default | |
8472 | to_use_agent. | |
8473 | * target.h (struct target_ops) <to_use_agent>: Use | |
8474 | TARGET_DEFAULT_NORETURN. | |
8475 | ||
92155eeb TT |
8476 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8477 | ||
8478 | * target-delegates.c: Rebuild. | |
8479 | * target.c (update_current_target): Don't inherit or default | |
8480 | to_traceframe_info. | |
8481 | (return_null): Remove. | |
8482 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
8483 | TARGET_DEFAULT_RETURN. | |
8484 | ||
d6522a22 TT |
8485 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8486 | ||
8487 | * target-delegates.c: Rebuild. | |
8488 | * target.c (update_current_target): Don't inherit or default | |
8489 | to_static_tracepoint_markers_by_strid. | |
8490 | * target.h (struct target_ops) | |
8491 | <to_static_tracepoint_markers_by_strid>: Use | |
8492 | TARGET_DEFAULT_NORETURN. | |
8493 | ||
4c3e4425 TT |
8494 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8495 | ||
8496 | * target-delegates.c: Rebuild. | |
8497 | * target.c (update_current_target): Don't inherit or default | |
8498 | to_static_tracepoint_marker_at. | |
8499 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
8500 | Use TARGET_DEFAULT_RETURN. | |
8501 | ||
dcd6917f TT |
8502 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8503 | ||
8504 | * target-delegates.c: Rebuild. | |
8505 | * target.c (update_current_target): Don't inherit or default | |
8506 | to_set_permissions. | |
8507 | * target.h (struct target_ops) <to_set_permissions>: Use | |
8508 | TARGET_DEFAULT_IGNORE. | |
8509 | ||
22bcceee TT |
8510 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8511 | ||
8512 | * target-delegates.c: Rebuild. | |
8513 | * target.c (update_current_target): Don't inherit or default | |
8514 | to_get_tib_address. | |
8515 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
8516 | TARGET_DEFAULT_NORETURN. | |
8517 | ||
8586ccaa TT |
8518 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8519 | ||
8520 | * target-delegates.c: Rebuild. | |
8521 | * target.c (update_current_target): Don't inherit or default | |
8522 | to_set_trace_notes. | |
8523 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
8524 | TARGET_DEFAULT_RETURN. | |
8525 | ||
91df8d1d TT |
8526 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8527 | ||
8528 | * target-delegates.c: Rebuild. | |
8529 | * target.c (update_current_target): Don't initialize | |
8530 | to_set_trace_buffer_size. | |
8531 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
8532 | TARGET_DEFAULT_IGNORE. | |
8533 | ||
8d526939 TT |
8534 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8535 | ||
8536 | * target-delegates.c: Rebuild. | |
8537 | * target.c (update_current_target): Don't inherit or default | |
8538 | to_set_circular_trace_buffer. | |
8539 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
8540 | TARGET_DEFAULT_IGNORE. | |
8541 | ||
0bcfeddf TT |
8542 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8543 | ||
8544 | * target-delegates.c: Rebuild. | |
8545 | * target.c (update_current_target): Don't inherit or default | |
8546 | to_set_disconnected_tracing. | |
8547 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
8548 | TARGET_DEFAULT_IGNORE. | |
8549 | ||
9249843f TT |
8550 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8551 | ||
8552 | * target-delegates.c: Rebuild. | |
8553 | * target.c (update_current_target): Don't inherit or default | |
8554 | to_get_min_fast_tracepoint_insn_len. | |
8555 | (return_minus_one): Remove. | |
8556 | * target.h (struct target_ops) | |
8557 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
8558 | ||
ace92e7d TT |
8559 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8560 | ||
8561 | * target-delegates.c: Rebuild. | |
8562 | * target.c (update_current_target): Don't inherit or default | |
8563 | to_get_raw_trace_data. | |
8564 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
8565 | TARGET_DEFAULT_NORETURN. | |
8566 | ||
08120467 TT |
8567 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8568 | ||
8569 | * target-delegates.c: Rebuild. | |
8570 | * target.c (update_current_target): Don't inherit or default | |
8571 | to_upload_trace_state_variables. | |
8572 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
8573 | Use TARGET_DEFAULT_RETURN. | |
8574 | ||
1e949b00 TT |
8575 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8576 | ||
8577 | * target-delegates.c: Rebuild. | |
8578 | * target.c (update_current_target): Don't inherit or default | |
8579 | to_upload_tracepoints. | |
8580 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
8581 | TARGET_DEFAULT_RETURN. | |
8582 | ||
a2e6c147 TT |
8583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8584 | ||
8585 | * target-delegates.c: Rebuild. | |
8586 | * target.c (update_current_target): Don't inherit or default | |
8587 | to_save_trace_data. | |
8588 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
8589 | TARGET_DEFAULT_NORETURN. | |
8590 | ||
959bcd0b TT |
8591 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8592 | ||
8593 | * target-delegates.c: Rebuild. | |
8594 | * target.c (update_current_target): Don't inherit or default | |
8595 | to_get_trace_state_variable_value. | |
8596 | * target.h (struct target_ops) | |
8597 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
8598 | ||
afc94e66 TT |
8599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8600 | ||
8601 | * target-delegates.c: Rebuild. | |
8602 | * target.c (update_current_target): Don't inherit or default | |
8603 | to_trace_find. | |
8604 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
8605 | ||
e51c07ea TT |
8606 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8607 | ||
8608 | * target-delegates.c: Rebuild. | |
8609 | * target.c (update_current_target): Don't inherit or default | |
8610 | to_trace_stop. | |
8611 | * target.h (struct target_ops) <to_trace_stop>: Use | |
8612 | TARGET_DEFAULT_NORETURN. | |
8613 | ||
6fea14cd TT |
8614 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8615 | ||
8616 | * target-delegates.c: Rebuild. | |
8617 | * target.c (update_current_target): Don't inherit or default | |
8618 | to_get_tracepoint_status. | |
8619 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
8620 | TARGET_DEFAULT_NORETURN. | |
8621 | ||
4072d4ff TT |
8622 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8623 | ||
8624 | * target-delegates.c: Rebuild. | |
8625 | * target.c (update_current_target): Don't inherit or default | |
8626 | to_get_trace_status. | |
8627 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
8628 | TARGET_DEFAULT_RETURN. | |
8629 | ||
25da2e80 TT |
8630 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8631 | ||
8632 | * target-delegates.c: Rebuild. | |
8633 | * target.c (update_current_target): Don't inherit or default | |
8634 | to_trace_start. | |
8635 | * target.h (struct target_ops) <to_trace_start>: Use | |
8636 | TARGET_DEFAULT_NORETURN. | |
8637 | ||
86dd181d TT |
8638 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8639 | ||
8640 | * target-delegates.c: Rebuild. | |
8641 | * target.c (update_current_target): Don't inherit or default | |
8642 | to_trace_set_readonly_regions. | |
8643 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
8644 | Use TARGET_DEFAULT_NORETURN. | |
8645 | ||
05c41993 TT |
8646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8647 | ||
8648 | * target-delegates.c: Rebuild. | |
8649 | * target.c (update_current_target): Don't inherit or default | |
8650 | to_disable_tracepoint. | |
8651 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
8652 | TARGET_DEFAULT_NORETURN. | |
8653 | ||
151f70f1 TT |
8654 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8655 | ||
8656 | * target-delegates.c: Rebuild. | |
8657 | * target.c (update_current_target): Don't inherit or default | |
8658 | to_enable_tracepoint. | |
8659 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
8660 | TARGET_DEFAULT_NORETURN. | |
8661 | ||
94eb98b9 TT |
8662 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8663 | ||
8664 | * target-delegates.c: Rebuild. | |
8665 | * target.c (update_current_target): Don't inherit or default | |
8666 | to_download_trace_state_variable. | |
8667 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
8668 | Use TARGET_DEFAULT_NORETURN. | |
8669 | ||
719acc4a TT |
8670 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8671 | ||
8672 | * target-delegates.c: Rebuild. | |
8673 | * target.c (update_current_target): Don't inherit or default | |
8674 | to_can_download_tracepoint. | |
8675 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
8676 | TARGET_DEFAULT_RETURN. | |
8677 | ||
9a980a22 TT |
8678 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8679 | ||
8680 | * target-delegates.c: Rebuild. | |
8681 | * target.c (update_current_target): Don't inherit or default | |
8682 | to_download_tracepoint. | |
8683 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
8684 | TARGET_DEFAULT_NORETURN. | |
8685 | ||
5536135b TT |
8686 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8687 | ||
8688 | * target-delegates.c: Rebuild. | |
8689 | * target.c (update_current_target): Don't inherit or default | |
8690 | to_trace_init. | |
8691 | * target.h (struct target_ops) <to_trace_init>: Use | |
8692 | TARGET_DEFAULT_RETURN. | |
8693 | ||
9409d39e TT |
8694 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8695 | ||
8696 | * target-delegates.c: Rebuild. | |
8697 | * target.c (update_current_target): Don't inherit or default | |
8698 | to_supports_string_tracing. | |
8699 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
8700 | TARGET_DEFAULT_RETURN. | |
8701 | ||
aab1b22d TT |
8702 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8703 | ||
8704 | * target-delegates.c: Rebuild. | |
8705 | * target.c (update_current_target): Don't inherit or default | |
8706 | to_supports_enable_disable_tracepoint. | |
8707 | * target.h (struct target_ops) | |
8708 | <to_supports_enable_disable_tracepoint>: Use | |
8709 | TARGET_DEFAULT_RETURN. | |
8710 | ||
a7304748 TT |
8711 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8712 | ||
8713 | * target-delegates.c: Rebuild. | |
8714 | * target.c (update_current_target): Don't inherit or default | |
8715 | to_supports_multi_process. | |
8716 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
8717 | TARGET_DEFAULT_RETURN. | |
8718 | ||
4229b31d TT |
8719 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8720 | ||
8721 | * target-delegates.c: Rebuild. | |
8722 | * target.c (update_current_target): Don't inherit or default | |
8723 | to_get_ada_task_ptid. | |
8724 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
8725 | TARGET_DEFAULT_FUNC. | |
8726 | ||
43eba180 TT |
8727 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8728 | ||
8729 | * target-delegates.c: Rebuild. | |
8730 | * target.c (update_current_target): Don't inherit or default | |
8731 | to_thread_architecture. | |
8732 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
8733 | TARGET_DEFAULT_FUNC. | |
8734 | ||
fe31bf5b TT |
8735 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8736 | ||
8737 | * target-delegates.c: Rebuild. | |
8738 | * target.c (update_current_target): Don't inherit or default | |
8739 | to_execution_direction. | |
8740 | * target.h (struct target_ops) <to_execution_direction>: Use | |
8741 | TARGET_DEFAULT_FUNC. | |
8742 | ||
53e1cfc7 TT |
8743 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8744 | ||
8745 | * target-delegates.c: Rebuild. | |
8746 | * target.c (update_current_target): Don't inherit or default | |
8747 | to_can_execute_reverse. | |
8748 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
8749 | TARGET_DEFAULT_RETURN. | |
8750 | (target_can_execute_reverse): Unconditionally delegate. | |
8751 | ||
9bb9d61d TT |
8752 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8753 | ||
8754 | * target-delegates.c: Rebuild. | |
8755 | * target.c (update_current_target): Don't inherit or default | |
8756 | to_goto_bookmark. | |
8757 | (dummy_goto_bookmark): Remove. | |
8758 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
8759 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
8760 | TARGET_DEFAULT_NORETURN. | |
8761 | ||
3dbafbbb TT |
8762 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8763 | ||
8764 | * target-delegates.c: Rebuild. | |
8765 | * target.c (update_current_target): Don't inherit or default | |
8766 | to_get_bookmark. | |
8767 | (dummy_get_bookmark): Remove. | |
8768 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
8769 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
8770 | TARGET_DEFAULT_NORETURN | |
8771 | ||
16f796b1 TT |
8772 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8773 | ||
8774 | * target-delegates.c: Rebuild. | |
8775 | * target.c (update_current_target): Don't inherit or default | |
8776 | to_make_corefile_notes. | |
8777 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
8778 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
8779 | TARGET_DEFAULT_FUNC. | |
8780 | ||
0b5a2719 TT |
8781 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8782 | ||
8783 | * target-delegates.c: Rebuild. | |
8784 | * target.c (update_current_target): Don't inherit or default | |
8785 | to_find_memory_regions. | |
8786 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
8787 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
8788 | TARGET_DEFAULT_FUNC. | |
8789 | ||
d9cb0195 TT |
8790 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8791 | ||
8792 | * target-delegates.c: Rebuild. | |
8793 | * target.c (update_current_target): Don't inherit or default | |
8794 | to_log_command. | |
8795 | * target.h (struct target_ops) <to_log_command>: Use | |
8796 | TARGET_DEFAULT_IGNORE. | |
8797 | (target_log_command): Unconditionally delegate. | |
8798 | ||
830ca330 TT |
8799 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8800 | ||
8801 | * target-delegates.c: Rebuild. | |
8802 | * target.c (update_current_target): Don't inherit or default | |
8803 | to_pid_to_exec_file. | |
8804 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
8805 | TARGET_DEFAULT_RETURN. | |
8806 | ||
825828fc TT |
8807 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8808 | ||
8809 | * target-delegates.c: Rebuild. | |
8810 | * target.c (update_current_target): Don't inherit or default | |
8811 | to_thread_name. | |
8812 | (target_thread_name): Unconditionally delegate. | |
8813 | * target.h (struct target_ops) <to_thread_name>: Use | |
8814 | TARGET_DEFAULT_RETURN. | |
8815 | ||
4a7e6dda TT |
8816 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8817 | ||
8818 | * target-delegates.c: Rebuild. | |
8819 | * target.c (update_current_target): Don't inherit or default | |
8820 | to_extra_thread_info. | |
8821 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
8822 | TARGET_DEFAULT_RETURN. | |
8823 | ||
0db88c1d TT |
8824 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8825 | ||
8826 | * target-delegates.c: Rebuild. | |
8827 | * target.c (update_current_target): Don't inherit or default | |
8828 | to_has_exited. | |
8829 | * target.h (struct target_ops) <to_has_exited>: Use | |
8830 | TARGET_DEFAULT_RETURN.. | |
8831 | ||
6a9fa051 TT |
8832 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8833 | ||
8834 | * target-delegates.c: Rebuild. | |
8835 | * target.c (update_current_target): Don't inherit or default | |
8836 | to_set_syscall_catchpoint. | |
8837 | (return_one): Remove. | |
8838 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
8839 | TARGET_DEFAULT_RETURN. | |
8840 | ||
62f64d7a TT |
8841 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8842 | ||
8843 | * target-delegates.c: Rebuild. | |
8844 | * target.c (update_current_target): Don't inherit or default | |
8845 | to_insert_exec_catchpoint. | |
8846 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
8847 | TARGET_DEFAULT_RETURN. | |
8848 | ||
cda0f38c TT |
8849 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
8850 | ||
8851 | * target-delegates.c: Rebuild. | |
8852 | * target.c (update_current_target): Don't inherit or default | |
8853 | to_insert_exec_catchpoint. | |
8854 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
8855 | TARGET_DEFAULT_RETURN. | |
8856 | ||
95c3375e TT |
8857 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8858 | ||
8859 | * target-delegates.c: Rebuild. | |
8860 | * target.c (update_current_target): Don't inherit or default | |
8861 | to_remove_vfork_catchpoint. | |
8862 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
8863 | TARGET_DEFAULT_RETURN. | |
8864 | ||
7e18a8dc TT |
8865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8866 | ||
8867 | * target-delegates.c: Rebuild. | |
8868 | * target.c (update_current_target): Don't inherit or default | |
8869 | to_insert_vfork_catchpoint. | |
8870 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
8871 | TARGET_DEFAULT_RETURN. | |
8872 | ||
e1a21fb7 TT |
8873 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8874 | ||
8875 | * target-delegates.c: Rebuild. | |
8876 | * target.c (update_current_target): Don't inherit or default | |
8877 | to_remove_fork_catchpoint. | |
8878 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
8879 | TARGET_DEFAULT_RETURN. | |
8880 | ||
5958ebeb TT |
8881 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8882 | ||
8883 | * target-delegates.c: Rebuild. | |
8884 | * target.c (update_current_target): Don't inherit or default | |
8885 | to_insert_fork_catchpoint. | |
8886 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
8887 | TARGET_DEFAULT_RETURN. | |
8888 | ||
340ba4bf TT |
8889 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8890 | ||
8891 | * target-delegates.c: Rebuild. | |
8892 | * target.c (update_current_target): Don't inherit or default | |
8893 | to_post_startup_inferior. | |
8894 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
8895 | TARGET_DEFAULT_IGNORE. | |
8896 | ||
7634da87 TT |
8897 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8898 | ||
8899 | * target-delegates.c: Rebuild. | |
8900 | * target.c (update_current_target): Don't inherit or default | |
8901 | to_load. | |
8902 | * target.h (struct target_ops) <to_load>: Use | |
8903 | TARGET_DEFAULT_NORETURN. | |
8904 | ||
e19e919f TT |
8905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8906 | ||
8907 | * target-delegates.c: Rebuild. | |
8908 | * target.c (update_current_target): Don't inherit or default | |
8909 | to_terminal_info. | |
8910 | * target.h (struct target_ops) <to_terminal_info>: Use | |
8911 | TARGET_DEFAULT_FUNC. | |
8912 | ||
c6ea8f79 TT |
8913 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8914 | ||
8915 | * target-delegates.c: Rebuild. | |
8916 | * target.c (update_current_target): Don't inherit or default | |
8917 | to_terminal_save_ours. | |
8918 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
8919 | TARGET_DEFAULT_IGNORE. | |
8920 | ||
e4a733f1 TT |
8921 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8922 | ||
8923 | * target-delegates.c: Rebuild. | |
8924 | * target.c (update_current_target): Don't inherit or default | |
8925 | to_terminal_ours. | |
8926 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
8927 | TARGET_DEFAULT_IGNORE. | |
8928 | ||
74fcbef9 TT |
8929 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8930 | ||
8931 | * target-delegates.c: Rebuild. | |
8932 | * target.c (update_current_target): Don't inherit or default | |
8933 | to_terminal_ours_for_output. | |
8934 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
8935 | TARGET_DEFAULT_IGNORE. | |
8936 | ||
ddeaacc9 TT |
8937 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8938 | ||
8939 | * target-delegates.c: Rebuild. | |
8940 | * target.c (update_current_target): Don't inherit or default | |
8941 | to_terminal_inferior. | |
8942 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
8943 | TARGET_DEFAULT_IGNORE. | |
8944 | ||
0343661d TT |
8945 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8946 | ||
8947 | * target-delegates.c: Rebuild. | |
8948 | * target.c (update_current_target): Don't inherit or default | |
8949 | to_terminal_init. | |
8950 | * target.h (struct target_ops) <to_terminal_init>: Use | |
8951 | TARGET_DEFAULT_IGNORE. | |
8952 | ||
77cdffe9 TT |
8953 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8954 | ||
8955 | * target-delegates.c: Rebuild. | |
8956 | * target.c (update_current_target): Don't inherit or default | |
8957 | to_can_accel_watchpoint_condition. | |
8958 | * target.h (struct target_ops) | |
8959 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
8960 | ||
d03655e4 TT |
8961 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8962 | ||
8963 | * target-delegates.c: Rebuild. | |
8964 | * target.c (update_current_target): Don't inherit or default | |
8965 | to_region_ok_for_hw_watchpoint. | |
8966 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
8967 | Use TARGET_DEFAULT_FUNC. | |
8968 | ||
65f160a9 TT |
8969 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8970 | ||
8971 | * target-delegates.c: Rebuild. | |
8972 | * target.c (update_current_target): Don't inherit or default | |
8973 | to_watchpoint_addr_within_range. | |
8974 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
8975 | Use TARGET_DEFAULT_FUNC. | |
8976 | ||
61dd109f TT |
8977 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8978 | ||
8979 | * target-delegates.c: Rebuild. | |
8980 | * target.c (update_current_target): Don't inherit or default | |
8981 | to_remove_watchpoint. | |
8982 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
8983 | TARGET_DEFAULT_NORETURN. | |
8984 | ||
016facd4 TT |
8985 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8986 | ||
8987 | * target-delegates.c: Rebuild. | |
8988 | * target.c (update_current_target): Don't inherit or default | |
8989 | to_insert_watchpoint. | |
8990 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
8991 | TARGET_DEFAULT_RETURN. | |
8992 | ||
418dabac TT |
8993 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
8994 | ||
8995 | * target-delegates.c: Rebuild. | |
8996 | * target.c (update_current_target): Don't inherit or default | |
8997 | to_remove_hw_breakpoint. | |
8998 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
8999 | TARGET_DEFAULT_RETURN. | |
9000 | ||
61b371f9 TT |
9001 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9002 | ||
9003 | * target-delegates.c: Rebuild. | |
9004 | * target.c (update_current_target): Don't inherit or default | |
9005 | to_insert_hw_breakpoint. | |
9006 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
9007 | TARGET_DEFAULT_RETURN. | |
9008 | ||
52b51d06 TT |
9009 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9010 | ||
9011 | * target-delegates.c: Rebuild. | |
9012 | * target.c (update_current_target): Don't inherit or default | |
9013 | to_can_use_hw_breakpoint. | |
9014 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
9015 | TARGET_DEFAULT_RETURN. | |
9016 | ||
f86e59b2 TT |
9017 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9018 | ||
9019 | * target-delegates.c: Rebuild. | |
9020 | * target.c (update_current_target): Don't inherit or default | |
9021 | to_files_info. | |
9022 | * target.h (struct target_ops) <to_files_info>: Use | |
9023 | TARGET_DEFAULT_IGNORE. | |
9024 | ||
6c628163 TT |
9025 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9026 | ||
9027 | * target-delegates.c: Rebuild. | |
9028 | * target.c (update_current_target): Don't inherit or default | |
9029 | to_store. | |
9030 | * target.h (struct target_ops) <to_store>: Use | |
9031 | TARGET_DEFAULT_NORETURN. | |
9032 | ||
bebd3233 TT |
9033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9034 | ||
9035 | * target-delegates.c: Rebuild. | |
9036 | * target.c (update_current_target): Don't inherit or default | |
9037 | to_post_attach. | |
9038 | * target.h (struct target_ops) <to_post_attach>: Use | |
9039 | TARGET_DEFAULT_IGNORE. | |
9040 | ||
a53f3625 TT |
9041 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9042 | ||
9043 | * target-delegates.c: Rebuild. | |
9044 | * target.c (update_current_target): Don't inherit or default | |
9045 | to_rcmd. | |
9046 | (default_rcmd): New function. | |
9047 | (do_monitor_command): Unconditionally delegate. | |
9048 | * target.h (struct target_ops) <to_rmcd>: Use | |
9049 | TARGET_DEFAULT_FUNC. | |
9050 | ||
e9a29200 TT |
9051 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9052 | ||
9053 | * target-delegates.c: Rebuild. | |
9054 | * target.c (init_dummy_target): Don't initialize to_attach. | |
9055 | (target_attach): Unconditionally delegate. | |
9056 | * target.h (struct target_ops) <to_attach>: Use | |
9057 | TARGET_DEFAULT_FUNC. | |
9058 | ||
09da0d0a TT |
9059 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9060 | ||
9061 | * target-delegates.c: Rebuild. | |
9062 | * target.c (target_detach): Unconditionally delegate. | |
9063 | (init_dummy_target): Don't initialize to_detach. | |
9064 | * target.h (struct target_ops) <to_detach>: Use | |
9065 | TARGET_DEFAULT_IGNORE. | |
9066 | ||
5436ff03 TT |
9067 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9068 | ||
9069 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
9070 | Add argument. | |
9071 | (target_augmented_libraries_svr4_read): Add argument. | |
9072 | * target.c (update_current_target): Update. | |
9073 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
9074 | argument. | |
9075 | ||
f0d960ea TT |
9076 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9077 | ||
9078 | * target.h (struct target_ops) <to_call_history_range>: Add | |
9079 | argument. | |
9080 | * target.c (target_call_history_range): Add argument. | |
9081 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
9082 | argument. | |
9083 | (record_btrace_call_history_from): Update. | |
9084 | ||
ec0aea04 TT |
9085 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9086 | ||
9087 | * target.h (struct target_ops) <to_call_history_from>: Add | |
9088 | argument. | |
9089 | * target.c (target_call_history_from): Add argument. | |
9090 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
9091 | argument. | |
9092 | ||
5df2fcba TT |
9093 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9094 | ||
9095 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
9096 | * target.c (target_call_history): Add argument. | |
9097 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
9098 | argument. | |
9099 | ||
4e99c6b7 TT |
9100 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9101 | ||
9102 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
9103 | argument. | |
9104 | * target.c (target_insn_history_range): Add argument. | |
9105 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
9106 | argument. | |
9107 | (record_btrace_insn_history_from): Update. | |
9108 | ||
9abc3ff3 TT |
9109 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9110 | ||
9111 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
9112 | argument. | |
9113 | * target.c (target_insn_history_from): Add argument. | |
9114 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
9115 | argument. | |
9116 | ||
7a6c5609 TT |
9117 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9118 | ||
9119 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
9120 | * target.c (target_insn_history): Add argument. | |
9121 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
9122 | argument. | |
9123 | ||
606183ac TT |
9124 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9125 | ||
9126 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
9127 | * target.c (target_goto_record): Add argument. | |
9128 | * record-full.c (record_full_goto): Add 'self' argument. | |
9129 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
9130 | ||
307a1b91 TT |
9131 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9132 | ||
9133 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
9134 | * target.c (target_goto_record_end): Add argument. | |
9135 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
9136 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
9137 | ||
08475817 TT |
9138 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9139 | ||
9140 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
9141 | argument. | |
9142 | * target.c (target_goto_record_begin): Add argument. | |
9143 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
9144 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
9145 | argument. | |
9146 | ||
1c63c994 TT |
9147 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9148 | ||
9149 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
9150 | argument. | |
9151 | * target.c (target_record_is_replaying): Add argument. | |
9152 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
9153 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
9154 | argument. | |
9155 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
9156 | (record_btrace_prepare_to_store, record_btrace_resume) | |
9157 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
9158 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
9159 | Update. | |
9160 | ||
d1b55219 TT |
9161 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9162 | ||
9163 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
9164 | * target.c (target_delete_record): Add argument. | |
9165 | * record-full.c (record_full_delete): Add 'self' argument. | |
9166 | ||
1390f529 TT |
9167 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9168 | ||
9169 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
9170 | * target.c (target_save_record): Add argument. | |
9171 | * record-full.c (record_full_save): Add 'self' argument. | |
9172 | (record_full_save): Add 'self' argument. | |
9173 | ||
630d6a4a TT |
9174 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9175 | ||
9176 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
9177 | * target.c (target_info_record): Add argument. | |
9178 | * record.c (info_record_command): Add argument. | |
9179 | * record-full.c (record_full_info): Add 'self' argument. | |
9180 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
9181 | ||
c6cd7c02 TT |
9182 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9183 | ||
9184 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
9185 | * target.c (target_stop_recording): Add argument. | |
9186 | * record.c (record_stop): Add argument. | |
9187 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
9188 | argument. | |
9189 | ||
39c49f83 TT |
9190 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9191 | ||
9192 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
9193 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
9194 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
9195 | argument. | |
9196 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
9197 | (_initialize_amd64_linux_nat): Use it. | |
9198 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
9199 | (_initialize_i386_linux_nat): Use it. | |
9200 | ||
1777056d TT |
9201 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9202 | ||
9203 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
9204 | * target.c (target_teardown_btrace): Add argument. | |
9205 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
9206 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
9207 | argument. | |
9208 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
9209 | argument. | |
9210 | ||
25e95349 TT |
9211 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9212 | ||
9213 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
9214 | * target.c (target_disable_btrace): Add argument. | |
9215 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
9216 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
9217 | argument. | |
9218 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
9219 | argument. | |
9220 | ||
e3c49f88 TT |
9221 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9222 | ||
9223 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
9224 | * target.c (target_enable_btrace): Add argument. | |
9225 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
9226 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
9227 | argument. | |
9228 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
9229 | argument. | |
9230 | ||
fe38f897 TT |
9231 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9232 | ||
9233 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
9234 | (target_can_use_agent): Add argument. | |
9235 | * target.c (update_current_target): Update. | |
9236 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
9237 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
9238 | ||
2c152180 TT |
9239 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9240 | ||
9241 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
9242 | (target_use_agent): Add argument. | |
9243 | * target.c (update_current_target): Update. | |
9244 | * remote.c (remote_use_agent): Add 'self' argument. | |
9245 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
9246 | ||
a893e81f TT |
9247 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9248 | ||
9249 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
9250 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
9251 | (target_traceframe_info): Add argument. | |
9252 | * target.c (update_current_target): Update. | |
9253 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
9254 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
9255 | ||
c686c57f TT |
9256 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9257 | ||
9258 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
9259 | argument. | |
9260 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
9261 | 'self' argument. | |
9262 | * target.c (update_current_target): Update. | |
9263 | * remote.c (struct target_ops) | |
9264 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
9265 | * linux-nat.c (struct target_ops) | |
9266 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
9267 | ||
61fc905d TT |
9268 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9269 | ||
9270 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
9271 | Add argument. | |
9272 | (target_static_tracepoint_marker_at): Add argument. | |
9273 | * target.c (update_current_target): Update. | |
9274 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
9275 | argument. | |
9276 | ||
c378d69d TT |
9277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9278 | ||
9279 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
9280 | (target_set_permissions): Add argument. | |
9281 | * target.c (update_current_target): Update. | |
9282 | * remote.c (remote_set_permissions): Add 'self' argument. | |
9283 | (remote_start_remote): Update. | |
9284 | ||
bd7ae0f5 TT |
9285 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9286 | ||
9287 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
9288 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
9289 | (target_get_tib_address): Add argument. | |
9290 | * target.c (update_current_target): Update. | |
9291 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
9292 | ||
d9e68a2c TT |
9293 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9294 | ||
9295 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
9296 | (target_set_trace_notes): Add argument. | |
9297 | * target.c (update_current_target): Update. | |
9298 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
9299 | ||
4da384be TT |
9300 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9301 | ||
9302 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
9303 | argument. | |
9304 | (target_set_trace_buffer_size): Add argument. | |
9305 | * target.c (update_current_target): Update. | |
9306 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
9307 | ||
736d5b1f TT |
9308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9309 | ||
9310 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
9311 | argument. | |
9312 | (target_set_circular_trace_buffer): Add argument. | |
9313 | * target.c (update_current_target): Update. | |
9314 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
9315 | argument. | |
9316 | ||
37b25738 TT |
9317 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9318 | ||
9319 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
9320 | argument. | |
9321 | (target_set_disconnected_tracing): Add argument. | |
9322 | * target.c (update_current_target): Update. | |
9323 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
9324 | ||
0e67620a TT |
9325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9326 | ||
9327 | * target.h (struct target_ops) | |
9328 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
9329 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
9330 | * target.c (update_current_target): Update. | |
9331 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
9332 | argument. | |
9333 | ||
88ee6f45 TT |
9334 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9335 | ||
9336 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
9337 | argument. | |
9338 | (target_get_raw_trace_data): Add argument. | |
9339 | * target.c (update_current_target): Update. | |
9340 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
9341 | ||
181e3713 TT |
9342 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9343 | ||
9344 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
9345 | Add argument. | |
9346 | (target_upload_trace_state_variables): Add argument. | |
9347 | * target.c (update_current_target): Update. | |
9348 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
9349 | argument. | |
9350 | (remote_start_remote): Update. | |
9351 | ||
ab6617cc TT |
9352 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9353 | ||
9354 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
9355 | argument. | |
9356 | (target_upload_tracepoints): Add argument. | |
9357 | * target.c (update_current_target): Update. | |
9358 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
9359 | (remote_start_remote): Update. | |
9360 | ||
dc3decaf TT |
9361 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9362 | ||
9363 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
9364 | (target_save_trace_data): Add argument. | |
9365 | * target.c (update_current_target): Update. | |
9366 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
9367 | ||
4011015b TT |
9368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9369 | ||
9370 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
9371 | argument. | |
9372 | * target.h (struct target_ops) | |
9373 | <to_get_trace_state_variable_value>: Add argument. | |
9374 | (target_get_trace_state_variable_value): Add argument. | |
9375 | * target.c (update_current_target): Update. | |
9376 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
9377 | argument. | |
9378 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
9379 | ||
bd4c6793 TT |
9380 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9381 | ||
9382 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
9383 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
9384 | (target_trace_find): Add argument. | |
9385 | * target.c (update_current_target): Update. | |
9386 | * remote.c (remote_trace_find): Add 'self' argument. | |
9387 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
9388 | ||
74499f1b TT |
9389 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9390 | ||
9391 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
9392 | (target_trace_stop): Add argument. | |
9393 | * target.c (update_current_target): Update. | |
9394 | * remote.c (remote_trace_stop): Add 'self' argument. | |
9395 | ||
db90e85c TT |
9396 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9397 | ||
9398 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
9399 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
9400 | argument. | |
9401 | (target_get_tracepoint_status): Add argument. | |
9402 | * target.c (update_current_target): Update. | |
9403 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
9404 | ||
8bd200f1 TT |
9405 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9406 | ||
9407 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
9408 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
9409 | argument. | |
9410 | (target_get_trace_status): Add argument. | |
9411 | * target.c (update_current_target): Update. | |
9412 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
9413 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
9414 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
9415 | ||
e2d1aae3 TT |
9416 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9417 | ||
9418 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
9419 | (target_trace_start): Add argument. | |
9420 | * target.c (update_current_target): Update. | |
9421 | * remote.c (remote_trace_start): Add 'self' argument. | |
9422 | ||
583f9a86 TT |
9423 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9424 | ||
9425 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
9426 | Add argument. | |
9427 | (target_trace_set_readonly_regions): Add argument. | |
9428 | * target.c (update_current_target): Update. | |
9429 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
9430 | argument. | |
9431 | ||
780b049c TT |
9432 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9433 | ||
9434 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
9435 | argument. | |
9436 | (target_disable_tracepoint): Add argument. | |
9437 | * target.c (update_current_target): Update. | |
9438 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
9439 | ||
46670d57 TT |
9440 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9441 | ||
9442 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
9443 | argument. | |
9444 | (target_enable_tracepoint): Add argument. | |
9445 | * target.c (update_current_target): Update. | |
9446 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
9447 | ||
559d2b81 TT |
9448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9449 | ||
9450 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
9451 | Add argument. | |
9452 | (target_download_trace_state_variable): Add argument. | |
9453 | * target.c (update_current_target): Update. | |
9454 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
9455 | argument. | |
9456 | ||
a52a8357 TT |
9457 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9458 | ||
9459 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
9460 | argument. | |
9461 | (target_can_download_tracepoint): Add argument. | |
9462 | * target.c (update_current_target): Update. | |
9463 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
9464 | ||
548f7808 TT |
9465 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9466 | ||
9467 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
9468 | argument. | |
9469 | (target_download_tracepoint): Add argument. | |
9470 | * target.c (update_current_target): Update. | |
9471 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
9472 | ||
ecae04e1 TT |
9473 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9474 | ||
9475 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
9476 | (target_trace_init): Add argument. | |
9477 | * target.c (update_current_target): Update. | |
9478 | * remote.c (remote_trace_init): Add 'self' argument. | |
9479 | ||
fab5aa7c TT |
9480 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9481 | ||
9482 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
9483 | * target.c (target_fileio_readlink): Add argument. | |
9484 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
9485 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
9486 | ||
dbbca37d TT |
9487 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9488 | ||
9489 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
9490 | * target.c (target_fileio_unlink): Add argument. | |
9491 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
9492 | (remote_file_delete): Update. | |
9493 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
9494 | ||
df39ea25 TT |
9495 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9496 | ||
9497 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
9498 | * target.c (target_fileio_close): Add argument. | |
9499 | * remote.c (remote_hostio_close): Add 'self' argument. | |
9500 | (remote_hostio_close_cleanup): Update. | |
9501 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
9502 | Update. | |
9503 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
9504 | ||
a3be983c TT |
9505 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9506 | ||
9507 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
9508 | * target.c (target_fileio_pread): Add argument. | |
9509 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
9510 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
9511 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
9512 | ||
0d866f62 TT |
9513 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9514 | ||
9515 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
9516 | * target.c (target_fileio_pwrite): Add argument. | |
9517 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
9518 | (remote_file_put): Update. | |
9519 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
9520 | ||
cd897586 TT |
9521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9522 | ||
9523 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
9524 | * target.c (target_fileio_open): Add argument. | |
9525 | * remote.c (remote_hostio_open): Add 'self' argument. | |
9526 | (remote_bfd_iovec_open): Add 'self' argument. | |
9527 | (remote_file_put): Add 'self' argument. | |
9528 | (remote_file_get): Add 'self' argument. | |
9529 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
9530 | ||
78eff0ec TT |
9531 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9532 | ||
9533 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
9534 | Add argument. | |
9535 | (target_can_run_breakpoint_commands): Add argument. | |
9536 | * target.c (update_current_target): Update. | |
9537 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
9538 | argument. | |
9539 | (remote_insert_breakpoint): Add 'self' argument. | |
9540 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
9541 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
9542 | ||
efcc2da7 TT |
9543 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9544 | ||
9545 | * target.h (struct target_ops) | |
9546 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
9547 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
9548 | argument. | |
9549 | * target.c (update_current_target): Update. | |
9550 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
9551 | argument. | |
9552 | (remote_insert_breakpoint): Add 'self' argument. | |
9553 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
9554 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
9555 | ||
6de37a3a TT |
9556 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9557 | ||
9558 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
9559 | argument. | |
9560 | (target_supports_string_tracing): Add argument. | |
9561 | * target.c (update_current_target): Update. | |
9562 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
9563 | ||
2bfc0540 TT |
9564 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9565 | ||
9566 | * target.h (struct target_ops) | |
9567 | <to_supports_disable_randomization>: Add argument. | |
9568 | * target.c (find_default_supports_disable_randomization): Add | |
9569 | argument. | |
9570 | (target_supports_disable_randomization): Add argument. | |
9571 | (find_default_supports_disable_randomization): Add 'self' | |
9572 | argument. | |
9573 | * remote.c (extended_remote_supports_disable_randomization): Add | |
9574 | 'self' argument. | |
9575 | (remote_supports_disable_randomization): Add 'self' argument. | |
9576 | (extended_remote_create_inferior): Update. | |
9577 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
9578 | 'self' argument. | |
9579 | ||
7d178d6a TT |
9580 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9581 | ||
9582 | * target.h (struct target_ops) | |
9583 | <to_supports_enable_disable_tracepoint>: Add argument. | |
9584 | (target_supports_enable_disable_tracepoint): Add argument. | |
9585 | * target.c (update_current_target): Update. | |
9586 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
9587 | argument. | |
9588 | ||
86ce2668 TT |
9589 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9590 | ||
9591 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
9592 | argument. | |
9593 | (target_supports_multi_process): Add argument. | |
9594 | * target.c (update_current_target): Update. | |
9595 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
9596 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
9597 | argument. | |
9598 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
9599 | argument. | |
9600 | ||
4c612759 TT |
9601 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9602 | ||
9603 | * target.h (struct target_ops) <to_execution_direction>: Add | |
9604 | argument. | |
9605 | (target_execution_direction): Add argument. | |
9606 | * target.c (default_execution_direction): Add 'self' argument. | |
9607 | * record-full.c (record_full_execution_direction): Add 'self' | |
9608 | argument. | |
9609 | ||
19db3e69 TT |
9610 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9611 | ||
9612 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
9613 | argument. | |
9614 | (target_can_execute_reverse): Add argument. | |
9615 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
9616 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
9617 | argument. | |
9618 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
9619 | argument. | |
9620 | ||
1e6b91a4 TT |
9621 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9622 | ||
9623 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
9624 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
9625 | argument. | |
9626 | (target_get_ada_task_ptid): Add argument. | |
9627 | * target.c (update_current_target): Update. | |
9628 | (default_get_ada_task_ptid): Add 'self' argument. | |
9629 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
9630 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
9631 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
9632 | argument. | |
9633 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
9634 | argument. | |
9635 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
9636 | argument. | |
9637 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
9638 | argument. | |
9639 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
9640 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
9641 | argument. | |
9642 | ||
3c80fb48 TT |
9643 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9644 | ||
9645 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
9646 | (target_goto_bookmark): Add argument. | |
9647 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
9648 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
9649 | ||
dd0e2830 TT |
9650 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9651 | ||
9652 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
9653 | (target_get_bookmark): Add argument. | |
9654 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
9655 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
9656 | ||
fc6691b2 TT |
9657 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9658 | ||
9659 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
9660 | argument. | |
9661 | (target_make_corefile_notes): Add argument. | |
9662 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
9663 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
9664 | (procfs_make_note_section): Add 'self' argument. | |
9665 | (procfs_make_note_section): Add 'self' argument. | |
9666 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
9667 | argument. | |
9668 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
9669 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
9670 | * exec.c (exec_make_note_section): Add 'self' argument. | |
9671 | (exec_make_note_section): Add 'self' argument. | |
9672 | ||
2e73927c TT |
9673 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9674 | ||
9675 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
9676 | argument. | |
9677 | (target_find_memory_regions): Add argument. | |
9678 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
9679 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
9680 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
9681 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
9682 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
9683 | * exec. (exec_do_find_memory_regions): New global. | |
9684 | (exec_set_find_memory_regions): Rewrite. | |
9685 | (exec_find_memory_regions): New function. | |
9686 | (init_exec_ops): Use exec_find_memory_regions. | |
9687 | ||
2a9a2795 TT |
9688 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9689 | ||
9690 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
9691 | argument. | |
9692 | * target.c (find_default_supports_non_stop): Add argument. | |
9693 | (target_supports_non_stop): Add argument. | |
9694 | (find_default_supports_non_stop): Add 'self' argument. | |
9695 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
9696 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
9697 | ||
4ab76ea3 TT |
9698 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9699 | ||
9700 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
9701 | (target_log_command): Add argument. | |
9702 | * serial.h (serial_log_command): Add 'self' argument. | |
9703 | * serial.c (serial_log_command): Add 'self' argument. | |
9704 | ||
8dd27370 TT |
9705 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9706 | ||
9707 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
9708 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
9709 | argument. | |
9710 | (target_pid_to_exec_file): Add argument. | |
9711 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
9712 | (update_current_target): Update. | |
9713 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
9714 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
9715 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
9716 | (linux_handle_extended_wait): Update. | |
9717 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
9718 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
9719 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
9720 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
9721 | ||
1aac633b TT |
9722 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9723 | ||
9724 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
9725 | (target_rcmd): Add argument. | |
9726 | * target.c (debug_to_rcmd): Add argument. | |
9727 | (update_current_target, do_monitor_command): Update. | |
9728 | * remote.c (remote_rcmd): Add 'self' argument. | |
9729 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
9730 | ||
1eab8a48 TT |
9731 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9732 | ||
9733 | * windows-nat.c (windows_stop): Add 'self' argument. | |
9734 | * target.h (struct target_ops) <to_stop>: Add argument. | |
9735 | * target.c (target_stop): Add argument. | |
9736 | (debug_to_stop): Add argument. | |
9737 | (update_current_target): Update. | |
9738 | * remote.c (remote_stop): Add 'self' argument. | |
9739 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
9740 | (gdbsim_cntrl_c): Update. | |
9741 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
9742 | * procfs.c (procfs_stop): Add 'self' argument. | |
9743 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
9744 | * monitor.c (monitor_stop): Add 'self' argument. | |
9745 | (monitor_open): Update. | |
9746 | * linux-nat.c (linux_nat_stop): Add argument. | |
9747 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
9748 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
9749 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
9750 | ||
503a628d TT |
9751 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9752 | ||
9753 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
9754 | * target.c (target_thread_name): Add argument. | |
9755 | (update_current_target): Update. | |
9756 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
9757 | ||
c15906d8 TT |
9758 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9759 | ||
9760 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
9761 | argument. | |
9762 | (target_extra_thread_info): Add argument. | |
9763 | * target.c (update_current_target): Update. | |
9764 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
9765 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
9766 | argument. | |
9767 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
9768 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
9769 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
9770 | argument. | |
9771 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
9772 | argument. | |
9773 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
9774 | argument. | |
9775 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
9776 | argument. | |
9777 | ||
daf5e9b6 TT |
9778 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9779 | ||
9780 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
9781 | * target.c (target_program_signals): Add argument. | |
9782 | * remote.c (remote_program_signals): Add 'self' argument. | |
9783 | ||
94bedb42 TT |
9784 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9785 | ||
9786 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
9787 | * target.c (target_pass_signals): Add argument. | |
9788 | * remote.c (remote_pass_signals): Add 'self' argument. | |
9789 | (remote_start_remote): Update. | |
9790 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
9791 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
9792 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
9793 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
9794 | ||
da82bd6b TT |
9795 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9796 | ||
9797 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
9798 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
9799 | (target_can_run): Add argument. | |
9800 | * target.c (debug_to_can_run): Add argument. | |
9801 | (update_current_target): Update. | |
9802 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
9803 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
9804 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
9805 | ||
d796e1d6 TT |
9806 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9807 | ||
9808 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
9809 | (target_has_exited): Add argument. | |
9810 | * target.c (debug_to_has_exited): Add argument. | |
9811 | (update_current_target): Update. | |
9812 | ||
ff214e67 TT |
9813 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9814 | ||
9815 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
9816 | argument. | |
9817 | (target_set_syscall_catchpoint): Add argument. | |
9818 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
9819 | argument. | |
9820 | * target.c (update_current_target): Update. | |
9821 | ||
758e29d2 TT |
9822 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9823 | ||
9824 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
9825 | argument. | |
9826 | (target_remove_exec_catchpoint): Add argument. | |
9827 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
9828 | (update_current_target): Update. | |
9829 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
9830 | argument. | |
9831 | ||
ba025e51 TT |
9832 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9833 | ||
9834 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
9835 | argument. | |
9836 | (target_insert_exec_catchpoint): Add argument. | |
9837 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
9838 | (update_current_target): Update. | |
9839 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
9840 | argument. | |
9841 | ||
e98cf0cd TT |
9842 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9843 | ||
9844 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
9845 | argument. | |
9846 | (target_remove_vfork_catchpoint): Add argument. | |
9847 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
9848 | (update_current_target): Update. | |
9849 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
9850 | argument. | |
9851 | ||
3ecc7da0 TT |
9852 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9853 | ||
9854 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
9855 | argument. | |
9856 | (target_insert_vfork_catchpoint): Add argument. | |
9857 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
9858 | (update_current_target): Update. | |
9859 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
9860 | argument. | |
9861 | ||
973fc227 TT |
9862 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9863 | ||
9864 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
9865 | argument. | |
9866 | (target_remove_fork_catchpoint): Add argument. | |
9867 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
9868 | (update_current_target): Update. | |
9869 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
9870 | argument. | |
9871 | ||
a863b201 TT |
9872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9873 | ||
9874 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
9875 | argument. | |
9876 | (target_insert_fork_catchpoint): Add argument. | |
9877 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
9878 | (update_current_target): Update. | |
9879 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
9880 | argument. | |
9881 | ||
2e97a79e TT |
9882 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9883 | ||
9884 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
9885 | argument. | |
9886 | (target_post_startup_inferior): Add argument. | |
9887 | * target.c (debug_to_post_startup_inferior): Add argument. | |
9888 | (update_current_target): Update. | |
9889 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
9890 | argument. | |
9891 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
9892 | argument. | |
9893 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
9894 | argument. | |
9895 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
9896 | argument. | |
9897 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
9898 | 'self' argument. | |
9899 | (super_post_startup_inferior): Likewise. | |
9900 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
9901 | 'self' argument. | |
9902 | (super_post_startup_inferior): Likewise. | |
9903 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
9904 | Add 'self' argument. | |
9905 | (super_post_startup_inferior): Likewise. | |
9906 | ||
71a9f134 TT |
9907 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9908 | ||
9909 | * target.h (struct target_ops) <to_load>: Add argument. | |
9910 | * target.c (target_load): Add argument. | |
9911 | (debug_to_load): Add argument. | |
9912 | (update_current_target): Update. | |
9913 | * remote.c (remote_load): Add 'self' argument. | |
9914 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
9915 | * remote-mips.c (mips_load): Add 'self' argument. | |
9916 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
9917 | * monitor.c (monitor_load): Add 'self' argument. | |
9918 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
9919 | ||
0a4f40a2 TT |
9920 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9921 | ||
9922 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
9923 | (target_terminal_info): Add argument. | |
9924 | * target.c (debug_to_terminal_info): Add argument. | |
9925 | (default_terminal_info): Likewise. | |
9926 | * inflow.c (child_terminal_info): Add 'self' argument. | |
9927 | * inferior.h (child_terminal_info): Add 'self' argument. | |
9928 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
9929 | ||
ae3bd431 TT |
9930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9931 | ||
9932 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
9933 | argument. | |
9934 | (target_terminal_save_ours): Add argument. | |
9935 | * target.c (debug_to_terminal_save_ours): Add argument. | |
9936 | (update_current_target): Update. | |
9937 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
9938 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
9939 | ||
e3594fd1 TT |
9940 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9941 | ||
9942 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
9943 | (target_terminal_ours): Add argument. | |
9944 | * target.c (debug_to_terminal_ours): Add argument. | |
9945 | (update_current_target): Update. | |
9946 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
9947 | (remote_close): Update. | |
9948 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
9949 | * inflow.c (terminal_ours): Add 'self' argument. | |
9950 | * inferior.h (terminal_ours): Add 'self' argument. | |
9951 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
9952 | ||
2e1e1a19 TT |
9953 | 2014-02-19 Pedro Alves <palves@redhat.com> |
9954 | Tom Tromey <tromey@redhat.com> | |
9955 | ||
9956 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
9957 | argument. | |
9958 | (target_terminal_ours_for_output): Add argument. | |
9959 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
9960 | (update_current_target): Update. | |
9961 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
9962 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
9963 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
9964 | ||
d2f640d4 TT |
9965 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9966 | ||
9967 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
9968 | argument. | |
9969 | * target.c (target_terminal_inferior): Add argument. | |
9970 | (update_current_target): Update. | |
9971 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
9972 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
9973 | * inflow.c (terminal_inferior): Add 'self' argument. | |
9974 | * inferior.h (terminal_inferior): Add 'self' argument. | |
9975 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
9976 | (go32_terminal_inferior): Add 'self' argument. | |
9977 | ||
c42bf286 TT |
9978 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9979 | ||
9980 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
9981 | (target_terminal_init): Add argument. | |
9982 | * target.c (debug_to_terminal_init): Add argument. | |
9983 | (update_current_target): Update. | |
9984 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
9985 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
9986 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
9987 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
9988 | ||
c3a5ff89 TT |
9989 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
9990 | ||
9991 | * target.h (struct target_ops) | |
9992 | <to_can_accel_watchpoint_condition>: Add argument. | |
9993 | (target_can_accel_watchpoint_condition): Add argument. | |
9994 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
9995 | argument. | |
9996 | (update_current_target): Update. | |
9997 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
9998 | 'self' argument. | |
9999 | ||
31568a15 TT |
10000 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10001 | ||
10002 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
10003 | Add argument. | |
10004 | (target_region_ok_for_hw_watchpoint): Add argument. | |
10005 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
10006 | (default_region_ok_for_hw_watchpoint): Add argument. | |
10007 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
10008 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
10009 | argument. | |
10010 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
10011 | argument. | |
10012 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
10013 | argument. | |
10014 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
10015 | 'self' argument. | |
10016 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
10017 | 'self' argument. | |
10018 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
10019 | 'self' argument. | |
10020 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
10021 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
10022 | 'self' argument. | |
10023 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
10024 | Add 'self' argument. | |
10025 | ||
7bb99c53 TT |
10026 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10027 | ||
10028 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
10029 | argument. | |
10030 | (target_insert_watchpoint): Add argument. | |
10031 | * target.c (debug_to_insert_watchpoint): Add argument. | |
10032 | (update_current_target): Update. | |
10033 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
10034 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
10035 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
10036 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
10037 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
10038 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
10039 | argument. | |
10040 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
10041 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
10042 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
10043 | argument. | |
10044 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
10045 | argument. | |
10046 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
10047 | argument. | |
10048 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
10049 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
10050 | argument. | |
10051 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
10052 | 'self' argument. | |
10053 | ||
11b5219a TT |
10054 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10055 | ||
10056 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
10057 | argument. | |
10058 | (target_remove_watchpoint): Add argument. | |
10059 | * target.c (debug_to_remove_watchpoint): Add argument. | |
10060 | (update_current_target): Update. | |
10061 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
10062 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
10063 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
10064 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
10065 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
10066 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
10067 | argument. | |
10068 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
10069 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
10070 | argument. | |
10071 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
10072 | argument. | |
10073 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
10074 | argument. | |
10075 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
10076 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
10077 | argument. | |
10078 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
10079 | 'self' argument. | |
10080 | ||
a64dc96c TT |
10081 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10082 | ||
10083 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
10084 | argument. | |
10085 | (target_remove_hw_breakpoint): Add argument. | |
10086 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
10087 | (update_current_target): Update. | |
10088 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
10089 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
10090 | argument. | |
10091 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
10092 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
10093 | argument. | |
10094 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
10095 | 'self' argument. | |
10096 | ||
23a26771 TT |
10097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10098 | ||
10099 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
10100 | argument. | |
10101 | (target_insert_hw_breakpoint): Add argument. | |
10102 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
10103 | (update_current_target): Update. | |
10104 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
10105 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
10106 | argument. | |
10107 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
10108 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
10109 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
10110 | argument. | |
10111 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
10112 | 'self' argument. | |
10113 | ||
5461485a TT |
10114 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10115 | ||
10116 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
10117 | argument. | |
10118 | (target_can_use_hardware_watchpoint): Add argument. | |
10119 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
10120 | (update_current_target): Update. | |
10121 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
10122 | argument. | |
10123 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
10124 | argument. | |
10125 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
10126 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
10127 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
10128 | argument. | |
10129 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
10130 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
10131 | argument. | |
10132 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
10133 | argument. | |
10134 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
10135 | argument. | |
10136 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
10137 | argument. | |
10138 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
10139 | argument. | |
10140 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
10141 | argument. | |
10142 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
10143 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
10144 | argument. | |
10145 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
10146 | 'self' argument. | |
10147 | ||
f045800c TT |
10148 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10149 | ||
10150 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
10151 | (target_post_attach): Add argument. | |
10152 | * target.c (debug_to_post_attach): Add argument. | |
10153 | (update_current_target): Update. | |
10154 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
10155 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
10156 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
10157 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
10158 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
10159 | ||
de90e03d TT |
10160 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10161 | ||
10162 | * windows-nat.c (windows_close): Add 'self' argument. | |
10163 | * tracepoint.c (tfile_close): Add 'self' argument. | |
10164 | * target.h (struct target_ops) <to_close>: Add argument. | |
10165 | * target.c (target_close): Add argument. | |
10166 | (update_current_target): Update. | |
10167 | * remote.c (remote_close): Add 'self' argument. | |
10168 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
10169 | * remote-mips.c (mips_close): Add 'self' argument. | |
10170 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
10171 | * record-full.c (record_full_close): Add 'self' argument. | |
10172 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
10173 | * monitor.h (monitor_close): Add 'self' argument. | |
10174 | * monitor.c (monitor_close): Add 'self' argument. | |
10175 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
10176 | * linux-nat.c (linux_nat_close): Add argument. | |
10177 | * go32-nat.c (go32_close): Add 'self' argument. | |
10178 | * exec.c (exec_close_1): Add 'self' argument. | |
10179 | * ctf.c (ctf_close): Add 'self' argument. | |
10180 | * corelow.c (core_close): Add 'self' argument. | |
10181 | (core_close_cleanup): Update. | |
10182 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
10183 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
10184 | ||
9dd130a0 TT |
10185 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10186 | ||
10187 | * remote.c (remote_load): New function. | |
10188 | (init_remote_ops): Use it. | |
10189 | ||
46917d26 TT |
10190 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10191 | ||
10192 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
10193 | argument. | |
10194 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
10195 | * remote.c (remote_supports_btrace): Add "self" argument. | |
10196 | * target-delegates.c: Rebuild. | |
10197 | * target.c (target_supports_btrace): Remove. | |
10198 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
10199 | target_ops argument. | |
10200 | (target_supports_btrace): New define. | |
10201 | ||
6b84065d TT |
10202 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10203 | ||
10204 | * record-full.c (record_full_beneath_to_resume_ops) | |
10205 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
10206 | (record_full_beneath_to_wait) | |
10207 | (record_full_beneath_to_store_registers_ops) | |
10208 | (record_full_beneath_to_store_registers) | |
10209 | (record_full_beneath_to_xfer_partial_ops) | |
10210 | (record_full_beneath_to_xfer_partial) | |
10211 | (record_full_beneath_to_insert_breakpoint_ops) | |
10212 | (record_full_beneath_to_insert_breakpoint) | |
10213 | (record_full_beneath_to_remove_breakpoint_ops) | |
10214 | (record_full_beneath_to_remove_breakpoint) | |
10215 | (record_full_beneath_to_stopped_by_watchpoint) | |
10216 | (record_full_beneath_to_stopped_data_address) | |
10217 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
10218 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
10219 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
10220 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
10221 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
10222 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
10223 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
10224 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
10225 | (record_full_resume, record_full_wait_1) | |
10226 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
10227 | (record_full_store_registers, record_full_xfer_partial) | |
10228 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
10229 | (record_full_async, record_full_core_xfer_partial): Use target | |
10230 | delegation. | |
10231 | * target-delegates.c: Rebuild. | |
10232 | * target.c (current_xfer_partial): Remove. | |
10233 | (update_current_target): Do not INHERIT or de_fault | |
10234 | to_insert_breakpoint, to_remove_breakpoint, | |
10235 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
10236 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
10237 | (default_xfer_partial): Simplify. | |
10238 | (current_xfer_partial): Remove. | |
10239 | (target_wait, target_resume): Simplify. | |
10240 | (find_default_can_async_p, find_default_is_async_p): Update. | |
10241 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
10242 | to_xfer_partial, to_stopped_by_watchpoint, | |
10243 | to_stopped_data_address. | |
10244 | (target_store_registers): Simplify. | |
10245 | (forward_target_remove_breakpoint) | |
10246 | (forward_target_insert_breakpoint): Remove. | |
10247 | (target_remove_breakpoint, target_insert_breakpoint) | |
10248 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
10249 | * target.h (struct target_ops) <to_resume, to_wait, | |
10250 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
10251 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
10252 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
10253 | markup. | |
10254 | (forward_target_remove_breakpoint) | |
10255 | (forward_target_insert_breakpoint): Remove. | |
10256 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
10257 | directly. | |
10258 | (record_btrace_insert_breakpoint): Delegate directly. | |
10259 | ||
1101cb7b TT |
10260 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10261 | ||
10262 | PR build/7701: | |
10263 | * target-delegates.c: New file. | |
10264 | * target.c: Include target-delegates.c. | |
10265 | (init_dummy_target): Call install_dummy_methods. | |
10266 | (complete_target_initialization): Call install_delegators. | |
10267 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
10268 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
10269 | * make-target-delegates: New file. | |
10270 | ||
8b06beed TT |
10271 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10272 | ||
10273 | * record.c (find_record_target): Use find_target_at. | |
10274 | * target.c (find_target_at): New function. | |
10275 | * target.h (find_target_at): Declare. | |
10276 | ||
6a109b6b TT |
10277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10278 | ||
10279 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
10280 | Add 'ops' argument. | |
10281 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
10282 | 'ops' argument. | |
10283 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
10284 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
10285 | 'ops' argument. | |
10286 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
10287 | argument. | |
10288 | * linux-nat.c (save_sigtrap): Update. | |
10289 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
10290 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
10291 | (linux_nat_close): Update. | |
10292 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
10293 | argument. | |
10294 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
10295 | argument. | |
10296 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
10297 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
10298 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
10299 | (tmp_to_async): Add 'ops' argument. | |
10300 | (record_full_stopped_by_watchpoint, record_full_async) | |
10301 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
10302 | argument. | |
10303 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
10304 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
10305 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
10306 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
10307 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
10308 | (remote_stopped_data_address): Update. | |
10309 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
10310 | * target.c (update_current_target) | |
10311 | (find_default_can_async_p, find_default_is_async_p): Update. | |
10312 | (init_dummy_target): Update. | |
10313 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
10314 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
10315 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
10316 | (target_can_async_p, target_is_async_p, target_async) | |
10317 | (target_stopped_by_watchpoint): Update. | |
10318 | ||
e095146b YQ |
10319 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
10320 | ||
10321 | PR gdb/16220 | |
10322 | * gdbarch.sh: Remove startup_gdbarch. | |
10323 | * gdbarch.c: Regenerated. | |
10324 | * gdbarch.h: Likewise. | |
10325 | ||
bc3c6b36 KB |
10326 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
10327 | ||
10328 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
10329 | (rl78_return_value): Add g10 support. | |
10330 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
10331 | g10. | |
10332 | ||
98dc0167 | 10333 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
10334 | |
10335 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
10336 | (SUBDIR_GUILE_SRCS): Ditto. | |
10337 | (scm-gsmob.o): Ditto. | |
10338 | ||
842c05cd YQ |
10339 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
10340 | ||
10341 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
10342 | ||
25c0bd04 YQ |
10343 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
10344 | ||
10345 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
10346 | mach_msg_type_number_t. | |
10347 | (gnu_write_inferior): Likewise. | |
10348 | ||
a9a758e3 YQ |
10349 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
10350 | ||
10351 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
10352 | in format string. | |
10353 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
10354 | (inf_validate_procs, inf_signal): Likewise. | |
10355 | (S_exception_raise_request): Likewise. | |
10356 | (do_mach_notify_dead_name): Likewise. | |
10357 | (steal_exc_port): Likewise. | |
10358 | (gnu_read_inferior): Change 'copy_count''s type to | |
10359 | mach_msg_type_number_t. | |
10360 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
10361 | format string. | |
10362 | ||
bae8023e TS |
10363 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
10364 | ||
c82f56d9 TS |
10365 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
10366 | flag. Adjust all users; in particular... | |
10367 | (gnu_wait): ..., don't decrement its value in here... | |
10368 | (gnu_create_inferior): ..., and instead set the flag in here, | |
10369 | around the startup_inferior call, and call that one with | |
10370 | START_INFERIOR_TRAPS_EXPECTED. | |
10371 | ||
3398af6a TS |
10372 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
10373 | (ILL_RPC): ... new macro. | |
10374 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
10375 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
10376 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
10377 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
10378 | functions with ILL_RPC macro. | |
10379 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
10380 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
10381 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
10382 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
10383 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
10384 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
10385 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
10386 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
10387 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
10388 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
10389 | (S_proc_get_code_reply): New stub functions, generated with | |
10390 | ILL_RPC macro. | |
10391 | ||
d47642c9 TS |
10392 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
10393 | collected the type check structures. | |
10394 | ||
bae8023e TS |
10395 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
10396 | ||
8a55ffb0 DE |
10397 | 2014-02-14 Doug Evans <dje@google.com> |
10398 | ||
10399 | * target.c (target_write_partial): Fix result type. | |
10400 | ||
c2853f3d JM |
10401 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
10402 | ||
10403 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
10404 | the proper offsets to access fpregset_t. | |
10405 | ||
ac61d2db SA |
10406 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
10407 | ||
10408 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
10409 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
10410 | * h8300-tdep.c (setmachinelist): Remove global. | |
10411 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
10412 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
10413 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
10414 | * ravenscar-thread.c (update_target_observer): Remove global. | |
10415 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
10416 | ||
9d2d0b8b TT |
10417 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10418 | ||
10419 | * common/rsp-low.c: Update comments. | |
10420 | * common/rsp-low.h: Update comments. | |
10421 | ||
a7191e8b TT |
10422 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10423 | ||
10424 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
10425 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
10426 | ||
ff0e980e TT |
10427 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10428 | ||
10429 | * common/rsp-low.h (unhexify): Don't declare. | |
10430 | * common/rsp-low.c (unhexify): Remove. | |
10431 | ||
e9371aff TT |
10432 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10433 | ||
10434 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
10435 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
10436 | ||
971dc0b8 TT |
10437 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10438 | ||
10439 | * common/rsp-low.h (hexify): Don't declare. | |
10440 | * common/rsp-low.c (hexify): Remove. | |
10441 | ||
0a822afb TT |
10442 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10443 | ||
10444 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
10445 | ||
9f1b45b0 TT |
10446 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10447 | ||
10448 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
10449 | * remote.c (extended_remote_run, remote_rcmd) | |
10450 | (remote_download_trace_state_variable, remote_save_trace_data) | |
10451 | (remote_set_trace_notes): Update. | |
10452 | * tracepoint.c (encode_source_string, tfile_write_status) | |
10453 | (tfile_write_uploaded_tsv): Update. | |
10454 | ||
9c3d6531 TT |
10455 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10456 | ||
10457 | * tracepoint.c: Include rsp-low.h. | |
10458 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
10459 | * remote.c: Include rsp-low.h. | |
10460 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
10461 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
10462 | (remote_unescape_input): Move to common/rsp-low.c. | |
10463 | * common/rsp-low.h: New file. | |
10464 | * common/rsp-low.c: New file. | |
10465 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
10466 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
10467 | (COMMON_OBS): Add rsp-low.o. | |
10468 | (rsp-low.o): New target. | |
10469 | ||
01fd3ea5 TT |
10470 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10471 | ||
10472 | * utils.h: Include print-utils.h. | |
10473 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
10474 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
10475 | (hex_string, hex_string_custom): Don't declare. | |
10476 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
10477 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
10478 | (hex_string_custom, int_string, core_addr_to_string) | |
10479 | (core_addr_to_string_nz, host_address_to_string): Move to | |
10480 | common/print-utils.c. | |
10481 | * common/print-utils.h: New file. | |
10482 | * common/print-utils.c: New file | |
10483 | * Makefile.in (SFILES): Add common/print-utils.c. | |
10484 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
10485 | (COMMON_OBS): Add print-utils.o. | |
10486 | (print-utils.o): New target. | |
10487 | ||
9fb50108 TT |
10488 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
10489 | ||
10490 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
10491 | ||
0548b5db MK |
10492 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
10493 | ||
10494 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
10495 | ||
493443a4 MK |
10496 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
10497 | ||
10498 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
10499 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
10500 | bytes were transferred. | |
10501 | ||
706d0883 PA |
10502 | 2014-02-12 Pedro Alves <palves@redhat.com> |
10503 | Kevin Buettner <kevinb@redhat.com> | |
10504 | ||
10505 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
10506 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
10507 | ||
5caa2f0b PA |
10508 | 2014-02-12 Pedro Alves <palves@redhat.com> |
10509 | ||
10510 | * h8300-tdep.c (pseudo_from_raw_register) | |
10511 | (raw_from_pseudo_register): New functions. | |
10512 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
10513 | them. | |
10514 | ||
76fd5f74 PA |
10515 | 2014-02-12 Pedro Alves <palves@redhat.com> |
10516 | ||
10517 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
10518 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
10519 | gdbarch_register_sim_regno hook. | |
10520 | ||
8f008406 SA |
10521 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
10522 | ||
10523 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
10524 | ||
195abc10 SA |
10525 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
10526 | ||
10527 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
10528 | ||
93ffa5b9 MK |
10529 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
10530 | ||
10531 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
10532 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
10533 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
10534 | (obsd_init_abi): New functions. | |
10535 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
10536 | (i386obsd_init_abi): Call obsd_init_abi. | |
10537 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
10538 | (amd64obsd_init_abi): Call obsd_init_abi. | |
10539 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
10540 | obsd-tdep.c to gdb_target_obs. | |
10541 | ||
49caec94 JM |
10542 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
10543 | ||
10544 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
10545 | double float arguments to 16-byte in the argument slots. | |
10546 | ||
e1402065 DE |
10547 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
10548 | ||
10549 | * configure.ac: Don't crash if pkg-config is not found and guile | |
10550 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
10551 | in guile checks. | |
10552 | * configure: Regenerate. | |
10553 | ||
edcc890f YQ |
10554 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
10555 | ||
10556 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
10557 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
10558 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
10559 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
10560 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
10561 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
10562 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
10563 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
10564 | ||
9b409511 YQ |
10565 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
10566 | ||
10567 | * target.h (enum target_xfer_error): Rename to ... | |
10568 | (enum target_xfer_status): ... it. New. All users updated. | |
10569 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
10570 | New. | |
10571 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
10572 | (target_xfer_error_to_string): Remove declaration. | |
10573 | (target_xfer_status_to_string): Declare. | |
10574 | (target_xfer_partial_ftype): Adjust it. | |
10575 | (struct target_ops) <to_xfer_partial>: Return | |
10576 | target_xfer_status. Add argument xfered_len. Update | |
10577 | comments. | |
10578 | * target.c (target_xfer_error_to_string): Rename to ... | |
10579 | (target_xfer_status_to_string): ... it. New. All callers | |
10580 | updated. | |
10581 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
10582 | instead of target_read. | |
10583 | (memory_xfer_live_readonly_partial): Return | |
10584 | target_xfer_status. Add argument xfered_len. | |
10585 | (raw_memory_xfer_partial): Likewise. | |
10586 | (memory_xfer_partial_1): Likewise. | |
10587 | (memory_xfer_partial): Likewise. | |
10588 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
10589 | properly. Update debug message. | |
10590 | (default_xfer_partial, current_xfer_partial): Likewise. | |
10591 | (target_write_partial): Likewise. | |
10592 | (target_read_partial): Likewise. All callers updated. | |
10593 | (read_whatever_is_readable): Likewise. | |
10594 | (target_write_with_progress): Likewise. | |
10595 | (target_read_alloc_1): Likewise. | |
10596 | ||
10597 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
10598 | * auxv.c (procfs_xfer_auxv): Likewise. | |
10599 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
10600 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
10601 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
10602 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
10603 | * corefile.c (read_memory): Adjust. | |
10604 | * corelow.c (core_xfer_partial): Likewise. | |
10605 | * ctf.c (ctf_xfer_partial): Likewise. | |
10606 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
10607 | updated. | |
10608 | (darwin_xfer_partial): Likewise. | |
10609 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
10610 | callers updated. | |
10611 | (exec_xfer_partial): Likewise. | |
10612 | * exec.h (section_table_xfer_memory_partial): Update | |
10613 | declaration. | |
10614 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
10615 | negative. | |
10616 | (gnu_xfer_partial): Likewise. | |
10617 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
10618 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
10619 | (ia64_hpux_xfer_solib_got): Likewise. | |
10620 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
10621 | type of 'partial_len' to ULONGEST. | |
10622 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
10623 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
10624 | (linux_nat_xfer_partial): Likewise. | |
10625 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
10626 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
10627 | * monitor.c (monitor_xfer_memory): Likewise. | |
10628 | (monitor_xfer_partial): Likewise. | |
10629 | * procfs.c (procfs_xfer_partial): Likewise. | |
10630 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
10631 | * record-full.c (record_full_xfer_partial): Likewise. | |
10632 | (record_full_core_xfer_partial): Likewise. | |
10633 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
10634 | (gdbsim_xfer_partial): Likewise. | |
10635 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
10636 | updated. | |
10637 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
10638 | callers updated. | |
10639 | (remote_flash_erase): Likewise. All callers updated. | |
10640 | (remote_write_qxfer): Likewise. All callers updated. | |
10641 | (remote_read_qxfer): Likewise. All callers updated. | |
10642 | (remote_xfer_partial): Likewise. | |
10643 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
10644 | (rs6000_xfer_shared_libraries): Likewise. | |
10645 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
10646 | (sol_thread_xfer_partial): Likewise. | |
10647 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
10648 | (sparc_xfer_partial): Likewise. | |
10649 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
10650 | updated. | |
10651 | (spu_xfer_partial): Likewise. | |
10652 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
10653 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
10654 | * windows-nat.c (windows_xfer_memory): Likewise. | |
10655 | (windows_xfer_shared_libraries): Likewise. | |
10656 | (windows_xfer_partial): Likewise. | |
10657 | * valprint.c: Replace 'target_xfer_error' with | |
10658 | 'target_xfer_status' in comments. | |
10659 | ||
a8e63083 JB |
10660 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
10661 | ||
10662 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
10663 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
10664 | ||
e86b67d3 JB |
10665 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
10666 | ||
10667 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
10668 | function parameters. | |
10669 | ||
4b7d1f7f WN |
10670 | 2014-02-10 Will Newton <will.newton@linaro.org> |
10671 | ||
10672 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
10673 | looking up .got.plt fails. | |
10674 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
10675 | on address passed to elf_gnu_ifunc_record_cache. | |
10676 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
10677 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
10678 | ||
961842b2 JM |
10679 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
10680 | ||
10681 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
10682 | (X_RETTURN): New macro. | |
10683 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
10684 | ||
10685 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
10686 | sparc_in_function_epilogue_p. | |
10687 | ||
3f03e7b1 GB |
10688 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
10689 | ||
10690 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
10691 | Rename name_matcher to symbol_matcher. | |
10692 | ||
96f861ef GB |
10693 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
10694 | ||
10695 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
10696 | Use expand_symtabs_file_matcher_ftype and | |
10697 | expand_symtabs_symbol_matcher_ftype. | |
10698 | ||
ee01b665 JB |
10699 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10700 | ||
10701 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
10702 | (struct ada_symbol_cache): New. | |
10703 | (ada_free_symbol_cache): Forward declare. | |
10704 | (struct ada_pspace_data): New. | |
10705 | (ada_pspace_data_handle): New static global. | |
10706 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
10707 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
10708 | (cache_space, cache): Delete, now folded inside struct | |
10709 | ada_pspace_data. | |
10710 | (ada_get_symbol_cache): New function. | |
10711 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
10712 | implementation. | |
10713 | (_initialize_ada_language): Remove initialization of cache_space. | |
10714 | Move call to observer_attach_inferior_exit up, grouping it | |
10715 | with the other observer registrations inside this function. | |
10716 | Rename command to be more general. Add call to | |
10717 | register_program_space_data_with_cleanup. | |
10718 | ||
143adbbf JB |
10719 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10720 | ||
10721 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
10722 | ada_new_objfile_observer. | |
10723 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
10724 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
10725 | and ada_tasks_normal_stop_observer. | |
10726 | ||
aa4fb036 JB |
10727 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10728 | ||
10729 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
10730 | returned by the 'Length attribute to integer. | |
10731 | ||
9dee8cc6 JB |
10732 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10733 | ||
10734 | * ada-lang.c (_initialize_ada_language): Initialize | |
10735 | cache_space obstack. | |
10736 | ||
3d9434b5 JB |
10737 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10738 | ||
10739 | * ada-lang.c (HASH_SIZE): New macro. | |
10740 | (struct cache_entry): New type. | |
10741 | (cache_space, cache): New static globals. | |
10742 | (ada_clear_symbol_cache, find_entry): New functions. | |
10743 | (lookup_cached_symbol, cache_symbol): Implement. | |
10744 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
10745 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
10746 | and ada_free_objfile_observer. | |
10747 | ||
f0c5f9b2 JB |
10748 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
10749 | ||
10750 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
10751 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
10752 | struct block * parameter. | |
10753 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
10754 | Remove cast which is no longer necessary. | |
10755 | ||
ed3ef339 DE |
10756 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
10757 | ||
10758 | Add Guile as an extension language. | |
10759 | * NEWS: Mention Guile scripting. | |
10760 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
10761 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
10762 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
10763 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
10764 | (CLIBS): Add GUILE_LIBS. | |
10765 | (install-guile): New rule. | |
10766 | (guile.o): New rule. | |
10767 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
10768 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
10769 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
10770 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
10771 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
10772 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
10773 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
10774 | * configure.ac: New option --with-guile. | |
10775 | * configure: Regenerate. | |
10776 | * config.in: Regenerate. | |
10777 | * auto-load.c: Remove #include "python/python.h". Add #include | |
10778 | "gdb/section-scripts.h". | |
10779 | (source_section_scripts): Handle Guile scripts. | |
10780 | (_initialize_auto_load): Add name of Guile objfile script to | |
10781 | scripts-directory help text. | |
10782 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
10783 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
10784 | (struct breakpoint): New member scm_bp_object. | |
10785 | * defs.h (enum command_control_type): New value guile_control. | |
10786 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
10787 | "extension.h". | |
10788 | (show_user): Update comment. | |
10789 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
10790 | text for max-user-call-depth. | |
10791 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
10792 | "extension.h". | |
10793 | (multi_line_command_p): Add guile_control. | |
10794 | (print_command_lines): Handle guile_control. | |
10795 | (execute_control_command, recurse_read_control_structure): Ditto. | |
10796 | (process_next_line): Recognize "guile" commands. | |
10797 | * disasm.c (gdb_disassemble_info): Make non-static. | |
10798 | * disasm.h: #include "dis-asm.h". | |
10799 | (struct gdbarch): Add forward decl. | |
10800 | (gdb_disassemble_info): Declare. | |
10801 | * extension.c: #include "guile/guile.h". | |
10802 | (extension_languages): Add guile. | |
10803 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
10804 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
10805 | * gdbtypes.c (get_unsigned_type_max): New function. | |
10806 | (get_signed_type_minmax): New function. | |
10807 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
10808 | (get_signed_type_minmax): Declare. | |
10809 | * guile/README: New file. | |
10810 | * guile/guile-internal.h: New file. | |
10811 | * guile/guile.c: New file. | |
10812 | * guile/guile.h: New file. | |
10813 | * guile/scm-arch.c: New file. | |
10814 | * guile/scm-auto-load.c: New file. | |
10815 | * guile/scm-block.c: New file. | |
10816 | * guile/scm-breakpoint.c: New file. | |
10817 | * guile/scm-disasm.c: New file. | |
10818 | * guile/scm-exception.c: New file. | |
10819 | * guile/scm-frame.c: New file. | |
10820 | * guile/scm-gsmob.c: New file. | |
10821 | * guile/scm-iterator.c: New file. | |
10822 | * guile/scm-lazy-string.c: New file. | |
10823 | * guile/scm-math.c: New file. | |
10824 | * guile/scm-objfile.c: New file. | |
10825 | * guile/scm-ports.c: New file. | |
10826 | * guile/scm-pretty-print.c: New file. | |
10827 | * guile/scm-safe-call.c: New file. | |
10828 | * guile/scm-string.c: New file. | |
10829 | * guile/scm-symbol.c: New file. | |
10830 | * guile/scm-symtab.c: New file. | |
10831 | * guile/scm-type.c: New file. | |
10832 | * guile/scm-utils.c: New file. | |
10833 | * guile/scm-value.c: New file. | |
10834 | * guile/lib/gdb.scm: New file. | |
10835 | * guile/lib/gdb/boot.scm: New file. | |
10836 | * guile/lib/gdb/experimental.scm: New file. | |
10837 | * guile/lib/gdb/init.scm: New file. | |
10838 | * guile/lib/gdb/iterator.scm: New file. | |
10839 | * guile/lib/gdb/printing.scm: New file. | |
10840 | * guile/lib/gdb/types.scm: New file. | |
10841 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
10842 | (VPATH): Add $(GUILE_SRCDIR). | |
10843 | (GUILE_DIR): New variable. | |
10844 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
10845 | (all): Add stamp-guile dependency. | |
10846 | (stamp-guile): New rule. | |
10847 | (clean-guile, install-guile, uninstall-guile): New rules. | |
10848 | (install-only): Add install-guile dependency. | |
10849 | (uninstall): Add uninstall-guile dependency. | |
10850 | (clean): Add clean-guile dependency. | |
10851 | ||
ac020ec5 DE |
10852 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
10853 | ||
10854 | Revert this patch (which I approved, mea culpa). | |
10855 | ||
10856 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
10857 | ||
10858 | * Makefile.in (all-lib): Remove. | |
10859 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
10860 | ||
2a081c59 JK |
10861 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
10862 | ||
10863 | Fix Python stack corruption. | |
10864 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
10865 | gdb_py_longest. | |
10866 | ||
0a6bd22d MK |
10867 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
10868 | ||
10869 | * Makefile.in (all-lib): Remove. | |
10870 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
10871 | ||
1a860409 DE |
10872 | 2014-02-07 Doug Evans <dje@google.com> |
10873 | ||
10874 | * extension-priv.h (extension_language_script_ops): Add comment. | |
10875 | (extension_language_ops): Add comment. | |
caf5a491 | 10876 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 10877 | |
d137e6dc PA |
10878 | 2014-02-07 Pedro Alves <palves@redhat.com> |
10879 | ||
0dcb32c3 | 10880 | PR breakpoints/16292 |
d137e6dc PA |
10881 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
10882 | over a breakpoint>: Switch back to the stepping thread. | |
10883 | ||
ce6d0892 YQ |
10884 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10885 | ||
10886 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
10887 | ||
2ed4b548 YQ |
10888 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10889 | ||
10890 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
10891 | (ld_so_xfer_auxv): Likewise. | |
10892 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
10893 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
10894 | * corelow.c (core_xfer_partial): Likewise. | |
10895 | * ctf.c (ctf_xfer_partial): Likewise. | |
10896 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
10897 | (darwin_xfer_partial): Likewise. | |
10898 | * exec.c (exec_xfer_partial): Likewise. | |
10899 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
10900 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
10901 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
10902 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
10903 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
10904 | (linux_proc_xfer_spu): Likewise. | |
10905 | * procfs.c (procfs_xfer_partial): Likewise. | |
10906 | * record-full.c (record_full_xfer_partial): Likewise. | |
10907 | (record_full_core_xfer_partial): Likewise. | |
10908 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
10909 | * remote.c (remote_write_qxfer): Likewise. | |
10910 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
10911 | (remote_xfer_partial): Likewise. | |
10912 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
10913 | (rs6000_xfer_shared_libraries): Likewise. | |
10914 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
10915 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
10916 | (spu_xfer_partial): Likewise. | |
10917 | * target.c (memory_xfer_partial_1): Likewise. | |
10918 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
10919 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
10920 | (windows_xfer_partial): Likewise. | |
10921 | ||
c09f20e4 YQ |
10922 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10923 | ||
10924 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
10925 | comments. | |
10926 | (core_xfer_shared_libraries_aix): Likewise. | |
10927 | * gdbarch.c, gdbarch.h: Regenerated. | |
10928 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
10929 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
10930 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
10931 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
10932 | declaration. | |
10933 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
10934 | ||
8635b3bf YQ |
10935 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
10936 | ||
10937 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
10938 | 'exception' to throw_error. | |
10939 | ||
6dddc817 DE |
10940 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
10941 | ||
10942 | * configure.ac (libpython checking): Remove all but python.o from | |
10943 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
10944 | * configure: Regenerate. | |
10945 | ||
10946 | * Makefile.in (SFILES): Add extension.c. | |
10947 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
10948 | (COMMON_OBS): Add extension.o. | |
10949 | * extension.h: New file. | |
10950 | * extension-priv.h: New file. | |
10951 | * extension.c: New file. | |
10952 | ||
10953 | * python/python-internal.h: #include "extension.h". | |
10954 | (gdbpy_auto_load_enabled): Declare. | |
10955 | (gdbpy_apply_val_pretty_printer): Declare. | |
10956 | (gdbpy_apply_frame_filter): Declare. | |
10957 | (gdbpy_preserve_values): Declare. | |
10958 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
10959 | (gdbpy_breakpoint_has_cond): Declare. | |
10960 | (void source_python_script_for_objfile): Delete. | |
10961 | * python/python.c: #include "extension-priv.h". | |
10962 | Delete inclusion of "observer.h". | |
10963 | (extension_language_python): Moved here and renamed from | |
10964 | script_language_python in py-auto-load.c. | |
10965 | Redefined to be of type extension_language_defn. | |
10966 | (python_extension_script_ops): New global. | |
10967 | (python_extension_ops): New global. | |
10968 | (struct python_env): New member previous_active. | |
10969 | (restore_python_env): Call restore_active_ext_lang. | |
10970 | (ensure_python_env): Call set_active_ext_lang. | |
10971 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
10972 | New arg extlang. | |
10973 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
10974 | New arg extlang. | |
10975 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
10976 | New arg extlang. | |
10977 | (gdbpy_eval_from_control_command): Renamed from | |
10978 | eval_python_from_control_command, made static. New arg extlang. | |
10979 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
10980 | New arg extlang. | |
10981 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
10982 | result to int. New arg extlang. | |
10983 | (gdbpy_source_objfile_script): Renamed from | |
10984 | source_python_script_for_objfile, made static. New arg extlang. | |
10985 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
10986 | static. New args extlang, extlang_printers. Change result type to | |
10987 | "void". | |
10988 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
10989 | static. New arg extlang. Rename arg printers to extlang_printers | |
10990 | and change type to ext_lang_type_printers *. | |
10991 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
10992 | static. Replace argument arg with extlang, extlang_printers. | |
10993 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
10994 | (!HAVE_PYTHON, source_python_script): Delete. | |
10995 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
10996 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
10997 | (!HAVE_PYTHON, start_type_printers): Delete. | |
10998 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
10999 | (!HAVE_PYTHON, free_type_printers): Delete. | |
11000 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
11001 | (finalize_python): Set/restore active extension language. | |
11002 | (gdbpy_finish_initialization) Renamed from | |
11003 | finish_python_initialization, made static. New arg extlang. | |
11004 | (gdbpy_initialized): New function. | |
11005 | * python/python.h: #include "extension.h". Delete #include | |
11006 | "value.h", "mi/mi-cmds.h". | |
11007 | (extension_language_python): Declare. | |
11008 | (GDBPY_AUTO_FILE_NAME): Delete. | |
11009 | (enum py_bt_status): Moved to extension.h and renamed to | |
11010 | ext_lang_bt_status. | |
11011 | (enum frame_filter_flags): Moved to extension.h. | |
11012 | (enum py_frame_args): Moved to extension.h and renamed to | |
11013 | ext_lang_frame_args. | |
11014 | (finish_python_initialization): Delete. | |
11015 | (eval_python_from_control_command): Delete. | |
11016 | (source_python_script): Delete. | |
11017 | (apply_val_pretty_printer): Delete. | |
11018 | (apply_frame_filter): Delete. | |
11019 | (preserve_python_values): Delete. | |
11020 | (gdbpy_script_language_defn): Delete. | |
11021 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
11022 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
11023 | ||
11024 | * auto-load.c: #include "extension.h". | |
11025 | (GDB_AUTO_FILE_NAME): Delete. | |
11026 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
11027 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
11028 | extension_language_gdb. | |
11029 | (source_gdb_script_for_objfile): Delete. | |
11030 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
11031 | (loaded_script): Change type of language member to | |
11032 | struct extension_language_defn *. | |
11033 | (init_loaded_scripts_info): Initialize | |
11034 | unsupported_script_warning_printed. | |
11035 | (maybe_add_script): Make static. Change type of language arg to | |
11036 | struct extension_language_defn *. | |
11037 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
11038 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
11039 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
11040 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
11041 | (source_section_scripts): Rewrite to use extension language API. | |
11042 | (load_auto_scripts_for_objfile): Rewrite to use | |
11043 | auto_load_scripts_for_objfile. | |
11044 | (collect_matching_scripts_data): Change type of language member to | |
11045 | struct extension_language_defn *. | |
11046 | (auto_load_info_scripts): Change type of language arg to | |
11047 | struct extension_language_defn *. | |
11048 | (unsupported_script_warning_print): New function. | |
11049 | (script_not_found_warning_print): Make static. | |
11050 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
11051 | help. | |
11052 | * auto-load.h (struct objfile): Add forward decl. | |
11053 | (struct script_language): Delete. | |
11054 | (struct auto_load_pspace_info): Add forward decl. | |
11055 | (struct extension_language_defn): Add forward decl. | |
11056 | (maybe_add_script): Delete. | |
11057 | (auto_load_objfile_script): Declare. | |
11058 | (script_not_found_warning_print): Delete. | |
11059 | (auto_load_info_scripts): Update prototype. | |
11060 | (auto_load_gdb_scripts_enabled): Declare. | |
11061 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
11062 | auto_load_python_scripts_enabled and made public. | |
11063 | (script_language_python): Delete, moved to python.c. | |
11064 | (gdbpy_script_language_defn): Delete. | |
11065 | (info_auto_load_python_scripts): Update to use | |
11066 | extension_language_python. | |
11067 | ||
11068 | * breakpoint.c (condition_command): Replace call to | |
11069 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
11070 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
11071 | with call to breakpoint_ext_lang_cond_says_stop. | |
11072 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
11073 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
11074 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
11075 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
11076 | New arg slang. | |
11077 | (local_setattro): Print name of extension language with existing | |
11078 | stop condition. | |
11079 | ||
11080 | * valprint.c (val_print, value_print): Update to call | |
11081 | apply_ext_lang_val_pretty_printer. | |
11082 | * cp-valprint.c (cp_print_value): Update call to | |
11083 | apply_ext_lang_val_pretty_printer. | |
11084 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
11085 | (gdbpy_apply_val_pretty_printer): Renamed from | |
11086 | apply_val_pretty_printer. New arg extlang. | |
11087 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
11088 | ||
11089 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
11090 | extension language API. | |
11091 | * cli/cli-script.c (execute_control_command): Update to call | |
11092 | eval_ext_lang_from_control_command. | |
11093 | ||
11094 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
11095 | enum ext_lang_bt_status values. Update call to | |
11096 | apply_ext_lang_frame_filter. | |
11097 | (mi_cmd_stack_list_locals): Ditto. | |
11098 | (mi_cmd_stack_list_args): Ditto. | |
11099 | (mi_cmd_stack_list_variables): Ditto. | |
11100 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
11101 | Add #include "extension.h". | |
11102 | (mi_cmd_list_features): Replace reference to python internal variable | |
11103 | gdb_python_initialized with call to ext_lang_initialized_p. | |
11104 | ||
11105 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
11106 | Update to use enum ext_lang_frame_args. Update to call | |
11107 | apply_ext_lang_frame_filter. | |
11108 | * python/py-framefilter.c (extract_sym): Update to use enum | |
11109 | ext_lang_bt_status. | |
11110 | (extract_value, py_print_type, py_print_value): Ditto. | |
11111 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
11112 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
11113 | (py_print_frame): Ditto. | |
11114 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
11115 | New arg extlang. Update to use enum ext_lang_bt_status. | |
11116 | ||
11117 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
11118 | finish_python_initialization. Replace with call to | |
11119 | finish_ext_lang_initialization. | |
11120 | ||
11121 | * typeprint.c (do_free_global_table): Update to call | |
11122 | free_ext_lang_type_printers. | |
11123 | (create_global_typedef_table): Update to call | |
11124 | start_ext_lang_type_printers. | |
11125 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
11126 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
11127 | (type_print_options): Change type of global_printers from "void *" | |
11128 | to "struct ext_lang_type_printers *". | |
11129 | ||
11130 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
11131 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
11132 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
11133 | New arg extlang. | |
11134 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
11135 | ||
11136 | * utils.c (quit_flag): Delete, moved to extension.c. | |
11137 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
11138 | extension.c. | |
11139 | ||
11140 | * eval.c: Delete #include "python/python.h". | |
11141 | * main.c: Delete #include "python/python.h". | |
11142 | ||
11143 | * defs.h: Update comment. | |
11144 | ||
6af79985 JB |
11145 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
11146 | ||
11147 | GDB 7.7 released. | |
11148 | ||
12c5175d MK |
11149 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
11150 | ||
11151 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
11152 | defined. | |
11153 | ||
8dc5b319 YQ |
11154 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
11155 | ||
11156 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
11157 | rs->buf. | |
11158 | (remote_program_signals): Likewise. | |
11159 | ||
de7b2893 YQ |
11160 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
11161 | ||
11162 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
11163 | (CTF_PID): A new macro. | |
11164 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
11165 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
11166 | (ctf_thread_alive): New function. | |
11167 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
11168 | ||
66d032ac YQ |
11169 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
11170 | ||
11171 | Revert this patch: | |
11172 | ||
11173 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
11174 | ||
11175 | * tracepoint.c (TFILE_PID): Remove. | |
11176 | (tfile_open): Don't add thread and inferior. | |
11177 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
11178 | exit_inferior_silent. | |
11179 | (tfile_thread_alive): Remove. | |
11180 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
11181 | tfile_ops. | |
11182 | ||
f4ccffad CE |
11183 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
11184 | ||
11185 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
11186 | if only symbol-file (not file) has been given. | |
11187 | ||
591a12a1 UW |
11188 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11189 | ||
11190 | * gdbarch.sh (skip_entrypoint): New callback. | |
11191 | * gdbarch.c, gdbarch.h: Regenerate. | |
11192 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
11193 | * infrun.c (fill_in_stop_func): Likewise. | |
11194 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
11195 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
11196 | (ppc_elfv2_skip_entrypoint): Likewise. | |
11197 | (ppc_linux_init_abi): Install them for ELFv2. | |
11198 | ||
cc0e89c5 UW |
11199 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11200 | ||
11201 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
11202 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
11203 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
11204 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
11205 | structures returned in GPRs. | |
11206 | ||
52f548e4 UW |
11207 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11208 | ||
11209 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
11210 | offset to the stack parameter list for the ELFv2 ABI. | |
11211 | ||
d4094b6a UW |
11212 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11213 | ||
11214 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
11215 | set_gdbarch_convert_from_func_ptr_addr and | |
11216 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
11217 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
11218 | function descriptors on ELFv1. | |
11219 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
11220 | set up r12 at function entry. | |
11221 | ||
cd453cd0 UW |
11222 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11223 | ||
11224 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
11225 | (struct gdbarch_tdep): New member elf_abi. | |
11226 | ||
11227 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
11228 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
11229 | ||
0ff3e01f UW |
11230 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11231 | ||
11232 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
11233 | within a register pair holding a DFP 128-bit value on little-endian. | |
11234 | (ppc64_sysv_abi_return_value_base): Likewise. | |
11235 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
11236 | (dfp_pseudo_register_write): Likewise. | |
11237 | ||
5b757e5d UW |
11238 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11239 | ||
11240 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
11241 | offset on little-endian when passing _Decimal32. | |
11242 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
11243 | ||
084ee545 UW |
11244 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11245 | ||
11246 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
11247 | of the overlapped FP register within the VSX register on little- | |
11248 | endian platforms. | |
11249 | (efpr_pseudo_register_write): Likewise. | |
11250 | ||
d63167af UW |
11251 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11252 | ||
11253 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
11254 | offset on little-endian when passing small structures. | |
11255 | ||
e765b44c UW |
11256 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11257 | ||
11258 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
11259 | (struct ppc64_sysv_argpos): New data structure. | |
11260 | (ppc64_sysv_abi_push_float): Remove. | |
11261 | (ppc64_sysv_abi_push_val): New function. | |
11262 | (ppc64_sysv_abi_push_integer): Likewise. | |
11263 | (ppc64_sysv_abi_push_freg): Likewise. | |
11264 | (ppc64_sysv_abi_push_vreg): Likewise. | |
11265 | (ppc64_sysv_abi_push_param): Likewise. | |
11266 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
11267 | (ppc64_sysv_abi_return_value_base): New function. | |
11268 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
11269 | ||
36c24d95 UW |
11270 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
11271 | ||
11272 | * NEWS: Document new target powerpc64le-*-linux*. | |
11273 | ||
26fd9228 MK |
11274 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
11275 | ||
11276 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
11277 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
11278 | core dumps. | |
11279 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
11280 | register set used in ELF core dumps. Add floating-point register set. | |
11281 | ||
c5bb7362 KB |
11282 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
11283 | ||
74228e77 | 11284 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
11285 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
11286 | penultimate entry from number representing the PC register | |
11287 | to symbolic constant representing the MDR register. Add | |
11288 | constant for the PC register to the end of the table. | |
11289 | ||
af09351e MK |
11290 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
11291 | ||
11292 | * bsd-kvm.c: Include <sys/param.h> | |
11293 | ||
8507e05d MK |
11294 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
11295 | ||
11296 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
11297 | ||
ae56bfb8 JB |
11298 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
11299 | ||
11300 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
11301 | ||
718ee4dc UW |
11302 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
11303 | ||
11304 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
11305 | ||
401e27fd JM |
11306 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
11307 | ||
11308 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
11309 | the sigreturn register save area only if the syscall is | |
11310 | sigreturn. | |
11311 | ||
a7c88acd JB |
11312 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
11313 | ||
11314 | * valops.c (value_slice): Minor reformatting. | |
11315 | ||
fa0079ea UW |
11316 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
11317 | ||
11318 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
11319 | ||
c6044dd1 JB |
11320 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
11321 | ||
11322 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
11323 | New static globals. | |
11324 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
11325 | (ada_ignore_descriptive_types_p): New static global. | |
11326 | (find_parallel_type_by_descriptive_type): Return immediately | |
11327 | if ada_ignore_descriptive_types_p is set. | |
11328 | (_initialize_ada_language): Register new commands "maintenance | |
11329 | set ada", "maintenance show ada", "maintenance set ada | |
11330 | ignore-descriptive-types" and "maintenance show ada | |
11331 | ignore-descriptive-types". | |
11332 | * NEWS: Add entry for new "maint ada set/show | |
11333 | ignore-descriptive-types" commands. | |
11334 | ||
568e808b MM |
11335 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
11336 | ||
11337 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
11338 | for all threads. | |
11339 | ||
467d141b JB |
11340 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11341 | ||
11342 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
11343 | "ui-out.h". | |
11344 | ||
fb151210 JB |
11345 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11346 | ||
11347 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
11348 | New function. | |
11349 | (print_range): Add parameter bounds_prefered_p. If not set, | |
11350 | try printing range types using the name of their base type. | |
11351 | (print_range_type): Add parameter bounds_prefered_p. | |
11352 | Use it in call to print_range. | |
11353 | (print_array_type, ada_print_type): Update calls to print_range | |
11354 | and print_range_type. | |
11355 | ||
aba02109 JB |
11356 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11357 | ||
11358 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
11359 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
11360 | Remove declaration. | |
11361 | ||
e62e21fd JB |
11362 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11363 | ||
11364 | * ada-typeprint.c (print_range): Add missing empty line | |
11365 | after local declaration. | |
11366 | ||
859cf5d1 JB |
11367 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11368 | ||
11369 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
11370 | target type for as long as it is a TYPE_CODE_RANGE. | |
11371 | ||
25790f6f JB |
11372 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
11373 | ||
11374 | * procfs.c (procfs_make_note_section): Remove assertion and | |
11375 | associated comment. | |
11376 | ||
6b6aa828 YQ |
11377 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
11378 | ||
11379 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
11380 | * corelow.c (get_core_siginfo): Likewise. | |
11381 | ||
5d6df423 YQ |
11382 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
11383 | ||
11384 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
11385 | ULONGEST. Don't check 'len' is negative. | |
11386 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
11387 | ||
83b645b8 TT |
11388 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
11389 | ||
11390 | PR python/16485: | |
11391 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
11392 | Handle exception from frame.block. | |
11393 | (FrameVars.fetch_frame_locals): Likewise. | |
11394 | ||
0740f8d8 TT |
11395 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
11396 | ||
11397 | PR python/16487: | |
11398 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
11399 | on a NULL pointer. Move "goto error" to correct place. | |
11400 | ||
21909fa1 TT |
11401 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
11402 | ||
11403 | PR python/16491: | |
11404 | * python/py-framefilter.c (apply_frame_filter): Call | |
11405 | ensure_python_env after computing gdbarch. | |
11406 | ||
17fde6d0 YQ |
11407 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
11408 | ||
11409 | * target.c (raw_memory_xfer_partial): Change argument type | |
11410 | from void * to gdb_byte *. | |
11411 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
11412 | ||
87ce2a04 DE |
11413 | 2014-01-22 Doug Evans <dje@google.com> |
11414 | ||
11415 | New gdbserver option --debug-format=timestamp. | |
11416 | * NEWS: Mention it. | |
11417 | ||
237b092b AA |
11418 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
11419 | ||
11420 | * syscalls/s390x-linux.xml: New file. | |
11421 | * syscalls/s390-linux.xml: New file. | |
11422 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
11423 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
11424 | (op_svc): New enum value for SVC opcode. | |
11425 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
11426 | (s390_linux_get_syscall_number): New function. | |
11427 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
11428 | syscall xml file name. | |
11429 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
11430 | "s390-linux.xml" and "s390x-linux.xml". | |
11431 | * NEWS: Announce new feature. | |
11432 | ||
54bff650 BS |
11433 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
11434 | ||
11435 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
11436 | ||
14e361d7 PA |
11437 | 2014-01-22 Pedro Alves <palves@redhat.com> |
11438 | ||
11439 | * xtensa-config.c: Include defs.h. | |
11440 | ||
46bbb3ed JB |
11441 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
11442 | ||
11443 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
11444 | reference. | |
11445 | ||
3a80edfc JB |
11446 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
11447 | ||
11448 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
11449 | documentation a bit. | |
11450 | ||
4869db5e RM |
11451 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
11452 | ||
11453 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
11454 | * configure: Regenerate. | |
11455 | * aclocal.m4: Regenerate. | |
11456 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
11457 | New substituted variables. | |
11458 | (install-strip): New target. | |
11459 | (INSTALL_SCRIPT): New substituted variable. | |
11460 | (FLAGS_TO_PASS): Add it. | |
11461 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
11462 | $(INSTALL_PROGRAM) for gcore. | |
11463 | ||
9ea4267d TT |
11464 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
11465 | ||
11466 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
11467 | together. | |
11468 | ||
1f2bdf09 TT |
11469 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
11470 | ||
11471 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
11472 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
11473 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
11474 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
11475 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
11476 | (struct cmd_list_element) <flags>: Remove. | |
11477 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
11478 | doc_allocated>: New fields. | |
11479 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
11480 | bitfields. | |
11481 | * maint.c (maintenance_do_deprecate): Update. | |
11482 | * top.c (execute_command): Update. | |
11483 | ||
e671835b BS |
11484 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
11485 | ||
11486 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
11487 | ||
50367cd2 IB |
11488 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11489 | ||
11490 | * Makefile.in (SFILES): Add d-support.c. | |
11491 | (COMMON_OBS): Add d-support.o. | |
11492 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
11493 | d-support.c. | |
11494 | * d-lang.c (parse_call_convention) | |
11495 | (parse_attributes, parse_function_types) | |
11496 | (parse_function_args, parse_type, parse_identifier) | |
11497 | (call_convention_p, d_parse_symbol): Move functions to ... | |
11498 | * d-support.c: ... New file. | |
11499 | ||
ec9f644a IB |
11500 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11501 | ||
11502 | * d-lang.h (d_parse_symbol): Add declaration. | |
11503 | * d-lang.c (extract_identifiers) | |
11504 | (extract_type_info): Remove functions. | |
11505 | (parse_call_convention, parse_attributes) | |
11506 | (parse_function_types, parse_function_args) | |
11507 | (parse_type, parse_identifier, call_convention_p) | |
11508 | (d_parse_symbol): New functions. | |
11509 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
11510 | ||
94b1b47e IB |
11511 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11512 | ||
11513 | * d-lang.h (struct builtin_d_type): New data type. | |
11514 | (builtin_d_type): Add declaration. | |
11515 | * d-lang.c (d_language_arch_info, build_d_types) | |
11516 | (builtin_d_type): New functions. | |
11517 | (enum d_primitive_types): New data type. | |
11518 | (d_language_defn): Change c_language_arch_info to | |
11519 | d_language_arch_info. | |
11520 | (d_type_data): New static variable. | |
11521 | (_initialize_d_language): Initialize d_type_data. | |
11522 | ||
63778547 IB |
11523 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11524 | ||
11525 | * d-lang.h (d_main_name): Add declaration. | |
11526 | * d-lang.c (d_main_name): New function. | |
11527 | * symtab.c (find_main_name): Add call to d_main_name. | |
11528 | ||
3271ba66 IB |
11529 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11530 | ||
11531 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
11532 | macro_expansion_no. | |
11533 | ||
d36b3012 IB |
11534 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
11535 | ||
11536 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
11537 | ||
c90a6fb7 SDJ |
11538 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
11539 | ||
11540 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
11541 | gdb_exception" declaration. | |
11542 | * remote.c (getpkt_or_notif_sane): Likewise. | |
11543 | ||
749234e5 DE |
11544 | 2014-01-17 Doug Evans <dje@google.com> |
11545 | ||
11546 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
11547 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
11548 | (delim_string_to_char_ptr_vec): New function. | |
11549 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
11550 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
11551 | ||
df049a58 DE |
11552 | 2014-01-17 Doug Evans <dje@google.com> |
11553 | ||
11554 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
11555 | and moved here ... | |
11556 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
11557 | #include "common-utils.h". | |
11558 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
11559 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
11560 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
11561 | (MACH_CHECK_ERROR): Update. | |
11562 | ||
69f97648 SM |
11563 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
11564 | ||
11565 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
11566 | comments. | |
11567 | * gdbarch.h: Regenerate. | |
11568 | ||
98b1cfdc TT |
11569 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
11570 | ||
11571 | * value.c (struct value) <regnum>: Move earlier. | |
11572 | ||
77a19445 TT |
11573 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
11574 | ||
11575 | * remote.c (extended_remote_create_inferior): Rename from | |
11576 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
11577 | old implementation. | |
11578 | ||
62261490 PA |
11579 | 2014-01-16 Pedro Alves <palves@redhat.com> |
11580 | ||
11581 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
11582 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
11583 | the backchain. | |
11584 | ||
4d65956b DE |
11585 | 2014-01-16 Doug Evans <dje@google.com> |
11586 | ||
11587 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
11588 | ||
52834460 MM |
11589 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11590 | ||
11591 | * btrace.h (btrace_thread_flag): New. | |
11592 | (struct btrace_thread_info) <flags>: New. | |
11593 | * record-btrace.c (record_btrace_resume_thread) | |
11594 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
11595 | (btrace_step_stopped, record_btrace_start_replaying) | |
11596 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
11597 | (record_btrace_find_resume_thread): New. | |
11598 | (record_btrace_resume, record_btrace_wait): Extend. | |
11599 | (record_btrace_can_execute_reverse): New. | |
11600 | (record_btrace_open): Fail in non-stop mode. | |
11601 | (record_btrace_set_replay): Split into this, ... | |
11602 | (record_btrace_stop_replaying): ... this, ... | |
11603 | (record_btrace_clear_histories): ... and this. | |
11604 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
11605 | * NEWS: Announce it. | |
11606 | ||
118e6252 MM |
11607 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11608 | ||
11609 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
11610 | (forward_target_decr_pc_after_break) | |
11611 | (target_decr_pc_after_break): New. | |
11612 | * target.c (forward_target_decr_pc_after_break) | |
11613 | (target_decr_pc_after_break): New. | |
11614 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
11615 | instead of gdbarch_decr_pc_after_break. | |
11616 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
11617 | instead of gdbarch_decr_pc_after_break. | |
11618 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
11619 | instead of gdbarch_decr_pc_after_break. | |
11620 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
11621 | instead of gdbarch_decr_pc_after_break. | |
11622 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
11623 | instead of gdbarch_decr_pc_after_break. | |
11624 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
11625 | instead of gdbarch_decr_pc_after_break. | |
11626 | ||
6e07b1d2 MM |
11627 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11628 | ||
11629 | * btrace.c: Include regcache.h. | |
11630 | (btrace_add_pc): New. | |
11631 | (btrace_enable): Call btrace_add_pc. | |
11632 | (btrace_is_empty): New. | |
11633 | * btrace.h (btrace_is_empty): New. | |
11634 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
11635 | btrace_is_empty. | |
11636 | ||
969c39fb MM |
11637 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11638 | ||
11639 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
11640 | Support delta reads. | |
11641 | (linux_disable_btrace): Change return type. | |
11642 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
11643 | and return type to allow error reporting. Update users. | |
11644 | (linux_disable_btrace): Change return type. Update users. | |
11645 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
11646 | New. | |
11647 | (btrace_error): New. | |
11648 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
11649 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
11650 | the current trace. | |
11651 | (btrace_stitch_trace, btrace_clear_history): New. | |
11652 | (btrace_fetch): Read delta trace, return if replaying. | |
11653 | (btrace_clear): Move clear history code to btrace_clear_history. | |
11654 | (parse_xml_btrace): Throw an error if parsing failed. | |
11655 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
11656 | and return type to allow error reporting. | |
11657 | (target_read_btrace): Change parameters and return type to allow | |
11658 | error reporting. | |
11659 | * target.c (target_read_btrace): Update. | |
11660 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
11661 | errors on. | |
11662 | * NEWS: Announce it. | |
11663 | ||
0b722aec MM |
11664 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11665 | ||
11666 | * record.h (record_btrace_frame_unwind) | |
11667 | (record_btrace_tailcall_frame_unwind): New declarations. | |
11668 | * dwarf2-frame: Include record.h | |
11669 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
11670 | * record-btrace.c: Include hashtab.h. | |
11671 | (btrace_get_bfun_name): New. | |
11672 | (btrace_call_history): Call btrace_get_bfun_name. | |
11673 | (struct btrace_frame_cache): New. | |
11674 | (bfcache): New. | |
11675 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
11676 | (btrace_get_frame_function): New. | |
11677 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
11678 | (record_btrace_frame_this_id): Compute own id. | |
11679 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
11680 | for all other registers. | |
11681 | (record_btrace_frame_sniffer): Detect btrace frames. | |
11682 | (record_btrace_tailcall_frame_sniffer): New. | |
11683 | (record_btrace_frame_dealloc_cache): New. | |
11684 | (record_btrace_frame_unwind): Add new functions. | |
11685 | (record_btrace_tailcall_frame_unwind): New. | |
11686 | (_initialize_record_btrace): Allocate cache. | |
11687 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
11688 | * NEWS: Announce it. | |
11689 | ||
066ce621 MM |
11690 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11691 | ||
11692 | * record-btrace.c (record_btrace_set_replay) | |
11693 | (record_btrace_goto_begin, record_btrace_goto_end) | |
11694 | (record_btrace_goto): New. | |
11695 | (init_record_btrace_ops): Initialize them. | |
11696 | * NEWS: Announce it. | |
11697 | ||
e2887aa3 MM |
11698 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11699 | ||
11700 | * record-btrace.c (record_btrace_find_new_threads) | |
11701 | (record_btrace_thread_alive): New. | |
11702 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
11703 | to_thread_alive. | |
11704 | ||
b2f4cfde MM |
11705 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11706 | ||
11707 | * record-btrace.c (record_btrace_resume): New. | |
11708 | (record_btrace_wait): New. | |
11709 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
11710 | ||
633785ff MM |
11711 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11712 | ||
11713 | * record-btrace.c (record_btrace_xfer_partial) | |
11714 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
11715 | (record_btrace_allow_memory_access): New. | |
11716 | (init_record_btrace_ops): Initialize new methods. | |
11717 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
11718 | that this memory is not available. | |
11719 | ||
3db08215 MM |
11720 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11721 | ||
11722 | * target.h (target_ops) <to_insert_breakpoint> | |
11723 | <to_remove_breakpoint>: Add target_ops parameter. | |
11724 | (forward_target_insert_breakpoint): New. | |
11725 | (forward_target_remove_breakpoint): New. | |
11726 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
11727 | Add target_ops parameter. | |
11728 | * target.c (target_insert_breakpoint): Split into this and ... | |
11729 | (forward_target_insert_breakpoint): ... this. | |
11730 | (target_remove_breakpoint): Split into this and ... | |
11731 | (forward_target_remove_breakpoint): ... this. | |
11732 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
11733 | Call forward_target_insert_breakpoint. | |
11734 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
11735 | Call forward_target_remove_breakpoint. | |
11736 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
11737 | and to_remove_breakpoint. | |
11738 | * corelow.c (ignore): Add target_ops parameter. | |
11739 | * exec.c (ignore): Add target_ops parameter. | |
11740 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
11741 | Add target_ops parameter. | |
11742 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
11743 | Add target_ops parameter. | |
11744 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
11745 | Add target_ops parameter. | |
11746 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
11747 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
11748 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
11749 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
11750 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
11751 | Update users. | |
11752 | (record_full_beneath_to_insert_breakpoint_ops) | |
11753 | (record_full_beneath_to_remove_breakpoint_ops) | |
11754 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
11755 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
11756 | tmp_to_remove_breakpoint_ops, | |
11757 | record_full_beneath_to_insert_breakpoint_ops, and | |
11758 | record_full_beneath_to_remove_breakpoint_ops. | |
11759 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
11760 | (m32r_remove_breakpoint): Add target_ops parameter. | |
11761 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
11762 | Add target_ops parameter. | |
11763 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
11764 | Add target_ops parameter. | |
11765 | ||
cecac1ab MM |
11766 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
11767 | Markus Metzger <markus.t.metzger@intel.com> | |
11768 | ||
11769 | * record-btrace.c: Include frame-unwind.h. | |
11770 | (record_btrace_frame_unwind_stop_reason) | |
11771 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
11772 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
11773 | New. | |
11774 | (init_record_btrace_ops): Install it. | |
11775 | ||
824344ca MM |
11776 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
11777 | ||
11778 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
11779 | get_prev_frame_1. | |
11780 | ||
32261e52 MM |
11781 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
11782 | ||
11783 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
11784 | earlier. | |
11785 | ||
ea001bdc MM |
11786 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
11787 | ||
11788 | * frame-unwind.c: Include target.h. | |
11789 | (frame_unwind_try_unwinder): New function with code from ... | |
11790 | (frame_unwind_find_by_frame): ... here. New variable | |
11791 | unwinder_from_target, call also target_get_unwinder) | |
11792 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
11793 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
11794 | * target.h (struct target_ops): New fields to_get_unwinder and | |
11795 | to_get_tailcall_unwinder. | |
11796 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
11797 | ||
1f3ef581 MM |
11798 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11799 | ||
11800 | * record-btrace.c (record_btrace_fetch_registers) | |
11801 | (record_btrace_store_registers) | |
11802 | (record_btrace_to_prepare_to_store): New. | |
11803 | (init_record_btrace_ops): Add the above. | |
11804 | ||
f32dbf8c MM |
11805 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
11806 | ||
11807 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
11808 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
11809 | argument. | |
11810 | (target_prepare_to_store): Add argument. | |
11811 | * target.c (debug_to_prepare_to_store): Add argument. | |
11812 | (update_current_target): Update. | |
11813 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
11814 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
11815 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
11816 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
11817 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
11818 | argument. | |
11819 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
11820 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
11821 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
11822 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
11823 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
11824 | ||
07bbe694 MM |
11825 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11826 | ||
11827 | * btrace.h (replay) <replay>: New. | |
11828 | (btrace_is_replaying): New. | |
11829 | * btrace.c (btrace_clear): Free replay iterator. | |
11830 | (btrace_is_replaying): New. | |
11831 | * record-btrace.c (record_btrace_is_replaying): New. | |
11832 | (record_btrace_info): Print insn number if replaying. | |
11833 | (record_btrace_insn_history): Start at replay position. | |
11834 | (record_btrace_call_history): Start at replay position. | |
11835 | (init_record_btrace_ops): Init to_record_is_replaying. | |
11836 | ||
0688d04e MM |
11837 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11838 | ||
11839 | * record-btrace.c (record_btrace_insn_history_range): Include | |
11840 | end. | |
11841 | (record_btrace_insn_history_from): Adjust range. | |
11842 | (record_btrace_call_history_range): Include | |
11843 | end. | |
11844 | (record_btrace_call_history_from): Adjust range. | |
11845 | * NEWS: Announce changes. | |
11846 | ||
8710b709 MM |
11847 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11848 | ||
11849 | * record.h (enum record_print_flag) | |
11850 | <record_print_indent_calls>: New. | |
11851 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
11852 | (_initialize_record): Document /c modifier. | |
11853 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
11854 | Reorder fields. Optionally indent the function name. Update | |
11855 | all users. | |
11856 | * NEWS: Announce changes. | |
11857 | ||
d0fa7535 MM |
11858 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11859 | ||
11860 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
11861 | ||
5de9129b MM |
11862 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11863 | ||
11864 | * btrace.c (ftrace_new_function): Start counting at one. | |
11865 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
11866 | and insns. | |
11867 | * NEWS: Announce it. | |
11868 | ||
7acbe133 MM |
11869 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11870 | ||
11871 | * record-btrace.c (btrace_call_history_insn_range): Print | |
11872 | insn range as [begin, end]. | |
11873 | ||
23a7fe75 MM |
11874 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11875 | ||
11876 | * btrace.h (struct btrace_func_link): New. | |
11877 | (enum btrace_function_flag): New. | |
11878 | (struct btrace_inst): Rename to ... | |
11879 | (struct btrace_insn): ...this. Update all users. | |
11880 | (struct btrace_func) <ibegin, iend>: Remove. | |
11881 | (struct btrace_func_link): New. | |
11882 | (struct btrace_func): Rename to ... | |
11883 | (struct btrace_function): ...this. Update all users. | |
11884 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
11885 | (number, level, flags>: New. | |
11886 | (struct btrace_insn_iterator): Rename to ... | |
11887 | (struct btrace_insn_history): ...this. | |
11888 | Update all users. | |
11889 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
11890 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
11891 | (struct btrace_target_info) <begin, end, level> | |
11892 | <insn_history, call_history>: New. | |
11893 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
11894 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
11895 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
11896 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
11897 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
11898 | (btrace_find_function_by_number, btrace_set_insn_history) | |
11899 | (btrace_set_call_history): New. | |
11900 | * btrace.c (btrace_init_insn_iterator) | |
11901 | (btrace_init_func_iterator, compute_itrace): Remove. | |
11902 | (ftrace_print_function_name, ftrace_print_filename) | |
11903 | (ftrace_skip_file): Change | |
11904 | parameter to const. | |
11905 | (ftrace_init_func): Remove. | |
11906 | (ftrace_debug): Use new btrace_function fields. | |
11907 | (ftrace_function_switched): Also consider gaining and | |
11908 | losing symbol information). | |
11909 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
11910 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
11911 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
11912 | New. | |
11913 | (ftrace_new_function): Move. Remove debug print. | |
11914 | (ftrace_update_lines, ftrace_update_insns): New. | |
11915 | (ftrace_update_function): Check for call, ret, and jump. | |
11916 | (compute_ftrace): Renamed to ... | |
11917 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
11918 | stack. | |
11919 | (btrace_fetch, btrace_clear): Updated. | |
11920 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
11921 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
11922 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
11923 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
11924 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
11925 | (btrace_find_function_by_number, btrace_set_insn_history) | |
11926 | (btrace_set_call_history): New. | |
11927 | * record-btrace.c (require_btrace): Use new btrace thread | |
11928 | info fields. | |
11929 | (record_btrace_info, btrace_insn_history) | |
11930 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
11931 | Use new btrace thread info fields and new iterator. | |
11932 | (btrace_func_history_src_line): Rename to ... | |
11933 | (btrace_call_history_src_line): ...this. Use new btrace | |
11934 | thread info fields. | |
11935 | (btrace_func_history): Rename to ... | |
11936 | (btrace_call_history): ...this. Use new btrace thread info | |
11937 | fields and new iterator. | |
11938 | (record_btrace_call_history, record_btrace_call_history_range): | |
11939 | Use new btrace thread info fields and new iterator. | |
11940 | ||
8372a7cb MM |
11941 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11942 | ||
11943 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
11944 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
11945 | ||
c2170eef MM |
11946 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11947 | ||
11948 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
11949 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
11950 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
11951 | to gdbarch. | |
11952 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
11953 | (i386_insn_is_jump, i386_jmp_p): New. | |
11954 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
11955 | insn_is_jump to gdbarch. | |
11956 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
11957 | * gdbarch.h: Regenerated. | |
11958 | * gdbarch.c: Regenerated. | |
11959 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
11960 | (default_insn_is_jump): New. | |
11961 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
11962 | (default_insn_is_jump): New. | |
11963 | ||
864089d2 MM |
11964 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11965 | ||
11966 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
11967 | Change to ... | |
11968 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
11969 | (btrace_read_type) <btrace_read_new>: Change to ... | |
11970 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
11971 | ||
ed9edfb5 MM |
11972 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
11973 | ||
11974 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
11975 | previous iteration. | |
11976 | ||
fbcbc3fd DE |
11977 | 2014-01-15 Doug Evans <dje@google.com> |
11978 | ||
11979 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
11980 | uint32_t. | |
11981 | ||
3d548a53 TT |
11982 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11983 | ||
11984 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
11985 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
11986 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
11987 | (set_objfile_main_name): New function. | |
11988 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
11989 | language_of_main>: New fields. | |
11990 | (set_objfile_main_name): Declare. | |
11991 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
11992 | name and language. | |
11993 | (set_main_name): Now static. | |
11994 | (get_main_info): Add comment. | |
11995 | * symtab.h (set_main_name): Don't declare. | |
11996 | ||
32ac0d11 TT |
11997 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
11998 | ||
11999 | * symtab.c (main_progspace_key): New global. | |
12000 | (struct main_info): New. | |
12001 | (name_of_main, language_of_main): Remove. | |
12002 | (get_main_info, main_info_cleanup): New function. | |
12003 | (set_main_name, main_name, main_language): Use get_main_info. | |
12004 | (_initialize_symtab): Initialize main_progspace_key. | |
12005 | ||
9e6c82ad TT |
12006 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
12007 | ||
12008 | * dbxread.c (process_one_symbol): Update. | |
12009 | * dwarf2read.c (read_partial_die): Update. | |
12010 | * symfile.c (set_initial_language): Call main_language. | |
12011 | * symtab.c (language_of_main): Now static. | |
12012 | (set_main_name): Add 'lang' parameter. | |
12013 | (find_main_name): Update. | |
12014 | (main_language): New function. | |
12015 | (symtab_observer_executable_changed): Update. | |
12016 | * symtab.h (set_main_name): Update. | |
12017 | (language_of_main): Remove. | |
12018 | (main_language): Declare. | |
12019 | ||
6ef55de7 TT |
12020 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
12021 | ||
12022 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
12023 | Update. | |
12024 | * objfiles.h (struct entry_point) <initialized>: New field. | |
12025 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
12026 | (struct objfile) <ei>: ...here. Remove. | |
12027 | * objfiles.c (entry_point_address_query): Update. | |
12028 | ||
53eddfa6 TT |
12029 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
12030 | ||
12031 | * objfiles.c (entry_point_address_query): Relocate entry point | |
12032 | address. | |
12033 | (objfile_relocate1): Do not relocate entry point address. | |
12034 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
12035 | <the_bfd_section_index>: New field. | |
12036 | * symfile.c (init_entry_point_info): Find the entry point's | |
12037 | section. | |
12038 | ||
d56e56aa TT |
12039 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
12040 | ||
12041 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
12042 | ||
33a97bbe OJ |
12043 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12044 | ||
12045 | * NEWS: Add note on improved process record-replay on | |
12046 | arm*-linux* targets. | |
12047 | ||
c6ec2b30 OJ |
12048 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12049 | ||
12050 | * arm-tdep.c (enum arm_record_result): New enum. | |
12051 | (arm_record_unsupported_insn): New function. | |
12052 | (arm_record_coproc_data_proc): Removed. | |
12053 | (thumb2_record_ld_st_multiple): New function. | |
12054 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
12055 | (thumb2_record_data_proc_sreg_mimm): New function. | |
12056 | (thumb2_record_ps_dest_generic): New function. | |
12057 | (thumb2_record_branch_misc_cntrl): New function. | |
12058 | (thumb2_record_str_single_data): New function. | |
12059 | (thumb2_record_ld_mem_hints): New function. | |
12060 | (thumb2_record_ld_word): New function. | |
12061 | (thumb2_record_lmul_lmla_div): New function. | |
12062 | (thumb2_record_decode_insn_handler): New function. | |
12063 | (decode_insn): Add thumb32 instruction handlers. | |
12064 | ||
97dfe206 OJ |
12065 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12066 | ||
12067 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
12068 | (struct arm_linux_record_tdep): Declare. | |
12069 | (arm_canonicalize_syscall): New function. | |
12070 | (arm_all_but_pc_registers_record): New function. | |
12071 | (arm_linux_syscall_record): New function. | |
12072 | (arm_linux_init_abi): Add syscall recording constructs. | |
12073 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
12074 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
12075 | decoding. | |
12076 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
12077 | <arm_syscall_record>: New field. | |
12078 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
12079 | gdb_target_obs. | |
12080 | ||
9904a494 OJ |
12081 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12082 | ||
12083 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
12084 | register for push instruction recording. | |
12085 | ||
f969241e OJ |
12086 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12087 | ||
12088 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
12089 | error while recording ldm, ldmia and pop instructions. | |
12090 | ||
bfbbec00 OJ |
12091 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
12092 | ||
12093 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
12094 | ||
e40adcc9 PA |
12095 | 2014-01-15 Pedro Alves <palves@redhat.com> |
12096 | ||
12097 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
12098 | (go32_resume, go32_fetch_registers, store_register) | |
12099 | (go32_store_registers, go32_prepare_to_store) | |
12100 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
12101 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
12102 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
12103 | declarations. | |
12104 | ||
b0a16e66 TT |
12105 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
12106 | ||
12107 | * target.h (async_callback_ftype): New typedef. | |
12108 | (struct target_ops) <to_async>: Use it. | |
12109 | ||
bf7105a4 JB |
12110 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
12111 | ||
12112 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
12113 | braces for single-statement if block. | |
12114 | ||
a8f35c2e JB |
12115 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
12116 | ||
12117 | * python/py-type.c (convert_field): Add missing empty line | |
12118 | after declarations. | |
12119 | ||
bb4142cf DE |
12120 | 2014-01-14 Doug Evans <dje@google.com> |
12121 | ||
12122 | * symfile.h (expand_symtabs_matching): Renamed from | |
12123 | expand_partial_symbol_names. Update prototype. | |
12124 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
12125 | * symfile.c (expand_symtabs_matching): Renamed from | |
12126 | expand_partial_symbol_names. New args file_matcher, kind. | |
12127 | Rename arg fun to symbol_matcher. | |
12128 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
12129 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
12130 | ada_expand_partial_symbol_name. | |
12131 | (ada_make_symbol_completion_list): Update to call | |
12132 | expand_symtabs_matching. | |
12133 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
12134 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
12135 | call map_symbol_filenames. | |
12136 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
12137 | (search_symbols): Call expand_symtabs_matching. | |
12138 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
12139 | (default_make_symbol_completion_list_break_on): Update to call | |
12140 | expand_symtabs_matching. | |
12141 | (make_source_files_completion_list): Update to call | |
12142 | map_symbol_filenames. | |
12143 | ||
206f2a57 DE |
12144 | 2014-01-14 Doug Evans <dje@google.com> |
12145 | ||
12146 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
12147 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
12148 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
12149 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
12150 | * symfile.c (expand_partial_symbol_names): Update to use | |
12151 | expand_symtabs_symbol_matcher_ftype. | |
12152 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
12153 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
12154 | Arg name_matcher renamed to symbol_matcher. | |
12155 | * psymtab.c (recursively_search_psymtabs): Update to use | |
12156 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
12157 | sym_matcher. | |
12158 | (expand_symtabs_matching_via_partial): Update to use | |
12159 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
12160 | Arg name_matcher renamed to symbol_matcher. | |
12161 | ||
540c2971 DE |
12162 | 2014-01-14 Doug Evans <dje@google.com> |
12163 | ||
12164 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
12165 | (map_partial_symbol_filenames): Ditto. | |
12166 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
12167 | (map_partial_symbol_filenames): Ditto. | |
12168 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
12169 | (map_partial_symbol_filenames): Ditto. | |
12170 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
12171 | (map_partial_symbol_filenames): Ditto. | |
12172 | * symtab.c: Delete #include "psymtab.h". | |
12173 | ||
8213266a PA |
12174 | 2014-01-14 Pedro Alves <palves@redhat.com> |
12175 | Tom Tromey <tromey@redhat.com> | |
12176 | ||
12177 | * infrun.c (use_displaced_stepping): Use find_record_target | |
12178 | instead of RECORD_IS_USED. | |
12179 | (adjust_pc_after_break): Use record_full_is_used instead of | |
12180 | RECORD_IS_USED. | |
12181 | * record-btrace.c (record_btrace_open): Call record_preopen | |
12182 | instead of checking RECORD_IS_USED. | |
12183 | * record-full.c (record_full_shortname) | |
12184 | (record_full_core_shortname): New globals. | |
12185 | (record_full_is_used): New function. | |
12186 | (find_full_open): Call record_preopen instead of checking | |
12187 | RECORD_IS_USED. | |
12188 | (init_record_full_ops): Set the target's shortname to | |
12189 | record_full_shortname. | |
12190 | (init_record_full_core_ops): Set the target's shortname to | |
12191 | record_full_core_shortname. | |
12192 | * record-full.h (record_full_is_used): Declare. | |
12193 | * record.c (find_record_target): Make extern. | |
12194 | (record_preopen): New function. | |
12195 | * record.h (RECORD_IS_USED): Delete macro. | |
12196 | (find_record_target, record_preopen): Declare functions. | |
12197 | ||
7ec1862d YQ |
12198 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
12199 | ||
12200 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
12201 | 'len''s type to ULONGEST. | |
12202 | (core_xfer_shared_libraries_aix): Likewise. | |
12203 | * gdbarch.c, gdbarch.h: Regenerated. | |
12204 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
12205 | Change type of 'len' to ULONGEST. | |
12206 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
12207 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
12208 | ||
dea80a27 YQ |
12209 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
12210 | ||
12211 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
12212 | type of 'len' to ULONGEST. | |
12213 | (linux_xfer_osdata_processgroups): Likewise. | |
12214 | (linux_xfer_osdata_threads): Likewise. | |
12215 | (linux_xfer_osdata_fds): Likewise. | |
12216 | (linux_xfer_osdata_isockets): Likewise. | |
12217 | (linux_xfer_osdata_shm): Likewise. | |
12218 | (linux_xfer_osdata_sem): Likewise. | |
12219 | (linux_xfer_osdata_msg): Likewise. | |
12220 | (linux_common_xfer_osdata): Likewise. | |
12221 | (struct osdata_type) <getter>: Likewise. | |
12222 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
12223 | the declaration. | |
12224 | ||
b55e14c7 YQ |
12225 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
12226 | ||
12227 | * target.h (target_xfer_partial_ftype): Update. | |
12228 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
12229 | ULONGEST. | |
12230 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
12231 | argument 'len' to ULONGEST. | |
12232 | * auxv.c (procfs_xfer_auxv): Likewise. | |
12233 | (ld_so_xfer_auxv): Likewise. | |
12234 | (memory_xfer_auxv): Likewise. | |
12235 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
12236 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
12237 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
12238 | * corelow.c (core_xfer_partial): Likewise. | |
12239 | * ctf.c (ctf_xfer_partial): Likewise. | |
12240 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
12241 | '%u'. | |
12242 | (darwin_read_dyld_info): Likewise. | |
12243 | (darwin_xfer_partial): Likewise. | |
12244 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
12245 | (exec_xfer_partial): Likewise. | |
12246 | * exec.h (section_table_xfer_memory_partial): Update | |
12247 | declaration. | |
12248 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
12249 | instead of plongest. | |
12250 | (gnu_xfer_partial): Likewise. | |
12251 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
12252 | (ia64_hpux_xfer_solib_got): Likewise. | |
12253 | (ia64_hpux_xfer_partial): Likewise. | |
12254 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
12255 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
12256 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
12257 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
12258 | (linux_nat_xfer_partial): Likewise. | |
12259 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
12260 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
12261 | * monitor.c (monitor_xfer_memory): Likewise. | |
12262 | (monitor_xfer_partial): Likewise. | |
12263 | * procfs.c (procfs_xfer_partial): Likewise. | |
12264 | * record-full.c (record_full_xfer_partial): Likewise. | |
12265 | (record_full_core_xfer_partial): Likewise. | |
12266 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
12267 | instead of plongest. | |
12268 | (gdbsim_xfer_partial): Likewise. | |
12269 | * remote.c (remote_xfer_partial): Likewise. | |
12270 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
12271 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
12272 | declaration. | |
12273 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
12274 | (rs6000_xfer_shared_libraries): Likewise. | |
12275 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
12276 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
12277 | (sparc_xfer_partial): Likewise. | |
12278 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
12279 | (spu_xfer_partial): Likewise. | |
12280 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
12281 | * target.c (target_read_live_memory): Likewise. | |
12282 | (memory_xfer_live_readonly_partial): Likewise. | |
12283 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
12284 | (target_xfer_partial, default_xfer_partial): Likewise. | |
12285 | (current_xfer_partial): Likewise. | |
12286 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
12287 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
12288 | pulongest instead of plongest. | |
12289 | (windows_xfer_partial): Likewise. | |
12290 | (windows_xfer_shared_libraries): Likewise. | |
12291 | ||
05804640 YQ |
12292 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
12293 | ||
12294 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
12295 | target_xfer_partial_ftype. | |
12296 | ||
b5b08fb4 SC |
12297 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
12298 | ||
12299 | PR python/15464 | |
12300 | PR python/16113 | |
12301 | * valops.c (value_struct_elt_bitpos): New function | |
12302 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
12303 | object to 'None' if the field name is an empty string (""). | |
12304 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
12305 | attribute to look for a field when 'name' is 'None'. | |
12306 | (get_field_type): New function | |
12307 | ||
13aaf454 DE |
12308 | 2014-01-13 Doug Evans <dje@google.com> |
12309 | ||
12310 | PR symtab/16426 | |
12311 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
12312 | (try_open_dwop_file): Ditto. | |
12313 | * gdb_bfd.c: #include "vec.h". | |
12314 | (bfdp): New typedef. | |
12315 | (struct gdb_bfd_data): New member included_bfds. | |
12316 | (gdb_bfd_unref): Unref all included bfds. | |
12317 | (gdb_bfd_record_inclusion): New function. | |
12318 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
12319 | ||
c2cec97c TT |
12320 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12321 | ||
12322 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
12323 | ||
78e5999d TT |
12324 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12325 | ||
12326 | * defs.h (use_windows): Remove. | |
12327 | * gdb.c (main): Update. | |
12328 | * main.c (captured_main, gdb_main): Update. | |
12329 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
12330 | * top.c (use_windows): Remove. | |
12331 | ||
f2052bbe TT |
12332 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12333 | ||
12334 | * defs.h (deprecated_flush_hook): Remove. | |
12335 | ||
fde4f8ed JK |
12336 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
12337 | ||
12338 | PR threads/16216 | |
12339 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
12340 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
12341 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
12342 | (try_thread_db_load_from_sdir): Update caller. | |
12343 | (try_thread_db_load_from_dir): Move it there from here. | |
12344 | ||
bdf61915 PP |
12345 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
12346 | ||
12347 | * regformats/regdat.sh: Always rewrite the register file. | |
12348 | ||
f71e1a8d PA |
12349 | 2014-01-13 Pedro Alves <palves@redhat.com> |
12350 | ||
12351 | * Makefile.in (CHECK_HEADERS): New variable. | |
12352 | (check-headers:): New rule. | |
12353 | ||
42c85435 TT |
12354 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12355 | ||
12356 | * cli/cli-setshow.c (do_set_command): Update. | |
12357 | * defs.h (deprecated_set_hook): Remove. | |
12358 | * top.c (deprecated_set_hook): Remove. | |
12359 | ||
f8de5129 PA |
12360 | 2014-01-13 Pedro Alves <palves@redhat.com> |
12361 | ||
12362 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
12363 | the tracepoint if the PC is a pseudo-register. | |
12364 | ||
fc270c35 TT |
12365 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12366 | ||
12367 | * defs.h (XCALLOC): Remove. | |
12368 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
12369 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
12370 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
12371 | * elfread.c (elf_symfile_segments): Likewise. | |
12372 | (elf_symfile_segments): Likewise. | |
12373 | * gdbtypes.c (copy_type_recursive): Likewise. | |
12374 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
12375 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
12376 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
12377 | XCALLOC. | |
12378 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
12379 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
12380 | XCALLOC. | |
12381 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
12382 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
12383 | * registry.c (registry_alloc_data): Likewise. | |
12384 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
12385 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
12386 | * serial.c (serial_fdopen_ops): Likewise. | |
12387 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
12388 | XCALLOC. | |
12389 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
12390 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
12391 | not XCALLOC. | |
12392 | ||
70ba0933 TT |
12393 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12394 | ||
12395 | * defs.h (XMALLOC): Remove. | |
12396 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
12397 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
12398 | * cli-out.c (struct ui_out *): Likewise. | |
12399 | * cli/cli-dump.c (add_dump_command): Likewise. | |
12400 | (add_dump_command): Likewise. | |
12401 | * complaints.c (get_complaints): Likewise. | |
12402 | (find_complaint): Likewise. | |
12403 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
12404 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
12405 | * gdbarch.sh: Likewise. | |
12406 | * gdbarch.c: Rebuild. | |
12407 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
12408 | * interps.c (interp_new): Likewise. | |
12409 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
12410 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
12411 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
12412 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
12413 | * mi/mi-out.c (mi_out_new): Likewise. | |
12414 | * mi/mi-parse.c (mi_parse): Likewise. | |
12415 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
12416 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
12417 | * observer.c (xalloc_observer_list_node): Likewise. | |
12418 | * regcache.c (regcache_xmalloc_1): Likewise. | |
12419 | * reggroups.c (reggroup_new): Likewise. | |
12420 | (_initialize_reggroup): Likewise. | |
12421 | * registry.c (register_data_with_cleanup): Likewise. | |
12422 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
12423 | * ser-base.c (serial_ttystate): Likewise. | |
12424 | * ser-mingw.c (make_pipe_state): Likewise. | |
12425 | * ser-pipe.c (pipe_open): Likewise. | |
12426 | * serial.c (serial_open): Likewise. | |
12427 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
12428 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
12429 | (tui_alloc_win_info): Likewise. | |
12430 | (tui_add_content_elements): Likewise. | |
12431 | * tui/tui-file.c (tui_file_new): Likewise. | |
12432 | * tui/tui-out.c (tui_out_new): Likewise. | |
12433 | * ui-file.c (mem_file_new): Likewise. | |
12434 | * ui-out.c (push_level): Likewise. | |
12435 | (make_cleanup_ui_out_end): Likewise. | |
12436 | (append_header_to_list): Likewise. | |
12437 | (ui_out_new): Likewise. | |
12438 | * user-regs.c (user_reg_add_builtin): Likewise. | |
12439 | ||
41bf6aca TT |
12440 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
12441 | ||
12442 | * defs.h (XZALLOC): Remove. | |
12443 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
12444 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
12445 | (get_ada_tasks_inferior_data): Likewise. | |
12446 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
12447 | * auxv.c (get_auxv_inferior_data): Likewise. | |
12448 | * bfd-target.c (target_bfd_reopen): Likewise. | |
12449 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
12450 | (deprecated_insert_raw_breakpoint): Likewise. | |
12451 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
12452 | * corelow.c (core_open): Likewise. | |
12453 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
12454 | (darwin_attach_pid): Likewise. | |
12455 | * dummy-frame.c (dummy_frame_push): Likewise. | |
12456 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
12457 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
12458 | * elfread.c (elf_symfile_segments): Likewise. | |
12459 | * eval.c (ptrmath_type_p): Likewise. | |
12460 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
12461 | * gdbtypes.c (alloc_type_arch): Likewise. | |
12462 | (alloc_type_instance): Likewise. | |
12463 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
12464 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
12465 | * inflow.c (get_inflow_inferior_data): Likewise. | |
12466 | * infrun.c (save_infcall_suspend_state): Likewise. | |
12467 | * jit.c (jit_reader_load): Likewise. | |
12468 | (get_jit_objfile_data): Likewise. | |
12469 | (get_jit_program_space_data): Likewise. | |
12470 | (jit_object_open_impl): Likewise. | |
12471 | (jit_symtab_open_impl): Likewise. | |
12472 | (jit_block_open_impl): Likewise. | |
12473 | (jit_frame_sniffer): Likewise. | |
12474 | * linux-fork.c (add_fork): Likewise. | |
12475 | * maint.c (make_command_stats_cleanup): Likewise. | |
12476 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
12477 | * opencl-lang.c (struct lval_closure): Likewise. | |
12478 | * osdata.c (osdata_start_osdata): Likewise. | |
12479 | * progspace.c (new_address_space): Likewise. | |
12480 | (add_program_space): Likewise. | |
12481 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
12482 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
12483 | * skip.c (Ignore): Likewise. | |
12484 | (skip_delete_command): Likewise. | |
12485 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
12486 | (library_list_start_library): Likewise. | |
12487 | (solib_aix_current_sos): Likewise. | |
12488 | * solib-darwin.c (get_darwin_info): Likewise. | |
12489 | (darwin_current_sos): Likewise. | |
12490 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
12491 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
12492 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
12493 | * solib-spu.c (append_ocl_sos): Likewise. | |
12494 | (spu_current_sos): Likewise. | |
12495 | * solib-svr4.c (get_svr4_info): Likewise. | |
12496 | (svr4_keep_data_in_core): Likewise. | |
12497 | (library_list_start_library): Likewise. | |
12498 | (svr4_default_sos): Likewise. | |
12499 | (svr4_read_so_list): Likewise. | |
12500 | * solib-target.c (library_list_start_library): Likewise. | |
12501 | (solib_target_current_sos): Likewise. | |
12502 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
12503 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
12504 | * symfile.c (default_symfile_segments): Likewise. | |
12505 | * target-descriptions.c (tdesc_data_init): Likewise. | |
12506 | (tdesc_create_reg): Likewise. | |
12507 | (struct tdesc_type *): Likewise. | |
12508 | (tdesc_create_vector): Likewise. | |
12509 | (tdesc_set_struct_size): Likewise. | |
12510 | (struct tdesc_type *): Likewise. | |
12511 | (tdesc_free_feature): Likewise. | |
12512 | (tdesc_create_feature): Likewise. | |
12513 | * windows-nat.c (windows_add_thread): Likewise. | |
12514 | (windows_make_so): Likewise. | |
12515 | * xml-support.c (gdb_xml_body_text): Likewise. | |
12516 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
12517 | (xml_process_xincludes): Likewise. | |
12518 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
12519 | (syscall_create_syscall_desc): Likewise. | |
12520 | ||
5acfdbae SDJ |
12521 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
12522 | ||
12523 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
12524 | function, with code from i386_stap_parse_special_token. | |
12525 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
12526 | (i386_stap_parse_special_token): Move code to the two functions | |
12527 | above; simplify it. | |
12528 | ||
0000e5cc PA |
12529 | 2014-01-09 Pedro Alves <palves@redhat.com> |
12530 | Hui Zhu <hui@codesourcery.com> | |
12531 | ||
12532 | PR gdb/16101 | |
12533 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
12534 | bp_err_string. Don't mark the location shlib_disabled if the | |
12535 | error thrown wasn't a generic or memory error. Catch errors | |
12536 | thrown while inserting breakpoints in overlayed code. Output | |
12537 | error message of software breakpoints. | |
12538 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
12539 | target-side commands but this stub doesn't support Z0 packets, | |
12540 | throw NOT_SUPPORTED_ERROR error. | |
12541 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
12542 | * target.h (target_insert_breakpoint): Extend comment. | |
12543 | (target_insert_hw_breakpoint): Add comment. | |
12544 | ||
b7ea362b PA |
12545 | 2014-01-08 Pedro Alves <palves@redhat.com> |
12546 | ||
12547 | * remote.c (remote_add_thread): Add threads silently if starting | |
12548 | up. | |
12549 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
12550 | don't call notice_new_inferior. | |
12551 | (get_current_thread): New function, factored out from ... | |
12552 | (add_current_inferior_and_thread): ... this. Adjust. | |
12553 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
12554 | found any thread, then select the remote's current thread as GDB's | |
12555 | current thread too. | |
12556 | ||
b7bba001 JB |
12557 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
12558 | ||
12559 | * NEWS: Create a new section for the next release branch. | |
12560 | Rename the section of the current branch, now that it has | |
12561 | been cut. | |
12562 | ||
16dfbded JB |
12563 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
12564 | ||
12565 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
12566 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
12567 | ||
22c90ac1 YQ |
12568 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
12569 | ||
12570 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
12571 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
12572 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
12573 | ||
d64ad97c YQ |
12574 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
12575 | ||
12576 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
12577 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
12578 | ||
f93ba80c PM |
12579 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
12580 | ||
12581 | Fix PR16201. | |
12582 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
12583 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
12584 | to prim_record_mininal_symbol_and_info. | |
12585 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
12586 | in call to prim_record_minimal_symbol_and_info. | |
12587 | (read_pe_exported_syms): Set index field of section_data. | |
12588 | ||
a4d9ba85 AP |
12589 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
12590 | ||
12591 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
12592 | * features/aarch64.c: Regenerate. | |
12593 | ||
1b67eb02 AS |
12594 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
12595 | ||
12596 | * target.c (return_null): Define. | |
12597 | (update_current_target): Use it instead of return_zero for | |
12598 | functions that return a pointer. | |
12599 | ||
5e3f4fab EBM |
12600 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
12601 | ||
12602 | * source.c (add_path): Fix check for duplicated paths in the previously | |
12603 | included paths. | |
12604 | ||
e2616788 HK |
12605 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
12606 | ||
12607 | * ada-lang.c: Remove duplicated include statements. | |
12608 | * alphabsd-nat.c: Ditto. | |
12609 | * amd64-darwin-tdep.c: Ditto. | |
12610 | * amd64fbsd-nat.c: Ditto. | |
12611 | * auto-load.c: Ditto. | |
12612 | * ax-gdb.c: Ditto. | |
12613 | * breakpoint.c: Ditto. | |
12614 | * dbxread.c: Ditto. | |
12615 | * fork-child.c: Ditto. | |
12616 | * gdb_usleep.c: Ditto. | |
12617 | * i386-darwin-tdep.c: Ditto. | |
12618 | * i386fbsd-nat.c: Ditto. | |
12619 | * infcmd.c: Ditto. | |
12620 | * inferior.c: Ditto. | |
12621 | * jv-lang.c: Ditto. | |
12622 | * linux-nat.c: Ditto. | |
12623 | * linux-tdep.c: Ditto. | |
12624 | * m68kbsd-nat.c: Ditto. | |
12625 | * m68klinux-nat.c: Ditto. | |
12626 | * microblaze-tdep.c: Ditto. | |
12627 | * mips-linux-tdep.c: Ditto. | |
12628 | * mn10300-tdep.c: Ditto. | |
12629 | * nto-tdep.c: Ditto. | |
12630 | * opencl-lang.c: Ditto. | |
12631 | * osdata.c: Ditto. | |
12632 | * printcmd.c: Ditto. | |
12633 | * regcache.c: Ditto. | |
12634 | * remote-m32r-sdi.c: Ditto. | |
12635 | * remote.c: Ditto. | |
12636 | * symfile.c: Ditto. | |
12637 | * symtab.c: Ditto. | |
12638 | * tilegx-linux-nat.c: Ditto. | |
12639 | * tilegx-tdep.c: Ditto. | |
12640 | * tracepoint.c: Ditto. | |
12641 | * valops.c: Ditto. | |
12642 | * vaxbsd-nat.c: Ditto. | |
12643 | * windows-nat.c: Ditto. | |
12644 | * xtensa-tdep.c: Ditto. | |
12645 | ||
bd1f7788 YQ |
12646 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12647 | ||
12648 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
12649 | ||
79301218 JB |
12650 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12651 | Joel Brobecker <brobecker@adacore.com> | |
12652 | ||
12653 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
12654 | (pdc_write_regs): Likewise. | |
12655 | (fetch_regs_kernel_thread): Likewise. | |
12656 | (store_regs_kernel_thread): Likewise. | |
12657 | ||
12658 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
12659 | ||
12660 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
12661 | tagged type objects to their actual type. | |
12662 | ||
8e355c5d JB |
12663 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12664 | ||
12665 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
12666 | Update calls to print_field_values and print_variant_part. | |
12667 | Pass new parameter "language" in call to val_print instead | |
12668 | of "current_language". Replace call to ada_val_print by call | |
12669 | to val_print. | |
12670 | (print_variant_part): Add "language" parameter. | |
12671 | (ada_val_print_struct_union): Update call to print_field_values. | |
12672 | ||
4fbf5aa5 JB |
12673 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12674 | ||
12675 | * ada-valprint.c (ui_memcpy): Delete. | |
12676 | (ada_print_floating): Update documentation. Add empty line | |
12677 | between between function documentation and implementation. | |
12678 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
12679 | ui_file_put. Minor adjustments following this change. | |
12680 | ||
71855601 JB |
12681 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12682 | ||
12683 | * ada-valprint.c (ada_val_print_string): New function, | |
12684 | extracted from ada_val_print_array. | |
12685 | (ada_val_print_array): Replace extracted code by call | |
12686 | to ada_val_print_string followed by a return. Move | |
12687 | "else" branch to the function's top block. | |
12688 | ||
4eb27a30 JB |
12689 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12690 | ||
12691 | * ada-valprint.c (ada_val_print_array): Move implementation | |
12692 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
12693 | and "original_value" respectively. Add parameter "offset". | |
12694 | ||
34b27950 JB |
12695 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12696 | ||
12697 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
12698 | re-organizing the code. Change the "???" message printed | |
12699 | when target type is a TYPE_CODE_UNDEF into | |
12700 | "<ref to undefined type>". | |
12701 | ||
079e4591 JB |
12702 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12703 | ||
12704 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
12705 | (ada_val_print_struct_union): ... here. Remove call to | |
12706 | ada_check_typedef in inlined implementation. | |
12707 | ||
8004dfd1 JB |
12708 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12709 | ||
12710 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
12711 | extracted from ada_val_print_1; | |
12712 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
12713 | (ada_val_print_flt, ada_val_print_struct_union) | |
12714 | (ada_val_print_ref): Likewise. | |
12715 | (ada_val_print_1): Delete variables i and elttype. | |
12716 | Replace extracted-out code by call to corresponding | |
12717 | new functions. | |
12718 | ||
760a2db0 JB |
12719 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12720 | ||
12721 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
12722 | ||
3a92c861 JB |
12723 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12724 | ||
12725 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
12726 | ada_val_print_1 by calls to val_print. | |
12727 | ||
cd1630f9 JB |
12728 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12729 | ||
12730 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
12731 | Update calls to self accordingly. Replace calls to c_val_print | |
12732 | by calls to val_print. | |
12733 | ||
bdf779a0 JB |
12734 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12735 | ||
12736 | * ada-valprint.c (print_record): Delete declaration. | |
12737 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
12738 | (ada_val_print): Move function implementation down. | |
12739 | (print_variant_part, print_field_values, print_record): | |
12740 | Move function implementation up. | |
12741 | ||
c0d48811 JB |
12742 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
12743 | ||
12744 | * python/py-type.c (typy_get_name): New function. | |
12745 | (type_object_getset): Add entry for attribute "name". | |
12746 | * NEWS: Add entry mentioning this new attribute. | |
12747 | ||
c26e9cbb YQ |
12748 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12749 | ||
12750 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
12751 | statement. | |
12752 | ||
0cc6f43d YQ |
12753 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12754 | ||
12755 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
12756 | argument args. | |
12757 | ||
eec03155 YQ |
12758 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12759 | ||
12760 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
12761 | ||
f04a82ef YQ |
12762 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12763 | ||
12764 | * gnu-nat.c (make_inf) Update declaration. | |
12765 | (make_inf): Make it static. | |
12766 | (inf_set_traced): Likewise. | |
12767 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
12768 | ||
d57dda0a YQ |
12769 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12770 | ||
12771 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
12772 | ||
3aa8c969 YQ |
12773 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12774 | ||
12775 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
12776 | ||
94123b4f YQ |
12777 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
12778 | ||
12779 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
12780 | 'enum bfd_endian'. | |
12781 | (struct gdbarch_info) <byte_order>: Change type to | |
12782 | 'enum bfd_endian'. | |
12783 | <byte_order_for_code>: Likewise. | |
12784 | * gdbarch.c, gdbarch.h: Regenerated. | |
12785 | ||
dc81d70a TT |
12786 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
12787 | ||
12788 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
12789 | ||
cc2f3c35 TT |
12790 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
12791 | ||
12792 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
12793 | CONST. | |
12794 | * somread.c (som_symtab_read): Likewise. | |
12795 | ||
adcf2eed HZ |
12796 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
12797 | ||
12798 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
12799 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
12800 | (gdb_bfd_fopen): Ditto. | |
12801 | (gdb_bfd_openr): Ditto. | |
12802 | (gdb_bfd_openw): Ditto. | |
12803 | (gdb_bfd_openr_iovec): Ditto. | |
12804 | (gdb_bfd_fdopenr): Ditto. | |
12805 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
12806 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
12807 | with xstrdup. | |
12808 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
12809 | with xstrdup. | |
12810 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
12811 | gdb_bfd_stash_filename. | |
12812 | ||
50722198 DE |
12813 | 2014-01-03 Doug Evans <dje@google.com> |
12814 | ||
12815 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
12816 | output. | |
12817 | ||
2fa4b862 JB |
12818 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
12819 | ||
12820 | Update year range in copyright notice of all files. | |
12821 | ||
28498c42 JB |
12822 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
12823 | ||
12824 | * top.c (print_gdb_version): Set copyright year to 2014. | |
12825 | ||
7b6e1046 JB |
12826 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
12827 | ||
12828 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
12829 | ||
df96af55 | 12830 | For older changes see ChangeLog-2013. |
c906108c SS |
12831 | \f |
12832 | Local Variables: | |
12833 | mode: change-log | |
12834 | left-margin: 8 | |
12835 | fill-column: 74 | |
12836 | version-control: never | |
57da7796 | 12837 | coding: utf-8 |
c906108c | 12838 | End: |