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