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