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