* regcache.c (struct regcache_descr): Remove outdated comment.
[binutils-gdb.git] / gdb / ChangeLog
1 2011-01-25 Pedro Alves <pedro@codesourcery.com>
2
3 * regcache.c (struct regcache_descr): Remove outdated comment.
4 (init_regcache_descr): Remove sizeof_raw_register_valid_p
5 overallocate hack.
6 (regcache_xmalloc): Rename to ...
7 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
8 Allocate the regcache type accordingly.
9 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
10 (regcache_xfree): Asser the source is also readonly. Copy sizeof
11 cooked registers, not raw.
12 (regcache_dup_no_passthrough): Delete.
13 (get_thread_arch_regcache): Use regcache_xmalloc_1.
14 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
15 mention obsolete write_register_bytes.
16 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
17
18 2011-01-25 Pedro Alves <pedro@codesourcery.com>
19
20 Stop remote_read_bytes from handling partial reads itself.
21
22 * remote-fileio.c: Include target.h.
23 (remote_fileio_write_bytes): Delete.
24 (remote_fileio_func_open, remote_fileio_func_write)
25 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
26 target_read_memory.
27 (remote_fileio_func_stat): Use target_read_memory and
28 target_write_memory.
29 (remote_fileio_func_gettimeofday): Use target_write_memory.
30 (remote_fileio_func_system): Use target_read_memory.
31 * remote.c (remote_write_bytes): Make it static.
32 (remote_read_bytes): Don't handle partial reads here.
33 * remote.h (remote_read_bytes): Delete declaration.
34
35 2011-01-25 Pedro Alves <pedro@codesourcery.com>
36
37 Simplify XML parsing a bit.
38
39 * xml-support.h (gdb_xml_parse_quick): Declare.
40 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
41 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
42 parameter.
43 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
44 gdb_xml_create_parser_and_cleanup_1.
45 (gdb_xml_parse_quick): New.
46 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
47 * osdata.c (osdata_parse): Ditto.
48 * remote.c (remote_threads_info): Ditto.
49 * solib-target.c (solib_target_parse_libraries): Ditto.
50 * xml-syscall.c (syscall_parse_xml): Ditto.
51 * xml-tdesc.c (tdesc_parse_xml): Ditto.
52
53 2011-01-24 Kevin Buettner <kevinb@redhat.com>
54
55 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
56 with remote-mips.o added to gdb_target_obs.
57 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
58
59 2011-01-24 Pedro Alves <pedro@codesourcery.com>
60
61 * ada-valprint.c (val_print_packed_array_elements): Pass the
62 correct struct value to val_print.
63 (ada_val_print_1): Ditto.
64
65 2011-01-24 Pedro Alves <pedro@codesourcery.com>
66
67 Don't lose embedded_offset in printing routines throughout.
68
69 * valprint.h (val_print_array_elements): Change prototype.
70 * valprint.c (val_print_array_elements): Add `embedded_offset'
71 parameter, and adjust to pass it down to val_print, while passing
72 `valaddr' or `address' unmodified. Take embedded_offset into
73 account when checking repetitions.
74 * c-valprint.c (c_val_print): Pass embedded_offset to
75 val_print_array_elements instead of adjusting `valaddr' and
76 `address'.
77 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
78 embedded_offset to val_print_array_elements instead of adjusting
79 `valaddr'.
80 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
81 * p-valprint.c (pascal_val_print): Pass embedded_offset to
82 val_print_array_elements and pascal_object_print_value_fields
83 instead of adjusting `valaddr'.
84 (pascal_object_print_value_fields): Add `offset' parameter, and
85 adjust to use it.
86 (pascal_object_print_value): Add `offset' parameter, and adjust to
87 use it.
88 (pascal_object_print_static_field): Use
89 value_contents_for_printing/value_embedded_offset, rather than
90 value_contents.
91 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
92 parameter, and adjust to use it. Use
93 value_contents_for_printing/value_embedded_offset, rather than
94 value_contents.
95 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
96 (ada_val_print_array): Add `offset' parameter, and adjust to use
97 it.
98 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
99 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
100 Instead work with offsets. Use
101 value_contents_for_printing/value_embedded_offset, rather than
102 value_contents. Change `defer_val_int' local type to CORE_ADDR,
103 and use value_from_pointer to extract a target pointer, rather
104 than value_from_longest.
105 (print_variant_part): Add `offset' parameter. Replace
106 `outer_valaddr' parameter by a new `outer_offset' parameter.
107 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
108 (ada_value_print): Use
109 value_contents_for_printing/value_embedded_offset, rather than
110 value_contents.
111 (print_record): Add `offset' parameter, and adjust to pass it
112 down.
113 (print_field_values): Add `offset' parameter. Replace
114 `outer_valaddr' parameter by a new `outer_offset' parameter.
115 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
116 Use value_contents_for_printing/value_embedded_offset, rather than
117 value_contents.
118 * d-valprint.c (dynamic_array_type): Use
119 value_contents_for_printing/value_embedded_offset, rather than
120 value_contents.
121 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
122 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
123 (java_print_value_fields): Take `offset' into account. Don't
124 re-adjust `valaddr'. Instead pass down adjusted offsets.
125 (java_val_print): Take `embedded_offset' into account. Pass it to
126 java_print_value_fields.
127 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
128 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
129 down adjusted offsets.
130 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
131 (f_val_print): Take `embedded_offset' into account.
132
133 2011-01-21 Joel Brobecker <brobecker@adacore.com>
134
135 * inflow.c: Include "gdbcmd.h".
136 (interactive_mode): New static global, moved here from top.c.
137 (show_interactive_mode): New function, moved here from top.c.
138 use gdb_has_a_terminal instead of input_from_terminal_p to
139 determine the current mode.
140 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
141 setting.
142 (_initialize_inflow): Add the "set/show interactive-mode"
143 commands. Moved here from top.c, after having adjusted slightly
144 the help text.
145 * top.c (interactive_mode, show_interactive_mode): Delete, moved
146 to inflow.c.
147 (input_from_terminal_p): Remove handling of "interactive-mode"
148 setting, moved to infow.c.
149 (init_main): Remove creation of the "set/show interactive-mode"
150 commands, moved to inflow.c.
151
152 2011-01-19 Joel Brobecker <brobecker@adacore.com>
153
154 * NEWS: Add entry for native ia64-hpux support.
155
156 2011-01-19 Tom Tromey <tromey@redhat.com>
157
158 PR mi/8618:
159 * thread.c (free_thread): Free 'name'.
160 (print_thread_info): Emit thread name. Change CLI output.
161 (thread_name_command): New function.
162 (do_captured_thread_select): Emit newline.
163 (_initialize_thread): Register 'thread name' command.
164 * target.h (struct target_ops) <to_thread_name>: New field.
165 (target_thread_name): New macro.
166 * target.c (update_current_target): Handle to_thread_name.
167 * python/py-infthread.c (thpy_get_name): New function.
168 (thpy_set_name): Likewise.
169 (thread_object_getset): Add "name".
170 * linux-nat.c (linux_nat_thread_name): New function.
171 (linux_nat_add_target): Set to_thread_name.
172 * gdbthread.h (struct thread_info) <name>: New field.
173
174 2011-01-18 Joel Brobecker <brobecker@adacore.com>
175
176 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
177 (ada_val_print_1): Likewise.
178
179 2011-01-18 Joel Brobecker <brobecker@adacore.com>
180
181 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
182 upper limit address is not greater than the function end address
183 when the upper limit could not be computed using the debugging
184 info.
185
186 2011-01-17 Tom Tromey <tromey@redhat.com>
187
188 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
189 get_regcomp_error.
190 * utils.c: Include gdb_regex.h.
191 (do_regfree_cleanup): New function.
192 (make_regfree_cleanup): Likewise.
193 (get_regcomp_error): Likewise.
194 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
195
196 2011-01-17 Tom Tromey <tromey@redhat.com>
197
198 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
199 re_compile_fastmap.
200
201 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
202
203 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
204 for internal variables.
205 (last_was_structop): New static variable.
206 (COMPLETE): New token.
207 (field_exp): New rule to group all '.' suffix handling.
208 Add mark_struct_expression calls when approriate to be able
209 to correctly find fields for completion.
210 (yylex): Adapt to handle field completion and set INTVAR when
211 required.
212
213 2011-01-14 Yao Qi <yao@codesourcery.com>
214
215 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
216 save_reggroup, restore_reggroup and all_reggroup.
217
218 2011-01-14 Joel Brobecker <brobecker@adacore.com>
219
220 * ada-valprint. (ada_printchar): Use the correct type length
221 in call to ada_emit_char.
222 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
223
224 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
225
226 * solib-som.h (hpux_major_release): Declare variable here.
227 * solib-som.c: Remove <sys/utsname.h> header.
228 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
229 (hpux_major_release): Make global, change default value to
230 DEFAULT_HPUX_MAJOR_RELEASE.
231 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
232 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
233 Add "solib-som.h" header.
234 (set_hpux_major_release): New function.
235 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
236
237 2011-01-14 Mike Frysinger <vapier@gentoo.org>
238
239 * configure.tgt (*-*-uclinux*): Match more Linux os targets
240
241 2011-01-14 Joel Brobecker <brobecker@adacore.com>
242
243 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
244 new-line at end of warning message.
245 (ia64_hpux_store_register): Remove trailing new-line at end of
246 error message.
247 * ia64-hpux-tdep.c: Rephrase comment.
248 * solib-ia64-hpux.c (struct dld_info): Change type of field
249 dld_flags from "long long" to ULONGEST.
250
251 2011-01-14 Pedro Alves <pedro@codesourcery.com>
252
253 * target.h (deprecated_child_ops): Delete declaration.
254 * target.c (deprecated_child_ops): Delete definition.
255
256 2011-01-14 Pedro Alves <pedro@codesourcery.com>
257
258 * Makefile.in (hpux-thread.o): Delete rule.
259 * configure.ac: Don't check for HPUX DCE threads support.
260 * configure, config.in: Regenerate.
261 * hppa-hpux-nat.c (child_suppress_run): Delete.
262 (hppa_hpux_child_can_run): Delete.
263 (_initialize_hppa_hpux_nat): Don't override to_can_run.
264 * hpux-thread.c: Delete.
265
266 2011-01-13 Joel Brobecker <brobecker@adacore.com>
267
268 * hpux-thread.c (hpux_pid_to_str): Delete.
269
270 2011-01-13 Joel Brobecker <brobecker@adacore.com>
271
272 * ada-valprint.c (ada_emit_char): Remove strange code.
273 Check that c is <= UCHAR_MAX before passing it to isascii.
274 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
275
276 2011-01-13 Joel Brobecker <brobecker@adacore.com>
277
278 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
279 to the case where instream is stdin.
280
281 2011-01-13 Joel Brobecker <brobecker@adacore.com>
282
283 * ia64-tdep.h (struct regcache): Forward declare.
284 (struct ia64_infcall_ops): New struct type.
285 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
286 and "infcall_ops".
287 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
288 Renames ia64_find_global_pointer.
289 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
290 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
291 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
292 methods.
293 (ia64_infcall_ops): New static global constant.
294 (ia64_gdbarch_init): Set tdep->infcall_ops.
295 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
296 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
297 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
298 (ia64_hpux_dummy_code): New static global constant.
299 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
300 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
301 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
302 New function.
303 (ia64_hpux_infcall_ops): New static global constant.
304 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
305 for inferior function calls to work properly on ia64-hpux.
306
307 2011-01-13 Joel Brobecker <brobecker@adacore.com>
308
309 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
310 * ia64-tdep.h (struct frame_info): forward declaration.
311 (struct gdbarch_tdep): Add field size_of_register_frame.
312 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
313 to determine the size of the register frame.
314 (ia64_size_of_register_frame): New function.
315 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
316 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
317 (IA64_HPUX_UREG_REASON): New macro.
318 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
319 New functions.
320 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
321 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
322 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
323 objects.
324
325 2011-01-13 Joel Brobecker <brobecker@adacore.com>
326
327 Add support for ia64-hpux.
328 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
329 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
330
331 * configure.host: Add handling for ia64-hpux hosts. Add associated
332 floatformats.
333 * configure.tgt: Add handling for ia64-hpux targets.
334 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
335 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
336 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
337
338 2011-01-13 Joel Brobecker <brobecker@adacore.com>
339
340 [ttrace] Compute thread list immediately after attach.
341 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
342 New subprogram.
343 (inf_ttrace_attach): Use it.
344
345 2011-01-13 Joel Brobecker <brobecker@adacore.com>
346
347 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
348 if we could not determine the frame's function address. Instead,
349 use the frame's PC, and then continue.
350
351 2011-01-13 Joel Brobecker <brobecker@adacore.com>
352
353 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
354 not already defined.
355
356 2011-01-13 Joel Brobecker <brobecker@adacore.com>
357
358 * ia64-tdep.c (ia64_struct_type_p): New function.
359 (ia64_extract_return_value): Handle integral values that are
360 less than 8 bytes long.
361 (ia64_push_dummy_call): Likewise.
362
363 2011-01-13 Joel Brobecker <brobecker@adacore.com>
364
365 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
366 floatformat_ia64_ext.
367 (floatformat_ia64_ext_big): New static const.
368 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
369
370 2011-01-12 Tom Tromey <tromey@redhat.com>
371
372 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
373 messages.
374 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
375 (mi_cmd_thread_list_ids): Likewise.
376 (mi_cmd_data_list_changed_registers): Likewise.
377 (mi_cmd_data_list_register_values): Likewise.
378 (mi_cmd_data_write_register_values): Likewise.
379 (mi_cmd_data_evaluate_expression): Likewise.
380 (mi_cmd_data_read_memory): Likewise.
381 (mi_cmd_data_read_memory_bytes): Likewise.
382 (mi_cmd_data_write_memory): Likewise.
383 (mi_cmd_enable_timings): Likewise.
384 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
385 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
386 (mi_cmd_var_delete): Likewise.
387 (mi_cmd_var_set_format): Likewise.
388 (mi_cmd_var_show_format): Likewise.
389 (mi_cmd_var_info_num_children): Likewise.
390 (mi_cmd_var_list_children): Likewise.
391 (mi_cmd_var_info_type): Likewise.
392 (mi_cmd_var_info_expression): Likewise.
393 (mi_cmd_var_show_attributes): Likewise.
394 (mi_cmd_var_assign): Likewise.
395 (mi_cmd_var_update): Likewise.
396 (mi_cmd_enable_pretty_printing): Likewise.
397 (mi_cmd_var_set_update_range): Likewise.
398 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
399 messages.
400 (mi_cmd_target_file_put): Likewise.
401 (mi_cmd_target_file_delete): Likewise.
402 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
403 messages.
404 (mi_cmd_stack_info_depth): Likewise.
405 (mi_cmd_stack_list_locals): Likewise.
406 (mi_cmd_stack_list_args): Likewise.
407 (mi_cmd_stack_select_frame): Likewise.
408 (mi_cmd_stack_select_frame): Likewise.
409 (mi_cmd_stack_info_frame): Likewise.
410 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
411 messages.
412 (mi_cmd_file_list_exec_source_files): Likewise.
413 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
414 (mi_cmd_env_cd): Likewise.
415 (mi_cmd_env_path): Likewise.
416 (mi_cmd_env_dir): Likewise.
417 (mi_cmd_inferior_tty_show): Likewise.
418 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
419 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
420 (mi_cmd_break_watch): Likewise.
421
422 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
423
424 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
425 (ppc_linux_insert_hw_breakpoint): Likewise.
426 (ppc_linux_remove_hw_breakpoint): Likewise.
427 (ppc_linux_insert_watchpoint): Likewise.
428
429 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
430 Jan Kratochvil <jan.kratochvil@redhat.com>
431
432 PR fortran/11104 and DWARF unbound arrays detection.
433 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
434 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
435 unspecified upper bound.
436 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
437 variables array_size_array, tmp_type and offset_item. New variable
438 array. Remove call to f77_get_upperbound. New variables array_type
439 and index. Call value_subscripted_rvalue for each dimenasion. Remove
440 the final call to deprecated_set_value_type.
441
442 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
443
444 Make value allocations more lazy.
445 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
446 instead of allocate_value and set_value_lazy when possible.
447 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
448 instead of allocate_value and set_value_lazy.
449 * findvar.c (value_of_register_lazy): Likewise.
450 (read_var_value): Remove V preallocation, call just check_typedef in
451 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
452 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
453 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
454 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
455 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
456 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
457 the end, remove set_value_lazy there.
458 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
459 instead of allocate_value and set_value_lazy when possible.
460 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
461 * value.c (allocate_computed_value): Use allocate_value_lazy instead
462 of allocate_value and set_value_lazy.
463 (value_from_contents_and_address): Use allocate_value_lazy instead of
464 allocate_value and set_value_lazy when possible.
465
466 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
467
468 * disasm.c (dump_insns): Support dumping opcodes for MI.
469 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
470 dumping of instruction opcodes.
471
472 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
473
474 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
475 appropiately.
476
477 2011-01-11 Tom Tromey <tromey@redhat.com>
478
479 * thread.c (do_captured_thread_select): Emit newline before
480 printing frame.
481
482 2011-01-11 Michael Snyder <msnyder@vmware.com>
483
484 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
485 * score-tdep.c: Ditto.
486 * score-tdep.h: Ditto.
487 * ser-base.c: Ditto.
488 * ser-go32.c: Ditto.
489 * serial.c: Ditto.
490 * serial.h: Ditto.
491 * ser-mingw.c: Ditto.
492 * ser-pipe.c: Ditto.
493 * ser-tcp.c: Ditto.
494 * ser-unix.c: Ditto.
495 * sh64-tdep.c: Ditto.
496 * shnbsd-nat.c: Ditto.
497 * sh-tdep.c: Ditto.
498 * sh-tdep.h: Ditto.
499 * solib.c: Ditto.
500 * solib-darwin.c: Ditto.
501 * solib-frv.c: Ditto.
502 * solib.h: Ditto.
503 * solib-irix.c: Ditto.
504 * solib-osf.c: Ditto.
505 * solib-pa64.c: Ditto.
506 * solib-som.c: Ditto.
507 * solib-spu.c: Ditto.
508 * solib-sunos.c: Ditto.
509 * solib-svr4.c: Ditto.
510 * solist.h: Ditto.
511 * sol-thread.c: Ditto.
512 * somread.c: Ditto.
513 * source.c: Ditto.
514 * source.h: Ditto.
515 * sparc64-linux-tdep.c: Ditto.
516 * sparc64-tdep.c: Ditto.
517 * sparc-linux-nat.c: Ditto.
518 * sparc-linux-tdep.c: Ditto.
519 * sparc-sol2-nat.c: Ditto.
520 * sparc-sol2-tdep.c: Ditto.
521 * sparc-tdep.c: Ditto.
522 * sparc-tdep.h: Ditto.
523 * spu-tdep.c: Ditto.
524 * stabsread.c: Ditto.
525 * stabsread.h: Ditto.
526 * stack.c: Ditto.
527 * symfile.c: Ditto.
528 * symfile.h: Ditto.
529 * symmisc.c: Ditto.
530 * symtab.c: Ditto.
531 * symtab.h: Ditto.
532 * target.c: Ditto.
533 * target-descriptions.c: Ditto.
534 * target-descriptions.h: Ditto.
535 * target.h: Ditto.
536 * target-memory.c: Ditto.
537 * terminal.h: Ditto.
538 * thread.c: Ditto.
539 * top.c: Ditto.
540 * tracepoint.c: Ditto.
541 * tracepoint.h: Ditto.
542 * trad-frame.h: Ditto.
543 * typeprint.c: Ditto.
544
545 2011-01-11 Michael Snyder <msnyder@vmware.com>
546
547 * ui-file.c: Comment cleanup, mostly periods and spaces.
548 * ui-file.h: Ditto.
549 * ui-out.c: Ditto.
550 * ui-out.h: Ditto.
551 * utils.c: Ditto.
552 * v850-tdep.c: Ditto.
553 * valarith.c: Ditto.
554 * valops.c: Ditto.
555 * valprint.c: Ditto.
556 * valprint.h: Ditto.
557 * value.c: Ditto.
558 * value.h: Ditto.
559 * varobj.c: Ditto.
560 * varobj.h: Ditto.
561 * vax-tdep.c: Ditto.
562 * vec.c: Ditto.
563 * vec.h: Ditto.
564 * version.h: Ditto.
565 * windows-nat.c: Ditto.
566 * windows-tdep.c: Ditto.
567 * xcoffread.c: Ditto.
568 * xcoffsolib.c: Ditto.
569 * xml-support.c: Ditto.
570 * xstormy16-tdep.c: Ditto.
571 * xtensa-tdep.c: Ditto.
572 * xtensa-tdep.h: Ditto.
573
574 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
575
576 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
577 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
578
579 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
580 Thiago Jung Bauermann <bauerman@br.ibm.com>
581
582 Implement support for PowerPC BookE ranged watchpoints.
583 * breakpoint.h
584 (struct breakpoint_ops) <resources_needed>: New method.
585 Initialize to NULL in all existing breakpoint_ops instances.
586 (struct breakpoint) <exact>: New field.
587 (target_exact_watchpoints): Declare external global.
588 * breakpoint.c (target_exact_watchpoints): New global flag.
589 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
590 b->enable_state to bp_enabled before calling
591 hw_watchpoint_used_count.
592 (hw_watchpoint_used_count): Iterate over all bp_locations in a
593 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
594 if available.
595 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
596 if the watchpoint is exact.
597 (resources_needed_watchpoint): New function.
598 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
599 (watch_command_1): Set b->exact if the user asked for an exact
600 watchpoint and one can be set.
601 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
602 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
603 the user asks for an exact watchpoint and one can be set. Return
604 number of needed debug registers to watch the expression.
605 * gdbtypes.c (is_scalar_type): New function, based on
606 valprint.c:scalar_type_p.
607 (is_scalar_type_recursive): New function.
608 * gdbtypes.h (is_scalar_type_recursive): Declare.
609 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
610 handle regions when ranged watchpoints are available.
611 (create_watchpoint_request): New function.
612 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
613 create_watchpoint_request.
614 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
615 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
616 `set powerpc' and `show powerpc' commands.
617 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
618 Mention documentation comment in the target macro.
619 (target_region_ok_for_hw_watchpoint): Document return value.
620
621 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
622
623 * breakpoint.c (update_watchpoint): Decide on using a software or
624 hardware watchpoint after the bp_locations are created.
625
626 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
627
628 Convert hardware watchpoints to use breakpoint_ops.
629 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
630 <insert_location>: ... this. Return int instead of void.
631 Accept pointer to struct bp_location instead of pointer to
632 struct breakpoint. Adapt all implementations.
633 (breakpoint_ops) <remove>: Rename to...
634 <remove_location>: ... this. Accept pointer to struct bp_location
635 instead of pointer to struct breakpoint. Adapt all implementations.
636 * breakpoint.c (insert_catchpoint): Delete function.
637 (insert_bp_location): Call the watchpoint or catchpoint's
638 breakpoint_ops.insert method.
639 (remove_breakpoint_1): Call the watchpoint or catchpoint's
640 breakpoint_ops.remove method.
641 (insert_watchpoint, remove_watchpoint): New functions.
642 (watchpoint_breakpoint_ops): New structure.
643 (watch_command_1): Initialize the OPS field.
644 * inf-child.c (inf_child_insert_fork_catchpoint)
645 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
646 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
647 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
648 Delete functions.
649 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
650 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
651 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
652 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
653 * target.c (update_current_target): Change default implementation of
654 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
655 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
656 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
657 to_set_syscall_catchpoint to return_one.
658 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
659 (debug_to_insert_exec_catchpoint): Report return value.
660 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
661 (to_insert_exec_catchpoint): Change declaration to return int instead
662 of void.
663
664 2011-01-11 Michael Snyder <msnyder@vmware.com>
665
666 * arm-tdep.c: Internationalization.
667 * c-lang.c: Ditto.
668 * charset.c: Ditto.
669 * fork-child.c: Ditto.
670 * nto-procfs.c: Ditto.
671 * ppc-sysv-tdep.c: Ditto.
672 * procfs.c: Ditto.
673 * remote-mips.c: Ditto.
674 * remote.c: Ditto.
675 * rs6000-nat.c: Ditto.
676 * rs6000-tdep.c: Ditto.
677 * target.c: Ditto.
678 * valops.c: Ditto.
679 * value.c: Ditto.
680 * xml-support.c: Ditto.
681 * mi/mi-cmd-break.c: Ditto.
682 * mi/mi-cmd-var.c: Ditto.
683 * mi/mi-interp.c: Ditto.
684 * mi/mi-main.c: Ditto.
685
686 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
687
688 * remote-sim.c (gdbsim_store_register): Update API to
689 sim_store_register to check more error conditions.
690
691 2011-01-10 Michael Snyder <msnyder@vmware.com>
692
693 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
694 * nto-tdep.c: Ditto.
695 * nto-tdep.h: Ditto.
696 * objc-exp.y: Ditto.
697 * objc-lang.c: Ditto.
698 * objfiles.c: Ditto.
699 * objfiles.h: Ditto.
700 * observer.c: Ditto.
701 * opencl-lang.c: Ditto.
702 * osabi.c: Ditto.
703 * parse.c: Ditto.
704 * parser-defs.h: Ditto.
705 * p-exp.y: Ditto.
706 * p-lang.c: Ditto.
707 * posix-hdep.c: Ditto.
708 * ppcbug-rom.c: Ditto.
709 * ppc-linux-nat.c: Ditto.
710 * ppc-linux-tdep.c: Ditto.
711 * ppc-linux-tdep.h: Ditto.
712 * ppcnbsd-tdep.c: Ditto.
713 * ppcobsd-tdep.c: Ditto.
714 * ppcobsd-tdep.h: Ditto.
715 * ppc-sysv-tdep.c: Ditto.
716 * ppc-tdep.h: Ditto.
717 * printcmd.c: Ditto.
718 * proc-abi.c: Ditto.
719 * proc-flags.c: Ditto.
720 * procfs.c: Ditto.
721 * proc-utils.h: Ditto.
722 * progspace.h: Ditto.
723 * prologue-value.c: Ditto.
724 * prologue-value.h: Ditto.
725 * psympriv.h: Ditto.
726 * psymtab.c: Ditto.
727 * p-typeprint.c: Ditto.
728 * p-valprint.c: Ditto.
729 * ravenscar-sparc-thread.c: Ditto.
730 * ravenscar-thread.c: Ditto.
731 * ravenscar-thread.h: Ditto.
732 * record.c: Ditto.
733 * regcache.c: Ditto.
734 * regcache.h: Ditto.
735 * remote.c: Ditto.
736 * remote-fileio.c: Ditto.
737 * remote-fileio.h: Ditto.
738 * remote.h: Ditto.
739 * remote-m32r-sdi.c: Ditto.
740 * remote-mips.c: Ditto.
741 * remote-sim.c: Ditto.
742 * rs6000-aix-tdep.c: Ditto.
743 * rs6000-nat.c: Ditto.
744 * rs6000-tdep.c: Ditto.
745
746 2011-01-10 Michael Snyder <msnyder@vmware.com>
747
748 * charset.c (validate): Internationalization.
749 * coffread.c (read_one_sym): Ditto.
750 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
751 * h8300-tdep.c (H8300_extract_return_value): Ditto.
752 * inflow.c (new_tty): Ditto.
753 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
754 * m32c-tdep.c (m32c_return_value): Ditto.
755 * mep-tdep.c (mep_store_return_value): Ditto.
756 * score-tdep.c (score7_fetch_insn): Ditto.
757 * ser-mingw.c (pipe_windows_open): Ditto.
758 * sh64-tdep.c (sh64_extract_return_value): Ditto.
759 * spu-tdep.c (spu_register_type): Ditto.
760 * tracepoint.c (trace_find_command): Ditto.
761 * valarith.c (value_pos): Ditto.
762
763 2011-01-10 Joel Brobecker <brobecker@adacore.com>
764
765 * ada-valprint.c (printstr): Minor comment reformatting.
766
767 2011-01-08 Michael Snyder <msnyder@vmware.com>
768
769 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
770 markup.
771
772 2011-01-08 Michael Snyder <msnyder@vmware.com>
773
774 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
775 * hppa-hpux-tdep.c: Ditto.
776 * hppa-linux-nat.c: Ditto.
777 * hppa-linux-tdep.c: Ditto.
778 * hppanbsd-tdep.c: Ditto.
779 * hppa-tdep.c: Ditto.
780 * hppa-tdep.h: Ditto.
781 * hpux-thread.c: Ditto.
782 * i386-cygwin-tdep.c: Ditto.
783 * i386-darwin-nat.c: Ditto.
784 * i386gnu-nat.c: Ditto.
785 * i386-linux-nat.c: Ditto.
786 * i386-linux-tdep.c: Ditto.
787 * i386-nat.c: Ditto.
788 * i386-nat.h: Ditto.
789 * i386nbsd-tdep.c: Ditto.
790 * i386-sol2-nat.c: Ditto.
791 * i386-stub.c: Ditto.
792 * i386-tdep.c: Ditto.
793 * i386-tdep.h: Ditto.
794 * i387-tdep.c: Ditto.
795 * ia64-linux-nat.c: Ditto.
796 * ia64-linux-tdep.c: Ditto.
797 * ia64-tdep.c: Ditto.
798 * infcall.c: Ditto.
799 * infcall.h: Ditto.
800 * infcmd.c: Ditto.
801 * inferior.c: Ditto.
802 * inferior.h: Ditto.
803 * infloop.c: Ditto.
804 * inflow.c: Ditto.
805 * infrun.c: Ditto.
806 * interps.c: Ditto.
807 * interps.h: Ditto.
808 * iq2000-tdep.c: Ditto.
809 * irix5-nat.c: Ditto.
810 * jit.c: Ditto.
811 * jit.h: Ditto.
812 * jv-exp.y: Ditto.
813 * jv-lang.c: Ditto.
814 * jv-lang.h: Ditto.
815 * jv-typeprint.c: Ditto.
816 * jv-valprint.c: Ditto.
817 * language.c: Ditto.
818 * language.h: Ditto.
819 * linespec.c: Ditto.
820 * linux-fork.c: Ditto.
821 * linux-nat.c: Ditto.
822 * linux-thread-db.c: Ditto.
823 * lm32-tdep.c: Ditto.
824
825 2011-01-08 Michael Snyder <msnyder@vmware.com>
826
827 * m2-exp.y: Comment cleanup, mostly periods and spaces.
828 * m2-lang.c: Ditto.
829 * m2-typeprint.c: Ditto.
830 * m2-valprint.c: Ditto.
831 * m32c-tdep.c: Ditto.
832 * m32r-linux-nat.c: Ditto.
833 * m32r-rom.c: Ditto.
834 * m32r-tdep.c: Ditto.
835 * m32r-tdep.h: Ditto.
836 * m68hc11-tdep.c: Ditto.
837 * m58klinux-nat.c: Ditto.
838 * m68k-tdep.c: Ditto.
839 * m88k-tdep.c: Ditto.
840 * m88k-tdep.h: Ditto.
841 * machoread.c: Ditto.
842 * macrocmd.c: Ditto.
843 * macroexp.c: Ditto.
844 * macrotab.c: Ditto.
845 * main.c: Ditto.
846 * maint.c: Ditto.
847 * mdebugread.c: Ditto.
848 * mdebugread.h: Ditto.
849 * memattr.c: Ditto.
850 * memattr.h: Ditto.
851 * memory-map.h: Ditto.
852 * mep-tdep.c: Ditto.
853 * microblaze-rom.c: Ditto.
854 * microblaze-tdep.c: Ditto.
855 * minsyms.c: Ditto.
856 * mips-irix-tdep.c: Ditto.
857 * mips-linux-nat.c: Ditto.
858 * mips-linux-tdep.c: Ditto.
859 * mips-linux-tdep.h: Ditto.
860 * mipsnbsd-nat.c: Ditto.
861 * mipsnbsd-tdep.c: Ditto.
862 * mipsread.c: Ditto.
863 * mips-tdep.c: Ditto.
864 * mips-tdep.h: Ditto.
865 * mn10300-linux-tdep.c: Ditto.
866 * mn10300-tdep.c: Ditto.
867 * mn10300-tdep.h: Ditto.
868 * monitor.c: Ditto.
869 * monitor.h: Ditto.
870 * moxie-tdep.c: Ditto.
871 * moxie-tdep.h: Ditto.
872 * mt-tdep.c: Ditto.
873
874 2011-01-08 Mike Frysinger <vapier@gentoo.org>
875
876 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
877
878 2011-01-08 Robert Millan <rmh@gnu.org>
879
880 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
881
882 2011-01-07 Michael Snyder <msnyder@vmware.com>
883
884 * charset.c (_initialize_charset): Fix typo in string.
885
886 2011-01-07 Michael Snyder <msnyder@vmware.com>
887
888 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
889 for i18n.
890 * tui/tui-layout.c (tui_set_layout_for_display_command):
891 Split line so that operator goes to beginning of line.
892 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
893 assignment out of if statement.
894
895 2011-01-07 Michael Snyder <msnyder@vmware.com>
896
897 * ada-lang.c: Comment cleanup, mostly periods and spaces.
898 * ada-lang.h: Ditto.
899 * ada-tasks.c: Ditto.
900 * ada-valprint.c: Ditto.
901 * aix-threads.c: Ditto.
902 * alpha-linux-nat.c: Ditto.
903 * alpha-linux-tdep.c: Ditto.
904 * alpha-mdebug-tdep.c: Ditto.
905 * alpha-nat.c: Ditto.
906 * alpha-osf1-tdep.c: Ditto.
907 * alpha-tdep.c: Ditto.
908 * alphabsd-nat.c: Ditto.
909 * alphabsd-tdep.c: Ditto.
910 * amd64-darwin-tdep.c: Ditto.
911 * amd64-linux-nat.c: Ditto.
912 * amd64-linux-tdep.c: Ditto.
913 * amd64-sol2-tdep.c: Ditto.
914 * amd64-tdep.c: Ditto.
915 * amd64-fbsd-tdep.c: Ditto.
916 * amd64-nbsd-tdep.c: Ditto.
917 * amd64-obsd-tdep.c: Ditto.
918 * amd64-linux-nat.c: Ditto.
919 * amd64-linux-tdep.c: Ditto.
920 * arm-tdep.c: Ditto.
921 * arm-tdep.h: Ditto.
922 * armnbsd-nat.c: Ditto.
923 * avr-tdep.c: Ditto.
924 * bfin-tdep.c: Ditto.
925 * bsd-kvm.c: Ditto.
926 * c-typeprintc: Ditto.
927 * c-valprint.c: Ditto.
928 * coff-pe-read.h: Ditto.
929 * coffreead.c: Ditto.
930 * cris-tdep.c: Ditto.
931 * d-lang.c: Ditto.
932 * darwin-nat-info.c: Ditto.
933 * darwin-nat.c: Ditto.
934 * dbug-rom.c: Ditto.
935 * dbxread.c: Ditto.
936 * dcache.c: Ditto.
937 * dcache.h: Ditto.
938 * dec-thread.c: Ditto.
939 * defs.h: Ditto.
940 * demangle.c: Ditto.
941 * dicos-tdep.c: Ditto.
942 * dictionary.c: Ditto.
943 * dictionary.h: Ditto.
944 * dink32-rom.c: Ditto.
945 * disasm.c: Ditto.
946 * doublest.c: Ditto.
947 * dsrec.c: Ditto.
948 * dummy-frame.c: Ditto.
949 * dwarf2-frame.c: Ditto.
950 * dwarf2expr.c: Ditto.
951 * dwarf2loc.c: Ditto.
952 * dwarf2read.c: Ditto.
953 * elfread.c: Ditto.
954 * environ.c: Ditto.
955 * eval.c: Ditto.
956 * event-top.h: Ditto.
957 * exceptions.c: Ditto.
958 * exceptions.h: Ditto.
959 * exec.c: Ditto.
960 * expprint.c: Ditto.
961 * expression.h: Ditto.
962 * f-exp.y: Ditto.
963 * f-lang.c: Ditto.
964 * f-lang.h: Ditto.
965 * f-typeprint.c: Ditto.
966 * f-valprint.c: Ditto.
967 * fbsd-nat.c: Ditto.
968 * findvar.c: Ditto.
969 * fork-child.c: Ditto.
970 * frame.c: Ditto.
971 * frame.h: Ditto.
972 * frv-linux-tdep.c: Ditto.
973 * frv-tdep.c: Ditto.
974 * gcore.c: Ditto.
975 * gdb-stabs.h: Ditto.
976 * gdb_assert.h: Ditto.
977 * gdb_string.h: Ditto.
978 * gdb_thread_db.h: Ditto.
979 * gdb_wait.h: Ditto.
980 * gdbarch.sh: Ditto.
981 * gdbcore.h: Ditto.
982 * gdbthread.h: Ditto.
983 * gdbtypes.c: Ditto.
984 * gdbtypes.h: Ditto.
985 * gnu-nat.c: Ditto.
986 * gnu-nat.h: Ditto.
987 * gnu-v2-abi.c: Ditto.
988 * gnu-v3-abi.c: Ditto.
989 * go32-nat.c: Ditto.
990 * gdbarch.c: Regenerate.
991 * gdbarch.h: Regenerate.
992
993 2011-01-07 Michael Snyder <msnyder@vmware.com>
994
995 * ax-gdb.c: Adjust some long output strings.
996 * breakpoint.c: Ditto.
997 * charset.c: Ditto.
998 * cp-abi.c: Ditto.
999 * infcall.c: Ditto.
1000 * infrun.c: Ditto.
1001 * linux-nat.c: Ditto.
1002 * solib-pa64.c: Ditto.
1003 * solib-som.c: Ditto.
1004
1005 2011-01-06 Tom Tromey <tromey@redhat.com>
1006
1007 PR python/12367:
1008 * NEWS: Add item.
1009 * python/python.c (GdbMethods): Add "newest_frame" method.
1010 * python/python-internal.h (gdbpy_newest_frame): Declare.
1011 * python/py-frame.c (gdbpy_newest_frame): New function.
1012
1013 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1014
1015 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1016 * jit.c (jit_debug): New variable.
1017 (show_jit_debug): New function.
1018 (struct target_buffer): Use ULONGEST.
1019 (bfd_open_from_target_memory): Likewise.
1020 (jit_register_code, jit_inferior_init): Add debug output.
1021 (_initialize_jit): Register "debug jit" command.
1022
1023 2011-01-06 Tom Tromey <tromey@redhat.com>
1024
1025 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1026 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1027 and ARCH_FRAME.
1028
1029 2011-01-06 Tom Tromey <tromey@redhat.com>
1030
1031 * python/py-frame.c (frapy_block): Use get_frame_block.
1032
1033 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1034
1035 Do not stop on SIGPRIO signals by default
1036 * infrun.c (_initialize_infrun): Unset signal_stop and
1037 signal_print for TARGET_SIGNAL_PRIO.
1038
1039 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1040
1041 * ada-tasks.c: Fix style violation in comment.
1042
1043 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1044
1045 * linespec.c (decode_compound, find_method): Remove trailing \n
1046 at end of error string.
1047 * solib-irix.c (irix_current_sos): Likewise.
1048 * varobj.c (uninstall_variable): Likewise.
1049
1050 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1051
1052 * copyright.py: New script.
1053 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1054 Launch emacs without exec'ing. Call copyright.py afterwards.
1055
1056 2011-01-05 Michael Snyder <msnyder@vmware.com>
1057
1058 * addrmap.c: Shorten lines of >= 80 columns.
1059 * arch-utils.c: Ditto.
1060 * arch-utils.h: Ditto.
1061 * ax-gdb.c: Ditto.
1062 * ax-general.c: Ditto.
1063 * bcache.c: Ditto.
1064 * blockframe.c: Ditto.
1065 * breakpoint.c: Ditto.
1066 * buildsym.c: Ditto.
1067 * c-lang.c: Ditto.
1068 * c-typeprint.c: Ditto.
1069 * charset.c: Ditto.
1070 * coffread.c: Ditto.
1071 * command.h: Ditto.
1072 * corelow.c: Ditto.
1073 * cp-abi.c: Ditto.
1074 * cp-namespace.c: Ditto.
1075 * cp-support.c: Ditto.
1076 * dbug-rom.c: Ditto.
1077 * dbxread.c: Ditto.
1078 * defs.h: Ditto.
1079 * dfp.c: Ditto.
1080 * dfp.h: Ditto.
1081 * dictionary.c: Ditto.
1082 * disasm.c: Ditto.
1083 * doublest.c: Ditto.
1084 * dwarf2-frame.c: Ditto.
1085 * dwarf2expr.c: Ditto.
1086 * dwarf2loc.c: Ditto.
1087 * dwarf2read.c: Ditto.
1088 * elfread.c: Ditto.
1089 * eval.c: Ditto.
1090 * event-loop.c: Ditto.
1091 * event-loop.h: Ditto.
1092 * exceptions.h: Ditto.
1093 * exec.c: Ditto.
1094 * expprint.c: Ditto.
1095 * expression.h: Ditto.
1096 * f-lang.c: Ditto.
1097 * f-valprint.c: Ditto.
1098 * findcmd.c: Ditto.
1099 * frame-base.c: Ditto.
1100 * frame-unwind.c: Ditto.
1101 * frame-unwind.h: Ditto.
1102 * frame.c: Ditto.
1103 * frame.h: Ditto.
1104 * gcore.c: Ditto.
1105 * gdb-stabs.h: Ditto.
1106 * gdb_assert.h: Ditto.
1107 * gdb_dirent.h: Ditto.
1108 * gdb_obstack.h: Ditto.
1109 * gdbcore.h: Ditto.
1110 * gdbtypes.c: Ditto.
1111 * gdbtypes.h: Ditto.
1112 * inf-ttrace.c: Ditto.
1113 * infcall.c: Ditto.
1114 * infcmd.c: Ditto.
1115 * inflow.c: Ditto.
1116 * infrun.c: Ditto.
1117 * inline-frame.h: Ditto.
1118 * language.c: Ditto.
1119 * language.h: Ditto.
1120 * libunwind-frame.c: Ditto.
1121 * libunwind-frame.h: Ditto.
1122 * linespec.c: Ditto.
1123 * linux-nat.c: Ditto.
1124 * linux-nat.h: Ditto.
1125 * linux-thread-db.c: Ditto.
1126 * machoread.c: Ditto.
1127 * macroexp.c: Ditto.
1128 * macrotab.c: Ditto.
1129 * main.c: Ditto.
1130 * maint.c: Ditto.
1131 * mdebugread.c: Ditto.
1132 * memattr.c: Ditto.
1133 * minsyms.c: Ditto.
1134 * monitor.c: Ditto.
1135 * monitor.h: Ditto.
1136 * objfiles.c: Ditto.
1137 * objfiles.h: Ditto.
1138 * osabi.c: Ditto.
1139 * p-typeprint.c: Ditto.
1140 * p-valprint.c: Ditto.
1141 * parse.c: Ditto.
1142 * printcmd.c: Ditto.
1143 * proc-events.c: Ditto.
1144 * procfs.c: Ditto.
1145 * progspace.c: Ditto.
1146 * progspace.h: Ditto.
1147 * psympriv.h: Ditto.
1148 * psymtab.c: Ditto.
1149 * record.c: Ditto.
1150 * regcache.c: Ditto.
1151 * regcache.h: Ditto.
1152 * remote-fileio.c: Ditto.
1153 * remote.c: Ditto.
1154 * ser-mingw.c: Ditto.
1155 * ser-tcp.c: Ditto.
1156 * ser-unix.c: Ditto.
1157 * serial.c: Ditto.
1158 * serial.h: Ditto.
1159 * solib-frv.c: Ditto.
1160 * solib-irix.c: Ditto.
1161 * solib-osf.c: Ditto.
1162 * solib-pa64.c: Ditto.
1163 * solib-som.c: Ditto.
1164 * solib-sunos.c: Ditto.
1165 * solib-svr4.c: Ditto.
1166 * solib-target.c: Ditto.
1167 * solib.c: Ditto.
1168 * somread.c: Ditto.
1169 * source.c: Ditto.
1170 * stabsread.c: Ditto.
1171 * stabsread.c: Ditto.
1172 * stack.c: Ditto.
1173 * stack.h: Ditto.
1174 * symfile-mem.c: Ditto.
1175 * symfile.c: Ditto.
1176 * symfile.h: Ditto.
1177 * symmisc.c: Ditto.
1178 * symtab.c: Ditto.
1179 * symtab.h: Ditto.
1180 * target-descriptions.c: Ditto.
1181 * target-memory.c: Ditto.
1182 * target.c: Ditto.
1183 * target.h: Ditto.
1184 * terminal.h: Ditto.
1185 * thread.c: Ditto.
1186 * top.c: Ditto.
1187 * tracepoint.c: Ditto.
1188 * tracepoint.h: Ditto.
1189 * ui-file.c: Ditto.
1190 * ui-file.h: Ditto.
1191 * ui-out.h: Ditto.
1192 * user-regs.c: Ditto.
1193 * user-regs.h: Ditto.
1194 * utils.c: Ditto.
1195 * valarith.c: Ditto.
1196 * valops.c: Ditto.
1197 * valprint.c: Ditto.
1198 * valprint.h: Ditto.
1199 * value.c: Ditto.
1200 * varobj.c: Ditto.
1201 * varobj.h: Ditto.
1202 * vec.h: Ditto.
1203 * xcoffread.c: Ditto.
1204 * xcoffsolib.c: Ditto.
1205 * xcoffsolib.h: Ditto.
1206 * xml-syscall.c: Ditto.
1207 * xml-tdesc.c: Ditto.
1208
1209 2011-01-05 Michael Snyder <msnyder@vmware.com>
1210
1211 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1212 * cli/cli-decode.c: Ditto.
1213 * cli/cli-dump.c: Ditto.
1214 * cli/cli-logging.c: Ditto.
1215 * cli/cli-script.c: Ditto.
1216 * cli/cli-setshow.c: Ditto.
1217 * common/signals.c: Ditto.
1218 * mi/mi-cmd-break.c: Ditto.
1219 * mi/mi-cmd-disas.c: Ditto.
1220 * mi/mi-cmd-stack.c: Ditto.
1221 * mi/mi-cmd-var.c: Ditto.
1222 * mi/mi-cmds.c: Ditto.
1223 * mi/mi-common.h: Ditto.
1224 * mi/mi-console.c: Ditto.
1225 * mi/mi-interp.c: Ditto.
1226 * mi/mi-main.c: Ditto.
1227 * osf-share/cma_attr.c: Ditto.
1228 * osf-share/cma_deb_core.h: Ditto.
1229 * osf-share/cma_debug_client.h: Ditto.
1230 * osf-share/cma_handle.h: Ditto.
1231 * osf-share/cma_mutex.h: Ditto.
1232 * osf-share/cma_stack_int.h: Ditto.
1233 * osf-share/cma_tcb_defs.h: Ditto.
1234 * python/py-auto-load.c: Ditto.
1235 * python/py-breakpoint.c: Ditto.
1236 * python/py-cmd.c: Ditto.
1237 * python/py-frame.c: Ditto.
1238 * python/py-objfile.c: Ditto.
1239 * python/py-param.c: Ditto.
1240 * python/py-progspace.c: Ditto.
1241 * python/py-symbol.c: Ditto.
1242 * python/py-value.c: Ditto.
1243 * python/python-internal.h: Ditto.
1244 * python/python.c: Ditto.
1245 * tui/tui-data.c: Ditto.
1246 * tui/tui-disasm.c: Ditto.
1247 * tui/tui-hooks.c: Ditto.
1248 * tui/tui-io.c: Ditto.
1249 * tui/tui-layout.c: Ditto.
1250 * tui/tui-regs.c: Ditto.
1251 * tui/tui-source.c: Ditto.
1252 * tui/tui-stack.c: Ditto.
1253 * tui/tui-win.c: Ditto.
1254 * tui/tui-windata.c: Ditto.
1255 * tui/tui-winsource.c: Ditto.
1256
1257 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1258
1259 * configure.ac, gdb.1: Copyright year update.
1260
1261 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1262
1263 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1264 this_pc_in_block, morestack_msym and morestack_name. Check for
1265 "__morestack" minimal symbol there.
1266
1267 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1268
1269 * symfile.c (find_sym_fns): Add call to dont_repeat.
1270
1271 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1272
1273 Copyright year update in most files (performed by copyright.sh).
1274
1275 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1276
1277 * top.c (print_gdb_version): Update copyright year in version output.
1278
1279 For older changes see ChangeLog-2010.
1280 \f
1281 Local Variables:
1282 mode: change-log
1283 left-margin: 8
1284 fill-column: 74
1285 version-control: never
1286 coding: utf-8
1287 End: