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