problem sourcing GDB script in interactive-mode on
[binutils-gdb.git] / gdb / ChangeLog
1 2011-01-13 Joel Brobecker <brobecker@adacore.com>
2
3 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
4 to the case where instream is stdin.
5
6 2011-01-13 Joel Brobecker <brobecker@adacore.com>
7
8 * ia64-tdep.h (struct regcache): Forward declare.
9 (struct ia64_infcall_ops): New struct type.
10 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
11 and "infcall_ops".
12 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
13 Renames ia64_find_global_pointer.
14 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
15 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
16 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
17 methods.
18 (ia64_infcall_ops): New static global constant.
19 (ia64_gdbarch_init): Set tdep->infcall_ops.
20 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
21 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
22 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
23 (ia64_hpux_dummy_code): New static global constant.
24 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
25 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
26 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
27 New function.
28 (ia64_hpux_infcall_ops): New static global constant.
29 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
30 for inferior function calls to work properly on ia64-hpux.
31
32 2011-01-13 Joel Brobecker <brobecker@adacore.com>
33
34 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
35 * ia64-tdep.h (struct frame_info): forward declaration.
36 (struct gdbarch_tdep): Add field size_of_register_frame.
37 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
38 to determine the size of the register frame.
39 (ia64_size_of_register_frame): New function.
40 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
41 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
42 (IA64_HPUX_UREG_REASON): New macro.
43 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
44 New functions.
45 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
46 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
47 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
48 objects.
49
50 2011-01-13 Joel Brobecker <brobecker@adacore.com>
51
52 Add support for ia64-hpux.
53 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
54 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
55
56 * configure.host: Add handling for ia64-hpux hosts. Add associated
57 floatformats.
58 * configure.tgt: Add handling for ia64-hpux targets.
59 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
60 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
61 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
62
63 2011-01-13 Joel Brobecker <brobecker@adacore.com>
64
65 [ttrace] Compute thread list immediately after attach.
66 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
67 New subprogram.
68 (inf_ttrace_attach): Use it.
69
70 2011-01-13 Joel Brobecker <brobecker@adacore.com>
71
72 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
73 if we could not determine the frame's function address. Instead,
74 use the frame's PC, and then continue.
75
76 2011-01-13 Joel Brobecker <brobecker@adacore.com>
77
78 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
79 not already defined.
80
81 2011-01-13 Joel Brobecker <brobecker@adacore.com>
82
83 * ia64-tdep.c (ia64_struct_type_p): New function.
84 (ia64_extract_return_value): Handle integral values that are
85 less than 8 bytes long.
86 (ia64_push_dummy_call): Likewise.
87
88 2011-01-13 Joel Brobecker <brobecker@adacore.com>
89
90 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
91 floatformat_ia64_ext.
92 (floatformat_ia64_ext_big): New static const.
93 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
94
95 2011-01-12 Tom Tromey <tromey@redhat.com>
96
97 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
98 messages.
99 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
100 (mi_cmd_thread_list_ids): Likewise.
101 (mi_cmd_data_list_changed_registers): Likewise.
102 (mi_cmd_data_list_register_values): Likewise.
103 (mi_cmd_data_write_register_values): Likewise.
104 (mi_cmd_data_evaluate_expression): Likewise.
105 (mi_cmd_data_read_memory): Likewise.
106 (mi_cmd_data_read_memory_bytes): Likewise.
107 (mi_cmd_data_write_memory): Likewise.
108 (mi_cmd_enable_timings): Likewise.
109 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
110 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
111 (mi_cmd_var_delete): Likewise.
112 (mi_cmd_var_set_format): Likewise.
113 (mi_cmd_var_show_format): Likewise.
114 (mi_cmd_var_info_num_children): Likewise.
115 (mi_cmd_var_list_children): Likewise.
116 (mi_cmd_var_info_type): Likewise.
117 (mi_cmd_var_info_expression): Likewise.
118 (mi_cmd_var_show_attributes): Likewise.
119 (mi_cmd_var_assign): Likewise.
120 (mi_cmd_var_update): Likewise.
121 (mi_cmd_enable_pretty_printing): Likewise.
122 (mi_cmd_var_set_update_range): Likewise.
123 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
124 messages.
125 (mi_cmd_target_file_put): Likewise.
126 (mi_cmd_target_file_delete): Likewise.
127 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
128 messages.
129 (mi_cmd_stack_info_depth): Likewise.
130 (mi_cmd_stack_list_locals): Likewise.
131 (mi_cmd_stack_list_args): Likewise.
132 (mi_cmd_stack_select_frame): Likewise.
133 (mi_cmd_stack_select_frame): Likewise.
134 (mi_cmd_stack_info_frame): Likewise.
135 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
136 messages.
137 (mi_cmd_file_list_exec_source_files): Likewise.
138 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
139 (mi_cmd_env_cd): Likewise.
140 (mi_cmd_env_path): Likewise.
141 (mi_cmd_env_dir): Likewise.
142 (mi_cmd_inferior_tty_show): Likewise.
143 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
144 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
145 (mi_cmd_break_watch): Likewise.
146
147 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
148
149 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
150 (ppc_linux_insert_hw_breakpoint): Likewise.
151 (ppc_linux_remove_hw_breakpoint): Likewise.
152 (ppc_linux_insert_watchpoint): Likewise.
153
154 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
155 Jan Kratochvil <jan.kratochvil@redhat.com>
156
157 PR fortran/11104 and DWARF unbound arrays detection.
158 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
159 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
160 unspecified upper bound.
161 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
162 variables array_size_array, tmp_type and offset_item. New variable
163 array. Remove call to f77_get_upperbound. New variables array_type
164 and index. Call value_subscripted_rvalue for each dimenasion. Remove
165 the final call to deprecated_set_value_type.
166
167 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 Make value allocations more lazy.
170 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
171 instead of allocate_value and set_value_lazy when possible.
172 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
173 instead of allocate_value and set_value_lazy.
174 * findvar.c (value_of_register_lazy): Likewise.
175 (read_var_value): Remove V preallocation, call just check_typedef in
176 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
177 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
178 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
179 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
180 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
181 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
182 the end, remove set_value_lazy there.
183 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
184 instead of allocate_value and set_value_lazy when possible.
185 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
186 * value.c (allocate_computed_value): Use allocate_value_lazy instead
187 of allocate_value and set_value_lazy.
188 (value_from_contents_and_address): Use allocate_value_lazy instead of
189 allocate_value and set_value_lazy when possible.
190
191 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
192
193 * disasm.c (dump_insns): Support dumping opcodes for MI.
194 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
195 dumping of instruction opcodes.
196
197 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
198
199 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
200 appropiately.
201
202 2011-01-11 Tom Tromey <tromey@redhat.com>
203
204 * thread.c (do_captured_thread_select): Emit newline before
205 printing frame.
206
207 2011-01-11 Michael Snyder <msnyder@vmware.com>
208
209 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
210 * score-tdep.c: Ditto.
211 * score-tdep.h: Ditto.
212 * ser-base.c: Ditto.
213 * ser-go32.c: Ditto.
214 * serial.c: Ditto.
215 * serial.h: Ditto.
216 * ser-mingw.c: Ditto.
217 * ser-pipe.c: Ditto.
218 * ser-tcp.c: Ditto.
219 * ser-unix.c: Ditto.
220 * sh64-tdep.c: Ditto.
221 * shnbsd-nat.c: Ditto.
222 * sh-tdep.c: Ditto.
223 * sh-tdep.h: Ditto.
224 * solib.c: Ditto.
225 * solib-darwin.c: Ditto.
226 * solib-frv.c: Ditto.
227 * solib.h: Ditto.
228 * solib-irix.c: Ditto.
229 * solib-osf.c: Ditto.
230 * solib-pa64.c: Ditto.
231 * solib-som.c: Ditto.
232 * solib-spu.c: Ditto.
233 * solib-sunos.c: Ditto.
234 * solib-svr4.c: Ditto.
235 * solist.h: Ditto.
236 * sol-thread.c: Ditto.
237 * somread.c: Ditto.
238 * source.c: Ditto.
239 * source.h: Ditto.
240 * sparc64-linux-tdep.c: Ditto.
241 * sparc64-tdep.c: Ditto.
242 * sparc-linux-nat.c: Ditto.
243 * sparc-linux-tdep.c: Ditto.
244 * sparc-sol2-nat.c: Ditto.
245 * sparc-sol2-tdep.c: Ditto.
246 * sparc-tdep.c: Ditto.
247 * sparc-tdep.h: Ditto.
248 * spu-tdep.c: Ditto.
249 * stabsread.c: Ditto.
250 * stabsread.h: Ditto.
251 * stack.c: Ditto.
252 * symfile.c: Ditto.
253 * symfile.h: Ditto.
254 * symmisc.c: Ditto.
255 * symtab.c: Ditto.
256 * symtab.h: Ditto.
257 * target.c: Ditto.
258 * target-descriptions.c: Ditto.
259 * target-descriptions.h: Ditto.
260 * target.h: Ditto.
261 * target-memory.c: Ditto.
262 * terminal.h: Ditto.
263 * thread.c: Ditto.
264 * top.c: Ditto.
265 * tracepoint.c: Ditto.
266 * tracepoint.h: Ditto.
267 * trad-frame.h: Ditto.
268 * typeprint.c: Ditto.
269
270 2011-01-11 Michael Snyder <msnyder@vmware.com>
271
272 * ui-file.c: Comment cleanup, mostly periods and spaces.
273 * ui-file.h: Ditto.
274 * ui-out.c: Ditto.
275 * ui-out.h: Ditto.
276 * utils.c: Ditto.
277 * v850-tdep.c: Ditto.
278 * valarith.c: Ditto.
279 * valops.c: Ditto.
280 * valprint.c: Ditto.
281 * valprint.h: Ditto.
282 * value.c: Ditto.
283 * value.h: Ditto.
284 * varobj.c: Ditto.
285 * varobj.h: Ditto.
286 * vax-tdep.c: Ditto.
287 * vec.c: Ditto.
288 * vec.h: Ditto.
289 * version.h: Ditto.
290 * windows-nat.c: Ditto.
291 * windows-tdep.c: Ditto.
292 * xcoffread.c: Ditto.
293 * xcoffsolib.c: Ditto.
294 * xml-support.c: Ditto.
295 * xstormy16-tdep.c: Ditto.
296 * xtensa-tdep.c: Ditto.
297 * xtensa-tdep.h: Ditto.
298
299 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
300
301 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
302 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
303
304 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
305 Thiago Jung Bauermann <bauerman@br.ibm.com>
306
307 Implement support for PowerPC BookE ranged watchpoints.
308 * breakpoint.h
309 (struct breakpoint_ops) <resources_needed>: New method.
310 Initialize to NULL in all existing breakpoint_ops instances.
311 (struct breakpoint) <exact>: New field.
312 (target_exact_watchpoints): Declare external global.
313 * breakpoint.c (target_exact_watchpoints): New global flag.
314 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
315 b->enable_state to bp_enabled before calling
316 hw_watchpoint_used_count.
317 (hw_watchpoint_used_count): Iterate over all bp_locations in a
318 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
319 if available.
320 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
321 if the watchpoint is exact.
322 (resources_needed_watchpoint): New function.
323 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
324 (watch_command_1): Set b->exact if the user asked for an exact
325 watchpoint and one can be set.
326 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
327 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
328 the user asks for an exact watchpoint and one can be set. Return
329 number of needed debug registers to watch the expression.
330 * gdbtypes.c (is_scalar_type): New function, based on
331 valprint.c:scalar_type_p.
332 (is_scalar_type_recursive): New function.
333 * gdbtypes.h (is_scalar_type_recursive): Declare.
334 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
335 handle regions when ranged watchpoints are available.
336 (create_watchpoint_request): New function.
337 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
338 create_watchpoint_request.
339 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
340 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
341 `set powerpc' and `show powerpc' commands.
342 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
343 Mention documentation comment in the target macro.
344 (target_region_ok_for_hw_watchpoint): Document return value.
345
346 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
347
348 * breakpoint.c (update_watchpoint): Decide on using a software or
349 hardware watchpoint after the bp_locations are created.
350
351 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
352
353 Convert hardware watchpoints to use breakpoint_ops.
354 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
355 <insert_location>: ... this. Return int instead of void.
356 Accept pointer to struct bp_location instead of pointer to
357 struct breakpoint. Adapt all implementations.
358 (breakpoint_ops) <remove>: Rename to...
359 <remove_location>: ... this. Accept pointer to struct bp_location
360 instead of pointer to struct breakpoint. Adapt all implementations.
361 * breakpoint.c (insert_catchpoint): Delete function.
362 (insert_bp_location): Call the watchpoint or catchpoint's
363 breakpoint_ops.insert method.
364 (remove_breakpoint_1): Call the watchpoint or catchpoint's
365 breakpoint_ops.remove method.
366 (insert_watchpoint, remove_watchpoint): New functions.
367 (watchpoint_breakpoint_ops): New structure.
368 (watch_command_1): Initialize the OPS field.
369 * inf-child.c (inf_child_insert_fork_catchpoint)
370 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
371 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
372 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
373 Delete functions.
374 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
375 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
376 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
377 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
378 * target.c (update_current_target): Change default implementation of
379 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
380 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
381 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
382 to_set_syscall_catchpoint to return_one.
383 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
384 (debug_to_insert_exec_catchpoint): Report return value.
385 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
386 (to_insert_exec_catchpoint): Change declaration to return int instead
387 of void.
388
389 2011-01-11 Michael Snyder <msnyder@vmware.com>
390
391 * arm-tdep.c: Internationalization.
392 * c-lang.c: Ditto.
393 * charset.c: Ditto.
394 * fork-child.c: Ditto.
395 * nto-procfs.c: Ditto.
396 * ppc-sysv-tdep.c: Ditto.
397 * procfs.c: Ditto.
398 * remote-mips.c: Ditto.
399 * remote.c: Ditto.
400 * rs6000-nat.c: Ditto.
401 * rs6000-tdep.c: Ditto.
402 * target.c: Ditto.
403 * valops.c: Ditto.
404 * value.c: Ditto.
405 * xml-support.c: Ditto.
406 * mi/mi-cmd-break.c: Ditto.
407 * mi/mi-cmd-var.c: Ditto.
408 * mi/mi-interp.c: Ditto.
409 * mi/mi-main.c: Ditto.
410
411 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
412
413 * remote-sim.c (gdbsim_store_register): Update API to
414 sim_store_register to check more error conditions.
415
416 2011-01-10 Michael Snyder <msnyder@vmware.com>
417
418 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
419 * nto-tdep.c: Ditto.
420 * nto-tdep.h: Ditto.
421 * objc-exp.y: Ditto.
422 * objc-lang.c: Ditto.
423 * objfiles.c: Ditto.
424 * objfiles.h: Ditto.
425 * observer.c: Ditto.
426 * opencl-lang.c: Ditto.
427 * osabi.c: Ditto.
428 * parse.c: Ditto.
429 * parser-defs.h: Ditto.
430 * p-exp.y: Ditto.
431 * p-lang.c: Ditto.
432 * posix-hdep.c: Ditto.
433 * ppcbug-rom.c: Ditto.
434 * ppc-linux-nat.c: Ditto.
435 * ppc-linux-tdep.c: Ditto.
436 * ppc-linux-tdep.h: Ditto.
437 * ppcnbsd-tdep.c: Ditto.
438 * ppcobsd-tdep.c: Ditto.
439 * ppcobsd-tdep.h: Ditto.
440 * ppc-sysv-tdep.c: Ditto.
441 * ppc-tdep.h: Ditto.
442 * printcmd.c: Ditto.
443 * proc-abi.c: Ditto.
444 * proc-flags.c: Ditto.
445 * procfs.c: Ditto.
446 * proc-utils.h: Ditto.
447 * progspace.h: Ditto.
448 * prologue-value.c: Ditto.
449 * prologue-value.h: Ditto.
450 * psympriv.h: Ditto.
451 * psymtab.c: Ditto.
452 * p-typeprint.c: Ditto.
453 * p-valprint.c: Ditto.
454 * ravenscar-sparc-thread.c: Ditto.
455 * ravenscar-thread.c: Ditto.
456 * ravenscar-thread.h: Ditto.
457 * record.c: Ditto.
458 * regcache.c: Ditto.
459 * regcache.h: Ditto.
460 * remote.c: Ditto.
461 * remote-fileio.c: Ditto.
462 * remote-fileio.h: Ditto.
463 * remote.h: Ditto.
464 * remote-m32r-sdi.c: Ditto.
465 * remote-mips.c: Ditto.
466 * remote-sim.c: Ditto.
467 * rs6000-aix-tdep.c: Ditto.
468 * rs6000-nat.c: Ditto.
469 * rs6000-tdep.c: Ditto.
470
471 2011-01-10 Michael Snyder <msnyder@vmware.com>
472
473 * charset.c (validate): Internationalization.
474 * coffread.c (read_one_sym): Ditto.
475 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
476 * h8300-tdep.c (H8300_extract_return_value): Ditto.
477 * inflow.c (new_tty): Ditto.
478 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
479 * m32c-tdep.c (m32c_return_value): Ditto.
480 * mep-tdep.c (mep_store_return_value): Ditto.
481 * score-tdep.c (score7_fetch_insn): Ditto.
482 * ser-mingw.c (pipe_windows_open): Ditto.
483 * sh64-tdep.c (sh64_extract_return_value): Ditto.
484 * spu-tdep.c (spu_register_type): Ditto.
485 * tracepoint.c (trace_find_command): Ditto.
486 * valarith.c (value_pos): Ditto.
487
488 2011-01-10 Joel Brobecker <brobecker@adacore.com>
489
490 * ada-valprint.c (printstr): Minor comment reformatting.
491
492 2011-01-08 Michael Snyder <msnyder@vmware.com>
493
494 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
495 markup.
496
497 2011-01-08 Michael Snyder <msnyder@vmware.com>
498
499 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
500 * hppa-hpux-tdep.c: Ditto.
501 * hppa-linux-nat.c: Ditto.
502 * hppa-linux-tdep.c: Ditto.
503 * hppanbsd-tdep.c: Ditto.
504 * hppa-tdep.c: Ditto.
505 * hppa-tdep.h: Ditto.
506 * hpux-thread.c: Ditto.
507 * i386-cygwin-tdep.c: Ditto.
508 * i386-darwin-nat.c: Ditto.
509 * i386gnu-nat.c: Ditto.
510 * i386-linux-nat.c: Ditto.
511 * i386-linux-tdep.c: Ditto.
512 * i386-nat.c: Ditto.
513 * i386-nat.h: Ditto.
514 * i386nbsd-tdep.c: Ditto.
515 * i386-sol2-nat.c: Ditto.
516 * i386-stub.c: Ditto.
517 * i386-tdep.c: Ditto.
518 * i386-tdep.h: Ditto.
519 * i387-tdep.c: Ditto.
520 * ia64-linux-nat.c: Ditto.
521 * ia64-linux-tdep.c: Ditto.
522 * ia64-tdep.c: Ditto.
523 * infcall.c: Ditto.
524 * infcall.h: Ditto.
525 * infcmd.c: Ditto.
526 * inferior.c: Ditto.
527 * inferior.h: Ditto.
528 * infloop.c: Ditto.
529 * inflow.c: Ditto.
530 * infrun.c: Ditto.
531 * interps.c: Ditto.
532 * interps.h: Ditto.
533 * iq2000-tdep.c: Ditto.
534 * irix5-nat.c: Ditto.
535 * jit.c: Ditto.
536 * jit.h: Ditto.
537 * jv-exp.y: Ditto.
538 * jv-lang.c: Ditto.
539 * jv-lang.h: Ditto.
540 * jv-typeprint.c: Ditto.
541 * jv-valprint.c: Ditto.
542 * language.c: Ditto.
543 * language.h: Ditto.
544 * linespec.c: Ditto.
545 * linux-fork.c: Ditto.
546 * linux-nat.c: Ditto.
547 * linux-thread-db.c: Ditto.
548 * lm32-tdep.c: Ditto.
549
550 2011-01-08 Michael Snyder <msnyder@vmware.com>
551
552 * m2-exp.y: Comment cleanup, mostly periods and spaces.
553 * m2-lang.c: Ditto.
554 * m2-typeprint.c: Ditto.
555 * m2-valprint.c: Ditto.
556 * m32c-tdep.c: Ditto.
557 * m32r-linux-nat.c: Ditto.
558 * m32r-rom.c: Ditto.
559 * m32r-tdep.c: Ditto.
560 * m32r-tdep.h: Ditto.
561 * m68hc11-tdep.c: Ditto.
562 * m58klinux-nat.c: Ditto.
563 * m68k-tdep.c: Ditto.
564 * m88k-tdep.c: Ditto.
565 * m88k-tdep.h: Ditto.
566 * machoread.c: Ditto.
567 * macrocmd.c: Ditto.
568 * macroexp.c: Ditto.
569 * macrotab.c: Ditto.
570 * main.c: Ditto.
571 * maint.c: Ditto.
572 * mdebugread.c: Ditto.
573 * mdebugread.h: Ditto.
574 * memattr.c: Ditto.
575 * memattr.h: Ditto.
576 * memory-map.h: Ditto.
577 * mep-tdep.c: Ditto.
578 * microblaze-rom.c: Ditto.
579 * microblaze-tdep.c: Ditto.
580 * minsyms.c: Ditto.
581 * mips-irix-tdep.c: Ditto.
582 * mips-linux-nat.c: Ditto.
583 * mips-linux-tdep.c: Ditto.
584 * mips-linux-tdep.h: Ditto.
585 * mipsnbsd-nat.c: Ditto.
586 * mipsnbsd-tdep.c: Ditto.
587 * mipsread.c: Ditto.
588 * mips-tdep.c: Ditto.
589 * mips-tdep.h: Ditto.
590 * mn10300-linux-tdep.c: Ditto.
591 * mn10300-tdep.c: Ditto.
592 * mn10300-tdep.h: Ditto.
593 * monitor.c: Ditto.
594 * monitor.h: Ditto.
595 * moxie-tdep.c: Ditto.
596 * moxie-tdep.h: Ditto.
597 * mt-tdep.c: Ditto.
598
599 2011-01-08 Mike Frysinger <vapier@gentoo.org>
600
601 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
602
603 2011-01-08 Robert Millan <rmh@gnu.org>
604
605 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
606
607 2011-01-07 Michael Snyder <msnyder@vmware.com>
608
609 * charset.c (_initialize_charset): Fix typo in string.
610
611 2011-01-07 Michael Snyder <msnyder@vmware.com>
612
613 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
614 for i18n.
615 * tui/tui-layout.c (tui_set_layout_for_display_command):
616 Split line so that operator goes to beginning of line.
617 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
618 assignment out of if statement.
619
620 2011-01-07 Michael Snyder <msnyder@vmware.com>
621
622 * ada-lang.c: Comment cleanup, mostly periods and spaces.
623 * ada-lang.h: Ditto.
624 * ada-tasks.c: Ditto.
625 * ada-valprint.c: Ditto.
626 * aix-threads.c: Ditto.
627 * alpha-linux-nat.c: Ditto.
628 * alpha-linux-tdep.c: Ditto.
629 * alpha-mdebug-tdep.c: Ditto.
630 * alpha-nat.c: Ditto.
631 * alpha-osf1-tdep.c: Ditto.
632 * alpha-tdep.c: Ditto.
633 * alphabsd-nat.c: Ditto.
634 * alphabsd-tdep.c: Ditto.
635 * amd64-darwin-tdep.c: Ditto.
636 * amd64-linux-nat.c: Ditto.
637 * amd64-linux-tdep.c: Ditto.
638 * amd64-sol2-tdep.c: Ditto.
639 * amd64-tdep.c: Ditto.
640 * amd64-fbsd-tdep.c: Ditto.
641 * amd64-nbsd-tdep.c: Ditto.
642 * amd64-obsd-tdep.c: Ditto.
643 * amd64-linux-nat.c: Ditto.
644 * amd64-linux-tdep.c: Ditto.
645 * arm-tdep.c: Ditto.
646 * arm-tdep.h: Ditto.
647 * armnbsd-nat.c: Ditto.
648 * avr-tdep.c: Ditto.
649 * bfin-tdep.c: Ditto.
650 * bsd-kvm.c: Ditto.
651 * c-typeprintc: Ditto.
652 * c-valprint.c: Ditto.
653 * coff-pe-read.h: Ditto.
654 * coffreead.c: Ditto.
655 * cris-tdep.c: Ditto.
656 * d-lang.c: Ditto.
657 * darwin-nat-info.c: Ditto.
658 * darwin-nat.c: Ditto.
659 * dbug-rom.c: Ditto.
660 * dbxread.c: Ditto.
661 * dcache.c: Ditto.
662 * dcache.h: Ditto.
663 * dec-thread.c: Ditto.
664 * defs.h: Ditto.
665 * demangle.c: Ditto.
666 * dicos-tdep.c: Ditto.
667 * dictionary.c: Ditto.
668 * dictionary.h: Ditto.
669 * dink32-rom.c: Ditto.
670 * disasm.c: Ditto.
671 * doublest.c: Ditto.
672 * dsrec.c: Ditto.
673 * dummy-frame.c: Ditto.
674 * dwarf2-frame.c: Ditto.
675 * dwarf2expr.c: Ditto.
676 * dwarf2loc.c: Ditto.
677 * dwarf2read.c: Ditto.
678 * elfread.c: Ditto.
679 * environ.c: Ditto.
680 * eval.c: Ditto.
681 * event-top.h: Ditto.
682 * exceptions.c: Ditto.
683 * exceptions.h: Ditto.
684 * exec.c: Ditto.
685 * expprint.c: Ditto.
686 * expression.h: Ditto.
687 * f-exp.y: Ditto.
688 * f-lang.c: Ditto.
689 * f-lang.h: Ditto.
690 * f-typeprint.c: Ditto.
691 * f-valprint.c: Ditto.
692 * fbsd-nat.c: Ditto.
693 * findvar.c: Ditto.
694 * fork-child.c: Ditto.
695 * frame.c: Ditto.
696 * frame.h: Ditto.
697 * frv-linux-tdep.c: Ditto.
698 * frv-tdep.c: Ditto.
699 * gcore.c: Ditto.
700 * gdb-stabs.h: Ditto.
701 * gdb_assert.h: Ditto.
702 * gdb_string.h: Ditto.
703 * gdb_thread_db.h: Ditto.
704 * gdb_wait.h: Ditto.
705 * gdbarch.sh: Ditto.
706 * gdbcore.h: Ditto.
707 * gdbthread.h: Ditto.
708 * gdbtypes.c: Ditto.
709 * gdbtypes.h: Ditto.
710 * gnu-nat.c: Ditto.
711 * gnu-nat.h: Ditto.
712 * gnu-v2-abi.c: Ditto.
713 * gnu-v3-abi.c: Ditto.
714 * go32-nat.c: Ditto.
715 * gdbarch.c: Regenerate.
716 * gdbarch.h: Regenerate.
717
718 2011-01-07 Michael Snyder <msnyder@vmware.com>
719
720 * ax-gdb.c: Adjust some long output strings.
721 * breakpoint.c: Ditto.
722 * charset.c: Ditto.
723 * cp-abi.c: Ditto.
724 * infcall.c: Ditto.
725 * infrun.c: Ditto.
726 * linux-nat.c: Ditto.
727 * solib-pa64.c: Ditto.
728 * solib-som.c: Ditto.
729
730 2011-01-06 Tom Tromey <tromey@redhat.com>
731
732 PR python/12367:
733 * NEWS: Add item.
734 * python/python.c (GdbMethods): Add "newest_frame" method.
735 * python/python-internal.h (gdbpy_newest_frame): Declare.
736 * python/py-frame.c (gdbpy_newest_frame): New function.
737
738 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
739
740 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
741 * jit.c (jit_debug): New variable.
742 (show_jit_debug): New function.
743 (struct target_buffer): Use ULONGEST.
744 (bfd_open_from_target_memory): Likewise.
745 (jit_register_code, jit_inferior_init): Add debug output.
746 (_initialize_jit): Register "debug jit" command.
747
748 2011-01-06 Tom Tromey <tromey@redhat.com>
749
750 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
751 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
752 and ARCH_FRAME.
753
754 2011-01-06 Tom Tromey <tromey@redhat.com>
755
756 * python/py-frame.c (frapy_block): Use get_frame_block.
757
758 2011-01-06 Joel Brobecker <brobecker@adacore.com>
759
760 Do not stop on SIGPRIO signals by default
761 * infrun.c (_initialize_infrun): Unset signal_stop and
762 signal_print for TARGET_SIGNAL_PRIO.
763
764 2011-01-06 Joel Brobecker <brobecker@adacore.com>
765
766 * ada-tasks.c: Fix style violation in comment.
767
768 2011-01-06 Joel Brobecker <brobecker@adacore.com>
769
770 * linespec.c (decode_compound, find_method): Remove trailing \n
771 at end of error string.
772 * solib-irix.c (irix_current_sos): Likewise.
773 * varobj.c (uninstall_variable): Likewise.
774
775 2011-01-06 Joel Brobecker <brobecker@adacore.com>
776
777 * copyright.py: New script.
778 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
779 Launch emacs without exec'ing. Call copyright.py afterwards.
780
781 2011-01-05 Michael Snyder <msnyder@vmware.com>
782
783 * addrmap.c: Shorten lines of >= 80 columns.
784 * arch-utils.c: Ditto.
785 * arch-utils.h: Ditto.
786 * ax-gdb.c: Ditto.
787 * ax-general.c: Ditto.
788 * bcache.c: Ditto.
789 * blockframe.c: Ditto.
790 * breakpoint.c: Ditto.
791 * buildsym.c: Ditto.
792 * c-lang.c: Ditto.
793 * c-typeprint.c: Ditto.
794 * charset.c: Ditto.
795 * coffread.c: Ditto.
796 * command.h: Ditto.
797 * corelow.c: Ditto.
798 * cp-abi.c: Ditto.
799 * cp-namespace.c: Ditto.
800 * cp-support.c: Ditto.
801 * dbug-rom.c: Ditto.
802 * dbxread.c: Ditto.
803 * defs.h: Ditto.
804 * dfp.c: Ditto.
805 * dfp.h: Ditto.
806 * dictionary.c: Ditto.
807 * disasm.c: Ditto.
808 * doublest.c: Ditto.
809 * dwarf2-frame.c: Ditto.
810 * dwarf2expr.c: Ditto.
811 * dwarf2loc.c: Ditto.
812 * dwarf2read.c: Ditto.
813 * elfread.c: Ditto.
814 * eval.c: Ditto.
815 * event-loop.c: Ditto.
816 * event-loop.h: Ditto.
817 * exceptions.h: Ditto.
818 * exec.c: Ditto.
819 * expprint.c: Ditto.
820 * expression.h: Ditto.
821 * f-lang.c: Ditto.
822 * f-valprint.c: Ditto.
823 * findcmd.c: Ditto.
824 * frame-base.c: Ditto.
825 * frame-unwind.c: Ditto.
826 * frame-unwind.h: Ditto.
827 * frame.c: Ditto.
828 * frame.h: Ditto.
829 * gcore.c: Ditto.
830 * gdb-stabs.h: Ditto.
831 * gdb_assert.h: Ditto.
832 * gdb_dirent.h: Ditto.
833 * gdb_obstack.h: Ditto.
834 * gdbcore.h: Ditto.
835 * gdbtypes.c: Ditto.
836 * gdbtypes.h: Ditto.
837 * inf-ttrace.c: Ditto.
838 * infcall.c: Ditto.
839 * infcmd.c: Ditto.
840 * inflow.c: Ditto.
841 * infrun.c: Ditto.
842 * inline-frame.h: Ditto.
843 * language.c: Ditto.
844 * language.h: Ditto.
845 * libunwind-frame.c: Ditto.
846 * libunwind-frame.h: Ditto.
847 * linespec.c: Ditto.
848 * linux-nat.c: Ditto.
849 * linux-nat.h: Ditto.
850 * linux-thread-db.c: Ditto.
851 * machoread.c: Ditto.
852 * macroexp.c: Ditto.
853 * macrotab.c: Ditto.
854 * main.c: Ditto.
855 * maint.c: Ditto.
856 * mdebugread.c: Ditto.
857 * memattr.c: Ditto.
858 * minsyms.c: Ditto.
859 * monitor.c: Ditto.
860 * monitor.h: Ditto.
861 * objfiles.c: Ditto.
862 * objfiles.h: Ditto.
863 * osabi.c: Ditto.
864 * p-typeprint.c: Ditto.
865 * p-valprint.c: Ditto.
866 * parse.c: Ditto.
867 * printcmd.c: Ditto.
868 * proc-events.c: Ditto.
869 * procfs.c: Ditto.
870 * progspace.c: Ditto.
871 * progspace.h: Ditto.
872 * psympriv.h: Ditto.
873 * psymtab.c: Ditto.
874 * record.c: Ditto.
875 * regcache.c: Ditto.
876 * regcache.h: Ditto.
877 * remote-fileio.c: Ditto.
878 * remote.c: Ditto.
879 * ser-mingw.c: Ditto.
880 * ser-tcp.c: Ditto.
881 * ser-unix.c: Ditto.
882 * serial.c: Ditto.
883 * serial.h: Ditto.
884 * solib-frv.c: Ditto.
885 * solib-irix.c: Ditto.
886 * solib-osf.c: Ditto.
887 * solib-pa64.c: Ditto.
888 * solib-som.c: Ditto.
889 * solib-sunos.c: Ditto.
890 * solib-svr4.c: Ditto.
891 * solib-target.c: Ditto.
892 * solib.c: Ditto.
893 * somread.c: Ditto.
894 * source.c: Ditto.
895 * stabsread.c: Ditto.
896 * stabsread.c: Ditto.
897 * stack.c: Ditto.
898 * stack.h: Ditto.
899 * symfile-mem.c: Ditto.
900 * symfile.c: Ditto.
901 * symfile.h: Ditto.
902 * symmisc.c: Ditto.
903 * symtab.c: Ditto.
904 * symtab.h: Ditto.
905 * target-descriptions.c: Ditto.
906 * target-memory.c: Ditto.
907 * target.c: Ditto.
908 * target.h: Ditto.
909 * terminal.h: Ditto.
910 * thread.c: Ditto.
911 * top.c: Ditto.
912 * tracepoint.c: Ditto.
913 * tracepoint.h: Ditto.
914 * ui-file.c: Ditto.
915 * ui-file.h: Ditto.
916 * ui-out.h: Ditto.
917 * user-regs.c: Ditto.
918 * user-regs.h: Ditto.
919 * utils.c: Ditto.
920 * valarith.c: Ditto.
921 * valops.c: Ditto.
922 * valprint.c: Ditto.
923 * valprint.h: Ditto.
924 * value.c: Ditto.
925 * varobj.c: Ditto.
926 * varobj.h: Ditto.
927 * vec.h: Ditto.
928 * xcoffread.c: Ditto.
929 * xcoffsolib.c: Ditto.
930 * xcoffsolib.h: Ditto.
931 * xml-syscall.c: Ditto.
932 * xml-tdesc.c: Ditto.
933
934 2011-01-05 Michael Snyder <msnyder@vmware.com>
935
936 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
937 * cli/cli-decode.c: Ditto.
938 * cli/cli-dump.c: Ditto.
939 * cli/cli-logging.c: Ditto.
940 * cli/cli-script.c: Ditto.
941 * cli/cli-setshow.c: Ditto.
942 * common/signals.c: Ditto.
943 * mi/mi-cmd-break.c: Ditto.
944 * mi/mi-cmd-disas.c: Ditto.
945 * mi/mi-cmd-stack.c: Ditto.
946 * mi/mi-cmd-var.c: Ditto.
947 * mi/mi-cmds.c: Ditto.
948 * mi/mi-common.h: Ditto.
949 * mi/mi-console.c: Ditto.
950 * mi/mi-interp.c: Ditto.
951 * mi/mi-main.c: Ditto.
952 * osf-share/cma_attr.c: Ditto.
953 * osf-share/cma_deb_core.h: Ditto.
954 * osf-share/cma_debug_client.h: Ditto.
955 * osf-share/cma_handle.h: Ditto.
956 * osf-share/cma_mutex.h: Ditto.
957 * osf-share/cma_stack_int.h: Ditto.
958 * osf-share/cma_tcb_defs.h: Ditto.
959 * python/py-auto-load.c: Ditto.
960 * python/py-breakpoint.c: Ditto.
961 * python/py-cmd.c: Ditto.
962 * python/py-frame.c: Ditto.
963 * python/py-objfile.c: Ditto.
964 * python/py-param.c: Ditto.
965 * python/py-progspace.c: Ditto.
966 * python/py-symbol.c: Ditto.
967 * python/py-value.c: Ditto.
968 * python/python-internal.h: Ditto.
969 * python/python.c: Ditto.
970 * tui/tui-data.c: Ditto.
971 * tui/tui-disasm.c: Ditto.
972 * tui/tui-hooks.c: Ditto.
973 * tui/tui-io.c: Ditto.
974 * tui/tui-layout.c: Ditto.
975 * tui/tui-regs.c: Ditto.
976 * tui/tui-source.c: Ditto.
977 * tui/tui-stack.c: Ditto.
978 * tui/tui-win.c: Ditto.
979 * tui/tui-windata.c: Ditto.
980 * tui/tui-winsource.c: Ditto.
981
982 2011-01-05 Joel Brobecker <brobecker@adacore.com>
983
984 * configure.ac, gdb.1: Copyright year update.
985
986 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
987
988 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
989 this_pc_in_block, morestack_msym and morestack_name. Check for
990 "__morestack" minimal symbol there.
991
992 2011-01-03 Joel Brobecker <brobecker@adacore.com>
993
994 * symfile.c (find_sym_fns): Add call to dont_repeat.
995
996 2011-01-01 Joel Brobecker <brobecker@adacore.com>
997
998 Copyright year update in most files (performed by copyright.sh).
999
1000 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1001
1002 * top.c (print_gdb_version): Update copyright year in version output.
1003
1004 For older changes see ChangeLog-2010.
1005 \f
1006 Local Variables:
1007 mode: change-log
1008 left-margin: 8
1009 fill-column: 74
1010 version-control: never
1011 coding: utf-8
1012 End: