]> Git Repo - binutils.git/blame - gdb/ChangeLog
Change x32 LIBPATH_SUFFIX to x32.
[binutils.git] / gdb / ChangeLog
CommitLineData
a0c78a73
PA
12011-02-16 Tom Tromey <[email protected]>
2
3 * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other
4 than axs_rvalue.
5
a42244db
YQ
62011-02-16 Yao Qi <yao@qiyaows>
7
8 * infrun.c (get_displaced_step_closure_by_addr): New.
9 * inferior.h: Declare it.
10 * arm-tdep.c: (arm_pc_is_thumb): Call
11 get_displaced_step_closure_by_addr. Adjust MEMADDR if it
12 returns non-NULL.
13
08807d5a
PA
142011-02-16 Pedro Alves <[email protected]>
15 Jan Kratochvil <[email protected]>
16
17 gdb/
18 * tracepoint.c (memrange_sortmerge): Fix list A's end calculation.
19
29976f3f
PA
202011-02-16 Pedro Alves <[email protected]>
21 Jan Kratochvil <[email protected]>
22
23 * value.c (value_contents_copy_raw): Extend describing comment.
24 Assert that the destination contents we're overwriting are wholly
25 available.
fb68ae73 26 (value_contents_copy): Extend describing comment.
29976f3f 27
cd24cfaa
PA
282011-02-16 Pedro Alves <[email protected]>
29 Jan Kratochvil <[email protected]>
30
31 * value.c (value_available_contents_eq): Remove redundant local
32 variables. Fix available contents comparision.
33 * value.h (value_available_contents_eq): Extend describing
34 comment.
35
60bbf338
YQ
362011-02-16 Yao Qi <[email protected]>
37
38 * thread.c (info_threads_command): Add missing i18n markup and remove
39 trailing newline.
40
17450429
PP
412011-02-15 Paul Pluzhnikov <[email protected]>
42
43 * breakpoint.c (longjmp_names): New variable.
44 (struct breakpoint_objfile_data): New type.
45 (breakpoint_objfile_key): New variable.
46 (msym_not_found): New variable.
47 (msym_not_found_p): New predicate.
48 (get_breakpoint_objfile_data): New function.
49 (create_overlay_event_breakpoint): Check per-objfile cache for
50 symbols first.
51 (create_longjmp_master_breakpoint): Likewise.
52 (create_std_terminate_master_breakpoint): Likewise.
53 (create_exception_master_breakpoint): Likewise.
54 (_initialize_breakpoint): Register per-objfile data key.
55
af02033e
PP
562011-02-15 Paul Pluzhnikov <[email protected]>
57
58 * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate
59 parameter value.
60 (create_longjmp_master_breakpoint): Loop over longjmp names.
61 (create_std_terminate_master_breakpoint): Const-propagate parameter
62 value.
63 (update_breakpoints_after_exec): Adjust.
64 (breakpoint_re_set): Adjust.
65
60f98dde
MS
662011-02-15 Michael Snyder <[email protected]>
67
cdf99611
MS
68 * thread.c (info_threads_command): Process arg as thread id,
69 or list of thread ids.
70 (thread_find_command): New command.
71 (_initialize_thread): Document argument for info threads.
72 Document 'thread find' command.
73 * NEWS: Document new command "thread find".
60f98dde 74
0feedb2c
JK
752011-02-15 Jan Kratochvil <[email protected]>
76
77 * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'.
78 * aclocal.m4: Regenerated with aclocal-1.11.1.
79 * common/configure: Regenerate with autoconf-2.64.
80
648cd113
KW
812011-02-15 Ken Werner <[email protected]>
82
83 * opencl-lang.c (build_opencl_types): Set the size of the built-in
84 bool data type to a size of one byte.
85
5657161f
PA
862011-02-15 Pedro Alves <[email protected]>
87 Jan Kratochvil <[email protected]>
88
89 * target.c (memory_xfer_live_readonly_partial): Document where to
90 look for interface description.
91
494e194e
YQ
922011-02-15 Yao Qi <[email protected]>
93
94 PR tdep/12352
95 * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in
96 order to store PC value on stack instead of text section.
97
d9492458
TJB
982011-02-15 Thiago Jung Bauermann <[email protected]>
99
100 * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for
101 the EFP register set size.
102 (efpr_pseudo_register_read): Use regcache_raw_read_part to read
103 data from the VMX register.
104 (efpr_pseudo_register_write): Use regcache_raw_write_part to read
105 and write data from/to the VMX register.
106
cdf99611
MS
1072011-02-14 Michael Snyder <[email protected]>
108
109 * command.h (enum command_class): New class 'no_set_class', for
110 "show" commands without a corresponding "set" command.
111 * value.c (_initialize_values): Use 'no_set_class' for "show values".
112 * copying.c (_initialize_copying): Ditto for "show copying" and
113 "show warranty".
114 * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and
115 "show version".
116 * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for
117 which there is no corresponding "set" command (eg. "show copying").
118
424447ee
PA
1192011-02-14 Pedro Alves <[email protected]>
120 Jan Kratochvil <[email protected]>
121
122 * exec.c (section_table_available_memory): Change `len' parameter
123 type to ULONGEST.
124 * exec.h (section_table_available_memory): Ditto.
125 * value.h (read_value_memory): Rename the `offset' parameter to
126 `embedded_offset'.
127
c0f61f9c 1282011-02-14 Pedro Alves <[email protected]>
e0ccc0c7 129 Jan Kratochvil <[email protected]>
c0f61f9c
PA
130
131 * memrange.c (compare_mem_ranges): Mention sort order in
132 describing comment.
133 (normalize_mem_ranges): Add comment. Fix ra->length calculation.
134 * tracepoint.c (traceframe_available_memory): Extend comment to
135 mention what happens to RESULT when the target does not support
136 the query.
137
6bfc80c7
PA
1382011-02-14 Pedro Alves <[email protected]>
139 Jan Kratochvil <[email protected]>
140
141 * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
142 range.
143
e7303042
PA
1442011-02-14 Pedro Alves <[email protected]>
145
146 * value.c (value_bits_valid, value_bits_synthetic_pointer):
147 No longer handle NULL values.
148
8af8e3bc
PA
1492011-02-14 Pedro Alves <[email protected]>
150
151 * exceptions.h (NOT_AVAILABLE_ERROR): New error.
152 * value.c: Include "exceptions.h".
153 (require_available): Throw NOT_AVAILABLE_ERROR instead of a
154 generic error.
155 * cp-abi.c: Include gdb_assert.h.
156 (baseclass_offset): Add `embedded_offset' and `val' parameters.
157 Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR
158 errors.
159 * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
160 parameters. No longer returns -1 on error.
161 (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
162 `val' parameters.
163 * cp-valprint.c: Include exceptions.h.
164 (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
165 the baseclass_offset. Handle unavailable base classes. Use
166 val_print_invalid_address.
167 * p-valprint.c: Include exceptions.h.
168 (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
169 when fetching the baseclass_offset. No longer expect
170 baseclass_offset returning -1. Handle unavailable base classes.
171 Use val_print_invalid_address.
172 * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
173 `valaddr' parameter, and change its type to gdb_byte pointer. Add
174 `embedded_offset' and `val' parameters. Adjust.
175 (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
176 parameter, and change its type to gdb_byte pointer. Add
177 `embedded_offset' and `val' parameters. Adjust. No longer expect
178 baseclass_offset returning -1.
179 (value_dynamic_cast): Use value_contents_for_printing rather than
180 value_contents. Adjust.
181 (search_struct_field): No longer expect baseclass_offset returning
182 -1.
183 (search_struct_method): If reading memory from the target is
184 necessary, wrap it in a new value to pass to baseclass_offset. No
185 longer expect baseclass_offset returning -1.
186 (find_method_list): No longer expect baseclass_offset returning
187 -1. Use value_contents_for_printing rather than value_contents.
188 * valprint.c (val_print_invalid_address): New function.
189 * valprint.h (val_print_invalid_address): Declare.
190 * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
191 and `val' parameters. No longer expect baseclass_offset returning
192 -1. Adjust.
193 * gnu-v2-abi.c: Include "exceptions.h".
194 (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
195 parameters. Handle unavailable memory. Recurse through
196 gnuv2_baseclass_offset directly, rather than through
197 baseclass_offset. No longer returns -1 on not found, instead
198 throw an error.
199 * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
200 `val' parameters. Adjust.
201
1b28d0b3
PA
2022011-02-14 Pedro Alves <[email protected]>
203
204 * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
205 almost but not quite adjacent.
206
ec0a52e1
PA
2072011-02-14 Pedro Alves <[email protected]>
208
209 * value.h (value_entirely_available): Declare.
210 * value.c (value_entirely_available): New function.
211 * c-valprint.c (c_value_print): Don't try fetching the pointer's
212 real type if the pointer is unavailable.
213
24e6bcee
PA
2142011-02-14 Pedro Alves <[email protected]>
215
216 * valops.c (value_repeat): Use read_value_memory instead of
217 read_memory.
218
39d37385
PA
2192011-02-14 Pedro Alves <[email protected]>
220
221 * value.h (value_contents_copy, value_contents_copy_raw): Declare.
222 * value.c (value_contents_copy_raw, value_contents_copy): New
223 functions.
224 (value_primitive_field): Use value_contents_copy_raw instead of
225 memcpy.
226 * valops.c (value_fetch_lazy): Use value_contents_copy instead of
227 memcpy.
228 (value_array, value_slice): Ditto.
229 * valarith.c (value_subscripted_rvalue): Use
230 value_contents_copy_raw instead of memcpy.
231
a3d34bf4
PA
2322011-02-14 Pedro Alves <[email protected]>
233
234 <unavailable> references.
235
236 * valops.c (get_value_at): Use value_from_contents_and_address,
237 avoiding read_memory.
238
9fc6d940
PA
2392011-02-14 Pedro Alves <[email protected]>
240
241 * c-valprint.c (c_val_print): Print a string with unavailable
242 contents as an array.
243
5467c6c8
PA
2442011-02-14 Pedro Alves <[email protected]>
245
246 * value.h (unpack_bits_as_long): Delete declaration.
247 (unpack_value_bits_as_long): Declare.
248 (unpack_value_field_as_long): Declare.
249 (value_field_bitfield): Declare.
250 * value.c (unpack_bits_as_long): Rename to...
251 (unpack_value_bits_as_long_1): ... this. Add embedded_offset and
252 value parameters. Return the extracted result in a new output
253 parameter. If the value contents are unavailable, return false,
254 otherwise return true.
255 (unpack_value_bits_as_long): New.
256 (unpack_field_as_long): Rename to...
257 (unpack_value_field_as_long_1): ... this. Add embedded_offset and
258 Add embedded_offset and value parameters. Return the extracted
259 result in a new output parameter. If the value contents are
260 unavailable, return false, otherwise return true.
261 (unpack_value_field_as_long): New.
262 (unpack_field_as_long_1): New.
263 (unpack_field_as_long): Reimplement as wrapper around
264 unpack_value_field_as_long_1.
265 (value_field_bitfield): New function.
266 * valops.c (value_fetch_lazy): When fetching a bitfield, use
267 unpack_value_bits_as_long. Mark the value as unavailable, if it
268 is unavailable.
269 * jv-valprint.c (java_print_value_fields): Use
270 value_field_bitfield.
271 * p-valprint.c (pascal_object_print_value_fields): Use
272 value_field_bitfield.
273 * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
274
3158c6ed
PA
2752011-02-14 Pedro Alves <[email protected]>
276
277 * value.c (get_internalvar_integer): Also return the int value of
278 TYPE_CODE_INT INTERNALVAR_VALUE values.
279 (set_internalvar): Don't special case TYPE_CODE_INT.
280
9fbdca0d
PA
2812011-02-14 Pedro Alves <[email protected]>
282
283 * value.c (struct internalvar) <enum internalvar_kind>: Remove
284 INTERNALVAR_POINTER.
285 <pointer>: Delete.
286 (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
287 (set_internalvar): Remove special TYPE_CODE_PTR handling.
288 (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
289
c8c1c22f
PA
2902011-02-14 Pedro Alves <[email protected]>
291
292 * value.h (value_available_contents_eq): Declare.
293 * value.c (find_first_range_overlap): New function.
294 (value_available_contents_eq): New function.
295 * valprint.c (val_print_array_elements): Use
296 value_available_contents_eq.
297 * ada-valprint.c (val_print_packed_array_elements): Use
298 value_available_contents_eq.
299 * jv-valprint.c (java_value_print): Use
300 value_available_contents_eq.
301
e6e4e701
PA
3022011-02-14 Pedro Alves <[email protected]>
303
304 * target.c (target_read_live_memory): New function.
305 (memory_xfer_live_readonly_partial): New.
306 (memory_xfer_partial): If reading from a traceframe, fallback to
307 reading unavailable read-only memory from read-only regions of
308 live target memory.
309 * tracepoint.c (disconnect_tracing): Adjust.
310 (set_current_traceframe): New, factored out from
311 set_traceframe_number.
312 (set_traceframe_number): Reimplement to only change the traceframe
313 number on the GDB side.
314 (do_restore_current_traceframe_cleanup): Adjust.
315 (make_cleanup_restore_traceframe_number): New.
316 (cur_traceframe_number): New global.
317 (tfile_open): Set cur_traceframe_number to no traceframe.
318 (set_tfile_traceframe): New function.
319 (tfile_trace_find): If looking up a traceframe using any method
320 other than by number, make sure the current tfile traceframe
321 matches gdb's current traceframe. Update the current tfile
322 traceframe if the lookup succeeded.
323 (tfile_fetch_registers, tfile_xfer_partial)
324 (tfile_get_trace_state_variable_value): Make sure the remote
325 traceframe matches gdb's current traceframe.
326 * remote.c (remote_traceframe_number): New global.
327 (remote_open_1): Set it to -1.
328 (set_remote_traceframe): New function.
329 (remote_fetch_registers, remote_store_registers)
330 (remote_xfer_memory, remote_xfer_partial)
331 (remote_get_trace_state_variable_value): Make sure the remote
332 traceframe matches gdb's current traceframe.
333 (remote_trace_find): If looking up a traceframe using any method
334 other than by number, make sure the current remote traceframe
335 matches gdb's current traceframe. Update the current remote
336 traceframe if the lookup succeeded.
337 * infrun.c (fetch_inferior_event): Adjust.
338 * tracepoint.h (set_current_traceframe): Declare.
339 (get_traceframe_number, set_traceframe_number): Add describing
340 comments.
341
e6ca34fc
PA
3422011-02-14 Pedro Alves <[email protected]>
343
344 Mark pieces of values as unavailable if the corresponding memory
345 is unavailable.
346
347 * valops.c: Include tracepoint.h.
348 (value_fetch_lazy): Use read_value_memory.
349 (read_value_memory): New.
350 * value.h (read_value_memory): Declare.
351 * dwarf2loc.c (read_pieced_value): Use read_value_memory.
352 * exec.c (section_table_available_memory): New function.
353 * exec.h (section_table_available_memory): Declare.
354
2a7498d8
PA
3552011-02-14 Pedro Alves <[email protected]>
356
357 * Makefile.in (SFILES): Add memrange.c.
358 (HFILES_NO_SRCDIR): Add memrange.h.
359 (COMMON_OBS): Add memrange.o.
360 * memrange.c: New file.
361 * memrange.h: New file.
362 * tracepoint.c: Include memrange.h.
363 (struct mem_range): Delete.
364 (mem_range_s): Delete.
365 (traceframe_available_memory): New function.
366 * tracepoint.h (traceframe_available_memory): Declare.
367
b3b9301e
PA
3682011-02-14 Pedro Alves <[email protected]>
369
370 * target.h (struct traceframe_info): Forward declare.
371 (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
372 (struct target_ops) <to_traceframe_info>: New field.
373 (target_traceframe_info): New.
374 * target.c (update_current_target): Inherit and default
375 to_traceframe_info.
376 * remote.c (PACKET_qXfer_traceframe_info): New.
377 (remote_protocol_features): Register qXfer:traceframe-info:read.
378 (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
379 (remote_traceframe_info): New.
380 (init_remote_ops): Install it.
381 (_initialize_remote): Install "set/show remote traceframe-info"
382 commands.
383 * tracepoint.h (parse_traceframe_info): Declare.
384 * tracepoint.c (struct mem_range): New.
385 (mem_range_s): New typedef.
386 (struct traceframe_info): New.
387 (traceframe_info): New global.
388 (free_traceframe_info): New function.
389 (clear_traceframe_info): New function.
390 (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
391 info.
392 (build_traceframe_info): New function.
393 (tfile_traceframe_info): New function.
394 (init_tfile_ops): Install tfile_traceframe_info.
395 (traceframe_info_start_memory, free_result): New functions.
396 (memory_attributes, traceframe_info_elements): New globals.
397 (parse_traceframe_info, get_traceframe_info): New functions.
398 * features/traceframe-info.dtd: New file.
399 * Makefile.in (XMLFILES): Add traceframe-info.dtd.
400
4e07d55f
PA
4012011-02-14 Pedro Alves <[email protected]>
402
403 Base support for <unavailable> value contents.
404
4e07d55f
PA
405 * value.h (value_bytes_available): Declare.
406 (mark_value_bytes_unavailable): Declare.
407 * value.c (struct range): New struct.
408 (range_s): New typedef.
409 (ranges_overlap): New function.
410 (range_lessthan): New function.
411 (ranges_contain_p): New function.
412 (struct value) <unavailable>: New field.
413 (value_bytes_available): New function.
414 (mark_value_bytes_unavailable): New function.
415 (require_not_optimized_out): Constify parameter.
416 (require_available): New function.
417 (value_contents_all, value_contents): Require all bytes be
418 available.
419 (value_free): Free `unavailable'.
420 (value_copy): Copy `unavailable'.
421 * valprint.h (val_print_unavailable): Declare.
422 * valprint.c (valprint_check_validity): Rename `offset' parameter
423 to `embedded_offset'. If printing a scalar, check whether the
424 value chunk is available.
425 (val_print_unavailable): New.
426 (val_print_scalar_formatted): Check whether the value is
427 available.
428 * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
429 pretty-printing unavailable values.
430
bc9a5551
JK
4312011-02-13 Jan Kratochvil <[email protected]>
432
433 Fix const/volatile qualifiers of C++ types, PR c++/12328.
434 * c-typeprint.c (c_type_print_args): Update the function comment. New
435 variable param_type, initialize it. Remove const/volatile qualifiers
436 for language_cplus and !show_artificial. Use param_type.
437
93b55aa1
JK
4382011-02-13 Jan Kratochvil <[email protected]>
439
440 * symtab.c (find_pc_sect_line): New variable objfile, initialize it
441 from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S.
442 * symtab.h (struct symtab) <next>: Comment extension.
443
181d9476
YQ
4442011-02-12 Yao Qi <[email protected]>
445
446 * Makefile.in (CLEANDIRS): Remove duplicated common dir.
447
b708a5c7
JK
4482011-02-11 Yao Qi <[email protected]>
449
450 * common/Makefile.in: Add copyright header.
451
c5187ac6
PA
4522011-02-11 Pedro Alves <[email protected]>
453
454 * infrun.c (proceed): Move switching out and in of tfind mode from
455 here ...
456 (fetch_inferior_event): ... to here.
457
4f3e6fb7
YQ
4582011-02-11 Yao Qi <[email protected]>
459
460 * Makefile.in: Remove signals.o from COMMON_OBS. Link
461 libcommon.a.
462 * configure.ac: Add common to sub dir.
463 * configure: Regenerate.
464
b708a5c7
JK
4652011-02-11 Yao Qi <[email protected]>
466
467 Build libcommon.a.
468
469 * common/Makefile.in: New.
470 * common/configure.ac: New.
471 * common/aclocal.m4: New.
472 * common/configure: Generate.
473
2287cc7e
PA
4742011-02-10 Pedro Alves <[email protected]>
475
476 * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
477 side of the parenthesis.
478
479 Merge from GCC:
480 2010-07-13 Jakub Jelinek <[email protected]>
fc013618 481 * vec.h (VEC_block_remove): Fix comment.
2287cc7e 482
fd62cb89
MS
4832011-02-08 Michael Snyder <[email protected]>
484
485 * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
486
56d2815c
JK
4872011-02-08 Jan Kratochvil <[email protected]>
488
489 * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
490 in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
491 psubd and paddd.
492
4f7d61a8
JK
4932011-02-08 Jan Kratochvil <[email protected]>
494
495 PR 12361.
496 * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
497 phsubsw.
498 (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
499 (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
500
54fcddd0
UW
5012011-02-08 Ulrich Weigand <[email protected]>
502
503 * dwarf2read.c (read_subroutine_type): Set special calling
504 convention flag for functions compiled by IBM XL C for OpenCL.
505 * ppc-sysv-tdep.c: Include "dwarf2.h"
506 (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
507 calling convention.
508 (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement
509 IBM OpenCL vector types calling convention.
510 (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
511 (ppc_sysv_abi_broken_return_value): Likewise.
512 (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
513 types calling convention.
514 (ppc64_sysv_abi_return_value): Likewise.
515 * spu-tdep.c: Include "dwarf2.h"
516 (spu_return_value): Implement IBM OpenCL vector types calling
517 convention.
518
d6dafb7c
UW
5192011-02-08 Ulrich Weigand <[email protected]>
520
521 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
522 correct ABI for AltiVec vector arguments.
523
32b72a42
PA
5242011-02-07 Pedro Alves <[email protected]>
525
526 * valprint.c (val_print): Extend comment.
527 * ada-valprint.c (ada_valprint): Rewrite comment deferring
528 interface explanation to val_print.
529 (ada_val_print_array): Adjust comment to current interface.
530 (print_field_values): Adjust comment to current interface.
531 * c-valprint.c (c_val_print): Rewrite comment deferring interface
532 explanation to val_print.
533 * f-valprint.c (f_val_print): Ditto.
534 * jv-valprint.c (java_val_print): Ditto.
535 * m2-valprint.c (m2_val_print): Ditto.
536 * p-valprint.c (pascal_val_print): Ditto.
537
9998af43
TJB
5382011-02-07 Thiago Jung Bauermann <[email protected]>
539
540 * breakpoint.c (parse_breakpoint_sals): Fix description.
541
505500db 5422011-02-04 Sami Wagiaalla <[email protected]>
9998af43 543 Oguz Kayral <[email protected]>
505500db
SW
544
545 * python/py-inferior.c (python_on_normal_stop): New function.
546 (python_on_resume): New function.
547 (python_inferior_exit): New function.
548 (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
549 inferior_exit observers.
550 * python/py-evtregistry.c: New file.
551 * python/py-threadevent.c : New file.
552 * python/py-event.c: New file.
553 * python/py-evts.c: New file.
554 * python/py-continueevent.c: New file.
555 * python/py-bpevent.c: New file.
556 * python/py-signalevent.c: New file.
557 * python/py-exetiedevent.c: New file.
558 * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
559 Move struct breakpoint_object from here...
560 * python/python-internal.h: ... to here.
561 * python/py-event.h: New file.
562 * python/py-events.h: New file.
563 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
564 py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
565 py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
566 (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
567 py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
568 py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
569 Add build rules for all the above.
570
9e0ac564
TT
5712011-02-04 Tom Tromey <[email protected]>
572
573 * dwarf2read.c (dwarf2_section_empty_p): New function.
574 (dwarf2_read_section): Use dwarf2_section_empty_p.
575 (dwarf2_section_size): New function.
576 (dwarf2_get_section_info): Unconditionally read section.
577 (dwarf2_read_index): Use dwarf2_section_empty_p.
578 (partial_read_comp_unit_head): Use dwarf2_section_size.
579 (dwarf2_symbol_mark_computed): Likewise.
580
eee5b35e
DD
5812011-02-04 David Daney <[email protected]>
582
583 * NEWS: Add item for "catch syscall" on mips*-linux* targets.
584
385203ed
DD
5852011-02-04 David Daney <[email protected]>
586
587 * mips-linux-tdep.c: Include xml-syscall.h.
588 (mips_linux_get_syscall_number): New function.
589 (mips_linux_init_abi): Add calls to
590 mips_linux_get_syscall_number() and set_xml_syscall_file_name().
591 * data-directory/Makefile.in (SYSCALLS_FILES): Add
592 mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
593 * syscalls/mips-n32-linux.xml: New file.
594 * syscalls/mips-n64-linux.xml: New file.
595 * syscalls/mips-o32-linux.xml: New file.
596
9277c30c
UW
5972011-02-04 Ulrich Weigand <[email protected]>
598
599 * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
600 Complain about inverted range entries.
601 (dwarf2_record_block_ranges): Likewise.
602
a3be7890
TJB
6032011-02-04 Thiago Jung Bauermann <[email protected]>
604
605 Fix some typos.
606 * breakpoint.c (update_watchpoint): Fix name of the
607 update_global_location_list function.
608 (print_one_breakpoint): Fix typo.
609 (_initialize_breakpoint): Remove extra space in hbreak help
610 string.
611 * breakpoint.h (struct bp_location) <length>: Fix field
612 description.
613
041274d8
PA
6142011-02-04 Pedro Alves <[email protected]>
615
616 * regcache.c (registers_changed_ptid): Don't explictly always
617 clear `current_regcache'. Only clear current_thread_ptid and
618 current_thread_arch when PTID matches. Only reinit the frame
619 cache if PTID matches the current inferior_ptid. Move alloca(0)
620 call to ...
621 (registers_changed): ... here.
622
c1c2ab58
UW
6232011-02-03 Ulrich Weigand <[email protected]>
624
625 * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
626 starts with __stack_chk_guard as stack guard symbol.
627
9011945e
AB
6282011-02-03 Andrew Burgess <[email protected]>
629
630 * disasm.c (compare_lines): Handle the end of sequence markers
631 within the line table to better support disassembling over
632 compilation unit boundaries.
633
e0634ccf
UW
6342011-02-02 Ulrich Weigand <[email protected]>
635
636 * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
637 arguments. Skip in-prologue calls to glibc __aeabi_read_tp
638 implementation even if no symbols are available.
639 (thumb_analyze_prologue): Update call to skip_prologue_function.
640 (arm_analyze_prologue): Likewise.
641
0e9e9abd
UW
6422011-02-02 Ulrich Weigand <[email protected]>
643
644 * arm-tdep.c: Include "observer.h".
645 (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
646 (arm_exidx_data_key): New static variable.
647 (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
648 (struct arm_exidx_data): Likewise.
649 (arm_exidx_data_free): New function.
650 (arm_compare_exidx_entries): Likewise.
651 (arm_obj_section_from_vma): Likewise.
652 (arm_exidx_new_objfile): Likewise.
653 (arm_find_exidx_entry): Likewise.
654 (arm_exidx_fill_cache): Likewise.
655 (arm_exidx_unwind_sniffer): Likewise.
656 (arm_exidx_unwind): New global variable.
657 (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
658 (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
659 observer. Register arm_exidx_data_key as objfile data.
660
2e9e421f
UW
6612011-02-02 Ulrich Weigand <[email protected]>
662
663 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
664 due to accessing uninitialized variable. Fix indentation.
665
580688f3
PA
6662011-02-02 Pedro Alves <[email protected]>
667
668 * c-valprint.c (c_value_print): When doing virtual base pointer
669 adjustment, create a new value with adjusted contents rather than
670 changing the contents of the value being printed (and getting it
671 wrong).
672
3d2c1d41
PA
6732011-02-02 Pedro Alves <[email protected]>
674
675 * xml-support.c (xml_find_attribute): New.
676 (xinclude_start_include): Use it.
677 * xml-support.h (xml_find_attribute): Declare.
678 * memory-map.c (memory_map_start_memory)
679 (memory_map_start_property): Use xml_find_attribute.
680 * osdata.c (osdata_start_osdata, osdata_start_column): Use
681 xml_find_attribute.
682 * remote.c (start_thread): Use xml_find_attribute.
683 * solib-target.c (library_list_start_segment)
684 (library_list_start_section, library_list_start_library)
685 (library_list_start_list): Use xml_find_attribute.
686 * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
687 (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
688 (tdesc_start_field): Use xml_find_attribute.
689
0af3e2db
UW
6902011-02-02 Ulrich Weigand <[email protected]>
691
692 * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
693 (BUILD_OCL_VTYPES): Update.
694
c1039e3c
JB
6952011-02-02 Joel Brobecker <[email protected]>
696
697 * configure.ac: Work around non-GNU sed limitation when computing
698 python version number.
699 * configure: Regenerate.
700
600ea1be
JK
7012011-02-01 Jan Kratochvil <[email protected]>
702
703 Fix debug printing of TYPE_INSTANCE.
704 * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
705 (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
706
56c12414
JK
7072011-02-01 Jan Kratochvil <[email protected]>
708
709 Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
710 OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
711 OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
712 * ada-operator.inc: Rename the file to ...
713 * ada-operator.def: ... here, wrap all the entries by macro OP.
714 * expprint.c (op_name_standard): Remove all the entries. Include
715 "std-operator.def" instead.
716 * expression.h (enum exp_opcode): Include "std-operator.def" and
717 "ada-operator.def". Move all the entries ...
718 * std-operator.def: ... here, wrap all the entries by macro OP.
719
c52b559d
PP
7202011-01-31 Paul Pluzhnikov <[email protected]>
721
722 * breakpoint.h (remove_jit_event_breakpoints): New prototype.
723 * breakpoint.c (remove_jit_event_breakpoints): New function.
724 * jit.c (jit_descriptor_addr): Delete.
725 (registering_code): Delete.
726 (clear_int): Delete.
727 (jit_inferior_data): New variable.
728 (struct jit_inferior_data): New type.
729 (get_jit_inferior_data): New function.
730 (jit_inferior_data_cleanup): New function.
731 (jit_read_descriptor): Adjust.
732 (jit_register_code): Adjust.
733 (jit_breakpoint_re_set_internal): New function; move code here ...
734 (jit_inferior_init): ... from here.
735 (jit_breakpoint_re_set): Adjust.
736 (jit_reset_inferior_data_and_breakpoints): New function.
737 (jit_inferior_created_observer): Adjust.
738 (jit_inferior_exit_hook): Adjust.
739 (jit_executable_changed_observer): New function.
740 (jit_event_handler): Adjust.
741 (_initialize_jit): Adjust.
742
e839132d
MS
7432011-01-31 Michael Snyder <[email protected]>
744
745 * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
746 line.
747
47a80e90
TT
7482011-01-31 Tom Tromey <[email protected]>
749
750 PR python/12216:
751 * python/python.c (execute_gdb_command): Call
752 prevent_dont_repeat.
753 * top.c (suppress_dont_repeat): New global.
754 (dont_repeat): Use it.
755 (prevent_dont_repeat): New function.
756 * command.h (prevent_dont_repeat): Declare.
757
45a43567
TT
7582011-01-31 Tom Tromey <[email protected]>
759
760 * infcmd.c (finish_backward): Use breakpoint_set_silent.
761 * python/py-breakpoint.c (bppy_set_silent): Use
762 breakpoint_set_silent.
763 (bppy_set_thread): Use breakpoint_set_thread.
764 (bppy_set_task): Use breakpoint_set_task.
765 * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
766 (breakpoint_set_task): Declare.
767 (make_breakpoint_silent): Remove.
768 * breakpoint.c (breakpoint_set_silent): New function.
769 (breakpoint_set_thread): Likewise.
770 (breakpoint_set_task): Likewise.
771 (make_breakpoint_silent): Remove.
772
09d682a4
TT
7732011-01-31 Tom Tromey <[email protected]>
774
775 * breakpoint.h (user_breakpoint_p): Declare.
776 * breakpoint.c (user_breakpoint_p): New function.
777 (breakpoint_1): Use it.
778 (save_breakpoints): Likewise.
779
9c4ea6c5
JB
7802011-01-31 Joel Brobecker <[email protected]>
781
782 * configure.ac: Add handling of Python distribution on Windows.
783 * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
784 sysconfig variables are not defined, then do not use them.
785 On Windows, if LIBPL is not defined, then use prefix + '/libs'
786 instead. On Windows, return all paths using forward-slashes
787 rather than backslashes.
788
ac534cba
JB
7892011-01-31 Joel Brobecker <[email protected]>
790
791 * configure.ac: Remove fallback behavior for building
792 against Python. Remove tweaking of Python include path.
793 Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
794 (AC_TRY_LIBPYTHON): Adjust program used in linking test.
795 If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
796 Always restore CPPFLAGS and LIBS after linking test.
797 * configure: Regenerated.
798 * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
799 (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
800 * python/python-internal.h: Adjust includes of Python .h files.
801
c2f0d045
JB
8022011-01-31 Joel Brobecker <[email protected]>
803
804 * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
805 in error message.
806
6b0c4c1f
JB
8072011-01-31 Joel Brobecker <[email protected]>
808
809 * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
810 value test.
811
672c9795
YQ
8122011-01-31 Yao Qi <[email protected]>
813
814 * arm-linux-nat.c: Update calls to regcache_register_status
815 instead of regcache_valid_p.
816 * aix-thread.c: Likewise.
817 * i386gnu-nat.c: Likewise.
818
80b23b6a
JK
8192011-01-29 Jan Kratochvil <[email protected]>
820
821 Fix crash.
822 * valops.c (compare_parameters): Verify TYPE_NFIELDS before
823 touching TYPE_FIELD_ARTIFICIAL.
824
4cd712bd
RE
8252011-01-28 Richard Earnshaw <[email protected]>
826
827 * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
828 Committers.
829
ffd5ec24
PA
8302011-01-28 Pedro Alves <[email protected]>
831
832 * tracepoint.c (tfile_xfer_partial): If there's no traceframe
833 selected, don't try iterating over the traceframe's blocks.
834 (tfile_has_stack): If there's no traceframe selected, then there's
835 no stack.
836 (tfile_has_registers): If there's no traceframe selected, then
837 there's no registers.
838
e8c9e0a1
PA
8392011-01-28 Pedro Alves <[email protected]>
840
841 * target.c (memory_xfer_partial): No need to restore shadows if we
842 haven't read anything.
843
de15c4ab
PA
8442011-01-28 Pedro Alves <[email protected]>
845
846 * mips-tdep.c (mips_print_register): Use get_frame_register_value
847 and val_print_scalar_formatted.
848
9f41c731
PA
8492011-01-27 Pedro Alves <[email protected]>
850
851 * tracepoint.c (tfile_read): New.
852 (tfile_open): Use it.
853 (tfile_get_traceframe_address): Use it.
854 (tfile_trace_find): Use it.
855 (walk_blocks_callback_func): New typedef.
856 (match_blocktype): New function.
857 (traceframe_walk_blocks): New function.
858 (traceframe_find_block_type): New function.
859 (tfile_fetch_registers, tfile_xfer_partial)
860 (tfile_get_trace_state_variable_value): Use
861 traceframe_find_block_type and tfile_read.
862
cdefc55d
KB
8632011-01-26 Kevin Buettner <[email protected]>
864
865 * remote-mips.c: Add internationalization mark ups. Remove
866 trailing \n from already marked up strings.
867
a81766d8
TT
8682011-01-26 Tom Tromey <[email protected]>
869
870 * python/py-prettyprint.c (print_string_repr): Clear
871 'addressprint' option when calling val_print_string.
872 (print_children): Handle Val_pretty_default. Clear 'addressprint'
873 option when calling val_print_string.
874
74aedc46
TT
8752011-01-26 Tom Tromey <[email protected]>
876
877 * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
878 GDB_PY_LL_ARG.
879 * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
880 macros.
881 (gdb_py_longest, gdb_py_ulongest): New typedefs.
882 (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
883 (gdb_py_long_as_ulongest): New defines.
884 (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
885 (gdb_py_int_as_long): Declare.
886 * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
887 GDB_PY_LL_ARG, gdb_py_object_from_longest.
888 (valpy_long): Add comment.
889 * python/py-utils.c (get_addr_from_python): Use
890 gdb_py_long_as_ulongest. Handle overflow properly.
891 (gdb_py_object_from_longest): New function.
892 (gdb_py_object_from_ulongest): Likewise.
893 (gdb_py_int_as_long): Likewise.
894 * python/py-type.c (typy_array): Use gdb_py_int_as_long.
895 * python/py-symtab.c (salpy_get_pc): Use
896 gdb_py_long_from_ulongest.
897 (salpy_get_line): Use PyInt_FromLong.
898 * python/py-param.c (set_parameter_value): Use
899 gdb_py_int_as_long.
900 * python/py-lazy-string.c (stpy_get_address): Use
901 gdb_py_long_from_ulongest.
902 * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
903 * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
904 * python/py-breakpoint.c (bppy_set_thread): Use
905 gdb_py_int_as_long.
906 (bppy_set_task): Likewise.
907 (bppy_set_ignore_count): Likewise.
908 (bppy_set_hit_count): Likewise.
909 * python/py-block.c (blpy_get_start): Use
910 gdb_py_object_from_ulongest.
911 (blpy_get_end): Likewise.
912 (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
913
e4f6d2ec
TJB
9142011-01-25 Mathieu Lacage <[email protected]>
915
916 PR/symtab 11766:
917 * gdb/objfiles.h (struct objfile) <addr_low>: New field.
918 * gdb/solib.c (solib_read_symbols): Check for addr_low in
919 equality test for objfile, initialize addr_low if needed.
920
b30aa278
PA
9212011-01-25 Pedro Alves <[email protected]>
922
923 * tui/tui-regs.c (tui_register_format): Remove dead code.
924
ab2188aa
PA
9252011-01-25 Pedro Alves <[email protected]>
926
927 * printcmd.c (print_formatted): Use val_print_scalar_formatted
928 instead of print_scalar_formatted.
929 (print_scalar_formatted): Don't handle 's' format strings here,
930 and add an assertion that we never see such format here.
931 * valprint.h (val_print_scalar_formatted): Declare.
932 * valprint.c (val_print_scalar_formatted): New.
933 * c-valprint.c (c_val_print): Use val_print_scalar_formatted
934 instead of print_scalar_formatted.
935 * jv-valprint.c (java_val_print): Ditto.
936 * p-valprint.c (pascal_val_print): Ditto.
937 * ada-valprint.c (ada_val_print_1): Ditto.
938 * f-valprint.c (f_val_print): Ditto.
939 * infcmd.c (registers_info): Ditto.
940 * m2-valprint.c (m2_val_print): Ditto.
941
66d61a4c
PA
9422011-01-25 Pedro Alves <[email protected]>
943
944 * m2-valprint.c (print_unbounded_array): Pass
945 value_contents_for_printing rather than value_contents, to
946 m2_print_array_contents. Also pass in the value.
947
831adc1f
JK
9482011-01-25 Jan Kratochvil <[email protected]>
949
950 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
951 (save_gdb_index_command): Switch to .gdb_index version 4.
952
20622269
PA
9532011-01-25 Pedro Alves <[email protected]>
954
955 * mi/mi-main.c (get_register): Use get_frame_register_value rather
956 than frame_register, and always pass a valid value to val_print.
957
585fdaa1
PA
9582011-01-25 Pedro Alves <[email protected]>
959
960 Centralize printing "<optimized out>".
961
962 * valprint.h (val_print_optimized_out): Declare.
963 * cp-valprint.c (cp_print_value_fields): Use
964 val_print_optimized_out.
965 * jv-valprint.c (java_print_value_fields): Ditto.
966 * p-valprint.c (pascal_object_print_value_fields): Ditto.
967 * printcmd.c (print_formatted): Ditto.
968 * valprint.c (valprint_check_validity): Ditto.
969 (value_check_printable): Ditto.
970 (val_print_optimized_out): New.
971
29ec5263
PA
9722011-01-25 Pedro Alves <[email protected]>
973
974 * infcmd.c (default_print_registers_info): Allocate values so to
975 never pass a NULL value to val_print.
976
de4127a3
PA
9772011-01-25 Pedro Alves <[email protected]>
978
979 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
980 boolean. Make sure to always pass a value that matches the
981 contents buffer to callees. Preserve `address' for following
982 iterations.
983 * value.c (value_contents_for_printing_const): New.
984 (value_address): Constify value argument.
985 * value.h (value_contents_for_printing_const): Declare.
986 (value_address): Constify value argument.
987
ee99023e
PA
9882011-01-25 Pedro Alves <[email protected]>
989
990 * regcache.c (struct regcache_descr): Rename
991 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
992 and sizeof_cooked_register_valid_p to
993 sizeof_cooked_register_status.
994 (init_regcache_descr): Adjust.
995 (struct regcache): Rename register_valid_p field to
996 register_status.
997 (regcache_xmalloc_1, regcache_xfree, regcache_save)
998 (do_cooked_read): Adjust.
999 (regcache_valid_p): Rename to ...
1000 (regcache_register_status): ... this. Adjust.
1001 (regcache_invalidate): Adjust.
1002 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
1003 Adjust.
1004 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
1005 as unavailable, not valid.
1006 (regcache_dump): Adjust.
1007 * regcache.h (enum register_status): New.
1008 (regcache_register_status): Declare.
1009 (regcache_invalidate): Delete declaration.
1010 * corelow.c (get_core_registers): Adjust.
1011 * tracepoint.c (tfile_fetch_registers): Adjust.
1012 * trad-frame.c (REG_VALUE): Rename to ...
1013 (TF_REG_VALUE): ... this.
1014 (REG_UNKNOWN): Rename to ...
1015 (TF_REG_UNKNOWN): ... this.
1016 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
1017 * mi/mi-main.c (register_changed_p): Adjust.
1018
99e42fd8
PA
10192011-01-25 Pedro Alves <[email protected]>
1020
1021 * regcache.c (struct regcache_descr): Remove outdated comment.
1022 (init_regcache_descr): Remove sizeof_raw_register_valid_p
1023 overallocate hack.
1024 (regcache_xmalloc): Rename to ...
1025 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
1026 Allocate the regcache type accordingly.
1027 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
1028 (regcache_xfree): Asser the source is also readonly. Copy sizeof
1029 cooked registers, not raw.
1030 (regcache_dup_no_passthrough): Delete.
1031 (get_thread_arch_regcache): Use regcache_xmalloc_1.
1032 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
1033 mention obsolete write_register_bytes.
1034 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
1035
f7605bc2
PA
10362011-01-25 Pedro Alves <[email protected]>
1037
1038 Stop remote_read_bytes from handling partial reads itself.
1039
1040 * remote-fileio.c: Include target.h.
1041 (remote_fileio_write_bytes): Delete.
1042 (remote_fileio_func_open, remote_fileio_func_write)
1043 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
1044 target_read_memory.
1045 (remote_fileio_func_stat): Use target_read_memory and
1046 target_write_memory.
1047 (remote_fileio_func_gettimeofday): Use target_write_memory.
1048 (remote_fileio_func_system): Use target_read_memory.
1049 * remote.c (remote_write_bytes): Make it static.
1050 (remote_read_bytes): Don't handle partial reads here.
1051 * remote.h (remote_read_bytes): Delete declaration.
1052
efc0eabd
PA
10532011-01-25 Pedro Alves <[email protected]>
1054
1055 Simplify XML parsing a bit.
1056
1057 * xml-support.h (gdb_xml_parse_quick): Declare.
1058 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
1059 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
1060 parameter.
1061 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
1062 gdb_xml_create_parser_and_cleanup_1.
1063 (gdb_xml_parse_quick): New.
1064 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
1065 * osdata.c (osdata_parse): Ditto.
1066 * remote.c (remote_threads_info): Ditto.
1067 * solib-target.c (solib_target_parse_libraries): Ditto.
1068 * xml-syscall.c (syscall_parse_xml): Ditto.
1069 * xml-tdesc.c (tdesc_parse_xml): Ditto.
1070
314d366a
KB
10712011-01-24 Kevin Buettner <[email protected]>
1072
1073 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
1074 with remote-mips.o added to gdb_target_obs.
1075 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
1076
a491d753
PA
10772011-01-24 Pedro Alves <[email protected]>
1078
1079 * ada-valprint.c (val_print_packed_array_elements): Pass the
1080 correct struct value to val_print.
1081 (ada_val_print_1): Ditto.
1082
490f124f
PA
10832011-01-24 Pedro Alves <[email protected]>
1084
1085 Don't lose embedded_offset in printing routines throughout.
1086
1087 * valprint.h (val_print_array_elements): Change prototype.
1088 * valprint.c (val_print_array_elements): Add `embedded_offset'
1089 parameter, and adjust to pass it down to val_print, while passing
1090 `valaddr' or `address' unmodified. Take embedded_offset into
1091 account when checking repetitions.
1092 * c-valprint.c (c_val_print): Pass embedded_offset to
1093 val_print_array_elements instead of adjusting `valaddr' and
1094 `address'.
1095 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
1096 embedded_offset to val_print_array_elements instead of adjusting
1097 `valaddr'.
1098 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
1099 * p-valprint.c (pascal_val_print): Pass embedded_offset to
1100 val_print_array_elements and pascal_object_print_value_fields
1101 instead of adjusting `valaddr'.
1102 (pascal_object_print_value_fields): Add `offset' parameter, and
1103 adjust to use it.
1104 (pascal_object_print_value): Add `offset' parameter, and adjust to
1105 use it.
1106 (pascal_object_print_static_field): Use
1107 value_contents_for_printing/value_embedded_offset, rather than
1108 value_contents.
1109 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
1110 parameter, and adjust to use it. Use
1111 value_contents_for_printing/value_embedded_offset, rather than
1112 value_contents.
1113 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
1114 (ada_val_print_array): Add `offset' parameter, and adjust to use
1115 it.
1116 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
1117 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
1118 Instead work with offsets. Use
1119 value_contents_for_printing/value_embedded_offset, rather than
1120 value_contents. Change `defer_val_int' local type to CORE_ADDR,
1121 and use value_from_pointer to extract a target pointer, rather
1122 than value_from_longest.
1123 (print_variant_part): Add `offset' parameter. Replace
1124 `outer_valaddr' parameter by a new `outer_offset' parameter.
1125 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1126 (ada_value_print): Use
1127 value_contents_for_printing/value_embedded_offset, rather than
1128 value_contents.
1129 (print_record): Add `offset' parameter, and adjust to pass it
1130 down.
1131 (print_field_values): Add `offset' parameter. Replace
1132 `outer_valaddr' parameter by a new `outer_offset' parameter.
1133 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1134 Use value_contents_for_printing/value_embedded_offset, rather than
1135 value_contents.
1136 * d-valprint.c (dynamic_array_type): Use
1137 value_contents_for_printing/value_embedded_offset, rather than
1138 value_contents.
1139 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1140 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
1141 (java_print_value_fields): Take `offset' into account. Don't
1142 re-adjust `valaddr'. Instead pass down adjusted offsets.
1143 (java_val_print): Take `embedded_offset' into account. Pass it to
1144 java_print_value_fields.
1145 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1146 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
1147 down adjusted offsets.
1148 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
1149 (f_val_print): Take `embedded_offset' into account.
1150
7bfc9434
JB
11512011-01-21 Joel Brobecker <[email protected]>
1152
1153 * inflow.c: Include "gdbcmd.h".
1154 (interactive_mode): New static global, moved here from top.c.
1155 (show_interactive_mode): New function, moved here from top.c.
1156 use gdb_has_a_terminal instead of input_from_terminal_p to
1157 determine the current mode.
1158 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1159 setting.
1160 (_initialize_inflow): Add the "set/show interactive-mode"
1161 commands. Moved here from top.c, after having adjusted slightly
1162 the help text.
1163 * top.c (interactive_mode, show_interactive_mode): Delete, moved
1164 to inflow.c.
1165 (input_from_terminal_p): Remove handling of "interactive-mode"
1166 setting, moved to infow.c.
1167 (init_main): Remove creation of the "set/show interactive-mode"
1168 commands, moved to inflow.c.
1169
44603653
JB
11702011-01-19 Joel Brobecker <[email protected]>
1171
1172 * NEWS: Add entry for native ia64-hpux support.
1173
4694da01
TT
11742011-01-19 Tom Tromey <[email protected]>
1175
1176 PR mi/8618:
1177 * thread.c (free_thread): Free 'name'.
1178 (print_thread_info): Emit thread name. Change CLI output.
1179 (thread_name_command): New function.
1180 (do_captured_thread_select): Emit newline.
1181 (_initialize_thread): Register 'thread name' command.
1182 * target.h (struct target_ops) <to_thread_name>: New field.
1183 (target_thread_name): New macro.
1184 * target.c (update_current_target): Handle to_thread_name.
1185 * python/py-infthread.c (thpy_get_name): New function.
1186 (thpy_set_name): Likewise.
1187 (thread_object_getset): Add "name".
1188 * linux-nat.c (linux_nat_thread_name): New function.
1189 (linux_nat_add_target): Set to_thread_name.
1190 * gdbthread.h (struct thread_info) <name>: New field.
1191
10d44370
JB
11922011-01-18 Joel Brobecker <[email protected]>
1193
1194 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1195 (ada_val_print_1): Likewise.
1196
e3acb115
JB
11972011-01-18 Joel Brobecker <[email protected]>
1198
1199 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1200 upper limit address is not greater than the function end address
1201 when the upper limit could not be computed using the debugging
1202 info.
1203
dc92e161
TT
12042011-01-17 Tom Tromey <[email protected]>
1205
1206 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
1207 get_regcomp_error.
1208 * utils.c: Include gdb_regex.h.
1209 (do_regfree_cleanup): New function.
1210 (make_regfree_cleanup): Likewise.
1211 (get_regcomp_error): Likewise.
1212 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1213
f55af66d
TT
12142011-01-17 Tom Tromey <[email protected]>
1215
1216 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
1217 re_compile_fastmap.
1218
a5a44b53
PM
12192011-01-17 Pierre Muller <[email protected]>
1220
1221 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1222 for internal variables.
1223 (last_was_structop): New static variable.
1224 (COMPLETE): New token.
1225 (field_exp): New rule to group all '.' suffix handling.
1226 Add mark_struct_expression calls when approriate to be able
1227 to correctly find fields for completion.
1228 (yylex): Adapt to handle field completion and set INTVAR when
1229 required.
1230
2c291032
YQ
12312011-01-14 Yao Qi <[email protected]>
1232
1233 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1234 save_reggroup, restore_reggroup and all_reggroup.
1235
447b483c
JB
12362011-01-14 Joel Brobecker <[email protected]>
1237
1238 * ada-valprint. (ada_printchar): Use the correct type length
1239 in call to ada_emit_char.
1240 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1241
7b64a93b
PM
12422011-01-14 Pierre Muller <[email protected]>
1243
1244 * solib-som.h (hpux_major_release): Declare variable here.
1245 * solib-som.c: Remove <sys/utsname.h> header.
1246 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1247 (hpux_major_release): Make global, change default value to
1248 DEFAULT_HPUX_MAJOR_RELEASE.
1249 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
1250 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1251 Add "solib-som.h" header.
1252 (set_hpux_major_release): New function.
1253 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1254
4e18c053
MF
12552011-01-14 Mike Frysinger <[email protected]>
1256
1257 * configure.tgt (*-*-uclinux*): Match more Linux os targets
1258
a9df6b22
JB
12592011-01-14 Joel Brobecker <[email protected]>
1260
1261 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1262 new-line at end of warning message.
1263 (ia64_hpux_store_register): Remove trailing new-line at end of
1264 error message.
1265 * ia64-hpux-tdep.c: Rephrase comment.
1266 * solib-ia64-hpux.c (struct dld_info): Change type of field
1267 dld_flags from "long long" to ULONGEST.
1268
ecb956dd
PA
12692011-01-14 Pedro Alves <[email protected]>
1270
1271 * target.h (deprecated_child_ops): Delete declaration.
1272 * target.c (deprecated_child_ops): Delete definition.
1273
76adfcae
PA
12742011-01-14 Pedro Alves <[email protected]>
1275
1276 * Makefile.in (hpux-thread.o): Delete rule.
1277 * configure.ac: Don't check for HPUX DCE threads support.
1278 * configure, config.in: Regenerate.
1279 * hppa-hpux-nat.c (child_suppress_run): Delete.
1280 (hppa_hpux_child_can_run): Delete.
1281 (_initialize_hppa_hpux_nat): Don't override to_can_run.
1282 * hpux-thread.c: Delete.
1283
042e866e
JB
12842011-01-13 Joel Brobecker <[email protected]>
1285
1286 * hpux-thread.c (hpux_pid_to_str): Delete.
1287
4ffa5a33
JB
12882011-01-13 Joel Brobecker <[email protected]>
1289
1290 * ada-valprint.c (ada_emit_char): Remove strange code.
1291 Check that c is <= UCHAR_MAX before passing it to isascii.
1292 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1293
de8fa76c
JB
12942011-01-13 Joel Brobecker <[email protected]>
1295
1296 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1297 to the case where instream is stdin.
1298
c4de7027
JB
12992011-01-13 Joel Brobecker <[email protected]>
1300
1301 * ia64-tdep.h (struct regcache): Forward declare.
1302 (struct ia64_infcall_ops): New struct type.
1303 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1304 and "infcall_ops".
1305 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1306 Renames ia64_find_global_pointer.
1307 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1308 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1309 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1310 methods.
1311 (ia64_infcall_ops): New static global constant.
1312 (ia64_gdbarch_init): Set tdep->infcall_ops.
1313 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1314 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1315 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1316 (ia64_hpux_dummy_code): New static global constant.
1317 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1318 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1319 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1320 New function.
1321 (ia64_hpux_infcall_ops): New static global constant.
1322 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1323 for inferior function calls to work properly on ia64-hpux.
1324
77ca787b
JB
13252011-01-13 Joel Brobecker <[email protected]>
1326
1327 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1328 * ia64-tdep.h (struct frame_info): forward declaration.
1329 (struct gdbarch_tdep): Add field size_of_register_frame.
1330 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1331 to determine the size of the register frame.
1332 (ia64_size_of_register_frame): New function.
1333 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1334 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1335 (IA64_HPUX_UREG_REASON): New macro.
1336 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1337 New functions.
1338 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1339 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1340 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1341 objects.
1342
92c9a463
JB
13432011-01-13 Joel Brobecker <[email protected]>
1344
1345 Add support for ia64-hpux.
1346 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1347 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1348
1349 * configure.host: Add handling for ia64-hpux hosts. Add associated
1350 floatformats.
1351 * configure.tgt: Add handling for ia64-hpux targets.
1352 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1353 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1354 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1355
f688d93f
JB
13562011-01-13 Joel Brobecker <[email protected]>
1357
1358 [ttrace] Compute thread list immediately after attach.
1359 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1360 New subprogram.
1361 (inf_ttrace_attach): Use it.
1362
1b89e62f
JB
13632011-01-13 Joel Brobecker <[email protected]>
1364
1365 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1366 if we could not determine the frame's function address. Instead,
1367 use the frame's PC, and then continue.
1368
3e5e6e2a
JB
13692011-01-13 Joel Brobecker <[email protected]>
1370
1371 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1372 not already defined.
1373
825d6d8a
JB
13742011-01-13 Joel Brobecker <[email protected]>
1375
1376 * ia64-tdep.c (ia64_struct_type_p): New function.
1377 (ia64_extract_return_value): Handle integral values that are
1378 less than 8 bytes long.
1379 (ia64_push_dummy_call): Likewise.
1380
7458e667
JB
13812011-01-13 Joel Brobecker <[email protected]>
1382
1383 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1384 floatformat_ia64_ext.
1385 (floatformat_ia64_ext_big): New static const.
1386 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1387
1b05df00
TT
13882011-01-12 Tom Tromey <[email protected]>
1389
1390 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1391 messages.
1392 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1393 (mi_cmd_thread_list_ids): Likewise.
1394 (mi_cmd_data_list_changed_registers): Likewise.
1395 (mi_cmd_data_list_register_values): Likewise.
1396 (mi_cmd_data_write_register_values): Likewise.
1397 (mi_cmd_data_evaluate_expression): Likewise.
1398 (mi_cmd_data_read_memory): Likewise.
1399 (mi_cmd_data_read_memory_bytes): Likewise.
1400 (mi_cmd_data_write_memory): Likewise.
1401 (mi_cmd_enable_timings): Likewise.
1402 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1403 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1404 (mi_cmd_var_delete): Likewise.
1405 (mi_cmd_var_set_format): Likewise.
1406 (mi_cmd_var_show_format): Likewise.
1407 (mi_cmd_var_info_num_children): Likewise.
1408 (mi_cmd_var_list_children): Likewise.
1409 (mi_cmd_var_info_type): Likewise.
1410 (mi_cmd_var_info_expression): Likewise.
1411 (mi_cmd_var_show_attributes): Likewise.
1412 (mi_cmd_var_assign): Likewise.
1413 (mi_cmd_var_update): Likewise.
1414 (mi_cmd_enable_pretty_printing): Likewise.
1415 (mi_cmd_var_set_update_range): Likewise.
1416 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1417 messages.
1418 (mi_cmd_target_file_put): Likewise.
1419 (mi_cmd_target_file_delete): Likewise.
1420 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1421 messages.
1422 (mi_cmd_stack_info_depth): Likewise.
1423 (mi_cmd_stack_list_locals): Likewise.
1424 (mi_cmd_stack_list_args): Likewise.
1425 (mi_cmd_stack_select_frame): Likewise.
1426 (mi_cmd_stack_select_frame): Likewise.
1427 (mi_cmd_stack_info_frame): Likewise.
1428 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1429 messages.
1430 (mi_cmd_file_list_exec_source_files): Likewise.
1431 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1432 (mi_cmd_env_cd): Likewise.
1433 (mi_cmd_env_path): Likewise.
1434 (mi_cmd_env_dir): Likewise.
1435 (mi_cmd_inferior_tty_show): Likewise.
1436 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1437 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1438 (mi_cmd_break_watch): Likewise.
1439
ad422571
TJB
14402011-01-12 Thiago Jung Bauermann <[email protected]>
1441
1442 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1443 (ppc_linux_insert_hw_breakpoint): Likewise.
1444 (ppc_linux_remove_hw_breakpoint): Likewise.
1445 (ppc_linux_insert_watchpoint): Likewise.
1446
c2ff108b
JK
14472011-01-12 Andrew Burgess <[email protected]>
1448 Jan Kratochvil <[email protected]>
1449
1450 PR fortran/11104 and DWARF unbound arrays detection.
1451 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1452 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1453 unspecified upper bound.
1454 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1455 variables array_size_array, tmp_type and offset_item. New variable
1456 array. Remove call to f77_get_upperbound. New variables array_type
1457 and index. Call value_subscripted_rvalue for each dimenasion. Remove
1458 the final call to deprecated_set_value_type.
1459
41e8491f
JK
14602011-01-12 Jan Kratochvil <[email protected]>
1461
1462 Make value allocations more lazy.
1463 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1464 instead of allocate_value and set_value_lazy when possible.
1465 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
1466 instead of allocate_value and set_value_lazy.
1467 * findvar.c (value_of_register_lazy): Likewise.
1468 (read_var_value): Remove V preallocation, call just check_typedef in
1469 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
1470 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1471 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
1472 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
1473 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
1474 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
1475 the end, remove set_value_lazy there.
1476 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1477 instead of allocate_value and set_value_lazy when possible.
1478 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1479 * value.c (allocate_computed_value): Use allocate_value_lazy instead
1480 of allocate_value and set_value_lazy.
1481 (value_from_contents_and_address): Use allocate_value_lazy instead of
1482 allocate_value and set_value_lazy when possible.
1483
b716877b
AB
14842011-01-12 Andrew Burgess <[email protected]>
1485
1486 * disasm.c (dump_insns): Support dumping opcodes for MI.
1487 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1488 dumping of instruction opcodes.
1489
d5ae309f
JB
14902011-01-09 Robert Millan <[email protected]> (tiny patch)
1491
1492 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1493 appropiately.
1494
98871305
TT
14952011-01-11 Tom Tromey <[email protected]>
1496
1497 * thread.c (do_captured_thread_select): Emit newline before
1498 printing frame.
1499
c378eb4e
MS
15002011-01-11 Michael Snyder <[email protected]>
1501
1502 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1503 * score-tdep.c: Ditto.
1504 * score-tdep.h: Ditto.
1505 * ser-base.c: Ditto.
1506 * ser-go32.c: Ditto.
1507 * serial.c: Ditto.
1508 * serial.h: Ditto.
1509 * ser-mingw.c: Ditto.
1510 * ser-pipe.c: Ditto.
1511 * ser-tcp.c: Ditto.
1512 * ser-unix.c: Ditto.
1513 * sh64-tdep.c: Ditto.
1514 * shnbsd-nat.c: Ditto.
1515 * sh-tdep.c: Ditto.
1516 * sh-tdep.h: Ditto.
1517 * solib.c: Ditto.
1518 * solib-darwin.c: Ditto.
1519 * solib-frv.c: Ditto.
1520 * solib.h: Ditto.
1521 * solib-irix.c: Ditto.
1522 * solib-osf.c: Ditto.
1523 * solib-pa64.c: Ditto.
1524 * solib-som.c: Ditto.
1525 * solib-spu.c: Ditto.
1526 * solib-sunos.c: Ditto.
1527 * solib-svr4.c: Ditto.
1528 * solist.h: Ditto.
1529 * sol-thread.c: Ditto.
1530 * somread.c: Ditto.
1531 * source.c: Ditto.
1532 * source.h: Ditto.
1533 * sparc64-linux-tdep.c: Ditto.
1534 * sparc64-tdep.c: Ditto.
1535 * sparc-linux-nat.c: Ditto.
1536 * sparc-linux-tdep.c: Ditto.
1537 * sparc-sol2-nat.c: Ditto.
1538 * sparc-sol2-tdep.c: Ditto.
1539 * sparc-tdep.c: Ditto.
1540 * sparc-tdep.h: Ditto.
1541 * spu-tdep.c: Ditto.
1542 * stabsread.c: Ditto.
1543 * stabsread.h: Ditto.
1544 * stack.c: Ditto.
1545 * symfile.c: Ditto.
1546 * symfile.h: Ditto.
1547 * symmisc.c: Ditto.
1548 * symtab.c: Ditto.
1549 * symtab.h: Ditto.
1550 * target.c: Ditto.
1551 * target-descriptions.c: Ditto.
1552 * target-descriptions.h: Ditto.
1553 * target.h: Ditto.
1554 * target-memory.c: Ditto.
1555 * terminal.h: Ditto.
1556 * thread.c: Ditto.
1557 * top.c: Ditto.
1558 * tracepoint.c: Ditto.
1559 * tracepoint.h: Ditto.
1560 * trad-frame.h: Ditto.
1561 * typeprint.c: Ditto.
1562
581e13c1
MS
15632011-01-11 Michael Snyder <[email protected]>
1564
1565 * ui-file.c: Comment cleanup, mostly periods and spaces.
1566 * ui-file.h: Ditto.
1567 * ui-out.c: Ditto.
1568 * ui-out.h: Ditto.
1569 * utils.c: Ditto.
1570 * v850-tdep.c: Ditto.
1571 * valarith.c: Ditto.
1572 * valops.c: Ditto.
1573 * valprint.c: Ditto.
1574 * valprint.h: Ditto.
1575 * value.c: Ditto.
1576 * value.h: Ditto.
1577 * varobj.c: Ditto.
1578 * varobj.h: Ditto.
1579 * vax-tdep.c: Ditto.
1580 * vec.c: Ditto.
1581 * vec.h: Ditto.
1582 * version.h: Ditto.
1583 * windows-nat.c: Ditto.
1584 * windows-tdep.c: Ditto.
1585 * xcoffread.c: Ditto.
1586 * xcoffsolib.c: Ditto.
1587 * xml-support.c: Ditto.
1588 * xstormy16-tdep.c: Ditto.
1589 * xtensa-tdep.c: Ditto.
1590 * xtensa-tdep.h: Ditto.
1591
90e4670f
TJB
15922011-01-11 Thiago Jung Bauermann <[email protected]>
1593
1594 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1595 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1596
e09342b5
TJB
15972011-01-11 Sergio Durigan Junior <[email protected]>
1598 Thiago Jung Bauermann <[email protected]>
1599
1600 Implement support for PowerPC BookE ranged watchpoints.
1601 * breakpoint.h
1602 (struct breakpoint_ops) <resources_needed>: New method.
1603 Initialize to NULL in all existing breakpoint_ops instances.
1604 (struct breakpoint) <exact>: New field.
1605 (target_exact_watchpoints): Declare external global.
1606 * breakpoint.c (target_exact_watchpoints): New global flag.
1607 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1608 b->enable_state to bp_enabled before calling
1609 hw_watchpoint_used_count.
1610 (hw_watchpoint_used_count): Iterate over all bp_locations in a
1611 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
1612 if available.
1613 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1614 if the watchpoint is exact.
1615 (resources_needed_watchpoint): New function.
1616 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1617 (watch_command_1): Set b->exact if the user asked for an exact
1618 watchpoint and one can be set.
1619 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1620 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1621 the user asks for an exact watchpoint and one can be set. Return
1622 number of needed debug registers to watch the expression.
1623 * gdbtypes.c (is_scalar_type): New function, based on
1624 valprint.c:scalar_type_p.
1625 (is_scalar_type_recursive): New function.
1626 * gdbtypes.h (is_scalar_type_recursive): Declare.
1627 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1628 handle regions when ranged watchpoints are available.
1629 (create_watchpoint_request): New function.
1630 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1631 create_watchpoint_request.
1632 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1633 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1634 `set powerpc' and `show powerpc' commands.
1635 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1636 Mention documentation comment in the target macro.
1637 (target_region_ok_for_hw_watchpoint): Document return value.
1638
9fa40276
TJB
16392011-01-11 Thiago Jung Bauermann <[email protected]>
1640
1641 * breakpoint.c (update_watchpoint): Decide on using a software or
1642 hardware watchpoint after the bp_locations are created.
1643
77b06cd7
TJB
16442010-01-11 Thiago Jung Bauermann <[email protected]>
1645
1646 Convert hardware watchpoints to use breakpoint_ops.
1647 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1648 <insert_location>: ... this. Return int instead of void.
1649 Accept pointer to struct bp_location instead of pointer to
1650 struct breakpoint. Adapt all implementations.
1651 (breakpoint_ops) <remove>: Rename to...
1652 <remove_location>: ... this. Accept pointer to struct bp_location
1653 instead of pointer to struct breakpoint. Adapt all implementations.
1654 * breakpoint.c (insert_catchpoint): Delete function.
1655 (insert_bp_location): Call the watchpoint or catchpoint's
1656 breakpoint_ops.insert method.
1657 (remove_breakpoint_1): Call the watchpoint or catchpoint's
1658 breakpoint_ops.remove method.
1659 (insert_watchpoint, remove_watchpoint): New functions.
1660 (watchpoint_breakpoint_ops): New structure.
1661 (watch_command_1): Initialize the OPS field.
1662 * inf-child.c (inf_child_insert_fork_catchpoint)
1663 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1664 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1665 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1666 Delete functions.
1667 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1668 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1669 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1670 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1671 * target.c (update_current_target): Change default implementation of
1672 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1673 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1674 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1675 to_set_syscall_catchpoint to return_one.
1676 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1677 (debug_to_insert_exec_catchpoint): Report return value.
1678 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1679 (to_insert_exec_catchpoint): Change declaration to return int instead
1680 of void.
1681
9b20d036
MS
16822011-01-11 Michael Snyder <[email protected]>
1683
1684 * arm-tdep.c: Internationalization.
1685 * c-lang.c: Ditto.
1686 * charset.c: Ditto.
1687 * fork-child.c: Ditto.
1688 * nto-procfs.c: Ditto.
1689 * ppc-sysv-tdep.c: Ditto.
1690 * procfs.c: Ditto.
1691 * remote-mips.c: Ditto.
1692 * remote.c: Ditto.
1693 * rs6000-nat.c: Ditto.
1694 * rs6000-tdep.c: Ditto.
1695 * target.c: Ditto.
1696 * valops.c: Ditto.
1697 * value.c: Ditto.
1698 * xml-support.c: Ditto.
1699 * mi/mi-cmd-break.c: Ditto.
1700 * mi/mi-cmd-var.c: Ditto.
1701 * mi/mi-interp.c: Ditto.
1702 * mi/mi-main.c: Ditto.
1703
dae477fe
AB
17042011-01-11 Andrew Burgess <[email protected]>
1705
1706 * remote-sim.c (gdbsim_store_register): Update API to
1707 sim_store_register to check more error conditions.
1708
0df8b418
MS
17092011-01-10 Michael Snyder <[email protected]>
1710
1711 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1712 * nto-tdep.c: Ditto.
1713 * nto-tdep.h: Ditto.
1714 * objc-exp.y: Ditto.
1715 * objc-lang.c: Ditto.
1716 * objfiles.c: Ditto.
1717 * objfiles.h: Ditto.
1718 * observer.c: Ditto.
1719 * opencl-lang.c: Ditto.
1720 * osabi.c: Ditto.
1721 * parse.c: Ditto.
1722 * parser-defs.h: Ditto.
1723 * p-exp.y: Ditto.
1724 * p-lang.c: Ditto.
1725 * posix-hdep.c: Ditto.
1726 * ppcbug-rom.c: Ditto.
1727 * ppc-linux-nat.c: Ditto.
1728 * ppc-linux-tdep.c: Ditto.
1729 * ppc-linux-tdep.h: Ditto.
1730 * ppcnbsd-tdep.c: Ditto.
1731 * ppcobsd-tdep.c: Ditto.
1732 * ppcobsd-tdep.h: Ditto.
1733 * ppc-sysv-tdep.c: Ditto.
1734 * ppc-tdep.h: Ditto.
1735 * printcmd.c: Ditto.
1736 * proc-abi.c: Ditto.
1737 * proc-flags.c: Ditto.
1738 * procfs.c: Ditto.
1739 * proc-utils.h: Ditto.
1740 * progspace.h: Ditto.
1741 * prologue-value.c: Ditto.
1742 * prologue-value.h: Ditto.
1743 * psympriv.h: Ditto.
1744 * psymtab.c: Ditto.
1745 * p-typeprint.c: Ditto.
1746 * p-valprint.c: Ditto.
1747 * ravenscar-sparc-thread.c: Ditto.
1748 * ravenscar-thread.c: Ditto.
1749 * ravenscar-thread.h: Ditto.
1750 * record.c: Ditto.
1751 * regcache.c: Ditto.
1752 * regcache.h: Ditto.
1753 * remote.c: Ditto.
1754 * remote-fileio.c: Ditto.
1755 * remote-fileio.h: Ditto.
1756 * remote.h: Ditto.
1757 * remote-m32r-sdi.c: Ditto.
1758 * remote-mips.c: Ditto.
1759 * remote-sim.c: Ditto.
1760 * rs6000-aix-tdep.c: Ditto.
1761 * rs6000-nat.c: Ditto.
1762 * rs6000-tdep.c: Ditto.
1763
0d7a18f7
MS
17642011-01-10 Michael Snyder <[email protected]>
1765
1766 * charset.c (validate): Internationalization.
1767 * coffread.c (read_one_sym): Ditto.
1768 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1769 * h8300-tdep.c (H8300_extract_return_value): Ditto.
1770 * inflow.c (new_tty): Ditto.
1771 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1772 * m32c-tdep.c (m32c_return_value): Ditto.
1773 * mep-tdep.c (mep_store_return_value): Ditto.
1774 * score-tdep.c (score7_fetch_insn): Ditto.
1775 * ser-mingw.c (pipe_windows_open): Ditto.
1776 * sh64-tdep.c (sh64_extract_return_value): Ditto.
1777 * spu-tdep.c (spu_register_type): Ditto.
1778 * tracepoint.c (trace_find_command): Ditto.
1779 * valarith.c (value_pos): Ditto.
1780
9a153e0b
JB
17812011-01-10 Joel Brobecker <[email protected]>
1782
1783 * ada-valprint.c (printstr): Minor comment reformatting.
1784
35ecd2d6
MS
17852011-01-08 Michael Snyder <[email protected]>
1786
1787 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1788 markup.
1789
1777feb0
MS
17902011-01-08 Michael Snyder <[email protected]>
1791
1792 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1793 * hppa-hpux-tdep.c: Ditto.
1794 * hppa-linux-nat.c: Ditto.
1795 * hppa-linux-tdep.c: Ditto.
1796 * hppanbsd-tdep.c: Ditto.
1797 * hppa-tdep.c: Ditto.
1798 * hppa-tdep.h: Ditto.
1799 * hpux-thread.c: Ditto.
1800 * i386-cygwin-tdep.c: Ditto.
1801 * i386-darwin-nat.c: Ditto.
1802 * i386gnu-nat.c: Ditto.
1803 * i386-linux-nat.c: Ditto.
1804 * i386-linux-tdep.c: Ditto.
1805 * i386-nat.c: Ditto.
1806 * i386-nat.h: Ditto.
1807 * i386nbsd-tdep.c: Ditto.
1808 * i386-sol2-nat.c: Ditto.
1809 * i386-stub.c: Ditto.
1810 * i386-tdep.c: Ditto.
1811 * i386-tdep.h: Ditto.
1812 * i387-tdep.c: Ditto.
1813 * ia64-linux-nat.c: Ditto.
1814 * ia64-linux-tdep.c: Ditto.
1815 * ia64-tdep.c: Ditto.
1816 * infcall.c: Ditto.
1817 * infcall.h: Ditto.
1818 * infcmd.c: Ditto.
1819 * inferior.c: Ditto.
1820 * inferior.h: Ditto.
1821 * infloop.c: Ditto.
1822 * inflow.c: Ditto.
1823 * infrun.c: Ditto.
1824 * interps.c: Ditto.
1825 * interps.h: Ditto.
1826 * iq2000-tdep.c: Ditto.
1827 * irix5-nat.c: Ditto.
1828 * jit.c: Ditto.
1829 * jit.h: Ditto.
1830 * jv-exp.y: Ditto.
1831 * jv-lang.c: Ditto.
1832 * jv-lang.h: Ditto.
1833 * jv-typeprint.c: Ditto.
1834 * jv-valprint.c: Ditto.
1835 * language.c: Ditto.
1836 * language.h: Ditto.
1837 * linespec.c: Ditto.
1838 * linux-fork.c: Ditto.
1839 * linux-nat.c: Ditto.
1840 * linux-thread-db.c: Ditto.
1841 * lm32-tdep.c: Ditto.
1842
025bb325
MS
18432011-01-08 Michael Snyder <[email protected]>
1844
1845 * m2-exp.y: Comment cleanup, mostly periods and spaces.
1846 * m2-lang.c: Ditto.
1847 * m2-typeprint.c: Ditto.
1848 * m2-valprint.c: Ditto.
1849 * m32c-tdep.c: Ditto.
1850 * m32r-linux-nat.c: Ditto.
1851 * m32r-rom.c: Ditto.
1852 * m32r-tdep.c: Ditto.
1853 * m32r-tdep.h: Ditto.
1854 * m68hc11-tdep.c: Ditto.
1855 * m58klinux-nat.c: Ditto.
1856 * m68k-tdep.c: Ditto.
1857 * m88k-tdep.c: Ditto.
1858 * m88k-tdep.h: Ditto.
1859 * machoread.c: Ditto.
1860 * macrocmd.c: Ditto.
1861 * macroexp.c: Ditto.
1862 * macrotab.c: Ditto.
1863 * main.c: Ditto.
1864 * maint.c: Ditto.
1865 * mdebugread.c: Ditto.
1866 * mdebugread.h: Ditto.
1867 * memattr.c: Ditto.
1868 * memattr.h: Ditto.
1869 * memory-map.h: Ditto.
1870 * mep-tdep.c: Ditto.
1871 * microblaze-rom.c: Ditto.
1872 * microblaze-tdep.c: Ditto.
1873 * minsyms.c: Ditto.
1874 * mips-irix-tdep.c: Ditto.
1875 * mips-linux-nat.c: Ditto.
1876 * mips-linux-tdep.c: Ditto.
1877 * mips-linux-tdep.h: Ditto.
1878 * mipsnbsd-nat.c: Ditto.
1879 * mipsnbsd-tdep.c: Ditto.
1880 * mipsread.c: Ditto.
1881 * mips-tdep.c: Ditto.
1882 * mips-tdep.h: Ditto.
1883 * mn10300-linux-tdep.c: Ditto.
1884 * mn10300-tdep.c: Ditto.
1885 * mn10300-tdep.h: Ditto.
1886 * monitor.c: Ditto.
1887 * monitor.h: Ditto.
1888 * moxie-tdep.c: Ditto.
1889 * moxie-tdep.h: Ditto.
1890 * mt-tdep.c: Ditto.
1891
1642781b
MF
18922011-01-08 Mike Frysinger <[email protected]>
1893
1894 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1895
394b0adb
JB
18962011-01-08 Robert Millan <[email protected]>
1897
1898 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1899
b670013c
MS
19002011-01-07 Michael Snyder <[email protected]>
1901
1902 * charset.c (_initialize_charset): Fix typo in string.
1903
a743e542
MS
19042011-01-07 Michael Snyder <[email protected]>
1905
1906 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1907 for i18n.
1908 * tui/tui-layout.c (tui_set_layout_for_display_command):
1909 Split line so that operator goes to beginning of line.
1910 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1911 assignment out of if statement.
1912
0963b4bd
MS
19132011-01-07 Michael Snyder <[email protected]>
1914
1915 * ada-lang.c: Comment cleanup, mostly periods and spaces.
1916 * ada-lang.h: Ditto.
1917 * ada-tasks.c: Ditto.
1918 * ada-valprint.c: Ditto.
1919 * aix-threads.c: Ditto.
1920 * alpha-linux-nat.c: Ditto.
1921 * alpha-linux-tdep.c: Ditto.
1922 * alpha-mdebug-tdep.c: Ditto.
1923 * alpha-nat.c: Ditto.
1924 * alpha-osf1-tdep.c: Ditto.
1925 * alpha-tdep.c: Ditto.
1926 * alphabsd-nat.c: Ditto.
1927 * alphabsd-tdep.c: Ditto.
1928 * amd64-darwin-tdep.c: Ditto.
1929 * amd64-linux-nat.c: Ditto.
1930 * amd64-linux-tdep.c: Ditto.
1931 * amd64-sol2-tdep.c: Ditto.
1932 * amd64-tdep.c: Ditto.
1933 * amd64-fbsd-tdep.c: Ditto.
1934 * amd64-nbsd-tdep.c: Ditto.
1935 * amd64-obsd-tdep.c: Ditto.
1936 * amd64-linux-nat.c: Ditto.
1937 * amd64-linux-tdep.c: Ditto.
1938 * arm-tdep.c: Ditto.
1939 * arm-tdep.h: Ditto.
1940 * armnbsd-nat.c: Ditto.
1941 * avr-tdep.c: Ditto.
1942 * bfin-tdep.c: Ditto.
1943 * bsd-kvm.c: Ditto.
1944 * c-typeprintc: Ditto.
1945 * c-valprint.c: Ditto.
1946 * coff-pe-read.h: Ditto.
1947 * coffreead.c: Ditto.
1948 * cris-tdep.c: Ditto.
1949 * d-lang.c: Ditto.
1950 * darwin-nat-info.c: Ditto.
1951 * darwin-nat.c: Ditto.
1952 * dbug-rom.c: Ditto.
1953 * dbxread.c: Ditto.
1954 * dcache.c: Ditto.
1955 * dcache.h: Ditto.
1956 * dec-thread.c: Ditto.
1957 * defs.h: Ditto.
1958 * demangle.c: Ditto.
1959 * dicos-tdep.c: Ditto.
1960 * dictionary.c: Ditto.
1961 * dictionary.h: Ditto.
1962 * dink32-rom.c: Ditto.
1963 * disasm.c: Ditto.
1964 * doublest.c: Ditto.
1965 * dsrec.c: Ditto.
1966 * dummy-frame.c: Ditto.
1967 * dwarf2-frame.c: Ditto.
1968 * dwarf2expr.c: Ditto.
1969 * dwarf2loc.c: Ditto.
1970 * dwarf2read.c: Ditto.
1971 * elfread.c: Ditto.
1972 * environ.c: Ditto.
1973 * eval.c: Ditto.
1974 * event-top.h: Ditto.
1975 * exceptions.c: Ditto.
1976 * exceptions.h: Ditto.
1977 * exec.c: Ditto.
1978 * expprint.c: Ditto.
1979 * expression.h: Ditto.
1980 * f-exp.y: Ditto.
1981 * f-lang.c: Ditto.
1982 * f-lang.h: Ditto.
1983 * f-typeprint.c: Ditto.
1984 * f-valprint.c: Ditto.
1985 * fbsd-nat.c: Ditto.
1986 * findvar.c: Ditto.
1987 * fork-child.c: Ditto.
1988 * frame.c: Ditto.
1989 * frame.h: Ditto.
1990 * frv-linux-tdep.c: Ditto.
1991 * frv-tdep.c: Ditto.
1992 * gcore.c: Ditto.
1993 * gdb-stabs.h: Ditto.
1994 * gdb_assert.h: Ditto.
1995 * gdb_string.h: Ditto.
1996 * gdb_thread_db.h: Ditto.
1997 * gdb_wait.h: Ditto.
1998 * gdbarch.sh: Ditto.
1999 * gdbcore.h: Ditto.
2000 * gdbthread.h: Ditto.
2001 * gdbtypes.c: Ditto.
2002 * gdbtypes.h: Ditto.
2003 * gnu-nat.c: Ditto.
2004 * gnu-nat.h: Ditto.
2005 * gnu-v2-abi.c: Ditto.
2006 * gnu-v3-abi.c: Ditto.
2007 * go32-nat.c: Ditto.
2008 * gdbarch.c: Regenerate.
2009 * gdbarch.h: Regenerate.
2010
ac74f770
MS
20112011-01-07 Michael Snyder <[email protected]>
2012
2013 * ax-gdb.c: Adjust some long output strings.
2014 * breakpoint.c: Ditto.
2015 * charset.c: Ditto.
2016 * cp-abi.c: Ditto.
2017 * infcall.c: Ditto.
2018 * infrun.c: Ditto.
2019 * linux-nat.c: Ditto.
2020 * solib-pa64.c: Ditto.
2021 * solib-som.c: Ditto.
2022
d8e22779
TT
20232011-01-06 Tom Tromey <[email protected]>
2024
2025 PR python/12367:
2026 * NEWS: Add item.
2027 * python/python.c (GdbMethods): Add "newest_frame" method.
2028 * python/python-internal.h (gdbpy_newest_frame): Declare.
2029 * python/py-frame.c (gdbpy_newest_frame): New function.
2030
a255712f
PP
20312010-01-06 Paul Pluzhnikov <[email protected]>
2032
2033 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
2034 * jit.c (jit_debug): New variable.
2035 (show_jit_debug): New function.
2036 (struct target_buffer): Use ULONGEST.
2037 (bfd_open_from_target_memory): Likewise.
2038 (jit_register_code, jit_inferior_init): Add debug output.
2039 (_initialize_jit): Register "debug jit" command.
2040
ccfc3d6e
TT
20412011-01-06 Tom Tromey <[email protected]>
2042
2043 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
2044 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
2045 and ARCH_FRAME.
2046
57126e4a
TT
20472011-01-06 Tom Tromey <[email protected]>
2048
2049 * python/py-frame.c (frapy_block): Use get_frame_block.
2050
16dfc9ce
JB
20512011-01-06 Joel Brobecker <[email protected]>
2052
2053 Do not stop on SIGPRIO signals by default
2054 * infrun.c (_initialize_infrun): Unset signal_stop and
2055 signal_print for TARGET_SIGNAL_PRIO.
2056
b1ce2347
JB
20572011-01-06 Joel Brobecker <[email protected]>
2058
2059 * ada-tasks.c: Fix style violation in comment.
2060
8f7e195f
JB
20612011-01-06 Joel Brobecker <[email protected]>
2062
2063 * linespec.c (decode_compound, find_method): Remove trailing \n
2064 at end of error string.
2065 * solib-irix.c (irix_current_sos): Likewise.
2066 * varobj.c (uninstall_variable): Likewise.
2067
e9bdf92c
JB
20682011-01-06 Joel Brobecker <[email protected]>
2069
2070 * copyright.py: New script.
2071 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
2072 Launch emacs without exec'ing. Call copyright.py afterwards.
2073
3e43a32a
MS
20742011-01-05 Michael Snyder <[email protected]>
2075
2076 * addrmap.c: Shorten lines of >= 80 columns.
2077 * arch-utils.c: Ditto.
2078 * arch-utils.h: Ditto.
2079 * ax-gdb.c: Ditto.
2080 * ax-general.c: Ditto.
2081 * bcache.c: Ditto.
2082 * blockframe.c: Ditto.
2083 * breakpoint.c: Ditto.
2084 * buildsym.c: Ditto.
2085 * c-lang.c: Ditto.
2086 * c-typeprint.c: Ditto.
2087 * charset.c: Ditto.
2088 * coffread.c: Ditto.
2089 * command.h: Ditto.
2090 * corelow.c: Ditto.
2091 * cp-abi.c: Ditto.
2092 * cp-namespace.c: Ditto.
2093 * cp-support.c: Ditto.
2094 * dbug-rom.c: Ditto.
2095 * dbxread.c: Ditto.
2096 * defs.h: Ditto.
2097 * dfp.c: Ditto.
2098 * dfp.h: Ditto.
2099 * dictionary.c: Ditto.
2100 * disasm.c: Ditto.
2101 * doublest.c: Ditto.
2102 * dwarf2-frame.c: Ditto.
2103 * dwarf2expr.c: Ditto.
2104 * dwarf2loc.c: Ditto.
2105 * dwarf2read.c: Ditto.
2106 * elfread.c: Ditto.
2107 * eval.c: Ditto.
2108 * event-loop.c: Ditto.
2109 * event-loop.h: Ditto.
2110 * exceptions.h: Ditto.
2111 * exec.c: Ditto.
2112 * expprint.c: Ditto.
2113 * expression.h: Ditto.
2114 * f-lang.c: Ditto.
2115 * f-valprint.c: Ditto.
2116 * findcmd.c: Ditto.
2117 * frame-base.c: Ditto.
2118 * frame-unwind.c: Ditto.
2119 * frame-unwind.h: Ditto.
2120 * frame.c: Ditto.
2121 * frame.h: Ditto.
2122 * gcore.c: Ditto.
2123 * gdb-stabs.h: Ditto.
2124 * gdb_assert.h: Ditto.
2125 * gdb_dirent.h: Ditto.
2126 * gdb_obstack.h: Ditto.
2127 * gdbcore.h: Ditto.
2128 * gdbtypes.c: Ditto.
2129 * gdbtypes.h: Ditto.
2130 * inf-ttrace.c: Ditto.
2131 * infcall.c: Ditto.
2132 * infcmd.c: Ditto.
2133 * inflow.c: Ditto.
2134 * infrun.c: Ditto.
2135 * inline-frame.h: Ditto.
2136 * language.c: Ditto.
2137 * language.h: Ditto.
2138 * libunwind-frame.c: Ditto.
2139 * libunwind-frame.h: Ditto.
2140 * linespec.c: Ditto.
2141 * linux-nat.c: Ditto.
2142 * linux-nat.h: Ditto.
2143 * linux-thread-db.c: Ditto.
2144 * machoread.c: Ditto.
2145 * macroexp.c: Ditto.
2146 * macrotab.c: Ditto.
2147 * main.c: Ditto.
2148 * maint.c: Ditto.
2149 * mdebugread.c: Ditto.
2150 * memattr.c: Ditto.
2151 * minsyms.c: Ditto.
2152 * monitor.c: Ditto.
2153 * monitor.h: Ditto.
2154 * objfiles.c: Ditto.
2155 * objfiles.h: Ditto.
2156 * osabi.c: Ditto.
2157 * p-typeprint.c: Ditto.
2158 * p-valprint.c: Ditto.
2159 * parse.c: Ditto.
2160 * printcmd.c: Ditto.
2161 * proc-events.c: Ditto.
2162 * procfs.c: Ditto.
2163 * progspace.c: Ditto.
2164 * progspace.h: Ditto.
2165 * psympriv.h: Ditto.
2166 * psymtab.c: Ditto.
2167 * record.c: Ditto.
2168 * regcache.c: Ditto.
2169 * regcache.h: Ditto.
2170 * remote-fileio.c: Ditto.
2171 * remote.c: Ditto.
2172 * ser-mingw.c: Ditto.
2173 * ser-tcp.c: Ditto.
2174 * ser-unix.c: Ditto.
2175 * serial.c: Ditto.
2176 * serial.h: Ditto.
2177 * solib-frv.c: Ditto.
2178 * solib-irix.c: Ditto.
2179 * solib-osf.c: Ditto.
2180 * solib-pa64.c: Ditto.
2181 * solib-som.c: Ditto.
2182 * solib-sunos.c: Ditto.
2183 * solib-svr4.c: Ditto.
2184 * solib-target.c: Ditto.
2185 * solib.c: Ditto.
2186 * somread.c: Ditto.
2187 * source.c: Ditto.
2188 * stabsread.c: Ditto.
2189 * stabsread.c: Ditto.
2190 * stack.c: Ditto.
2191 * stack.h: Ditto.
2192 * symfile-mem.c: Ditto.
2193 * symfile.c: Ditto.
2194 * symfile.h: Ditto.
2195 * symmisc.c: Ditto.
2196 * symtab.c: Ditto.
2197 * symtab.h: Ditto.
2198 * target-descriptions.c: Ditto.
2199 * target-memory.c: Ditto.
2200 * target.c: Ditto.
2201 * target.h: Ditto.
2202 * terminal.h: Ditto.
2203 * thread.c: Ditto.
2204 * top.c: Ditto.
2205 * tracepoint.c: Ditto.
2206 * tracepoint.h: Ditto.
2207 * ui-file.c: Ditto.
2208 * ui-file.h: Ditto.
2209 * ui-out.h: Ditto.
2210 * user-regs.c: Ditto.
2211 * user-regs.h: Ditto.
2212 * utils.c: Ditto.
2213 * valarith.c: Ditto.
2214 * valops.c: Ditto.
2215 * valprint.c: Ditto.
2216 * valprint.h: Ditto.
2217 * value.c: Ditto.
2218 * varobj.c: Ditto.
2219 * varobj.h: Ditto.
2220 * vec.h: Ditto.
2221 * xcoffread.c: Ditto.
2222 * xcoffsolib.c: Ditto.
2223 * xcoffsolib.h: Ditto.
2224 * xml-syscall.c: Ditto.
2225 * xml-tdesc.c: Ditto.
2226
9a2b4c1b
MS
22272011-01-05 Michael Snyder <[email protected]>
2228
2229 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2230 * cli/cli-decode.c: Ditto.
2231 * cli/cli-dump.c: Ditto.
2232 * cli/cli-logging.c: Ditto.
2233 * cli/cli-script.c: Ditto.
2234 * cli/cli-setshow.c: Ditto.
2235 * common/signals.c: Ditto.
2236 * mi/mi-cmd-break.c: Ditto.
2237 * mi/mi-cmd-disas.c: Ditto.
2238 * mi/mi-cmd-stack.c: Ditto.
2239 * mi/mi-cmd-var.c: Ditto.
2240 * mi/mi-cmds.c: Ditto.
2241 * mi/mi-common.h: Ditto.
2242 * mi/mi-console.c: Ditto.
2243 * mi/mi-interp.c: Ditto.
2244 * mi/mi-main.c: Ditto.
2245 * osf-share/cma_attr.c: Ditto.
2246 * osf-share/cma_deb_core.h: Ditto.
2247 * osf-share/cma_debug_client.h: Ditto.
2248 * osf-share/cma_handle.h: Ditto.
2249 * osf-share/cma_mutex.h: Ditto.
2250 * osf-share/cma_stack_int.h: Ditto.
2251 * osf-share/cma_tcb_defs.h: Ditto.
2252 * python/py-auto-load.c: Ditto.
2253 * python/py-breakpoint.c: Ditto.
2254 * python/py-cmd.c: Ditto.
2255 * python/py-frame.c: Ditto.
2256 * python/py-objfile.c: Ditto.
2257 * python/py-param.c: Ditto.
2258 * python/py-progspace.c: Ditto.
2259 * python/py-symbol.c: Ditto.
2260 * python/py-value.c: Ditto.
2261 * python/python-internal.h: Ditto.
2262 * python/python.c: Ditto.
2263 * tui/tui-data.c: Ditto.
2264 * tui/tui-disasm.c: Ditto.
2265 * tui/tui-hooks.c: Ditto.
2266 * tui/tui-io.c: Ditto.
2267 * tui/tui-layout.c: Ditto.
2268 * tui/tui-regs.c: Ditto.
2269 * tui/tui-source.c: Ditto.
2270 * tui/tui-stack.c: Ditto.
2271 * tui/tui-win.c: Ditto.
2272 * tui/tui-windata.c: Ditto.
2273 * tui/tui-winsource.c: Ditto.
2274
44944448
JB
22752011-01-05 Joel Brobecker <[email protected]>
2276
2277 * configure.ac, gdb.1: Copyright year update.
2278
ebedcab5
JK
22792011-01-03 Jan Kratochvil <[email protected]>
2280
2281 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2282 this_pc_in_block, morestack_msym and morestack_name. Check for
2283 "__morestack" minimal symbol there.
2284
e5cc9f32
JB
22852011-01-03 Joel Brobecker <[email protected]>
2286
2287 * symfile.c (find_sym_fns): Add call to dont_repeat.
2288
7b6bb8da
JB
22892011-01-01 Joel Brobecker <[email protected]>
2290
2291 Copyright year update in most files (performed by copyright.sh).
2292
71ce852c
JB
22932011-01-01 Joel Brobecker <[email protected]>
2294
2295 * top.c (print_gdb_version): Update copyright year in version output.
0e2de366 2296
c3c1ebe8 2297For older changes see ChangeLog-2010.
c906108c
SS
2298\f
2299Local Variables:
2300mode: change-log
2301left-margin: 8
2302fill-column: 74
2303version-control: never
57da7796 2304coding: utf-8
c906108c 2305End:
This page took 2.920477 seconds and 4 git commands to generate.