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