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