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