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