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