2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
255e7678
DJ
12007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
2 Daniel Jacobowitz <dan@codesourcery.com>
3
4 * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
5 * coff-pe-read.c (read_pe_exported_syms): Delete verbose
6 printf.
7 * NEWS: Mention gdbserver DLL support.
8
a8c50c1f
DJ
92007-07-17 Daniel Jacobowitz <dan@codesourcery.com>
10
11 * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
12
2e024c20
L
132007-07-16 H.J. Lu <hongjiu.lu@intel.com>
14
15 * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
16 warning bug.
17
f219aedc
KB
182007-07-13 Kevin Buettner <kevinb@redhat.com>
19
20 * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
21 instruction case.
22
1ba3e7a3
KB
232007-07-12 Kevin Buettner <kevinb@redhat.com>
24
25 * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
26 (mep_analyze_prologue): Add case for BRA instruction.
27
f1e55806
UW
282007-07-12 Ulrich Weigand <uweigand@de.ibm.com>
29
30 * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
31
d9f71b56
NR
322007-07-10 Nick Roberts <nickrob@snap.net.nz>
33
34 * breakpoint.c: Include "top.h".
35 (breakpoint_1): Don't set convenience variable $_ if server prefix
36 is used.
37 (_initialize_breakpoint): Describe this behaviour in command help.
38
358eb95e
PA
392007-07-08 Pedro Alves <pedro_alves@portugalmail.pt>
40
41 * solib-target.c (library_list_start_segment): Cast address to
42 CORE_ADDR.
43
a4e7b2e7
MK
442007-07-06 Mark Kettenis <kettenis@gnu.org>
45
46 * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
47 for terminated processes.
48
2ed23f5f
MS
492007-07-05 Michael Snyder <msnyder@access-company.com>
50
51 * event-top.c (cli_command_loop): Prompt string can (and should)
52 be freed after call to readline (Coverity). Also move local var
53 declarations into block where they are used.
54
55 * tui/tui-interp.c (tui_command_loop): Prompt string can (and
56 should) be freed after call to readline (Coverity). Also move
57 local var declarations into block where they are used.
58
a25694b4
AS
592007-07-03 Andreas Schwab <schwab@suse.de>
60
61 * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
62 /proc/../stat.
63
2bbe3cc1
DJ
642007-07-03 Paul Gilliam <pgilliam@us.ibm.com>
65 Thiago Bauermann <bauerman@br.ibm.com>
66 Joseph S. Myers <joseph@codesourcery.com>
67 Daniel Jacobowitz <dan@codesourcery.com>
68
69 * remote.c (remote_check_symbols): Use
70 gdbarch_convert_from_func_ptr_addr.
71 * infcall.c (find_function_addr): Handle function descriptors
72 without debugging information.
73 * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed
74 from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt.
75 (ppc_linux_init_abi): Always set convert_from_func_ptr_addr.
76 * solib-svr4.c (solib_break_names): Remove "._dl_debug_state".
77 (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always
78 allow SEC_CODE and SEC_DATA.
79 (enable_break): Update calls. Pass current_target to solib_add.
80 Use gdbarch_convert_from_func_ptr_addr.
81
9f43d28c
DJ
822007-07-03 Ilko Iliev <iliev@ronetix.at>
83 Daniel Jacobowitz <dan@codesourcery.com>
84
85 * symfile.c (print_transfer_performance): Avoid integer overflow.
86 Use larger units.
87
3a40aaa0
UW
882007-07-03 Markus Deuling <deuling@de.ibm.com>
89
90 * cp-namespace.c (lookup_symbol_file): Add block to
91 lookup_symbol_global call.
92 * Makefile.in (solist_h): Add dependency on symtab header.
93 (symtab.o): Add dependency on solist header.
94 * solib.c (solib_global_lookup): New function.
95 * solib-svr4.c (scan_dyntag): Likewise.
96 (elf_locate_base): Call helper routine scan_dyntag.
97 (elf_lookup_lib_symbol): New function.
98 (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
99 * solist.h (symtab.h): New include.
100 (struct target_so_ops): New member lookup_lib_global_symbol.
101 (solib_global_lookup): New prototype.
102 * symtab.c: New include solist.h.
103 (lookup_objfile_from_block): New function.
104 (lookup_global_symbol_from_objfile): New function.
105 (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
106 (lookup_symbol_global): Call library-specific lookup procedure.
107 * symtab.h (lookup_global_symbol_from_objfile): New prototype.
108
109 * NEWS: Document framework.
110
c8c12293
DJ
1112007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
112
113 * target-descriptions.c (tdesc_create_reg): Do not set reg->type
114 to NULL.
115
116 * cli/cli-script.c (build_command_line): Update NULL check.
117
7877e977
MS
1182007-07-02 Michael Snyder <msnyder@access-company.com>
119
120 * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).
121
cfa9d6d9
DJ
1222007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
123
124 * Makefile.in (XMLFILES): Add library-list.dtd.
125 (ALLDEPFILES): Add solib-target.o.
126 (solib-target.o): New rule.
127 * remote.c (PACKET_qXfer_libraries): New constant.
128 (remote_protocol_features): Add qXfer:libraries:read.
129 (remote_wait): Recognize library stop replies.
130 (remote_async_wait): Likewise. Fix typo.
131 (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
132 (init_remote_async_ops): Fix typo.
133 (_initialize_remote): Register "set remote library-info-packet".
134 * solib-som.c (som_current_sos): Set addr_low and addr_high.
135 * solib-target.c: New file.
136 * solib.c (solib_map_sections): Use addr_low and addr_high instead
137 of textsection.
138 (info_sharedlibrary_command): Likewise.
139 (solib_add_library, solib_remove_library): New.
140 * solist.h (struct so_list): Replace textsection with addr_low and
141 addr_high.
142 * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES.
143 * NEWS: Describe new qXfer:libraries:read and shared library
144 event support.
145 * features/library-list.dtd: New.
146
b0f4b84b
DJ
1472007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
148
149 * infrun.c (inferior_ignoring_startup_exec_events): Delete.
150 (start_remote): Use STOP_QUIETLY_REMOTE.
151 (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED
152 support on a SOLIB_ADD definition. Update breakpoints_inserted.
153 Update to match shared library event breakpoint support. Only
154 resume if appropriate. Handle STOP_QUIETLY_REMOTE.
155 (normal_stop): Handle TARGET_WAITKIND_LOADED.
156 * fork-child.c (startup_inferior): Do not set
157 inferior_ignoring_startup_exec_events
158 * inferior.h (inferior_ignoring_startup_exec_events): Delete
159 declaration.
160 (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE.
161
9bbf65bb
UW
1622007-07-02 Markus Deuling <deuling@de.ibm.com>
163
164 * breakpoint.c (insert_bp_location): Remove dead code
165 (DISABLE_UNSETTABLE_BREAK).
166 (disable_breakpoints_in_shlibs)
167 (disable_breakpoints_in_unloaded_shlib): Likewise (comment).
168
a4954f26
DJ
1692007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
170
171 * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint.
172 Call insert_bp_location.
173
b48516f9
L
1742007-07-01 H.J. Lu <hongjiu.lu@intel.com>
175
176 * core-regset.c (fetch_core_registers): Work around gcc 3.4
177 alias warning bug.
178
96225718
DJ
1792007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
180
181 * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
182 objfiles.
183
1b05479a
DJ
1842007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
185
186 * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove.
187 (struct gdb_readline_wrapper_cleanup): Remove prompt_orig.
188 (gdb_readline_wrapper_cleanup): Do not reset the prompt.
189 (gdb_readline_wrapper): Do not save the prompt. Pass our prompt
190 to display_gdb_prompt.
191
5ad3a4ca
DJ
1922007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
193
194 PR symtab/2161
195 * target.c (memory_xfer_partial): Do not continue past targets with
196 all memory.
197
4ed77933
AS
1982007-06-30 Andreas Schwab <schwab@suse.de>
199
4713453b
AS
200 * m68k-tdep.c (m68k_ps_type): New.
201 (m68k_init_types): New.
202 (m68k_register_type): Use m68k_ps_type for PS register.
203 (_initialize_m68k_tdep): Call m68k_init_types.
204
4ed77933
AS
205 * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
206 from the generic m68k arch.
207
dd3526aa
MS
2082007-06-28 Michael Snyder <msnyder@access-company.com>
209
f08312c2
MS
210 * m2-typeprint.c (m2_print_type): Move pointer ref after null test
211 (Coverity).
212
a787bedf
MS
213 * linux-thread-db.c (thread_db_get_thread_local_address): Add
214 gdb_assert before using return value of find_thread_pid (Coverity).
215
77accacd
MS
216 * source.c (unset_substitute_path_command): Plug leak (Coverity).
217
dd3526aa
MS
218 * cli/cli-script.c (build_command_line): Add null pointer guard
219 (Coverity).
220
4105de34
DJ
2212007-06-27 Daniel Jacobowitz <dan@codesourcery.com>
222
223 * linux-thread-db.c (thread_db_attach): Delete.
224 (thread_db_detach): Typo fix. Call target_mourn_inferior
225 instead of fixing up proc_handle.
226 (have_threads_callback, have_threads): New functions.
227 (thread_db_wait): Remove dead proc_handle.pid check. Only
228 translate PTIDs if we have registered threads. Check for new
229 threads if we have none.
230 (thread_db_create_inferior, thread_db_post_startup_inferior): Delete.
231 (find_new_threads_callback): Only enable event reporting if TID == 0.
232 (same_ptid_callback): New.
233 (thread_db_get_thread_local_address): Check for new threads.
234 (init_thread_db_ops): Don't set to_attach, to_create_inferior,
235 or to_post_startup_inferior.
236
1c0fdd0e
UW
2372007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
238
239 * infrun.c (adjust_pc_after_break): Do not assume software single-step
240 is always active if SOFTWARE_SINGLE_STEP_P is true.
241 (resume): Use gdbarch_software_single_step[_p] instead of
242 SOFTWARE_SINGLE_STEP[_P].
243 (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
244
245 * gdbarch.sh (software_single_step): Remove target macro.
246 * gdbarch.h, gdbarch.c: Regenerate.
247
e487cc15
UW
2482007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
249
250 * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
251 DEPRECATED_REGISTER_GDBARCH_SWAP): Remove.
252 (struct gdbarch_swap, struct gdbarch_swap_registration,
253 struct gdbarch_swap_registry, gdbarch_swap_registry,
254 current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack,
255 current_gdbarch_swap_in_hack): Remove.
256 (find_arch_by_info): Do not call current_gdbarch_swap_init_hack.
257 (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack
258 and current_gdbarch_swap_out_hack, update current_gdbarch directly.
259 (deprecated_current_gdbarch_select_hack): Likewise.
260 * gdbarch.h, gdbarch.c: Regenerate.
261
d5c31457
UW
2622007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
263
264 * infrun.c (clear_proceed_status): Clean up stop_registers.
265 (normal_stop): Allocate regcache for stop_registers.
266 (struct inferior_status): Remove stop_registers member.
267 (save_inferior_status): Do not save stop_registers.
268 (restore_inferior_status): Do not restore stop_registers.
269 (discard_inferior_status): Do not discard stop_registers.
270 (build_infrun): Remove.
271 (_initialize_infrun): Do not swap stop_registers.
272
911c95a5
UW
2732007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
274
275 * remote.c (remote_address_masked): If remote_address_size is zero,
276 default to target address size.
277 (build_remote_gdbarch_data): Remove.
278 (_initialize_remote): Do not swap remote_address_size.
279
5674de60
UW
2802007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
281
282 * gdbtypes.h (builtin_type_true_char, builtin_type_void,
283 builtin_type_char, builtin_type_short, builtin_type_int,
284 builtin_type_long, builtin_type_signed_char,
285 builtin_type_unsigned_char, builtin_type_unsigned_short,
286 builtin_type_unsigned_int, builtin_type_unsigned_long,
287 builtin_type_float, builtin_type_double, builtin_type_long_double,
288 builtin_type_complex, builtin_type_double_complex, builtin_type_string,
289 builtin_type_bool, builtin_type_long_long,
290 builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
291 builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global
292 variable declaration with compatibility macro.
293 * gdbtypes.c (builtin_type_true_char, builtin_type_void,
294 builtin_type_char, builtin_type_short, builtin_type_int,
295 builtin_type_long, builtin_type_signed_char,
296 builtin_type_unsigned_char, builtin_type_unsigned_short,
297 builtin_type_unsigned_int, builtin_type_unsigned_long,
298 builtin_type_float, builtin_type_double, builtin_type_long_double,
299 builtin_type_complex, builtin_type_double_complex, builtin_type_string,
300 builtin_type_bool, builtin_type_long_long,
301 builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
302 builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove.
303 (build_gdbtypes): Remove.
304 (_initialize_gdbtypes): Do not call build_gdbtypes, move installing
305 opaque-type-resolution command here. Do not call
306 deprecated_register_gdbarch_swap.
307
64c50499
UW
3082007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
309
310 * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol,
311 nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol.
312 * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types.
313
314 * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove.
315 (msym_unknown_symbol_type, msym_tls_symbol_type): Remove.
316 (write_exp_msymbol): Use builtin nodebug_ types instead of them.
317 (build_parse): Remove.
318 (_initialize_parse): Do not call build_parse. Do not register
319 msym_ types for gdbarch-swapping.
320
321 * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type
322 instead of creating private type.
323
324 * xcoffread.c (func_symbol_type, var_symbol_type): Remove.
325 (_initialize_xcoffread): Do not initialized them.
326 (process_xcoff_symbol): Use builtin nodebug_ types instead of them.
327
328 * mdebugread.c (nodebug_func_symbol_type): Remove.
329 (nodebug_var_symbol_type): Remove.
330 (_initialize_mdebugread): Do not initialize them.
331 (parse_symbol): Use builtin nodebug_ type instead of them.
332 (parse_procedure): Likewise.
333
6a2eb474
MR
3342007-06-21 Chris Dearman <chris@mips.com>
335
336 * printcmd.c (do_one_display): If display/i, start with an initial
337 line feed to avoid bad layout if there is a branch delay slot.
338
a4642986
MR
3392007-06-21 Nigel Stephens <nigel@mips.com>
340 Maciej W. Rozycki <macro@mips.com>
341
342 * disasm.c (gdb_print_insn): Return the number of branch delay
343 slot instructions too.
344 * disasm.h (gdb_print_insn): Update prototype.
345 * printcmd.c (branch_delay_insns): New variable to record the
346 number of delay slot instructions after disassembling a branch.
347 (print_formatted): Record the number of branch delay slot
348 instructions.
349 (do_examine): When disassembling, if the last instruction
350 disassembled has any branch delay slots, then bump the count so
351 that they get disassembled too.
352 * tui/tui-disasm.c (tui_disassemble): Update the call to
353 gdb_print_insn().
354 * NEWS: Document the new behaviour.
355
ade28716
AS
3562007-06-21 Andreas Schwab <schwab@suse.de>
357
358 * regcache.c (write_pc_pid): Restore missing else.
359
28c38f10
UW
3602007-06-20 Ulrich Weigand <uweigand@de.ibm.com>
361
362 * regcache.c (regcache_print): Use get_current_regcache ()
363 instead of current_regcache.
364
52b57208
L
3652007-06-20 H.J. Lu <hongjiu.lu@intel.com>
366
367 PR 4606
368 * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags
369 instead of bfd_make_section_anyway.
370 (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD
371 when clearing SEC_LOAD.
372
8bf8793c
JM
3732007-06-19 Joseph Myers <joseph@codesourcery.com>
374
375 * arm-tdep.c (arm_push_dummy_call): Correct padding of partial
376 registers for big-endian.
377
7f5c84d3
UW
3782007-06-19 Markus Deuling <deuling@de.ibm.com>
379
380 * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn.
381 * disasm.c (dump_insns, gdb_print_insn): Likewise.
382 * gdbarch.c, gdbarch.h: Regenerate.
383
f73e88f9
UW
3842007-06-19 Markus Deuling <deuling@de.ibm.com>
385
386 * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by
387 gdbarch_believe_pcc_promotion.
388 * stabsread.c (define_symbol): Likewise.
389 Remove unnecessary definition.
390 * coffread.c (process_coff_symbol): Remove unnecessary code.
391 * gdbarch.c, gdbarch.h: Regenerate.
392
cab58a69
DJ
3932007-06-19 Daniel Jacobowitz <dan@codesourcery.com>
394
395 * configure.ac: Do not use ${objdir}.
396 * configure: Regenerated.
397
f0c9063c
UW
3982007-06-18 Ulrich Weigand <uweigand@de.ibm.com>
399
400 * gdbarch.sh (deprecated_register_size): Remove.
401 * gdbarch.h, gdbarch.c: Regenerate.
402
403 * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE
404 by INT_REGISTER_SIZE.
405 (thumb_get_next_pc, arm_return_in_memory): Likewise.
406 (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size.
407 * ia64-tdep.c (ia64_gdbarch_init): Do not call
408 set_gdbarch_deprecated_register_size.
409
064f5156
UW
4102007-06-18 Markus Deuling <deuling@de.ibm.com>
411
412 * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by
413 gdbarch_deprecated_fp_regnum.
414 * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
415 * remote-mips.c (mips_wait, mips_fetch_registers): Likewise.
416 * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
417 * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise
418 (comment).
419 * gdbarch.c, gdbarch.h: Regenerate.
420
4212007-06-18 Markus Deuling <deuling@de.ibm.com>
422
423 * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with
424 gdbarch_extract_return_value.
425 * value.c (generic_use_struct_convention): Likewise (comment).
426 * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment).
427 * arch-utils.c (legacy_return_value): Likewise.
428 * arch-utils.h (legacy_return_value): Likewise (comment).
429 * gdbarch.sh (STORE_RETURN_VALUE): Replace by
430 gdbarch_store_return_value.
431 * stack.c (return_command): Likewise (comment).
432 * arch-utils.h (legacy_return_value): Likewise (comment).
433 * arch-utils.c (legacy_return_value): Likewise.
434 * gdbarch.c, gdbarch.h: Regenerate.
435
b187c476
UW
4362007-06-18 Markus Deuling <deuling@de.ibm.com>
437
438 * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by
439 gdbarch_deprecated_use_struct_convention.
440 * arch-utils.c (legacy_return_value): Likewise.
441 * gdbarch.c, gdbarch.h: Regenerate.
442
cbf3b44a
UW
4432007-06-18 Markus Deuling <deuling@de.ibm.com>
444
445 * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by
446 gdbarch_deprecated_function_start_offset.
447 * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise.
448 * linespec.c (minsym_found): Likewise.
449 * infrun.c (handle_inferior_event): Likewise.
450 * infcall.c (find_function_addr): Likewise.
451 * cli/cli-cmds.c (disassemble_command): Likewise.
452 * gdbarch.c, gdbarch.h: Regenerate.
453
bceb6e50
UW
4542007-06-18 Markus Deuling <deuling@de.ibm.com>
455
456 * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by
457 gdbarch_deprecated_reg_struct_has_addr.
458 * infcall.c (call_function_by_hand): Likewise.
459 (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by
460 * gdbarch_deprecated_reg_struct_has_addr_p.
461 * infcall.c (call_function_by_hand): Likewise.
462 * gdbarch.c, gdbarch.h: Regenerate.
463
8ed6a7ba
UW
4642007-06-18 Markus Deuling <deuling@de.ibm.com>
465
466 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
467 * sh-tdep.c (sh_extract_struct_value_address): Remove.
468 (sh_gdbarch_init): Remove
469 set_gdbarch_deprecated_extract_struct_value_address.
470 * sh64-tdep.c (sh64_extract_struct_value_address): Remove.
471 (sh64_gdbarch_init): Remove
472 set_gdbarch_deprecated_extract_struct_value_address.
473 * ia64-tdep.c (ia64_extract_struct_value_address): Remove.
474 (ia64_gdbarch_init): Remove
475 set_gdbarch_deprecated_extract_struct_value_address.
476 * frv-tdep.c (frv_extract_struct_value_address): Remove.
477 (frv_gdbarch_init): Remove
478 set_gdbarch_deprecated_extract_struct_value_address.
479 * gdbarch.c, gdbarch.h: Regenerate.
480
3e8c568d
UW
4812007-06-18 Markus Deuling <deuling@de.ibm.com>
482
483 * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum.
484 * v850-tdep.c (v850_unwind_sp): Likewise.
485 * std-regs.c (value_of_builtin_frame_sp_reg): Likewise.
486 * stack.c (frame_info): Likewise.
487 * stabsread.c (define_symbol): Likewise.
488 * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu)
489 (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register)
490 (sh_unwind_sp): Likewise.
491 * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache)
492 (sh64_frame_prev_register, sh64_unwind_sp): Likewise.
493 * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id)
494 (rs6000_frame_cache): Likewise.
495 * rs6000-nat.c (store_register): Likewise.
496 * remote-mips.c (mips_wait): Likewise.
497 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
498 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
499 (ppc64_sysv_abi_push_dummy_call): Likewise.
500 * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
501 * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
502 * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
503 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
504 * m32r-rom.c (m32r_supply_register): Likewise.
505 * frame.c (frame_sp_unwind): Likewise.
506 * mips-tdep.c (mips_insn16_frame_cache)
507 (mips_insn32_frame_cache): Likewise (comment).
508 * m68klinux-nat.c (supply_gregset): Likewise.
509 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
510 * ia64-tdep.c (ia64_frame_prev_register): Likewise.
511 * i386-tdep.c (i386_get_longjmp_target): Likewise.
512 * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
513 * cris-tdep.c (cris_regnums, cris_sigcontext_addr)
514 (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call)
515 (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp)
516 (cris_register_type, crisv32_register_type)
517 (cris_dwarf2_frame_init_reg): Likewise.
518 * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
519 * amd64-tdep.c (amd64_frame_prev_register): Likewise.
520 * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise.
521 * libunwind-frame.c (libunwind_frame_cache): Likewise.
522
523 * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum.
524 * regcache.c (read_pc_pid, generic_target_write_pc): Likewise.
525 * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset)
526 (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register)
527 (xtensa_extract_return_value, xtensa_store_return_value): Likewise.
528 * v850-tdep.c (v850_unwind_pc): Likewise.
529 * stack.c (frame_info): Likewise.
530 * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs)
531 (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs)
532 (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs)
533 (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc)
534 (sh_dsp_show_regs): Likewise.
535 * shnbsd-tdep.c (shnbsd_supply_gregset)
536 (shnbsd_collect_gregset): Likewise.
537 * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise.
538 * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs)
539 (sh64_frame_prev_register, sh64_unwind_pc): Likewise.
540 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
541 (6000_register_reggroup_p, rs6000_unwind_pc)
542 (rs6000_frame_cache): Likewise.
543 * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers)
544 (rs6000_store_inferior_registers): Likewise.
545 * remote-mips.c (mips_wait, mips_load): Likewise.
546 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
547 * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
548 * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
549 * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
550 * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise.
551 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
552 * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers)
553 (store_ppc_registers, fill_gregset): Likewise.
554 * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise.
555 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise.
556 * mipsnbsd-nat.c (getregs_supplies): Likewise.
557 * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise.
558 * m68klinux-nat.c (supply_gregset): Likewise.
559 * irix5-nat.c (fill_gregset): Likewise.
560 * i386-tdep.c (i386_unwind_pc): Likewise.
561 * i386-linux-nat.c (i386_linux_resume): Likewise.
562 * frame.c (get_prev_frame_1): Likewise.
563 * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
564 * dbug-rom.c (dbug_supply_register): Likewise.
565 * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue)
566 (crisv32_scan_prologue, cris_unwind_pc, cris_register_size)
567 (cris_register_type, crisv32_register_type, crisv32_register_name)
568 (cris_dwarf2_frame_init_reg, find_step_target)
569 (cris_software_single_step, cris_supply_gregset)
570 (cris_regnums): Likewise.
571 * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
572 * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
573 (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise.
574 * std-regs.c (value_of_builtin_frame_pc_reg): Likewise.
575 * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
576
577 * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum.
578 * dbug-rom.c (dbug_supply_register): Likewise.
579 * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache)
580 (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise.
581 * win32-nat.c (win32_resume): Likewise.
582 * std-regs.c (value_of_builtin_frame_ps_reg): Likewise.
583 * m68k-tdep.c (m68k_register_type): Likewise.
584 * m68klinux-nat.c (supply_gregset): Likewise.
585
586 * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum.
587 * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu)
588 (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs)
589 (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type)
590 (fv_reg_base_num, dr_reg_base_num): Likewise.
591 * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num)
592 (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call)
593 (sh64_extract_return_value, sh64_store_return_value)
594 (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type)
595 (sh64_do_fp_register, sh64_media_print_registers_info): Likewise.
596 * procfs.c (procfs_fetch_registers, procfs_store_registers)
597 (invalidate_cache): Likewise.
598 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
599 * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg)
600 (mipsnbsd_fill_fpreg): Likewise.
601 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
602 (mipsnbsd_store_inferior_registers): Likewise.
603 * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset)
604 (mips64_supply_fpregset, mips64_fill_fpregset): Likewise.
605 * mips-linux-nat.c (mips64_linux_register_addr): Likewise.
606 * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise.
607 * m68klinux-nat.c (getfpregs_supplies, supply_fpregset)
608 (fill_fpregset): Likewise.
609 * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise.
610 * i386-tdep.h (struct_return): Likewise (comment).
611 * i386-nto-tdep.c (i386nto_register_area): Likewise.
612 * go32-nat.c (fetch_register, go32_fetch_registers, store_register)
613 (go32_store_registers): Likewise.
614 * alpha-tdep.c (alpha_next_pc): Likewise.
615 * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
616 * alphabsd-nat.c (alphabsd_fetch_inferior_registers)
617 (alphabsd_store_inferior_registers): Likewise.
618 * core-regset.c (fetch_core_registers): Likewise.
619 * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise.
620
621 * gdbarch.c, gdbarch.h: Regenerate.
622
31d99776
DJ
6232007-06-18 Daniel Jacobowitz <dan@codesourcery.com>
624
625 * coffread.c (coff_sym_fns): Add default_symfile_segments.
626 * dbxread.c (start_psymtab): Check HAVE_ELF.
627 (aout_sym_fns): Likewise.
628 * elfread.c (elf_symfile_segments): New.
629 (elf_sym_fns): Add elf_symfile_segments.
630 * mipsread.c (ecoff_sym_fns): Add default_symfile_segments.
631 * remote.c (get_offsets): Use symfile_map_offsets_to_segments.
632 Skip if there is no symfile_objfile. Handle TextSeg and DataSeg.
633 * somread.c (som_sym_fns): Use default_symfile_segments.
634 * symfile.c (find_sym_fns): Take a BFD and return the sym_fns.
635 (init_objfile_sect_indices): Call symfile_find_segment_sections.
636 (default_symfile_segments): New function.
637 (syms_from_objfile): Update call to find_sym_fns.
638 (symfile_get_segment_data, free_symfile_segment_data): New.
639 (symfile_map_offsets_to_segments): New.
640 (symfile_find_segment_sections): New.
641 * symfile.h (struct symfile_segment_data): New.
642 (struct sym_fns): Add sym_segments.
643 (default_symfile_segments, symfile_get_segment_data)
644 (free_symfile_segment_data): New prototypes.
645 (symfile_map_offsets_to_segments): Likewise.
646 * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments.
647 * Makefile.in (COMMON_OBS): Remove elfread.o.
648 (elf_internal_h): New.
649 (elfread.o): Update.
650 * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was
651 compiled.
652 * config.in, configure: Regenerated.
653 * NEWS: Mention qOffsets changes.
654
5760b90a
UW
6552007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
656
657 * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int,
658 builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
659 Replace global variable declaration with compatibility macro.
660 (struct builtin_m2_type): New data type.
661 (builtin_m2_type): Add prototype.
662 * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int,
663 builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
664 Remove global variables.
665 (m2_language_arch_info): Use builtin_m2_type instead of variables.
666 (build_m2_types): New function.
667 (m2_type_data): New variable.
668 (builtin_m2_type): New function.
669 (_initialize_m2_language): Do not build data types. Register
670 m2_type_data per-gdbarch data.
671
54ef06c7
UW
6722007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
673
674 * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
675 builtin_type_f_logical_s1, builtin_type_f_logical_s2,
676 builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
677 builtin_type_f_real_s8, builtin_type_f_real_s16,
678 builtin_type_f_complex_s8, builtin_type_f_complex_s16,
679 builtin_type_f_complex_s32, builtin_type_f_void): Replace global
680 variable declaration with compatibility macro.
681 (struct builtin_f_type): New data type.
682 (builtin_f_type): Add prototype.
683 * f-lang.c (builtin_type_f_character, builtin_type_f_logical,
684 builtin_type_f_logical_s1, builtin_type_f_logical_s2,
685 builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
686 builtin_type_f_real_s8, builtin_type_f_real_s16,
687 builtin_type_f_complex_s8, builtin_type_f_complex_s16,
688 builtin_type_f_complex_s32, builtin_type_f_void): Remove variables.
689 (f_language_arch_info): Use builtin_f_type instead of variables.
690 (build_fortran_types): Build builtin_f_type structure instead of
691 setting global type variables.
692 (f_type_data): New variable.
693 (builtin_f_type): New function.
694 (_initialize_f_language): Do not call build_fortran_types. Do not
695 swap global type variables. Register f_type_data per-gdbarch data.
696
92e0cef4
UW
6972007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
698
699 * f-lang.c (_initialize_f_language): Do not initialize or
700 swap builtin_type_string.
701
5d8140d1
UW
7022007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
703
0e7b1906
UW
704 * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg,
705 value_of_builtin_frame_reg): Remove.
706 (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove
707 inactive call to value_of_builtin_frame_reg.
708
7092007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
710
711 * gdbarch.sh (bfd_vma_bit): Remove.
5d8140d1
UW
712 * gdbarch.c, gdbarch.h: Regenerate.
713
714 * gdbtypes.h (builtin_bfd_vma_type): Remove.
715 * gdbtypes.h (builtin_bfd_vma_type): Remove.
716 (build_gdbtypes): Do not initialize it.
717 (_initialize_gdbtypes): Do not swap it.
718
794ac428
UW
7192007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
720
721 * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float,
722 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
723 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
724 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
725 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
726 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
727 builtin_type_vec64, builtin_type_vec128): Remove.
728 (init_simd_type): Remove.
729 (init_vector_type): Make global.
730 (build_builtin_type_vec64, build_builtin_type_vec128): Remove.
731 (build_gdbtypes): Do not build vector types.
732 (_initialize_gdbtypes): Do not swap vector types.
733 * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float,
734 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
735 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
736 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
737 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
738 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
739 builtin_type_vec64, builtin_type_vec128): Remove declarations.
740 (init_vector_type): Add prototype.
741
742 * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and
743 i386_sse_type members.
744 (i386_mmx_type, i386_sse_type): Change from variables to functions.
745 * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables.
746 (i386_init_types): Do not build vector types.
747 (i386_mmx_type, i386_sse_type): New functions.
748 (i386_register_type): Call them instead of using global variables.
749 (i386_gdbarch_init): Use XCALLOC to allocate tdep structure.
750 * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead
751 of using global variable.
752
753 * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64
754 and ppc_builtin_type_vec128 members.
755 * rs6000-tdep.c (rs6000_builtin_type_vec64): New function.
756 (rs6000_builtin_type_vec128): Likewise.
757 (rs6000_register_type): Call them instead of using builtin_type_vec64
758 and builtin_type_vec128.
759 (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure.
760
761 * spu-tdep.c (struct gdbarch_tdep): New data type.
762 (spu_builtin_type_vec128): Remove variable.
763 (spu_builtin_type_vec128): New function.
764 (spu_register_type): Call it instead of using global variable.
765 (spu_gdbarch_init): Allocate tdep structure.
766 (spu_init_vector_type): Remove function.
767 (_initialize_spu_tdep): Do not call it.
768
6707b003
UW
7692007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
770
771 * amd64-tdep.c (struct amd64_register_info): Remove.
772 (amd64_register_info): Remove.
773 (amd64_register_names): New static variable.
774 (AMD64_NUM_REGS): Use amd64_register_names instead of
775 amd64_register_info.
776 (amd64_register_name): Likewise.
777 (amd64_register_type): Do not refer to amd64_register_info.
778
779 * s390-tdep.c (struct s390_register_info): Remove.
780 (s390_register_info): Remove.
781 (s390_register_name): Do not refer to s390_register_info.
782 (s390_register_type): Likewise.
783
784 * sparc64-tdep.c (struct sparc64_register_info): Remove.
785 (sparc64_register_info, sparc64_pseudo_register_info): Remove.
786 (sparc64_register_names, sparc64_pseudo_register_names): New.
787 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use
788 sparc64_register_names and sparc64_pseudo_register_names instead of
789 sparc64_register_info and sparc64_pseudo_register_info.
790 (sparc64_register_name): Likewise.
791 (sparc64_register_type): Do not refer to sparc64_register_info
792 and sparc64_pseudo_register_info.
793
cad351d1
UW
7942007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
795
796 * c-lang.c (cplus_builtin_types): Remove.
797 (enum cplus_primitive_types): New data type.
798 (cplus_language_arch_info): New function.
799 (cplus_language_defn): Set la_language_arch_info member. Do not set
800 la_builtin_type_vector and string_char_type members.
801
802 * f-lang.c (f_builtin_types): Remove.
803 (enum f_primitive_types): New data type.
804 (f_language_arch_info): New function.
805 (f_language_de): Set la_language_arch_info member. Do not set
806 la_builtin_type_vector and string_char_type members.
807
808 * m2-lang.c (m2_builtin_types): Remove.
809 (enum m2_primitive_types): New data type.
810 (m2_language_arch_info): New function.
811 (m2_language_defn): Set la_language_arch_info member. Do not set
812 la_builtin_type_vector and string_char_type members.
813
814 * objc-lang.c (objc_builtin_types): Remove.
815 (objc_language): Set la_language_arch_info member. Do not set
816 la_builtin_type_vector and string_char_type members.
817
818 * p-lang.c (pascal_builtin_types): Remove.
819 (enum pascal_primitive_types): New data type.
820 (pascal_language_arch_info): New function.
821 (pascal_language_defn): Set la_language_arch_info member. Do not set
822 la_builtin_type_vector and string_char_type members.
823
594f7785
UW
8242007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
825
826 * regcache.c (struct regcache): Add ptid_t member.
827 (regcache_xmalloc): Initialize it.
828 (regcache_cpy_no_passthrough): Do not refer to current_regcache.
829 (regcache_dup): Likewise.
830 (regcache_dup_no_passthrough): Likewise.
831 (current_regcache): Make static.
832 (registers_ptid): Remove variable.
833 (get_thread_regcache): New function.
834 (get_current_regcache): New function.
835 (registers_changed): Implement by freeing current regcache.
836 (regcache_raw_read): Do not refer to current_regcache. Set
837 inferior_ptid to regcache->ptid while calling target routines.
838 (regcache_raw_write): Likewise.
839 (regcache_raw_supply): Do not refer to current_regcache.
840 (read_pc_pid): Use thread regcache. Do not modify inferior_ptid.
841 (write_pc_pid): Likewise.
842 (build_regcache): Remove.
843 (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP
844 or deprecated_register_gdbarch_swap. Do not initialize
845 registers_ptid.
846 * regcache.h (get_current_regcache): Add prototype.
847 (get_thread_regcache): Likewise.
848 (current_regcache): Remove declaration.
849
850 * corelow.c (core_open): Replace current_regcache by
851 get_current_regcache ().
852 * frame.c (frame_pop): Likewise.
853 (put_frame_register): Likewise.
854 (get_current_frame, create_new_frame): Likewise.
855 * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise.
856 * stack.c (return_command): Likewise.
857 * infcall.c (call_function_by_hand): Likewise.
858 * infrun.c (resume): Likewise.
859 (save_inferior_status, restore_inferior_status): Likewise.
860 * linux-fork.c (fork_load_infrun_state): Likewise.
861 (fork_save_infrun_state): Likewise.
862 * win32-nat.c (win32_resume): Likewise.
863 * i386fbsd-nat.c (i386fbsd_resume): Likewise.
864 * monitor.c (monitor_wait): Likewise.
865 * remote.c (remote_wait): Likewise.
866 * remote-mips.c (mips_wait): Likewise.
867
868 * bsd-kvm.c (bsd_kvm_open): Likewise
869 (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise.
870 * fbsd-nat.c (fbsd_make_corefile_notes): Likewise.
871 * i386-linux-nat.c (i386_linux_resume): Likewise.
872 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
873 (ia64_linux_stopped_data_address): Likewise.
874
875 * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise.
876 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
877 * mep-tdep.c (current_me_module, current_options): Likewise.
878 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise.
879
880 * linux-nat.c (linux_nat_do_thread_registers): Use thread
881 regcache instead of current_regcache. Call target_fetch_registers.
882 (linux_nat_corefile_thread_callback): Update call site.
883 (linux_nat_do_registers): Likewise.
884 * procfs.c (procfs_do_thread_registers): Use thread regcache instead
885 of current_regcache.
886 (procfs_make_note_section): Likewise.
887 * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise.
888 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
889 * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise.
890 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
891
51a7a212
UW
8922007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
893
894 * regcache.c (read_register, read_register_pid): Remove.
895 (write_register, write_register_pid): Likewise.
896 * regcache.h (read_register, read_register_pid): Remove prototype.
897 (write_register, write_register_pid): Likewise.
898
61a1198a
UW
8992007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
900
901 * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument.
902 (write_pc): Likewise. Remove default implementation, add predicate.
903 * gdbarch.c, gdbarch.h: Regenerate.
904 * regcache.c (read_pc_pid): Use current regcache instead of calling
905 read_register_pid.
906 (write_pc_pid): Check gdbarch_write_pc predicate, implement default
907 case inline.
908 (generic_target_write_pc): Remove.
909 * inferior.h (generic_target_write_pc): Remove.
910 * frv-tdep.c (frv_gdbarch_init): Do not install it.
911 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
912 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
913 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
914 * sh-tdep.c (sh_gdbarch_init): Likewise.
915 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
916
917 * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID
918 argument. Use REGCACHE instead of calling read_register_pid.
919 * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise.
920 * hppa-tdep.c (hppa_read_pc): Likewise.
921 * hppa-tdep.h (hppa_read_pc): Likewise.
922 * ia64-tdep.c (ia64_read_pc): Likewise.
923 * m32r-tdep.c (m32r_read_pc): Likewise.
924 * mep-tdep.c (mep_read_pc): Likewise.
925 * mn10300-tdep.c (mn10300_read_pc): Likewise.
926 * spu-tdep.c (spu_read_pc): Likewise.
927
928 * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID
929 argument. Use REGCACHE instead of calling write_register_pid.
930 * avr-tdep.c (avr_write_pc): Likewise.
931 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise.
932 * hppa-tdep.c (hppa_write_pc): Likewise.
933 * hppa-tdep.h (hppa_write_pc): Likewise.
934 * i386-linux-tdep.c (i386_linux_write_pc): Likewise.
935 * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise.
936 * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise.
937 * ia64-tdep.c (ia64_write_pc): Likewise.
938 * ia64-tdep.h (ia64_write_pc): Likewise.
939 * m32r-tdep.c (m32r_write_pc): Likewise.
940 * m88k-tdep.c (m88k_write_pc): Likewise.
941 * mep-tdep.c (mep_write_pc): Likewise.
942 * mips-tdep.c (mips_write_pc): Likewise.
943 * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
944 * mn10300-tdep.c (mn10300_write_pc): Likewise.
945 * sparc-tdep.c (sparc_write_pc): Likewise.
946 * spu-tdep.c (spu_write_pc): Likewise.
947
948 * mips-tdep.c (read_signed_register): Remove.
949 (read_signed_register_pid): Likewise.
950 (mips_read_pc): Add REGCACHE argument. Remove PTID argument.
951 Use REGCACHE instead of calling read_signed_register_pid.
952
e4fd649a
UW
9532007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
954
955 * gdbarch.sh (push_dummy_code): Add REGCACHE argument.
956 * gdbarch.c, gdbarch.h: Regenerate.
957 * infcall.c (generic_push_dummy_code): Add REGCACHE argument.
958 (push_dummy_code): Likewise. Pass it to callee.
959 (call_function_by_hand): Pass current regcache to push_dummy_code.
960
961 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE
962 argument. Use it instead of current_regcache.
963
964 * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument.
965 * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
966
60ade65d
UW
9672007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
968
969 * gdbarch.sh (get_longjmp_target): Add FRAME argument.
970 * gdbarch.c, gdbarch.h: Regenerate.
971 * infrun.c (handle_inferior_event): Pass current frame to
972 gdbarch_get_longjmp_target.
973
974 * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument.
975 Read registers from FRAME instead of using read_register.
976 Use get_frame_arch instead of current_gdbarch.
977 * arm-tdep.c (arm_get_longjmp_target): Likewise.
978 * i386-tdep.c (i386_get_longjmp_target): Likewise.
979 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
980 * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise.
981 (mips64_linux_get_longjmp_target): Likewise.
982 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise.
983
52f729a7
UW
9842007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
985
986 * gdbarch.sh (skip_trampoline_code): Add FRAME argument.
987 * gdbarch.c, gdbarch.h: Regenerate.
988 * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument.
989 * arch-utils.h (generic_skip_trampoline_code): Likewise.
990 * infrun.c (handle_inferior_event): Pass current frame to
991 gdbarch_skip_trampoline_code and skip_language_trampoline.
992
993 * language.c (unk_lang_trampoline): Add FRAME argument.
994 (skip_language_trampoline): Add FRAME argument. Pass it to
995 skip_trampoline callback.
996 * language.h: Add forward declaration of struct frame_info.
997 (struct language_defn): Add FRAME argument to skip_trampoline.
998 (skip_language_trampoline): Add FRAME argument.
999 * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it
1000 to skip_trampoline callback.
1001 * cp-abi.h: Add forward declaration of struct frame_info.
1002 (cplus_skip_trampoline): Add FRAME argument.
1003 (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback.
1004 * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it
1005 to gdbarch_skip_trampoline_code.
1006 * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it
1007 to gdbarch_skip_trampoline_code.
1008
1009 * minsyms.c (find_solib_trampoline_target): Add FRAME argument.
1010 * symtab.h (find_solib_trampoline_target): Likewise.
1011 * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to
1012 find_solib_trampoline_target.
1013
1014 * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers
1015 from FRAME instead of calling read_register.
1016
1017 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME
1018 argument. Read registers from FRAME instead of using read_register.
1019 * hppa-tdep.c (hppa_skip_trampoline_code): Likewise.
1020 * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument.
1021
1022 * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME
1023 argument.
1024
1025 * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument.
1026
1027 * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read
1028 registers from FRAME instead of using read_signed_register.
1029
1030 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME
1031 argument.
1032 (ppc64_standard_linkage_target): Likewise. Read registers from FRAME
1033 instead of using read_register.
1034 (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to
1035 ppc64_standard_linkage_target.
1036 * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument.
1037 Pass it to find_solib_trampoline_target. Read registers from FRAME
1038 instead of using read_register.
1039
1040 * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME
1041 argument.
1042
0b1b3e42
UW
10432007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1044
1045 * gdbarch.sh (software_single_step): Replace REGCACHE argument by
1046 FRAME argument.
1047 * gdbarch.c, gdbarch.h: Regenerate.
1048 * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP.
1049
1050 * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve
1051 registers from FRAME instead of using read_register.
1052 (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
1053 to alpha_next_pc. Use get_frame_pc instead of read_pc.
1054 * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE
1055 argument by FRAME.
1056
1057 * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers
1058 from FRAME instead of using read_register.
1059 (thumb_get_next_pc): Likewise.
1060 (arm_get_next_pc): Likewise.
1061 (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
1062 to arm_get_next_pc. Use get_frame_pc instead of read_register.
1063 * arm-tdep.h (arm_software_single_step): Replace REGCACHE
1064 argument by FRAME.
1065
1066 * cris-tdep.c (find_step_target): Add FRAME argument. Read registers
1067 from FRAME instead of using read_register.
1068 (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
1069 to find_step_target.
1070
1071 * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers
1072 from FRAME instead of using read_register / read_signed_register.
1073 (extended_mips16_next_pc): Likewise.
1074 (mips16_next_pc): Likewise.
1075 (mips_next_pc): Likewise.
1076 (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
1077 to mips_next_pc. Use get_frame_pc instead of read_pc.
1078 * mips-tdep.h (mips_software_single_step): Replace REGCACHE
1079 argument by FRAME.
1080
1081 * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead
1082 of current frame. Read registers from FRAME.
1083 (deal_with_atomic_sequence): Add FRAME argument. Pass it to
1084 branch_dest. Use get_frame_pc instead of read_pc.
1085 (rs6000_software_single_step): Likewise.
1086 (bl_to_blrl_insn_p): Do not call branch_dest.
1087 * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE
1088 argument by FRAME.
1089
1090 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument.
1091 Read registers from FRAME instead of current regcache.
1092 * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise.
1093 * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise.
1094 * sparc-tdep.c (sparc_address_from_register): Remove.
1095 (sparc_analyze_control_transfer): Pass FRAME argument instead of
1096 GDBARCH. Pass FRAME to step_trap callback.
1097 (sparc_step_trap): Add FRAME argument.
1098 (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
1099 to sparc_analyze_control_transfer. Read registers from FRAME instead
1100 of calling sparc_address_from_register.
1101 * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to
1102 step_trap callback.
1103 (sparc_address_from_register): Remove prototype.
1104 (sparc_software_single_step): Replace REGCACHE argument by FRAME.
1105 (sparcnbsd_step_trap): Add FRAME argument.
1106
1107 * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument
1108 by FRAME. Read registers from FRAME instead of REGCACHE.
1109
9c9acae0
UW
11102007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1111
1112 * arm-tdep.c (arm_print_float_info): Use register value from FRAME
1113 instead of calling read_register.
1114
1115 * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of
1116 calling write_register.
1117
1118 * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of
1119 calling write_register.
1120
1121 * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it
1122 instead of calling read_register.
1123 (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE
1124 instead of calling read_register and write_register.
1125
1126 * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter
1127 instead of current_regcache.
1128
1129 * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead
1130 of calling write_register.
1131 * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE
1132 parameter instead of current_regcache.
1133
1134 * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it
1135 instead of calling read_register.
1136 (mips_read_fp_register_double, mips_print_fp_register): Update calls.
1137 (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register.
1138 (mips_n32n64_push_dummy_call): Likewise.
1139 (mips_o32_push_dummy_call): Likewise.
1140 (mips_o64_push_dummy_call): Likewise.
1141
1142 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE
1143 parameter instead of current_regcache.
1144
1145 * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter.
1146 Use it instead of read_register and write_register.
1147 (xtensa_register_read_masked): Likewise.
1148 (xtensa_pseudo_register_read): Update call.
1149 (xtensa_pseudo_register_write): Likewise.
1150 (xtensa_frame_cache): Use register values unwound from NEXT_FRAME
1151 instead of calling read_register.
1152 (xtensa_push_dummy_call): Update comment.
1153
d2ca4222
UW
11542007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1155
1156 * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg
1157 by frame_unwind_register_signed calls.
1158 (mips32_scan_prologue): Likewise. Skip analysis of alloca stack
1159 frame allocations when called with NULL NEXT_FRAME parameter.
1160 (read_next_frame_reg): Remove.
1161
1162 * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it
1163 instead of reading the FPSCR register.
1164 (sh_frame_cache): Pass unwound FPSCR register value to
1165 sh_analyze_prologue.
1166 (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue.
1167
1168 * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it
1169 instead of reading the CTBP register.
1170 (v850_frame_cache): Pass unwound CTBP register value to
1171 v850_analyze_prologue.
1172
c458d6db
UW
11732007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1174
1175 * sh-tdep.h (sh_show_regs): Add FRAME parameter.
1176 * sh-tdep.c (sh_show_regs): Likewise.
1177 (sh_show_regs_command): Pass current frame to sh_show_regs routine.
1178 (sh_generic_show_regs): Add FRAME parameter. Use register
1179 values from that frame instead of calling read_register.
1180 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
1181 sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
1182 sh_dsp_show_regs): Likewise.
1183 * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
1184 sh64_show_regs): Likewise.
1185
a9614958
UW
11862007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1187
1188 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from
1189 current regcache instead of calling read_register.
1190
3d1a74ac
UW
11912007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1192
1193 * mep-tdep.c (current_me_module): Read from current regcache
1194 instead of calling read_register.
1195 (current_options): Likewise.
1196
1b5a9a8f
UW
11972007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1198
1199 * cris-tdep.c (cris_stopped_data_address): Read register values
1200 from current frame instead of calling read_register.
1201 * frv-tdep.c (frv_stopped_data_address): Likewise.
1202
982db460
UW
12032007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1204
1205 * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
1206 instead of write_register (PC_REGNUM, ...).
1207
b4397864
UW
12082007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1209
1210 * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
1211 explaining why the PC adjustment code is necessary.
1212
8ed86d01
VP
12132007-06-15 Vladimir Prus <vladimir@codesourcery.com>
1214
1215 * m68k-tdep.h (enum m68k_flavour): New.
1216 (struct gdbarch_tdep): New fields
1217 float_return, flavour and fpregs_present.
1218 * m68k-tdep.c (m68k_register_type): Use
1219 fpregs_present and conditionalize floating
1220 registers type on flavour.
1221 (m68k_register_names): New.
1222 (m68k_register_name): Use the above.
1223 (m68k_convert_register_p): Consult fpregs_present.
1224 (m68k_register_to_value, m68k_value_to_register):
1225 Use register_type to obtain the type of floating
1226 point registers.
1227 (m68k_svr4_extract_return_value): Check tdep->float_return.
1228 Use register_type to get the type of floating
1229 point regiters.
1230 (m68k_svr4_store_return_value): Likewise.
1231 (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present.
1232 (m68k_analyze_register_saves): Likewise.
1233 (m68k_gdbarch_init): Extract infromation
1234 from XML description, if present. Guess coldfire by
1235 looking at the file, if present. Conditionalize
1236 setting of long double format. Set decr_pc_after_break
1237 to 2 on coldfire and fido. Enable XML-driven
1238 register description.
1239 * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use
1240 size of tdep->fpreg_type, as opposed to hardcoded value.
1241 * Makefile.in (m68k-tdep.o): Update dependencies.
1242
83cc5c53
UW
12432007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
1244
1245 * NEWS: Mention "info spu" commands and qXfer:spu:read and
1246 qXfer:spu:write remote packet types.
1247
1780a0ed
DJ
12482007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1249
1250 * xml-tdesc.c (tdesc_start_target): New.
1251 (target_attributes): New.
1252 (tdesc_elements): Use it.
1253 * features/gdb-target.dtd: Add #FIXED version attribute for
1254 <target>.
1255
98a29c7e
DJ
12562007-06-13 Arthur Huillet <arthur.huillet@free.fr>
1257
1258 * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo.
1259
9dcbb931
DJ
12602007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
1261
1262 * fork-child.c (fork_inferior): Update comment.
1263
117ce543
DJ
12642007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1265
1266 * features/Makefile: Generate regformats for mips-linux and
1267 mips64-linux.
1268 * features/sort-regs.xsl: Correct typo.
1269 * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
1270 * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
1271 files.
1272
822b6570
DJ
12732007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1274
1275 * config/mips/linux.mh (TDEP_XML): New.
1276 * features/mips-linux.xml, features/mips64-linux.xml: New files.
1277 * mips-linux-nat.c (mips_linux_register_addr): Handle
1278 MIPS_RESTART_REGNUM.
1279 (mips64_linux_register_addr): Likewise.
1280 (super_xfer_partial, mips_linux_xfer_partial): New.
1281 (_initialize_mips_linux_nat): Add them to the target_ops.
1282 * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM.
1283 (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset)
1284 (mips_linux_o32_sigframe_init)
1285 (mips_linux_n32n64_sigframe_init): Likewise.
1286 (mips_linux_write_pc, mips_linux_restart_reg_p): New.
1287 (mips_linux_init_abi): Use mips_linux_write_pc. Check for the
1288 "org.gnu.gdb.mips.linux" feature.
1289 * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant.
1290 (mips_linux_restart_reg_p): New prototype.
1291 * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI
1292 initialization routine.
1293 * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update.
1294
f8b73d13
DJ
12952007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1296
1297 * Makefile.in (mips-tdep.o): Update.
1298 * mips-tdep.c (struct register_alias, mips_o32_aliases)
1299 (mips_n32_n64_aliases, mips_register_aliases): New.
1300 (mips_register_name): Call tdesc_register_name.
1301 (mips_tdesc_register_reggroup_p): New.
1302 (mips_pseudo_register_type, value_of_mips_user_reg): New.
1303 (mips_gdbarch_init): Add target-described register support.
1304 Register aliases for register names.
1305 * target-descriptions.c (tdesc_register_name): Make global.
1306 (tdesc_register_in_reggroup_p): New function, broken out from
1307 tdesc_register_reggroup_p.
1308 (tdesc_register_reggroup_p): Use it.
1309 * target-descriptions.h (tdesc_register_name)
1310 (tdesc_register_in_reggroup_p): New prototypes.
1311 * NEWS: Correct formatting. Mention MIPS register support.
1312 * features/mips-cp0.xml, features/mips-fpu.xml,
1313 features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
1314 features/mips64-cpu.xml: New files.
1315
17a912b6
UW
13162007-06-13 Markus Deuling <deuling@de.ibm.com>
1317
1318 * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
1319 * valops.c (value_cast): Likewise.
1320 * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
1321 * ui-out.c (ui_out_field_core_addr): Likewise.
1322 * tracepoint.c (tracepoints_info): Likewise.
1323 * symtab.c (print_msymbol_info): Likewise.
1324 * solib-irix.c (irix_current_sos)
1325 (irix_open_symbol_file_object): Likewise.
1326 * remote.c (build_remote_gdbarch_data): Likewise.
1327 * prologue-value.c (make_pv_area): Likewise.
1328 * procfs.c (info_mappings_callback): Likewise.
1329 * printcmd.c (print_scalar_formatted)
1330 (deprecated_print_address_numeric): Likewise.
1331 * memattr.c (mem_info_command): Likewise.
1332 * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
1333 * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
1334 * exec.c (print_section_info): Likewise.
1335 * dwarf2read.c (read_subrange_type): Likewise.
1336 * dwarf2loc.c (find_location_expression): Likewise.
1337 * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
1338 (signed_address_type, execute_stack_op): Likewise.
1339 * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
1340 * gdbarch.c, gdbarch.h: Regenerate.
1341
1143fffb
UW
13422007-06-13 Markus Deuling <deuling@de.ibm.com>
1343
1344 * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
1345 * arch-utils.c (show_architecture): Likewise.
1346 * remote-mips.c (mips_open): Likewise
1347 * nto-tdep.c (nto_find_and_open_solib)
1348 (nto_init_solib_absolute_prefix): Likewise.
1349 * nto-procfs (procfs_open): Likewise.
1350 * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
1351 * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
1352 * gdbarch.c, gdbarch.h: Regenerate.
1353
4fe99ffb
UW
13542007-06-13 Markus Deuling <deuling@de.ibm.com>
1355
1356 * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
1357 * gdbtypes.c (build_flt): Likewise.
1358 * gdbarch.c, gdbarch.h: Regenerate.
1359
3b3b875c
UW
13602007-06-13 Markus Deuling <deuling@de.ibm.com>
1361
1362 * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
1363 gdbarch_breakpoint_from_pc.
1364 * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
1365 * remote.c (remote_insert_breakpoint)
1366 (remote_insert_hw_breakpoint): Likewise.
1367 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1368 * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
1369 * breakpoint.h (bp_target_info): Likewise (comment).
1370 * breakpoint.c (read_memory_nobpt): Likewise.
1371 * mem-break.c (default_memory_insert_breakpoint): Likewise.
1372 (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
1373 * gdbarch.c, gdbarch.h: Regenerate.
1374
819844ad
UW
13752007-06-13 Markus Deuling <deuling@de.ibm.com>
1376
1377 * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
1378 * solib-svr4.c (svr4_truncate_ptr): Likewise.
1379 * solib-pa64.c (read_dynamic_info): Likewise.
1380 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
1381 * solib.c (info_sharedlibrary_command): Likewise.
1382 * s390-nat.c (SUBOFF): Likewise.
1383 * p-valprint.c (pascal_val_print): Likewise.
1384 * procfs.c (info_proc_mappings): Likewise.
1385 * printcmd.c (decode_format): Likewise.
1386 * nto-tdep.c (nto_truncate_ptr): Likewise.
1387 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
1388 (mips64_linux_get_longjmp_target): Likewise.
1389 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
1390 * jv-valprint.c (java_value_print): Likewise.
1391 * jv-lang.c (get_java_object_header_size): Likewise.
1392 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
1393 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
1394 (hppa_hpux_unwind_adjust_stub): Likewise.
1395 * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
1396 * gdbtypes.c (make_pointer_type, make_reference_type)
1397 (smash_to_memberptr_type): Likewise.
1398 * gdbarch.c, gdbarch.h: Regenerate.
1399
0cc93a06
DJ
14002007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1401
1402 * mips-tdep.c (mips_print_register): Remove unused ALL argument.
1403 (print_gp_register_row): Stop before printing a register bigger
1404 than the ABI register size.
1405 (mips_print_registers_info): Update call to mips_print_register.
1406
67f3407f
DJ
14072007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1408
1409 * expression.h (enum exp_opcode): Document a register name for
1410 OP_REGISTER.
1411 * parse.c (write_dollar_variable): Write the register name for
1412 OP_REGISTER.
1413 (operator_length_standard): Expect the register name following
1414 OP_REGISTER.
1415 * ada-lang.c (resolve_subexp): Likewise.
1416 * ax-gdb.c (gen_expr): Likewise.
1417 * eval.c (evaluate_subexp_standard): Likewise.
1418 * expprint.c (print_subexp_standard, dump_subexp_body_standard):
1419 Likewise.
1420 * tracepoint.c (encode_actions): Likewise.
1421
0caa462c
DJ
14222007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
1423
1424 * utils.c (set_screen_size): Use INT_MAX for default columns.
1425
4de6483e
UW
14262007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
1427
1428 * remote.c (remote_protocol_features): Add qXfer:spu:read and
1429 qXfer:spu:write packet types.
1430
cafad45b
UW
14312007-06-12 Markus Deuling <deuling@de.ibm.com>
1432
1433 * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
1434 * gdbarch.c, gdbarch.h: Regenerate.
1435
055d23b8
UW
14362007-06-12 Markus Deuling <deuling@de.ibm.com>
1437
1438 * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
1439 gdbarch_stab_reg_to_regnum.
1440 * stabsread.c (define_symbol): Likewise.
1441 * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
1442 gdbarch_ecoff_reg_to_regnum.
1443 * mdebugread.c (parse_symbol): Likewise.
1444 * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
1445 * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
1446 gdbarch_dwarf_reg_to_regnum.
1447 * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
1448 * coffread.c (process_coff_symbol): Likewise.
1449 * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
1450 gdbarch_dwarf2_reg_to_regnum.
1451 * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
1452 (locexpr_describe_location): Likewise.
1453 * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
1454 (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
1455 * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
1456 * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
1457 * gdbarch.c, gdbarch.h: Regenerate.
1458
260edbc2
UW
14592007-06-12 Markus Deuling <deuling@de.ibm.com>
1460
1461 * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
1462 gdbarch_smash_text_address.
1463 * somread.c (som_symtab_read): Likewise.
1464 * elfread.c (record_minimal_symbol): Likewise.
1465 * dbxread.c (process_one_symbol): Likewise.
1466 * coffread.c (coff_symtab_read): Likewise.
1467 * gdbarch.c, gdbarch.h: Regenerate.
1468
c1afe53d
UW
14692007-06-12 Markus Deuling <deuling@de.ibm.com>
1470
1471 * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
1472 * findvar.c (value_from_register): Likewise.
1473 * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
1474 * valops.c (value_assign): Likewise.
1475 * gdbarch.sh (CONVERT_REGISTER_P): Replace by
1476 gdbarch_convert_register_p.
1477 * findvar.c (value_from_register): Likewise.
1478 * valops.c (value_assign): Likewise.
1479 * gdbarch.c, gdbarch.h: Regenerate.
1480
474c1661
UW
14812007-06-12 Markus Deuling <deuling@de.ibm.com>
1482
1483 * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
1484 gdbarch_register_sim_regno.
1485 * sim-regno.h (sim_regno): Likewise (comment).
1486 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
1487 * gdbarch.c, gdbarch.h: Regenerate.
1488
c7bb205c
UW
14892007-06-12 Markus Deuling <deuling@de.ibm.com>
1490
1491 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
1492 gdbarch_virtual_frame_pointer.
1493 * tracepoint.c (encode_actions): Likewise.
1494 * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
1495 * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
1496 * gdbarch.c, gdbarch.h: Regenerate.
1497
ea06eb3d
UW
14982007-06-12 Markus Deuling <deuling@de.ibm.com>
1499
1500 * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
1501 * p-lang.c (pascal_create_fundamental_type): Likewise.
1502 * objc-lang.c (objc_create_fundamental_type): Likewise.
1503 * mdebugread.c (_initialize_mdebugread): Likewise.
1504 * m2-lang.c (m2_create_fundamental_type)
1505 (_initialize_m2_language): Likewise.
1506 * gdbtypes.c (build_gdbtypes): Likewise.
1507 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
1508 * doublest.c (floatformat_from_length): Likewise.
1509 * c-lang.c (c_create_fundamental_type): Likewise.
1510 * ada-lang.c (ada_create_fundamental_type)
1511 (ada_language_arch_info): Likewise.
1512 * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
1513 * value.c (unpack_double): Likewise (comment).
1514 * gdbtypes.c (build_gdbtypes): Likewise.
1515 * doublest.c (floatformat_from_length): Likewise.
1516 * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
1517 * valarith.c (value_binop): Likewise.
1518 * p-lang.c (pascal_create_fundamental_type): Likewise.
1519 * objc-lang.c (objc_create_fundamental_type): Likewise.
1520 * mdebugread.c (_initialize_mdebugread): Likewise.
1521 * m2-lang.c (m2_create_fundamental_type): Likewise.
1522 * gdbtypes.c (build_gdbtypes): Likewise.
1523 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
1524 * doublest.c (floatformat_from_length): Likewise.
1525 * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
1526 * c-lang.c (c_create_fundamental_type): Likewise.
1527 * ada-lex.l (processReal): Likewise.
1528 * ada-lang.c (ada_create_fundamental_type)
1529 (ada_language_arch_info): Likewise.
1530 * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
1531 * value.c (unpack_double): Likewise (comment).
1532 * gdbtypes.c (build_gdbtypes): Likewise.
1533 * doublest.c (floatformat_from_length): Likewise.
1534 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
1535 gdbarch_long_double_bit.
1536 * p-lang.c (pascal_create_fundamental_type): Likewise.
1537 * objc-lang.c (objc_create_fundamental_type): Likewise.
1538 * m2-lang.c (m2_create_fundamental_type): Likewise.
1539 * gdbtypes.c (build_gdbtypes): Likewise.
1540 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
1541 * doublest.c (floatformat_from_length): Likewise.
1542 * c-lang.c (c_create_fundamental_type): Likewise.
1543 * ada-lex.l (processReal): Likewise.
1544 * ada-lang.c (ada_create_fundamental_type)
1545 (ada_language_arch_info): Likewise.
1546 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
1547 gdbarch_long_double_format.
1548 * gdbtypes.c (build_gdbtypes): Likewise.
1549 * doublest.c (floatformat_from_length): Likewise.
1550 * gdbarch.c, gdbarch.h: Regenerate.
1551
9a76efb6
UW
15522007-06-12 Markus Deuling <deuling@de.ibm.com>
1553
1554 * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
1555 * ada-lang.c (ada_create_fundamental_type)
1556 (ada_language_arch_info): Likewise.
1557 * c-lang.c (c_create_fundamental_type): Likewise.
1558 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
1559 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
1560 * m2-lang.c (m2_create_fundamental_type): Likewise.
1561 * objc-lang.c (objc_create_fundamental_type): Likewise.
1562 * p-lang.c (pascal_create_fundamental_type): Likewise.
1563 * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
1564 * c-exp.y (parse_number): Likewise.
1565 * objc-exp.y (parse_number): Likewise.
1566 * ada-lex.l (processInt): Likewise.
1567 * f-exp.y (parse_number): Likewise.
1568 * p-exp.y (parse_number): Likewise.
1569 * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
1570 (gdbtypes_post_init, build_gdbtypes): Likewise.
1571 * p-lang.c (pascal_create_fundamental_type): Likewise.
1572 * parse.c (build_parse): Likewise.
1573 * xcoffread.c (_initialize_xcoffread): Likewise.
1574 * stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
1575 (read_range_type): Likewise.
1576 * objc-lang.c (objc_create_fundamental_type): Likewise.
1577 * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
1578 * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
1579 (m2_create_fundamental_type): Likewise.
1580 * c-lang.c (c_create_fundamental_type): Likewise.
1581 * coffread.c (coff_read_enum_type): Likewise.
1582 * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
1583 * dwarf2read.c (new_symbol): Likewise.
1584 * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
1585 * c-exp.y (parse_number): Likewise.
1586 * objc-exp.y (parse_number): Likewise.
1587 * ada-lex.l (processInt): Likewise.
1588 * f-exp.y (parse_number): Likewise.
1589 * p-exp.y (parse_number): Likewise.
1590 * valarith.c (value_binop): Likewise.
1591 * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
1592 * ada-lang.c (ada_create_fundamental_type)
1593 (ada_language_arch_info): Likewise.
1594 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
1595 * symfile.c (TARGET_LONG_BYTES): Likewise.
1596 * p-lang.c (pascal_create_fundamental_type): Likewise.
1597 * objc-lang.c (objc_create_fundamental_type): Likewise.
1598 * m2-lang.c (m2_create_fundamental_type): Likewise.
1599 * f-lang.c (f_create_fundamental_type): Likewise.
1600 * c-lang.c (c_create_fundamental_type): Likewise.
1601 * coffread.c (decode_base_type): Likewise.
1602 * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
1603 * c-exp.y (parse_number): Likewise.
1604 * objc-exp.y (parse_number): Likewise.
1605 * p-exp.y (parse_number): Likewise.
1606 * ada-lang.c (ada_create_fundamental_type)
1607 (ada_language_arch_info): Likewise.
1608 * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
1609 * stabsread.c (read_range_type): Likewise.
1610 * p-lang.c (pascal_create_fundamental_type): Likewise.
1611 * objc-lang.c (objc_create_fundamental_type): Likewise.
1612 * m2-lang.c (m2_create_fundamental_type): Likewise.
1613 * f-lang.c (f_create_fundamental_type): Likewise.
1614 * c-lang.c (c_create_fundamental_type): Likewise.
1615 * gdbarch.c, gdbarch.h: Regenerate.
1616
272dfcfd
AS
16172007-06-12 Andreas Schwab <schwab@suse.de>
1618
1619 * frame-unwind.h (frame_dealloc_cache_ftype): Define.
1620 (struct frame_unwind): Add dealloc_cache.
1621 * frame.c (reinit_frame_cache): Call dealloc_cache on all caches.
1622
1623 * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
1624 * libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
1625 (libunwind_frame_unwind): Set dealloc_cache.
1626 * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
1627
0e7f50da
UW
16282007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
1629 Markus Deuling <deuling@de.ibm.com>
1630
1631 * remote.c (remote_write_qxfer): New function.
1632 (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
1633 (remote_read_qxfer): Do not cache empty objects.
1634 (_initialize_remote): Add PACKET_qXfer_spu_read and
1635 PACKET_qXfer_spu_write.
1636
23d964e7
UW
16372007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
1638
1639 * target.h (enum target_object): Add TARGET_OBJECT_SPU.
1640 * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
1641
1642 * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
1643 (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
1644 SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
1645 * spu-tdep.c (infospucmdlist): New variable.
1646 (spu_register_name): Handle additional pseudo registers.
1647 (spu_register_type): Likewise.
1648 (spu_pseudo_register_read): Likewise.
1649 (spu_pseudo_register_write): Likewise.
1650 (spu_pseudo_register_read_spu): New function.
1651 (spu_pseudo_register_write_spu): Likewise.
1652 (info_spu_event_command): New function.
1653 (info_spu_signal_command): Likewise.
1654 (info_spu_mailbox_list): Likewise.
1655 (info_spu_mailbox_command): Likewise.
1656 (spu_mfc_get_bitfield): Likewise.
1657 (info_spu_dma_cmdlist): Likewise.
1658 (info_spu_dma_command): Likewise.
1659 (info_spu_proxydma_command): Likewise.
1660 (info_spu_command): Likewise.
1661 (_initialize_spu_tdep): Install "info spu" commands.
1662
374c1d38
UW
16632007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
1664
1665 * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
1666 accessing non-seekable spufs files.
1667
e76f05fa
UW
16682007-06-09 Markus Deuling <deuling@de.ibm.com>
1669
1670 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
1671 gdbarch_skip_trampoline_code.
1672 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
1673 * objc-lang.c (objc_skip_trampoline)
1674 (objc_submethod_helper_data): Likewise.
1675 * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
1676 * infrun.c (handle_inferior_event): Likewise.
1677 * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
1678 * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
1679 gdbarch_in_solib_return_trampoline.
1680 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
1681 * infrun.c (handle_inferior_event): Likewise.
1682 * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
1683 * gdbarch.c, gdbarch.h: Regenerate.
1684
a433963d
UW
16852007-06-09 Markus Deuling <deuling@de.ibm.com>
1686
1687 * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
1688 * symtab.c (find_function_start_sal, in_prologue): Likewise.
1689 * linespec.c (minsym_found): Likewise.
1690 * infrun.c (step_into_function): Likewise.
1691 * gdbarch.c, gdbarch.h: Regenerate.
1692
aea8766f
UW
16932007-06-09 Markus Deuling <deuling@de.ibm.com>
1694
1695 * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
1696 * valops.c (value_allocate_space_in_inferior): Likewise.
1697 * gdbarch.c, gdbarch.h: Regenerate.
1698
8da95a30
UW
16992007-06-09 Markus Deuling <deuling@de.ibm.com>
1700
1701 * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
1702 gdbarch_memory_insert_breakpoint.
1703 * mem-break.c (memory_insert_breakpoint): Likewise.
1704 * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
1705 gdbarch_memory_remove_breakpoint.
1706 * mem-break.c (memory_remove_breakpoint): Likewise.
1707 * gdbarch.c, gdbarch.h: Regenerate.
1708
985969a9
UW
17092007-06-09 Markus Deuling <deuling@de.ibm.com>
1710
1711 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
1712 gdbarch_fetch_tls_load_module_address.
1713 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
1714 gdbarch_fetch_tls_load_module_address_p.
1715 * gdbarch.c, gdbarch.h: Regenerate.
1716
b798847d
UW
17172007-06-09 Markus Deuling <deuling@de.ibm.com>
1718
1719 * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
1720 gdbarch_decr_pc_after_break.
1721 * tracepoint.c (trace_dump_command): Likewise.
1722 * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
1723 * linux-thread-db.c (check_event): Likewise.
1724 * linux-nat.c (cancel_breakpoints_callback): Likewise.
1725 * infrun.c (adjust_pc_after_break, normal_stop): Likewise.
1726 * frame.h: Likewise (comment).
1727 * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
1728 * aix-thread.c (aix_thread_wait): Likewise.
1729 * gdbarch.c, gdbarch.h: Regenerate.
1730
849957d9
UW
17312007-06-09 Markus Deuling <deuling@de.ibm.com>
1732
1733 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
1734 gdbarch_address_class_type_flags.
1735 * dwarf2read.c (read_tag_pointer_type): Likewise.
1736 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
1737 gdbarch_address_class_type_flags_p.
1738 * dwarf2read.c (read_tag_pointer_type): Likewise.
1739 * gdbarch.c, gdbarch.h: Regenerate.
1740
bf6ae464
UW
17412007-06-09 Markus Deuling <deuling@de.ibm.com>
1742
1743 * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
1744 * value.c (value_as_address): Likewise (comment).
1745 * remote-mips.c (common_breakpoint): Likewise.
1746 * regcache.c (read_pc_pid): Likewise.
1747 * printcmd.c (do_one_display): Likewise.
1748 * monitor.c (monitor_write_memory, monitor_read_memory)
1749 (monitor_insert_breakpoint): Likewise.
1750 * mips-tdep.c (heuristic_proc_start): Likewise.
1751 * infrun.c (insert_step_resume_breakpoint_at_frame)
1752 (insert_step_resume_breakpoint_at_caller): Likewise.
1753 * buildsym.c (record_line): Likewise.
1754 * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
1755 (arm_get_next_pc): Likewise.
1756 * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
1757 (store_regs): Likewise.
1758 * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
1759 * arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
1760 * gdbarch.c, gdbarch.h: Regenerate.
1761
c9f4d572
UW
17622007-06-09 Markus Deuling <deuling@de.ibm.com>
1763
1764 * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
1765 * tracepoint.c (scope_info): Likewise.
1766 * target.c (debug_print_register): Likewise.
1767 * stack.c (frame_info): Likewise.
1768 * sh-tdep.c (sh_register_reggroup_p): Likewise.
1769 * sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
1770 (sh64_media_print_registers_info)
1771 (sh64_compact_print_registers_info): Likewise.
1772 * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
1773 * remote-sim.c (gdbsim_fetch_register): Likewise.
1774 * remote.c (packet_reg): Likewise (comment).
1775 * reggroups.c (default_register_reggroup_p): Likewise.
1776 * regcache.c (regcache_dump): Likewise.
1777 * printcmd.c (address_info): Likewise.
1778 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
1779 * mt-dep.c (mt_registers_info): Likewise.
1780 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
1781 * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
1782 (mips_read_fp_register_double, mips_print_fp_register)
1783 (mips_print_register, print_gp_register_row, mips_print_registers_info)
1784 (mips_register_sim_regno): Likewise.
1785 * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
1786 * inf-ptrace.c (inf_ptrace_fetch_register)
1787 (inf_ptrace_store_register): Likewise.
1788 * infcmd.c (default_print_registers_info): Likewise.
1789 * ia64-linux-nat.c (ia64_linux_fetch_register)
1790 (ia64_linux_store_register): Likewise.
1791 * i386-linux-nat.c (fetch_register, store_register): Likewise.
1792 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
1793 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
1794 * hppa-hpux-nat.c (hppa_hpux_fetch_register)
1795 (hppa_hpux_store_register): Likewise.
1796 * findvar.c (locate_var_value): Likewise.
1797 * dwarf2loc.c (locexpr_describe_location): Likewise.
1798 * dwarf2-frame.c (execute_cfa_program): Likewise.
1799 * arm-tdep.c (arm_push_dummy_call): Likewise.
1800 * arch-utils.c (legacy_register_sim_regno): Likewise.
1801 * alpha-tdep.c (alpha_register_reggroup_p): Likewise.
1802 * alpha-nat.c (fetch_osf_core_registers): Likewise.
1803 * mi/mi-main.c (mi_cmd_data_list_register_names)
1804 (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
1805 (mi_cmd_data_write_register_values): Likewise.
1806 * gdbarch.c, gdbarch.h: Regenerate.
1807
1fc01e03
DJ
18082007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
1809
1810 * target-memory.c (blocks_to_erase): Correct off-by-one error.
1811
632110b1
VP
18122007-06-06 Vladimir Prus <vladimir@codesourcery.com>
1813
1814 * remote.c (process_g_packet): Don't check size.
1815 * gdbarch.sh: Remove register_bytes_ok.
1816 * gdbarch.c: Regenerated.
1817 * gdbarch.h: Regenerated.
1818 * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
1819 (m68k_register_bytes_ok): Remove.
1820 (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
1821
f43ae3f1
AS
18222007-06-06 Andreas Schwab <schwab@suse.de>
1823
1824 * libunwind-frame.c (unw_destroy_addr_space_p): Define.
1825 (destroy_addr_space_name): Define.
1826 (libunwind_load): Get address of destroy_addr_space function.
1827 (libunwind_frame_cache): Destroy unw_addr_space_t object before
1828 returning unsuccessfully.
1829 (libunwind_frame_sniffer): Destroy unw_addr_space_t object before
1830 returning.
1831 (libunwind_sigtramp_frame_sniffer): Likewise.
1832 (libunwind_get_reg_special): Likewise.
1833
d99344c0
UW
18342007-06-06 Markus Deuling <deuling@de.ibm.com>
1835
1836 * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
1837 gdbarch_fetch_pointer_argument.
1838 * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
1839 * gdbarch.c, gdbarch.h: Regenerate.
1840
e6cf7916
UW
18412007-06-06 Markus Deuling <deuling@de.ibm.com>
1842
1843 * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
1844 gdbarch_have_nonsteppable_watchpoint.
1845 * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
1846 * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
1847 gdbarch_cannot_step_breakpoint.
1848 * infrun.c (resume): Likewise.
1849 * gdbarch.c, gdbarch.h: Regenerate.
1850
bbcf301a
UW
18512007-06-06 Markus Deuling <deuling@de.ibm.com>
1852
1853 * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
1854 * stack.c (print_frame_args): Likewise.
1855 * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
1856 * stack.c (print_args_stub, frame_info): Likewise.
1857 * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
1858 * stack.c (print_args_stub, frame_info): Likewise.
1859 * gdbarch.c, gdbarch.h: Regenerate.
1860
95f1da47
UW
18612007-06-06 Markus Deuling <deuling@de.ibm.com>
1862
1863 * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
1864 gdbarch_coff_make_msymbol_special.
1865 * coffread.c (coff_symtab_read): Likewise.
1866 * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
1867 gdbarch_elf_make_msymbol_special.
1868 * elfread.c (elf_symtab_read): Likewise.
1869 * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
1870 * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
1871 * gdbarch.c, gdbarch.h: Regenerate.
1872
39e8369e
UW
18732007-06-06 Markus Deuling <deuling@de.ibm.com>
1874
1875 * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
1876 gdbarch_frame_red_zone_size.
1877 * gdbarch.c, gdbarch.h: Regenerate.
1878
4d1e7dd1
UW
18792007-06-06 Markus Deuling <deuling@de.ibm.com>
1880
1881 * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
1882 * infcall.c (call_function_by_hand): Likewise.
1883 * gcore.c (derive_stack_segment): Likewise.
1884 * frame.c (frame_id_inner): Likewise.
1885 * arch-utils.c (core_addr_lessthan): Likewise (comment).
1886 * ada-lang.c (ensure_lval): Likewise.
1887 * gdbarch.c, gdbarch.h: Regenerate.
1888
76e71323
UW
18892007-06-06 Markus Deuling <deuling@de.ibm.com>
1890
1891 * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
1892 gdbarch_address_to_pointer.
1893 * findvar.c (store_typed_address): Likewise.
1894 * gdbtypes.c (make_pointer_type): Likewise (comment).
1895 * procfs.c (procfs_address_to_host_pointer): Likewise.
1896 * std-regs.c (value_of_builtin_frame_reg): Likewise.
1897 (value_of_builtin_frame_fp_reg): Likewise.
1898 (value_of_builtin_frame_pc_reg): Likewise.
1899 * utils.c (paddress): Likewise (comment).
1900 * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
1901 gdbarch_pointer_to_address.
1902 * findvar.c (extract_typed_address): Likewise.
1903 * gdbtypes.c (make_pointer_type): Likewise (comment).
1904 * valops.c (value_cast): Likewise (comment).
1905 * gdbarch.c, gdbarch.h: Regenerate.
1906
91104499
UW
19072007-06-06 Markus Deuling <deuling@de.ibm.com>
1908
1909 * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
1910 * infrun.c (handle_inferior_event): Likewise.
1911 * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
1912 gdbarch_get_longjmp_target_p.
1913 * breakpoint.c (breakpoint_re_set): Likewise.
1914 * infrun.c (handle_inferior_event): Likewise.
1915 * gdbarch.c, gdbarch.h: Regenerate.
1916
d3e9c991
UW
19172007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1918
1919 * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
1920 HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
1921 HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
1922 hp_cxx_exception_support, hp_cxx_exception_support_initialized,
1923 eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
1924 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
1925 find_stub_with_shl_get, cover_find_stub_with_shl_get,
1926 initialize_hp_cxx_exception_support, child_enable_exception_callback,
1927 current_ex_event, child_get_current_exception_event): Remove.
1928 (hppa_hpux_inferior_created): Remove.
1929 (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
1930
1931 * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
1932 (deprecated_exception_support_initialized): Remove.
1933 * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
1934 (deprecated_exception_support_initialized): Remove.
1935 (breakpoint_init_inferior): Remove handling of non-zero
1936 deprecated_exception_catchpoints_are_fragile.
1937
1938 * symtab.h (deprecated_hp_som_som_object_present): Remove.
1939 * symtab.c (deprecated_hp_som_som_object_present): Remove.
1940 * c-typeprint.c (c_type_print_base): Remove handling of non-zero
1941 deprecated_hp_som_som_object_present.
1942 * eval.c (evaluate_subexp_standard): Likewise.
1943 * valops.c (value_cast): Likewise.
1944
1945 * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
1946 * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
1947 * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
1948
5e787d22
UW
19492007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1950
1951 * objfiles.h (ImportEntry, ExportEntry): Remove types.
1952 (struct objfile): Remove import_list, import_list_size,
1953 export_list, export_list_size members.
1954 (is_in_import_list): Remove prototype.
1955 * objfiles.c (is_in_import_list): Remove.
1956 * somread.c (init_import_symbols, init_export_symbols): Remove.
1957 (som_symfile_read): Do not call init_import_symbols. Do not
1958 set objfile->export_list and objfile->export_list_size.
1959
93e7bd98
DJ
19602007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
1961
1962 * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
1963 Use the original objfile if necessary.
1964
e1024ff1
DJ
19652007-06-04 Daniel Jacobowitz <dan@codesourcery.com>
1966
1967 * defs.h (ldirname): New prototype.
1968 * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
1969 missing.
1970 * utils.c (ldirname): New function.
1971 * xml-tdesc.c (file_read_description_xml): Use ldirname.
1972
ee82e879
UW
19732007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1974
1975 * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
1976
513f5903
JB
19772007-06-01 Joel Brobecker <brobecker@adacore.com>
1978
1979 * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
1980
52a75740
UW
19812007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1982
1983 * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
1984
c3fc7e62
UW
19852007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1986
1987 * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
1988 INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
1989 (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
1990 PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
1991 (ppc_linux_in_sigtramp, insn_is_sigreturn,
1992 ppc_linux_at_sigtramp_return_path): Remove.
1993
4c6b5505
UW
19942007-05-31 Markus Deuling <deuling@de.ibm.com>
1995
1996 * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
1997 (xtensa_register_write_masked, xtensa_register_read_masked)
1998 (xtensa_extract_return_value, xtensa_store_return_value
1999 (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
2000 TARGET_BYTE_ORDER by gdbarch_byte_order.
2001 * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
2002 (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
2003 (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
2004 * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
2005 (sh64_push_dummy_call, sh64_extract_return_value)
2006 (sh64_store_return_value, sh64_register_convert_to_virtual)
2007 (sh64_register_convert_to_raw, sh64_pseudo_register_read)
2008 (sh64_pseudo_register_write, sh64_do_fp_register)
2009 (sh64_frame_prev_register): Likewise.
2010 * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
2011 (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
2012 * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
2013 (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
2014 * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
2015 * ppc-linux-nat.c (store_register): Likewise.
2016 * nto-tdep.c (nto_find_and_open_solib)
2017 (nto_init_solib_absolute_prefix): Likewise.
2018 * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
2019 (mips_convert_register_p, mips_eabi_push_dummy_call)
2020 (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
2021 (mips_o32_push_dummy_call, mips_o32_return_value)
2022 (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
2023 (mips_read_fp_register_single, mips_read_fp_register_double)
2024 (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
2025 (mips_breakpoint_from_pc): Likewise.
2026 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
2027 * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
2028 (mips_linux_o32_sigframe_init): Likewise.
2029 * m32r-tdep.c (m32r_memory_insert_breakpoint)
2030 (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
2031 * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
2032 (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
2033 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
2034 * coffread.c (process_coff_symbol): Likewise.
2035 * arm-tdep.c (convert_from_extended, convert_to_extended)
2036 (gdb_print_insn_arm): Likewise.
2037
f57d151a
UW
20382007-05-31 Markus Deuling <deuling@de.ibm.com>
2039
2040 * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
2041 * i386-tdep.c (i386_dbx_reg_to_regnum)
2042 (i386_svr4_reg_to_regnum): Likewise.
2043 * inf-ptrace.c (inf_ptrace_fetch_registers)
2044 (inf_ptrace_store_registers): Likewise.
2045 * corelow.c (get_core_registers): Likewise.
2046 * i386-linux-nat.c (supply_gregset, fill_gregset)
2047 (i386_linux_fetch_inferior_registers)
2048 (i386_linux_store_inferior_registers): Likewise.
2049 * remote.c (init_remote_state,packet_reg_from_regnum)
2050 (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
2051 (remote_prepare_to_store,store_registers_using_G)
2052 (remote_store_registers,remote_arch_state): Likewise.
2053 * tracepoint.c (encode_actions): Likewise.
2054 * mi/mi-main.c (mi_cmd_data_list_register_names)
2055 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
2056 (mi_cmd_data_write_register_values): Likewise.
2057 * tui/tui-regs.c (tui_show_register_group)
2058 (tui_show_register_group): Likewise.
2059 * xtensa-tdep.h (FP_ALIAS): Likewise.
2060 * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
2061 (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
2062 (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
2063 * win32-nat.c (do_win32_fetch_inferior_registers)
2064 (do_win32_store_inferior_registers,fetch_elf_core_registers
2065 * user-regs.h: Likewise (comment).
2066 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
2067 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
2068 * target-descriptions.h: Likewise (comment).
2069 * target-descriptions.c (tdesc_use_registers): Likewise (comment).
2070 * target.c (debug_print_register): Likewise.
2071 * stack.c (frame_info): Likewise.
2072 * stabsread.c (define_symbol): Likewise.
2073 * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
2074 (sh64_media_print_registers_info)
2075 (sh64_compact_print_registers_info): Likewise.
2076 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
2077 * rs6000-nat.c (fetch_register,store_register): Likewise.
2078 * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
2079 (gdbsim_fetch_register,gdbsim_store_register): Likewise.
2080 * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
2081 * remote-m32r-sdi.c (m32r_fetch_registers)
2082 (m32r_store_registers): Likewise.
2083 * reggroups.c (default_register_reggroup_p): Likewise.
2084 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
2085 (regcache_restore,regcache_dump): Likewise.
2086 * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
2087 * mips-tdep.c (mips_xfer_register,mips_register_name)
2088 (mips_register_reggroup_p,mips_pseudo_register_read)
2089 (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
2090 (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
2091 (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
2092 (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
2093 (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
2094 (print_gp_register_row,mips_print_registers_info)
2095 (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
2096 (mips_register_sim_regno): Likewise.
2097 * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
2098 (mips_linux_n32n64_sigframe_init): Likewise.
2099 * mips-linux-nat.c (mips_linux_register_addr)
2100 (mips64_linux_register_addr): Likewise.
2101 * findvar.c (value_of_register): Likewise.
2102 * infcmd.c (default_print_registers_info,registers_info)
2103 (print_vector_info,print_float_info): Likewise.
2104 * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
2105 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
2106 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
2107 * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
2108 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
2109 * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
2110 (ia64_cannot_store_register,ia64_linux_fetch_registers)
2111 (ia64_linux_store_registers): Likewise.
2112 * hpux-thread.c (hpux_thread_fetch_registers)
2113 (hpux_thread_store_registers): Likewise.
2114 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
2115 (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
2116 (h8300_register_type): Likewise.
2117 * dwarf2-frame.c (dwarf2_frame_cache)
2118 (dwarf2_frame_state_alloc_regs): Likewise.
2119 * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
2120 (cris_cannot_store_register,crisv32_cannot_fetch_register)
2121 (crisv32_cannot_store_register,cris_register_name): Likewise.
2122 * avr-tdep.c (avr_frame_unwind_cache): Likewise.
2123 * arch-utils.c (legacy_register_sim_regno)
2124 (legacy_virtual_frame_pointer): Likewise.
2125 * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
2126 * arm-tdep.h: Likewise (comment).
2127 * frv-tdep.c (frv_register_sim_regno): Likewise.
2128 * m68klinux-nat.c (old_fetch_inferior_registers)
2129 (old_store_inferior_registers): Likewise.
2130 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
2131 * irix5-nat.c (fetch_core_registers): Likewise.
2132 * hppa-tdep.c (hppa_frame_cache): Likewise.
2133 * hppa-linux-nat.c (hppa_linux_register_addr)
2134 (hppa_linux_fetch_inferior_registers)
2135 (hppa_linux_store_inferior_registers): Likewise.
2136 * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
2137 (hppa_hpux_store_inferior_registers): Likewise.
2138 * amd64-nat.c (amd64_native_gregset_reg_offset)
2139 (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
2140 * dbug-rom.c (dbug_regname): Likewise.
2141 * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
2142 (HARD_PAGE_REGNUM (comment)): Likewise.
2143 * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
2144 * i386-tdep.c (i386_dbx_reg_to_regnum)
2145 (i386_svr4_reg_to_regnum): Likewise.
2146 * mi/mi-main.c (mi_cmd_data_list_register_names)
2147 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
2148 (mi_cmd_data_write_register_values): Likewise.
2149 * gdbarch.c, gdbarch.h: Regenerate.
2150 * tui/tui-regs.c (tui_show_register_group): Likewise.
2151 * xtensa-tdep.h (FP_ALIAS): Likewise.
2152 * user-regs.h: Likewise (comment).
2153 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
2154 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
2155 * target-descriptions.h: Likewise (comment).
2156 * target.c (debug_print_register): Likewise.
2157 * stack.c (frame_info): Likewise.
2158 * stabsread.c (define_symbol): Likewise.
2159 * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
2160 (sh64_compact_print_registers_info): Likewise.
2161 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
2162 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
2163 (regcache_restore,regcache_dump): Likewise.
2164 * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
2165 (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
2166 (mips_stab_reg_to_regnum): Likewise.
2167 * findvar.c (value_of_register): Likewise.
2168 * infcmd.c (default_print_registers_info,registers_info)
2169 (print_vector_info,print_float_info): Likewise.
2170 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
2171 * h8300-tdep.c (h8300_register_type): Likewise.
2172 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
2173 * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
2174 * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
2175 (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
2176 * parse.c: Remove comment.
2177 * gdbarch.c, gdbarch.h: Regenerate
2178
8d4c1ba3
UW
21792007-05-31 Markus Deuling <deuling@de.ibm.com>
2180
2181 * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
2182 gdbarch_cannot_fetch_register.
2183 * alpha-nat.c (fetch_osf_core_registers): Likewise.
2184 * hppa-linux-nat.c (fetch_register): Likewise.
2185 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
2186 * m68klinux-nat.c (fetch_register): Likewise.
2187 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
2188 Likewise.
2189 * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
2190 gdbarch_cannot_store_register.
2191 * hppa-linux-nat.c (store_register): Likewise.
2192 * inf-ptrace.c (inf_ptrace_store_register): Likewise.
2193 * regcache.c (regcache_raw_write): Likewise.
2194 * m68klinux-nat.c (store_register): Likewise.
2195 * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
2196 * gdbarch.c, gdbarch.h: Regenerate.
2197
3f4844da
UW
21982007-05-31 Markus Deuling <deuling@de.ibm.com>
2199
2200 * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
2201 * gdbarch.c, gdbarch.h: Regenerate.
2202
6c6b19fd
UW
22032007-05-31 Markus Deuling <deuling@de.ibm.com>
2204
2205 * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
2206 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
2207 * gdbarch.c, gdbarch.h: Regenerate.
2208
0d20ae72
UW
22092007-05-31 Markus Deuling <deuling@de.ibm.com>
2210
2211 * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
2212 * ax-gdb.c (gen_bitfield_ref): Likewise.
2213 * mi/mi-main.c (get_register): Likewise.
2214 * findvar.c (default_value_from_register, extract_signed_integer)
2215 (extract_unsigned_integer, extract_long_unsigned_integer)
2216 (store_signed_integer, store_unsigned_integer): Likewise.
2217 * regcache.c (regcache_dump): Likewise.
2218 * value.c (lookup_internalvar, value_of_internalvar)
2219 (set_internalvar): Likewise.
2220 * defs.h: Likewise.
2221 * valprint.c (print_binary_chars, print_octal_chars)
2222 (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
2223 * infcmd.c (default_print_registers_info): Likewise.
2224 * arch-utils.c (selected_byte_order, show_endian): Likewise.
2225 * stabsread.c (define_symbol): Likewise.
2226 * doublest.c (floatformat_from_length, floatformat_from_type)
2227 (extract_typed_floating, store_typed_floating): Likewise.
2228 * gdbarch.c, gdbarch.h: Regenerate.
2229
faaf634c
UW
22302007-05-31 Markus Deuling <deuling@de.ibm.com>
2231
2232 * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
2233 gdbarch_call_dummy_location.
2234 * infcall.c (call_function_by_hand): Likewise.
2235 * inferior.h: Change comment.
2236 * arch-utils.c: Change comment.
2237 * gdbarch.c, gdbarch.h: Regenerate.
2238
8905984d
JB
22392007-05-28 Joel Brobecker <brobecker@adacore.com>
2240
2241 * solib-aix5.c: Delete.
2242 * Makefile.in (solib-aix5.o): Delete rule.
2243
ab14ee8d
DJ
22442007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
2245
2246 * breakpoint.h (enum bpstat_what_main_action): Remove
2247 BPSTAT_WHAT_THROUGH_SIGTRAMP.
2248 * infrun.c (process_event_stop_test): Do not check for it.
2249
23776285
MR
22502007-05-22 Chris Dearman <chris@mips.com>
2251 Maciej W. Rozycki <macro@mips.com>
2252
2253 * ser-unix.c (show_serial_hwflow): New function.
2254 (hardwire_raw): Add hardware flow control support.
2255 (_initialize_ser_hardwire): Add "set/show remoteflow".
2256 * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
2257 * NEWS: Document the new command.
2258
eb368090
UW
22592007-05-21 Ulrich Weigand <uweigand@de.ibm.com>
2260
2261 * config/i386/tm-linux.h (sys_quotactl): Do not define.
2262 * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
2263 define for i[[3456]]86-*-linux* native configurations.
2264 * config.in, configure: Regenerate.
2265
8d08c9ce
JB
22662007-05-19 Joel Brobecker <brobecker@adacore.com>
2267
2268 * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
2269 a core file. Add comment in the function description.
2270
42be36b3
CT
22712007-05-18 Caroline Tice <ctice@apple.com>
2272
2273 * c-valprint.c (c_value_print): If the initialized field of the
2274 value struct is 0, print out "[uninitialized]" before the value.
2275 * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field;
2276 allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a
2277 DW_OP_regx op; add case for DW_OP_GNU_uninit and update
2278 ctx->initialized appropriately. Verify no location op follows
2279 DW_OP_GNU_uninit.
2280 * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
2281 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to
2282 set_value_initialized.
2283 * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
2284 (decode_locdesc): Add case for DW_OP_GNU_uninit.
2285 * value.c (struct value): New field, initialized.
2286 (allocate_value): Initialize new field.
2287 (set_value_initialized): New function.
2288 (value_initialized): New function.
2289 * value.h (value_initialized): New extern declaration.
2290 (set_value_initialized): Likewise.
42be36b3 2291
a7c569c8
CT
22922007-05-18 Caroline Tice <ctice@apple.com>
2293
2294 * MAINTAINERS (Write After Approval): Add self.
2295
1e98b326
JB
22962007-05-17 Joel Brobecker <brobecker@adacore.com>
2297
2298 * gdbtypes.c (make_reference_type): Preserve the type chain
2299 and set the length of all the variants of the pointer type.
2300
053cb41b
JB
23012007-05-17 Joel Brobecker <brobecker@adacore.com>
2302
2303 * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
2304 and set the length of all the variants of the pointer type.
2305
436aafc4
MR
23062007-05-17 Maciej W. Rozycki <macro@mips.com>
2307
2308 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
2309 comment.
2310 (mips_o64_push_dummy_call): Reformat a comment.
2311
98f4ab10
Q
23122007-05-17 Qinwei <qinwei@sunnorth.com.cn>
2313
2314 * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
2315 (score_prologue_frame_base_address): Return fp to keep gdb print
2316 local variables correctly when debugging information is stabs.
2317
2318 (score_analyze_prologue): For software watchpoint, fetch all the
2319 instructions from range [startaddr, pc] once and identify them locally
2320 to reduce memory access.
2321 (score_malloc_and_get_memblock, score_free_memblock)
2322 (score_adjust_memblock_ptr): New functions.
2323 (score_fetch_inst): Fetch single instruction or mutiple instructions.
2324
2325 (score_target_can_use_watch, score_stopped_by_watch)
2326 (score_target_insert_watchpoint, score_target_remove_watchpoint)
2327 (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
2328 New functions for remote & local hw-watchpoint and hw-breakpoint.
2329
60dfee72
AS
23302007-05-16 Alfred M. Szmidt <ams@gnu.org>
2331
2332 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
2333 declarations as well.
2334
190dce09
UW
23352007-05-16 Ulrich Weigand <uweigand@de.ibm.com>
2336
2337 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
2338 * config/arm/tm-embed.h: Delete file.
2339
2340 * arm-tdep.h (arm_software_single_step): Declare.
2341 * arm-tdep.c (arm_software_single_step): Make global.
2342 (arm_gdbarch_init): Move set_gdbarch_software_single_step call
2343 from here to ...
2344 * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
2345 * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
2346 * armobsd-tdep.c (armobsd_init_abi): ... here ...
2347 * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
2348
2349 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
2350 allow defines to be overriden by TM file.
2351 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
2352 change default to {0xbe,0xbe}.
2353 * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
2354 arm_obsd_thumb_be_breakpoint): New global variables.
2355 (armobsd_init_abi): Override tdep->thumb_breakpoint and
2356 tdep->thumb_breakpoint_size.
2357 * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
2358 (arm_wince_init_abi): Override tdep->thumb_breakpoint and
2359 tdep->thumb_breakpoint_size.
2360
2361 * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
2362
1a69e1e4
DJ
23632007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
2364
2365 * NEWS: Mention removed "set mips stack-arg-size" and "set mips
2366 saved-gpreg-size".
2367
2368 * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
2369 (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
2370 (mips_stack_argsize_string, mips_stack_argsize): Delete.
2371 (mips_abi_regsize): Simplify.
2372 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
2373 (mips_n32n64_return_value, mips_o32_push_dummy_call)
2374 (mips_o32_return_value, mips_o64_push_dummy_call)
2375 (mips_o64_return_value): Propogate constant register sizes. Use the
2376 ABI register size instead of mips_stack_argsize.
2377 (mips_dump_tdep): Don't print mips_stack_argsize.
2378 (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
2379 settings.
2380
7d522c90
DJ
23812007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
2382
2383 * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
2384 * config/mips/tm-linux.h: Delete.
2385 * mips-linux-tdep.c (mips_svr4_so_ops): New.
2386 (mips_linux_in_dynsym_resolve_code): Make static. Use
2387 svr4_in_dynsym_resolve_code.
2388 (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
2389 set_solib_ops.
2390 * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
2391 global.
2392 * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
2393 * Makefile.in (mips-linux-tdep.o): Update.
2394 * solib.c (set_solib_ops): New.
2395 (current_target_so_ops): Update comment.
2396 * solib.h (set_solib_ops): New prototype.
2397
5d51a2db
MR
23982007-05-16 Chris Dearman <chris@mips.com>
2399
2400 * printcmd.c (do_examine): Fix typos in a comment.
2401
07abfebf
RS
24022007-05-16 Richard Sandiford <richard@codesourcery.com>
2403
2404 * configure.ac: Allow sysroots to be relocated under $prefix as
2405 well as $exec_prefix.
2406 * configure: Regenerate.
2407
f5ce4941
UW
24082007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
2409
2410 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
2411 (offsetof): Do not define.
2412 (find_stub_with_shl_get): Use numerical value 3 instead of
2413 symbolic value TYPE_PROCEDURE.
2414
76e1ee85
DJ
24152007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2416
2417 * gdb_proc_service.h (paddr_t): Delete typedef.
2418 * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
2419 (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
2420 (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
2421 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
2422 * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
2423 * Makefile.in (proc-service.o): Update.
2424
2bd0c3d7
DJ
24252007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2426
2427 * Makefile.in (mips-tdep.o): Update.
2428 * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
2429 unwinder.
2430
14d06750
DJ
24312007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2432
2433 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
2434 instead of store_typed_address.
2435 * value.c (pack_long): New.
2436 (value_from_longest): Use it.
2437 * value.h (pack_long): New prototype.
2438
f2fec864
DJ
24392007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2440
2441 * dwarf2-frame.c (read_encoded_value): Correct typo. Use
2442 DW_EH_PE_signed if appropriate.
2443
25e43795
DJ
24442007-05-14 Paul Brook <paul@codesourcery.com>
2445 Daniel Jacobowitz <dan@codesourcery.com>
2446
2447 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
2448 function.
2449 (dwarf_decode_lines): Check for line info without a file.
2450
027c0295
DJ
24512007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2452
2453 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
2454 as hexadecimal.
2455
dc5000e7
DJ
24562007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
2457
2458 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
2459 STRUCTOP_STRUCT.
2460 * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
2461 STRUCTOP_STRUCT.
2462 * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
2463
30244cd8
UW
24642007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
2465
2466 * gdbarch.sh (read_sp): Remove.
2467 * gdbarch.c, gdbarch.h: Regenerate.
2468 * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
2469
2470 * avr-tdep.c (avr_read_sp): Remove.
2471 (avr_unwind_sp): New function.
2472 (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
2473 * mips-tdep.c (mips_read_sp): Remove.
2474 (mips_unwind_sp): New function.
2475 (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
2476 * score-tdep.c (score_read_unsigned_register): Remove.
2477 (score_read_sp): Remove.
2478 (score_unwind_sp): New function.
2479 (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
2480
84ba0adf
DJ
24812007-05-14 Maxim Grigoriev <maxim2405@gmail.com>
2482
2483 * buildsym.c (start_subfile): Handle absolute pathnames
2484 while comparing subfile names.
2485
e7b17823
UW
24862007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
2487
2488 * hppa-hpux-tdep.c: Include "regcache.h".
2489 * hppa-linux-tdep.c: Likewise.
2490 * hppa-tdep.c: Include "gdb_stdint.h".
2491 (find_unwind_entry): Cast host pointer to uintptr_t before passing
2492 it to paddr_nz.
2493 * Makefile.in: Update dependencies.
2494
7157eed4
UW
24952007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
2496
2497 * blockframe.c: Remove obsolete comments.
2498 * alpha-nat.c (fetch_osf_core_registers): Update comment.
2499 * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
2500 * hppa-tdep.h (enum hppa_regnum): Likewise.
2501 * mips-tdep.h: Likewise.
2502 * m68hc11-tdep.c: Likewise.
2503
fb4443d8
UW
25042007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
2505
2506 * inferior.h (read_sp): Remove prototype.
2507 * regcache.c (read_sp): Remove.
2508 * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
2509 * infcall.c (call_function_by_hand): Likewise.
2510 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
2511 of calling read_sp.
2512 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
2513
7b86a1b8
UW
25142007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2515
2516 * i386-linux-nat.c (i386_linux_resume): Use regcache functions
2517 instead of read_register and read_register_pid.
2518
2519 * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
2520 argument instead of PTID. Use regcache functions instead of
2521 read_register_pid.
2522 (ia64_linux_insert_watchpoint): Update call.
2523 (ia64_linux_stopped_data_address): Use regcache functions
2524 instead of read_register_pid and write_register_pid.
2525
45ecac4b
UW
25262007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2527
2528 * libunwind-frame.h (struct regcache): Add forward declaration.
2529 (libunwind_get_reg_special): Add REGCACHE argument.
2530 * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
2531 argument. Pass it to unw_init_remote_p.
2532
2533 * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
2534 libunwind_get_reg_special.
2535 (ia64_access_reg): Remove "write" case.
2536 (ia64_access_fpreg): Likewise. Read from next_frame passed
2537 as callback argument instead of from current_regcache.
2538 (ia64_access_rse_reg): Remove "write" case. Read from regcache
2539 passed as callback argument instead of from current_regcache.
2540 (ia64_access_rse_fpreg): New function.
2541 (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
2542
0ca420ce
UW
25432007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2544
2545 * NEWS: Mention SPU overlay support.
2546
0a44cb36
UW
25472007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2548
2549 * spu-tdep.c (spu_frame_unwind_cache): Add comment.
2550
aa67235e
UW
25512007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2552
2553 * breakpoint.c (remove_breakpoint): Do not remove software
2554 breakpoints in unmapped overlay sections.
2555
dcf52cd8
UW
25562007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2557
2558 * spu-tdep.c: Include "observer.h".
2559 (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
2560 (spu_overlay_data): New variable.
2561 (struct spu_overlay_table): New type.
2562 (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
2563 spu_overlay_new_objfile): New functions.
2564 (spu_gdbarch_init): Install spu_overlay_update.
2565 (_initialize_spu_tdep): Register spu_overlay_new_objfile,
2566 allocate spu_overlay_data objfile data.
2567
1c772458
UW
25682007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2569
2570 * gdbarch.sh (overlay_update): New gdbarch function.
2571 (struct obj_section): Add forward declaration.
2572 * gdbarch.c, gdbarch.h: Regenerate.
2573
2574 * symfile.c (simple_overlay_update): Make global.
2575 (target_overlay_update): Remove variable.
2576 (overlay_is_mapped): Call gdbarch_overlay_update instead of
2577 target_overlay_update.
2578 (overlay_load_command): Likewise.
2579 * symfile.h (struct obj_section): Add forward declaration.
2580 (simple_overlay_update): Add prototype.
2581
2582 * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
2583
06d3b283
UW
25842007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2585
2586 * observer.sh: Add "struct objfile" forward declaration.
2587 * target.h (deprecated_target_new_objfile_hook): Remove.
2588 * symfile.c (deprecated_target_new_objfile_hook): Remove.
2589 (clear_symtab_users): Call observer_notify_new_objfile.
2590 (symbol_file_add_with_addrs_or_offsets): Likewise.
2591 * rs6000-nat.c: Include "observer.h".
2592 (vmap_ldinfo): Call observer_notify_new_objfile.
2593 (xcoff_relocate_core): Likewise.
2594 * remote.c (remote_new_objfile_chain): Remove.
2595 (remote_new_objfile): Do not call remote_new_objfile_chain.
2596 (_initialize_remote): Use observer_attach_new_objfile.
2597 * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
2598 (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
2599 (_initialize_tui_hooks): Use observer_attach_new_objfile.
2600 * aix-thread.c: Include "observer.h".
2601 (target_new_objfile_chain): Remove.
2602 (new_objfile): Do not call target_new_objfile_chain.
2603 (_initialize_aix_thread): Use observer_attach_new_objfile.
2604 * hpux-thread.c: Include "observer.h"
2605 (target_new_objfile_chain): Remove.
2606 (hpux_thread_new_objfile): Make static. Do not call
2607 target_new_objfile_chain.
2608 (_initialize_hpux_thread): Use observer_attach_new_objfile.
2609 * linux-thread-db.c: Include "observer.h".
2610 (target_new_objfile_chain): Remove.
2611 (thread_db_new_objfile): Do not call target_new_objfile_chain.
2612 (_initialize_thread_db): Use observer_attach_new_objfile.
2613 * sol-thread.c: Include "observer.h".
2614 (target_new_objfile_chain): Remove.
2615 (sol_thread_new_objfile): Make static. Do not call
2616 target_new_objfile_chain.
2617 (_initialize_sol_thread): Use observer_attach_new_objfile.
2618 * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
2619 rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
2620 $(observer_h).
2621
93ce7684
UW
26222007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2623
2624 * gdbarch.sh (remote_translate_xfer_address): Remove.
2625 * gdbarch.h, gdbarch.c: Regenerate.
2626 * arch-utils.c (generic_remote_translate_xfer_address): Remove.
2627 * arch-utils.h (generic_remote_translate_xfer_address): Remove.
2628 * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
2629 call gdbarch_remote_translate_xfer_address.
2630 * frv-tdep.c (frv_gdbarch_init): Do not call
2631 set_gdbarch_remote_translate_xfer_address.
2632 * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
2633 (ia64_gdbarch_init): Do not install it.
2634
a6ec25f2
BW
26352007-05-11 Bob Wilson <bob.wilson@acm.org>
2636
2637 * NEWS: Mention change in handling the -tui option.
2638
2ef52e77
DJ
26392007-05-11 Daniel Jacobowitz <dan@codesourcery.com>
2640
2641 * linux-thread-db.c (enable_thread_event_reporting): Fix comment
2642 typo.
2643
1aafd4da
UW
26442007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
2645
2646 * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
2647 (breakpoint_inserted_here_p): Call it.
2648 (software_breakpoint_inserted_here_p): Likewise.
2649
7714d83a
UW
26502007-05-10 Ulrich Weigand <uweigand@de.ibm.com>
2651
2652 * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
2653 (inf_ptrace_fetch_register): Add register_u_offset callback parameters
2654 GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value.
2655 (inf_ptrace_store_register): Likewise.
2656 (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
2657 * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
2658
2659 * vax-nat.c (vax_register_u_offset): Adapt parameter list.
2660
2661 * linux-nat.c (linux_trad_target): Adapt parameter list.
2662 * linux-nat.h (linux_trad_target): Likewise.
2663
2664 * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
2665
2666 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
2667 (mips_linux_cannot_store_register): Likewise.
2668 (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
2669 Return (CORE_ADDR) -1 for registers that cannot be fetched or
2670 stored via ptrace. Use GDBARCH instead of current_gdbarch.
2671 (mips64_linux_register_addr): Likewise.
2672 (mips_linux_register_u_offset): Adapt parameter list. Pass
2673 GDBARCH and STORE_P on to mips{64}_linux_register_addr.
2674
2675 * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2676 * config/mips/nm-linux.h: Delete file.
2677
4ddda9b5
PA
26782007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
2679
2680 * remote.c (remote_detach): Error out if remote can't detach.
2681
24d45690
UW
26822007-05-10 Luis Machado <luisgpm@br.ibm.com>
2683
362f854e
PA
2684 * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
2685 instruction's opcode in the "opcode" variable and declares new
2686 variable "closing_insn".
24d45690 2687
1430be3e
MR
26882007-05-10 Chris Dearman <chris@mips.com>
2689 Maciej W. Rozycki <macro@mips.com>
2690
2691 * cli/cli-setshow.c (do_setshow_command): Remove trailing
2692 whitespace when setting a var_filename.
2693
b0da54f1
BW
26942007-05-09 Bob Wilson <bob.wilson@acm.org>
2695
2696 * main.c (captured_main): Recognize -tui option and print an error
2697 message when the TUI is not configured.
2698
9a88e5ee
AS
26992007-05-09 Andreas Schwab <schwab@suse.de>
2700
2701 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
2702 set removed members.
2703 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
2704
fc0d8df4
UW
27052007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
2706
2707 * gdbarch.sh (deprecated_store_struct_return): Remove.
2708 * gdbarch.c, gdbarch.h: Regenerate.
2709 * frv-tdep.c (frv_store_struct_return): Remove.
2710 (frv_gdbarch_init): Do not install it.
2711
179101d6
UW
27122007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
2713
2714 * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
2715 * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
2716 * config/nm-linux.h (USE_PROC_FS): Do not undefine.
2717
b9efddcd
UW
27182007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
2719
2720 * spu-linux-nat.c: Include "gdb_stdint.h".
2721 (fetch_ppc_register): Use uint64_t instead of unsigned long long.
2722 (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
2723 (fetch_ppc_memory, store_ppc_memory): Fix coding style.
2724 (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
2725 (spu_child_wait): Mark up string for translation.
2726
ce5eab59
UW
27272007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
2728 Luis Machado <luisgpm@br.ibm.com>
2729
2730 * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
2731 STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
2732 BC_INSTRUCTION): Define.
2733 (deal_with_atomic_sequence): New function.
2734 (rs6000_software_single_step): Call deal_with_atomic_sequence.
2735 (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
2736 gdbarch_software_single_step routine.
2737
4179a487
UW
27382007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
2739
2740 * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
2741 store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
2742 parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
2743 spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
2744 spu_child_post_attach, spu_fetch_inferior_registers,
2745 spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
2746 memory addresses as ULONGEST, not CORE_ADDR.
2747
6d350bb5
UW
27482007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
2749
2750 * gdbarch.sh: Add skip_permanent_breakpoint callback.
2751 * gdbarch.h, gdbarch.c: Regenerate.
2752
2753 * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
2754 (resume): Call gdbarch_skip_permanent_breakpoint instead of
2755 SKIP_PERMANENT_BREAKPOINT. Inline default case.
2756
2757 * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
2758 Add REGCACHE argument. Use it instead of read/write_register.
2759 (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
2760
2761 * config/pa/tm-hppah.h: Delete file.
2762 * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
2763 * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
2764
b18be20d
DJ
27652007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
2766
2767 * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
2768 * NEWS: Mention improved C++ thunk support.
2769 * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
2770 * cp-abi.c (cplus_skip_trampoline): New.
2771 * cp-abi.h (cplus_skip_trampoline): New prototype.
2772 (struct cp_abi_ops): Add skip_trampoline member.
2773 * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
2774 (init_gnuv3_ops): Set skip_trampoline.
2775
dda9b909
DJ
27762007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
2777
2778 * rs6000-tdep.c (struct frame_extra_info): Delete.
2779
34091d9b
DJ
27802007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
2781
2782 * linux-thread-db.c: Update some FIXME comments.
2783 (thread_db_xfer_partial): Delete.
2784 (init_thread_db_ops): Do not set to_xfer_partial.
2785
1da33a4a
UW
27862007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2787
2788 * inftarg.c, infptrace.c: Remove files.
2789 * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
2790 (inftarg.o, infptrace.o): Remove rules.
2791 * gdbcore.h (register_addr): Remove prototype.
2792 * inferior.h (kill_inferior, store_inferior_registers,
2793 fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
2794 call_ptrace, pre_fork_inferior): Remove prototypes.
2795 * target.h (child_xfer_memory, child_pid_to_exec_file,
2796 child_core_file_to_sym_file, child_post_attach,
2797 child_post_startup_inferior, child_acknowledge_created_inferior,
2798 child_insert_fork_catchpoint, child_remove_fork_catchpoint,
2799 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
2800 child_insert_exec_catchpoint, child_remove_exec_catchpoint,
2801 child_follow_fork, child_reported_exec_events_per_exec_call,
2802 child_has_exited, child_thread_alive): Remove prototypes.
2803
6f7a27d5
UW
28042007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2805
2806 * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
2807 (sparc_store_inferior_registers): Likewise.
2808 * sparc-nat.c (fetch_inferior_registers): Rename to ...
2809 (sparc_fetch_inferior_registers): ... this.
2810 (store_inferior_registers): Rename to ...
2811 (sparc_store_inferior_registers): ... this.
2812 (sparc_target): Update callback names.
2813 * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise.
2814 * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
2815
6d8fd2b7
UW
28162007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2817
2818 * linux-nat.c (child_post_attach): Rename to ...
2819 (linux_child_post_attach): ... this. Make static.
2820 (child_follow_fork): Rename to ...
2821 (linux_child_follow_fork): ... this. Make static.
2822 (child_insert_fork_catchpoint): Rename to ...
2823 (linux_child_insert_fork_catchpoint): ... this. Make static.
2824 (child_insert_vfork_catchpoint): Rename to ...
2825 (linux_child_insert_vfork_catchpoint): ... this. Make static.
2826 (child_insert_exec_catchpoint): Rename to ...
2827 (linux_child_insert_exec_catchpoint): ... this. Make static.
2828 (child_pid_to_exec_file): Rename to ...
2829 (linux_child_pid_to_exec_file): ... this. Make static.
2830 Add prototype.
2831 (linux_handle_extended_wait): Update call.
2832 (linux_xfer_partial): Update callback routine names.
2833
d08950c4
UW
28342007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2835
2836 * configure.host (alpha*-*-osf[12]*): Remove support.
2837 * NEWS: Mention removed configurations.
2838
2839 * config/alpha/alpha-osf1.mh: Delete file.
2840 * config/alpha/alpha-osf2.mh: Delete file.
2841 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
2842 and infptrace.o.
2843 * config/alpha/nm-osf.h: Delete file.
2844 * config/alpha/nm-osf2.h: Delete file.
2845 * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
2846 (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
2847 (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
2848
2849 * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
2850 (register_addr, kernel_u_size): Remove.
2851 Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
2852
9c5ea4d9
UW
28532007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2854
2855 * regcache.c (regcache_invalidate): New function.
2856 (register_cached): Remove.
2857 (set_register_cached): Remove.
2858 (deprecated_registers_fetched): Remove.
2859 (registers_changed): Use regcache_invalidate instead
2860 of set_register_cached.
2861 (regcache_raw_read): Update comment.
2862
2863 * regcache.h (regcache_invalidate): Add prototype.
2864 (register_cached): Remove.
2865 (set_register_cached): Remove.
2866 (deprecated_registers_fetched): Remove.
2867
2868 * findvar.c (value_of_register): Do not call register_cached.
2869 * frame.c (frame_register): Likewise.
2870 * tui/tui-regs.c (tui_get_register): Likewise.
2871
2872 * remote.c (fetch_register_using_p): Do not call set_register_cached.
2873 (process_g_packet): Likewise.
2874 (remote_fetch_registers): Likewise.
2875 * remote-sim.c (gdbsim_fetch_register): Likewise.
2876 * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
2877 by regcache_invalidate.
2878 (mt_pseudo_register_write): Likewise.
2879 * sh-tdep.c (sh_pseudo_register_write): Likewise.
2880
2881 * corelow.c (get_core_registers): Replace deprecated_registers_fetched
2882 call by loop over regcache_raw_supply (..., NULL).
2883
316f2060
UW
28842007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2885
2886 * target.h (struct target_ops): Add REGCACHE parameter to
2887 to_prepare_to_store.
2888 (target_prepare_to_store): Likewise.
2889 * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
2890 (update_current_target): Adapt prepare_to_store de_fault rule.
2891
2892 * regcache.c (regcache_raw_write): Pass regcache to
2893 target_prepare_to_store.
2894
2895 * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
2896 Do not call CHILD_PREPARE_TO_STORE.
2897 * gnu-nat.c (gnu_prepare_to_store): Likewise.
2898 * procfs.c (procfs_prepare_to_store): Likewise.
2899
2900 * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
2901 * go32-nat.c (go32_prepare_to_store): Likewise.
2902 * monitor.c (monitor_prepare_to_store): Likewise.
2903 * nto-procfs.c (procfs_prepare_to_store): Likewise.
2904 * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
2905 * remote-mips.c (mips_prepare_to_store): Likewise.
2906 * remote-sim.c (gdbsim_prepare_to_store): Likewise.
2907 * win32-nat.c (win32_prepare_to_store): Likewise.
2908
2909 * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
2910 Use it instead of current_regcache.
2911
2912 * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
2913 parameter. Pass it on to next target.
2914 * sol-thread.c (sol_thread_prepare_to_store): Likewise.
2915
56be3814
UW
29162007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2917
2918 * target.h (struct regcache): Add forward declaration.
2919 (struct target_ops): Add REGCACHE parameter to to_fetch_registers
2920 and to_store_registers target operations.
2921 (target_fetch_registers, target_store_registers): Update.
2922
2923 * regcache.c (regcache_raw_read): Replace register_cached by
2924 regcache_valid_p. Pass regcache to target_fetch_registers.
2925 (regcache_raw_write): Pass regcache to target_store_registers.
2926
2927 * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
2928 store_regs, store_wmmx_regs): Replace register_cached by
2929 regcache_valid_p.
2930
2931 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
2932 to target_fetch_registers calls.
2933 * corelow.c (core_open): Likewise.
2934 * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
2935 * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
2936 ps_lsetfpregs): Likewise.
2937 * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
2938 ps_lsetfpregs): Likewise.
2939 * win32-nat.c (win32_resume): Likewise.
2940 * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
2941 to target_store_registers call.
2942 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
2943
2944 * inferior.h (store_inferior_registers): Update prototype.
2945 (fetch_inferior_registers): Likewise.
2946 * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
2947 * mips-linux-nat.c (super_fetch_registers, super_store_registers):
2948 Update function pointer signatures.
2949
2950 * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
2951 use it instead of current_regcache, update calls.
2952 (aix_thread_store_registers): Likewise.
2953 * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
2954 (alphabsd_store_inferior_registers): Likewise.
2955 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
2956 (amd64bsd_store_inferior_registers): Likewise.
2957 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
2958 (amd64_linux_store_inferior_registers): Likewise.
2959 * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
2960 store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
2961 fetch_wmmx_regs, store_wmmx_regs): Likewise.
2962 (arm_linux_fetch_inferior_registers): Likewise.
2963 (arm_linux_store_inferior_registers): Likewise.
2964 * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
2965 fetch_fp_regs, armnbsd_fetch_registers): Likewise.
2966 (store_register, store_regs, store_fp_register, store_fp_regs,
2967 armnbsd_store_registers): Likewise.
2968 * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
2969 * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
2970 (bsd_uthread_store_registers): Likewise.
2971 * corelow.c (get_core_registers): Likewise.
2972 * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
2973 go32_store_registers): Likewise.
2974 * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
2975 (hppabsd_store_registers): Likewise.
2976 * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
2977 (hppa_hpux_fetch_inferior_registers): Likewise.
2978 (hppa_hpux_store_register): Likewise.
2979 (hppa_hpux_store_inferior_registers): Likewise.
2980 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
2981 (hppa_linux_fetch_inferior_registers): Likewise.
2982 (hppa_linux_store_inferior_registers): Likewise.
2983 * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
2984 (hpux_thread_store_registers): Likewise.
2985 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
2986 (i386bsd_store_inferior_registers): Likewise.
2987 * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
2988 gnu_store_registers): Likewise.
2989 * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
2990 store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
2991 Likewise.
2992 (i386_linux_fetch_inferior_registers): Likewise.
2993 (i386_linux_store_inferior_registers): Likewise.
2994 * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
2995 (ia64_linux_fetch_registers): Likewise.
2996 (ia64_linux_store_register): Likewise.
2997 (ia64_linux_store_registers): Likewise.
2998 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
2999 (inf_child_store_inferior_registers): Likewise.
3000 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
3001 (inf_ptrace_fetch_registers): Likewise.
3002 (inf_ptrace_store_register): Likewise.
3003 (inf_ptrace_store_registers): Likewise.
3004 * infptrace.c (fetch_register, store_register): Likewise.
3005 (fetch_inferior_registers, store_inferior_registers): Likewise.
3006 * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
3007 (m32r_linux_fetch_inferior_registers): Likewise.
3008 (m32r_linux_store_inferior_registers): Likewise.
3009 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
3010 (m68kbsd_store_inferior_registers): Likewise.
3011 * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
3012 store_register, old_store_inferior_registers, fetch_regs, store_regs,
3013 fetch_fpregs, store_fpregs): Likewise.
3014 (m68k_linux_fetch_inferior_registers): Likewise.
3015 (m68k_linux_store_inferior_registers): Likewise.
3016 * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
3017 (m88kbsd_store_inferior_registers): Likewise.
3018 * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
3019 (mips64obsd_store_inferior_registers): Likewise.
3020 * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
3021 (mips64_linux_regsets_store_registers): Likewise.
3022 (mips64_linux_fetch_registers): Likewise.
3023 (mips64_linux_store_registers): Likewise.
3024 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
3025 (mipsnbsd_store_inferior_registers): Likewise.
3026 * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
3027 (monitor_fetch_registers, monitor_store_registers): Likewise.
3028 * nto-procfs.c (procfs_fetch_registers): Likewise.
3029 (procfs_store_registers): Likewise.
3030 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
3031 fetch_register, supply_vrregset, fetch_altivec_registers,
3032 fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
3033 (store_altivec_register, store_spe_register, store_register,
3034 fill_vrregset, store_altivec_registers, store_ppc_registers,
3035 ppc_linux_store_inferior_registers): Likewise.
3036 * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
3037 (ppcnbsd_store_inferior_registers): Likewise.
3038 * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
3039 (ppcobsd_store_registers): Likewise.
3040 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
3041 * remote.c (fetch_register_using_p, process_g_packet,
3042 fetch_registers_using_g, remote_fetch_registers): Likewise.
3043 (store_register_using_P, store_registers_using_G,
3044 remote_store_registers): Likewise.
3045 * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
3046 m32r_store_register, m32r_store_register): Likewise.
3047 * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
3048 * remote-sim.c (gdbsim_fetch_register): Likewise.
3049 (gdbsim_store_register): Likewise.
3050 * rs6000-nat.c (fetch_register, store_register): Likewise.
3051 (rs6000_fetch_inferior_registers): Likewise.
3052 (rs6000_store_inferior_registers): Likewise.
3053 * s390-nat.c (fetch_regs, store_regs): Likewise.
3054 (fetch_fpregs, store_fpregs): Likewise.
3055 (s390_linux_fetch_inferior_registers): Likewise.
3056 (s390_linux_store_inferior_registers): Likewise.
3057 * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
3058 (shnbsd_store_inferior_registers): Likewise.
3059 * sol-thread.c (sol_thread_fetch_registers): Likewise.
3060 (sol_thread_store_registers): Likewise.
3061 * sparc-nat.c (fetch_inferior_registers): Likewise.
3062 (store_inferior_registers): Likewise.
3063 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
3064 (spu_store_inferior_registers): Likewise.
3065 * target.c (debug_print_register): Likewise.
3066 (debug_to_fetch_registers, debug_to_store_registers): Likewise.
3067 * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
3068 (vaxbsd_store_inferior_registers): Likewise.
3069 * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
3070 (win32_fetch_inferior_registers): Likewise.
3071 (win32_store_inferior_registers): Likewise.
3072
9eefc95f
UW
30732007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3074
3075 * gdbcore.h (struct regcache): Add forward declaration.
3076 (struct core_fns): Add REGCACHE argument to core_read_registers
3077 callback.
3078 * corelow.c (get_core_register_section): Add REGCACHE argument,
3079 use it instead of current_regcache, pass it to core_read_registers
3080 callback.
3081 (get_core_registers): Add current_regcache as parameter to
3082 get_core_register_section calls.
3083
3084 * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
3085 use it instead of current_regcache.
3086 * armnbsd-nat.c (fetch_core_registers): Likewise.
3087 (fetch_elfcore_registers): Likewise.
3088 * core-regset.c (fetch_core_registers): Likewise.
3089 * cris-tdep.c (fetch_core_registers): Likewise.
3090 * irix5-nat.c (fetch_core_registers): Likewise.
3091 * m68klinux-nat.c (fetch_core_registers): Likewise.
3092 * mips-linux-tdep.c (fetch_core_registers): Likewise.
3093 * win32-nat.c (fetch_elf_core_registers): Likewise.
3094
7f7fe91e
UW
30952007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3096
3097 * gregset.h (struct regcache): Add forward declaration.
3098 (supply_gregset): Add REGCACHE parameter, make GREGS const.
3099 (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
3100 (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
3101 (fill_gregset): Add REGCACHE parameter.
3102 (fill_fpregset): Likewise.
3103 (fill_fpxregset): Likewise.
3104
3105 Update all definitions accordingly:
3106 * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
3107 arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
3108 i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c,
3109 m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
3110 s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c
3111 (supply_gregset): Add REGCACHE parameter, use it instead of
3112 current_regcache. Make GREGSETP parameter const, adapt casts.
3113 (supply_fpregset): Add REGCACHE parameter, use it instead of
3114 current_regcache. Make FPREGSETP parameter const, adapt casts.
3115 (fill_gregset): Add REGCACHE parameter, use it instead of
3116 current_regcache.
3117 (fill_fpregset): Likewise.
3118
3119 Update all callers to pass in current_regcache as the new argument:
3120 * core-regset.c: Include "regcache.h".
3121 (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
3122 * procfs.c: Include "regcache.h".
3123 (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
3124 (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
3125 (procfs_do_thread_registers): Likewise.
3126 (procfs_make_note_section): Likewise.
3127 * proc-service.c: Include "regcache.h".
3128 (ps_lgetregs): Update fill_gregset call.
3129 (ps_lsetregs): Update supply_gregset call.
3130 (ps_lgetfpregs): Update fill_fpregset call.
3131 (ps_lsetfpregs): Update supply_fpregset call.
3132 * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
3133 supply_fpregset calls.
3134 (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
3135 (ps_lgetregs): Update fill_gregset call.
3136 (ps_lsetregs): Update supply_gregset call.
3137 (ps_lgetfpregs): Update fill_fpregset call.
3138 (ps_lsetfpregs): Update supply_fpregset call.
3139
3140 * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
3141 fill_fpregset, and fill_fpxregset calls.
3142 * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
3143 (store_regs): Update fill_gregset call.
3144 (fetch_fpregs): Update supply_fpregset call.
3145 (store_fpregs): Update fill_fpregset call.
3146 (fetch_fpxregs): Update supply_fpxregset call.
3147 (store_fpxregs): Update fill_fpxregset call.
3148 * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
3149 (store_regs): Update fill_gregset call.
3150 * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
3151 (store_regs): Update fill_gregset call.
3152 (fetch_fpregs): Update supply_fpregset call.
3153 (store_fpregs): Update fill_fpregset call.
3154 (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
3155 * s390-nat.c (fetch_regs): Update supply_gregset call.
3156 (store_regs): Update fill_gregset call.
3157 (fetch_fpregs): Update supply_fpregset call.
3158 (store_fpregs): Update fill_fpregset call.
3159
3160 * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
3161 dependencies.
3162
c410a84c
UW
31632007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3164
3165 * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
3166 it instead of current_regcache.
3167 (parse_register_dump): Add REGCACHE parameter, pass it to
3168 supply_register callback.
3169 (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
3170 parse_register_dump.
3171 (monitor_dump_regs): Add REGCACHE parameter, pass it to
3172 parse_register_dump and dumpregs callback.
3173 (monitor_wait): Pass current_regcache to parse_register_dump and
3174 monitor_dump_regs.
3175 (monitor_fetch_register): Pass current_regcache to
3176 monitor_supply_register.
3177 (monitor_fetch_registers): Pass current_regcache to
3178 monitor_dump_regs.
3179 * monitor.h (struct monitor_ops): Add REGCACHE parameter to
3180 supply_register and dumpregs callbacks.
3181 (monitor_supply_register, monitor_dump_reg_block): Update
3182 prototypes.
3183 * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass
3184 it to monitor_supply_register.
3185 * dink32-rom.c (dink32_supply_register): Likewise.
3186 * ppcbug-rom.c (ppcbug_supply_register): Likewise.
3187 * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE
3188 instead of current_regcache.
3189
468e3d51
UW
31902007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3191
3192 * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
3193 Add REGCACHE parameter. Use it instead of current_regcache.
3194 (i386nto_supply_regset): Add REGCACHE parameter, pass it to
3195 i386nto_supply_gregset and i386nto_supply_fpregset.
3196 (i386nto_regset_fill): Add REGCACHE parameter; use it instead
3197 of current_regcache.
3198
3199 * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
3200 nto_supply_ helper functions.
3201 (procfs_store_registers): Pass current_regcache to nto_regset_fill.
3202
3203 * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
3204
3205 * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
3206 supply_greget, supply_fpregset, supply_altregset, supply_regset,
3207 and regset_fill member function pointers.
3208 (nto_dummy_supply_regset): Adapt prototype.
3209
4e3269e3
UW
32102007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3211
3212 * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
3213 instead of current_regcache. Make REGS const.
3214 (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
3215 * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
3216 prototypes.
3217 * shnbsd-nat.c: Include "regcache.h".
3218 (shnbsd_fetch_inferior_registers): Pass current_regcache to
3219 shnbsd_supply_reg.
3220 (shnbsd_store_inferior_registers): Pass current_regcache to
3221 shnbsd_fill_reg.
3222 * Makefile.in (shbsd-nat.o): Update dependencies.
3223
28f5035f
UW
32242007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3225
3226 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
3227 instead of current_regcache.
3228 (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
3229 Make GREGSETP const, remove superfluous casts.
3230 (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
3231 (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
3232 superfluous casts.
3233 (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
3234 (supply_64bit_reg): Likewise
3235 (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
3236 Make GREGSETP const, adapt casts accordingly.
3237 (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
3238 (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
3239 casts accordingly.
3240 (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
3241 (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
3242 helper routines.
3243 * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
3244 mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
3245 mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
3246 Adapt prototypes.
3247 * mips-linux-nat.c: Include "regcache.h".
3248 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
3249 current_regcache to mips{64}_(supply|fill)_ helper routines.
3250 (mips64_linux_regsets_fetch_registers): Likewise.
3251 (mips64_linux_regsets_store_registers): Likewise.
3252
3253 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
3254 REGCACHE argument; replace current_regcache. Make REGS const.
3255 (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
3256 replace current_regcache.
3257 * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
3258 mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
3259 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
3260 mipsnbsd_store_inferior_registers): Pass current_regcache to
3261 mipsnbsd_(supply|fill)_... helper routines.
3262
3263 * Makefile.in (mips-linux-nat.o): Update dependencies.
3264
26144df5
UW
32652007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3266
3267 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
3268 * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
3269 * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
3270 i387_fill_fsave and i387_fill_fxsave calls by inline copies.
3271 * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
3272 * i386gnu-nat.c (store_fpregs): Likewise.
3273 * i386v4-nat.c (fill_fpregset): Likewise.
3274 * go32-nat.c (store_register, go32_store_registers): Likewise.
3275
c6b4e5a2
UW
32762007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3277
3278 * cris-tdep.c (supply_gregset): Rename to ...
3279 (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
3280 instead of current_regcache.
3281 (fetch_core_registers): Update call. Pass current_regcache.
3282
d683e2b7
UW
32832007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3284
3285 * arnmnbsd-nat.c (supply_gregset): Rename to ...
3286 (arm_supply_gregset): ... this. Add REGCACHE parameter.
3287 Use it instead of current_regcache.
3288 (supply_fparegset): Rename to ...
3289 (arm_supply_fparegset): ... this. Add REGCACHE parameter.
3290 Use it instead of current_regcache.
3291 (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
3292 (fetch_core_registers, fetch_elfcore_registers): Likewise.
3293
390c1522
UW
32942007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3295
3296 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
3297 alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
3298 use it instead of current_regcache.
3299 * alpha-tdep.h (struct regcache): Add forward declaration.
3300 (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
3301 alpha_fill_fp_regs): Update prototypes.
3302
3303 * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
3304 fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
3305 * alpha-linux-nat.c: Include "regcache.h".
3306 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
3307 current_regcache to alpha_supply/fill_ routines.
3308
3309 * alphabsd-tdep.c: Include "regcache.h".
3310 (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
3311 pass it to alpha_supply_ routines. Make REGS const.
3312 (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
3313 pass it to alpha_fill_ routines.
3314 * alphabsd-tdep.h (struct regcache): Add forward declaration.
3315 (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
3316 alphabsd_fill_fpreg): Update prototypes.
3317
3318 * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
3319 fill_fpregset, alphabsd_fetch_inferior_registers,
3320 alphabsd_store_inferior_registers): Pass current_regcache to
3321 alphabsd_supply/fill_ routines.
3322
3323 * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
3324 dependencies.
3325
647478e0
UW
33262007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3327
3328 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
3329 supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
3330 instead of current_regcache.
3331 (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
3332 REGCACHE parameter, pass it to supply_ routines.
3333 (aix_thread_fetch_registers): Pass current_regcache to
3334 fetch_regs_user_thread and fetch_regs_kernel_thread.
3335
3336 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
3337 Add REGCACHE parameter, use it instead of current_regcache.
3338 Call regcache_valid_p instead of register_cached.
3339 (store_regs_user_thread, store_regs_kernel_thread): Likewise.
3340 Also, pass REGCACHE to fill_ routines.
3341 (aix_thread_store_registers): Pass current_regcache to
3342 store_regs_user_thread and store_regs_kernel_thread.
3343
d817e083
UW
33442007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3345
3346 * m32r-linux-nat.c (supply_gregset): Do not modify contents
3347 pointed to by GREGSETP.
3348
6a1872e4
UW
33492007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
3350
3351 * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
3352 of regcache_raw_read_signed.
3353 (fill_fpregset): Use regcache_raw_collect instead of
3354 regcache_raw_read.
3355
6da397e0
KB
33562007-05-03 Kevin Buettner <kevinb@redhat.com>
3357
3358 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
3359 point arguments, test explicitly for use of the EABI32 ABI
3360 instead of inferring this condition from tests on register
3361 sizes.
3362
2219d63c
KB
33632007-05-03 Kevin Buettner <kevinb@redhat.com>
3364
3365 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
3366 prior to allocating its location.
3367
2afd3f0a
MR
33682007-05-02 Maciej W. Rozycki <macro@mips.com>
3369
3370 * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
3371 based on mips_abi_regsize() whose result is known in advance.
3372 (mips_o64_push_dummy_call): Likewise.
3373
3e00823e
UW
33742007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
3375
3376 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
3377 * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
3378
3379 * mips-linux-nat.c: Include "gregset.h".
3380 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
3381 from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
3382 * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
3383 fill_fpregset): Move to mips-linux-nat.c.
3384
3385 * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
3386
81c4a259
UW
33872007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
3388
3389 * regcache.c (deprecated_read_register_gen): Remove, inline ...
3390 (read_register): ... here.
3391 (deprecated_write_register_gen): Remove, inline ...
3392 (write_register): ... here.
3393 * regcache.h (deprecated_read_register_gen): Remove prototype.
3394 (deprecated_write_register_gen): Likewise.
3395
3396 * remote-sim.c (gdbsim_store_register): Replace call to
3397 deprecated_read_register_gen with regcache_cooked_read.
3398 * target.c (debug_print_register): Replace calls to
3399 deprecated_read_register_gen and read_register with
3400 regcache_cooked_read.
3401
8bb42077
UW
34022007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
3403
3404 * hpux-thread.c (hpux_thread_store_registers): Use
3405 regcache_raw_collect, not regcache_raw_read.
3406 * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
3407 not regcache_raw_write.
3408
6ed7ea50
UW
34092007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
3410
3411 * gdbarch.sh: Remove deprecated_register_byte.
3412 * gdbarch.c, gdbarch.h: Regenerate.
3413 * arch-utils.h (generic_register_size, generic_register_byte): Remove.
3414 * arch-utils.c (generic_register_size, generic_register_byte): Remove.
3415
3416 * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
3417 * regcache.c (regcache_valid_p): Allow to query cooked registers in
3418 read-only register caches. Make REGCACHE parameter const.
3419 (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
3420
3421 * mi/mi-main.c (old_regs): Remove.
3422 (mi_setup_architecture_data, _initialize_mi_main): Remove.
3423 (register_changed_p): Reimplement to compare two register caches.
3424 (mi_cmd_data_list_changed_registers): Update caller.
3425 * mi/mi-main.h (mi_setup_architecture_data): Remove.
3426 * mi/mi-interp.c (mi_interpreter_init): Do not call
3427 mi_setup_architecture_data.
3428
efc72ef5
UW
34292007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
3430
3431 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
3432 inline definition at the places the macros are used.
3433 * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
3434
7a61a01c
UW
34352007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
3436
3437 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
3438 "gdb_string.h".
3439 (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
3440 (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
3441 (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
3442 (rs6000_aix_regset_from_core_section): New function.
3443 (rs6000_aix_init_osabi): Register it.
3444 (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
3445 sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
3446 * rs6000-nat.c (CoreRegs): Do not define type.
3447 (fetch_core_registers, rs6000_core_fns): Remove.
3448 (_initialize_core_rs6000): Do not register it. Rename to ...
3449 (_initialize_rs6000_nat): ... this.
3450 * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
3451
ace186d4
KB
34522007-04-27 Kevin Buettner <kevinb@redhat.com>
3453
3454 * dwarf2expr.c (unsigned_address_type): Add forward declaration.
3455 (dwarf2_read_address): Sign extend return address as required by
3456 target architecture.
3457
89a7ee67
KB
34582007-04-27 Kevin Buettner <kevinb@redhat.com>
3459
3460 * solib-frv.c (lm_base): Bail out if the main executable has
3461 not been relocated.
3462
6afb1f32
UW
34632007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3464
3465 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
3466 of FPCR register in fpregset.
3467
66a0218a
MR
34682007-04-27 Maciej W. Rozycki <macro@mips.com>
3469
3470 * Makefile.in (gdbtk-wrapper.o): Update dependencies.
3471 (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
3472
482f7fee
UW
34732007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3474
3475 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
3476 * rs6000-nat.c (rs6000_wait): New function.
3477 (_initialize_core_rs6000): Install it as to_wait target method.
3478 * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
3479
1f480a5e
UW
34802007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3481
3482 * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
3483 * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
3484 * rs6000-nat.c (super_create_inferior): New variable.
3485 (rs6000_create_inferior): Make static. Adapt argument list. Call
3486 original version of create_inferior via super_create_inferior.
3487 (_initialize_core_rs6000): Install to_create_inferior target method.
3488
037a727e
UW
34892007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3490
3491 * aix-thread.c (aix_thread_xfer_memory): Replace by ...
3492 (aix_thread_xfer_partial): ... this.
3493 (init_aix_thread_ops): Install to_xfer_partial instead
3494 of deprecated_xfer_memory target method.
3495
3496 * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
3497 and inftarg.o, add inf-ptrace.o.
3498 * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
3499 CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
3500 * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
3501 (fetch_inferior_registers): Rename to ...
3502 (rs6000_fetch_inferior_registers): ... this. Make static.
3503 (store_inferior_registers): Rename to ...
3504 (rs6000_store_inferior_registers): ... this. Make static.
3505 (read_word, child_xfer_memory): Remove.
3506 (rs6000_xfer_partial): New function.
3507 (kernel_u_size): Remove.
3508 (_initialize_core_rs6000): Add inf_ptrace-based target.
3509 * Makefile.in (rs6000-nat.o): Update dependencies.
3510
f7dd0ed7
UW
35112007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3512
3513 * inf-ptrace.c: Include "gdb_stdint.h".
3514 (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
3515 intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
3516 (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
3517 before casting CORE_ADDR to PTRACE_TYPE_ARG3.
3518 (inf_ptrace_store_register): Likewise.
3519 * Makefile.in (inf-ptrace.o): Update dependencies.
3520
d9178763
UW
35212007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3522
3523 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
3524 * configure.tgt (rs6000-*-*): Likewise.
3525 * config/rs6000/aix4.mh: Delete file.
3526 * config/rs6000/aix4.mt: Delete file.
3527 * config/rs6000/rs6000.mh: Delete file.
3528 * config/rs6000/rs6000.mt: Delete file.
3529
3530 * config/powerpc/nm-aix.h: Delete file.
3531 * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
3532
0d16ee5d
UW
35332007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3534
3535 * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
3536 Remove obsolete part of comment.
3537 (store_regs_user_thread): Use uint32_t temporaries when calling
3538 fill_sprs32.
3539 (store_regs_kernel_thread): Likewise. Add assertion to verify
3540 correct size of struct ptsprs members.
3541 (aix_thread_xfer_memory): Fix type of myaddr.
3542 (aix_thread_extra_thread_info): Fix compiler warning.
3543 * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
3544 (fetch_register, store_register): Adapt callers.
3545
1e8877aa
UW
35462007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
3547
3548 * vec.h (vec_free): Rename to vec_free_. Adapt users.
3549
b02f9d57
UW
35502007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3551
3552 * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
3553 and "regcache.h".
3554 (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
3555 (alpha_linux_gregset, alpha_linux_fpregset): New variables.
3556 (alpha_linux_regset_from_core_section): New function.
3557 (alpha_linux_init_abi): Install it.
3558 * alpha-linux-nat.c: Do not include "gdbcore.h". Include
3559 "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
3560 <sys/procfs.h>, and "gregset.h".
3561 (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
3562 Move from config/alpha/nm-linux.h.
3563 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
3564 from alpha-nat.c.
3565 (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
3566 * alpha-nat.c: Remove #ifdef __linux__ section.
3567 (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
3568 (_initialize_core_alpha): Do not register alpha_elf_core_fns.
3569 (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
3570 (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
3571 * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
3572 (NATDEPFILES): Remove alpha-nat.o.
3573 * config/alpha/nm-linux.h: Delete file.
3574 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
3575 * Makefile.in (alpha-linux-nat.o): Update dependencies.
3576 (alpha-linux-tdep.o): Likewise.
3577
dda0c97e
UW
35782007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3579
3580 * mips-linux-nat.c: No longer include "gdbcore.h".
3581 (mips_linux_register_addr): Move from mips-linux-tdep.c.
3582 (mips64_linux_register_addr): Likewise.
3583 (mips_linux_register_u_offset): Call mips_linux_register_addr or
3584 mips64_linux_register_addr instead of register_addr.
3585 * mips-linux-tdep.c (mips_linux_register_addr,
3586 mips64_linux_register_addr): Move to mips-linux-nat.c.
3587 (register_addr): Remove.
3588 (register_addr_data, init_register_addr_data): Remove.
3589 (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
3590 (set_mips_linux_register_addr): Remove.
3591 (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
3592 * Makefile.in (mips-linux-nat.o): Update dependencies.
3593
910122bf
UW
35942007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3595
3596 * linux-nat.c (linux_register_u_offset): Remove.
3597 (linux_target_install_ops): New function.
3598 (linux_target): Use it.
3599 (linux_trad_target): New function.
3600 * linux-nat.h (linux_trad_target): Declare.
3601
3602 * alpha-linux-nat.c: Include "gdbcore.h".
3603 (alpha_linux_register_u_offset): New function.
3604 (_initialize_alpha_linux_nat): Use linux_trad_target.
3605
3606 * mips-linux-nat.c: Include "gdbcore.h".
3607 (mips_linux_register_u_offset): New function.
3608 (_initialize_mips_linux_nat): Use linux_trad_target.
3609
3610 * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3611 * config/arm/nm-linux.h: Delete file.
3612
3613 * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
3614 * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
3615
3616 * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3617 * config/ia64/nm-linux.h: Delete file.
3618
3619 * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3620 * config/m32r/nm-linux.h: Delete file.
3621
3622 * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3623 * config/m68k/nm-linux.h: Delete file.
3624
3625 * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3626 * config/pa/nm-linux.h: Delete file.
3627
3628 * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3629 * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
3630 * config/powerpc/nm-linux.h: Delete file.
3631
3632 * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
3633 * config/s390/nm-linux.h: Delete file.
3634
3635 * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
3636 * config/sparc/linux64.mh (NAT_FILE): Likewise.
3637 * config/sparc/nm-linux.h: Delete file.
3638
3639 * Makefile.in (alpha-linux-nat.o): Update dependencies.
3640 (mips-linux-nat.o): Likewise.
3641
de732108
UW
36422007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
3643
3644 * core-aout.c: Delete file.
3645 * Makefile.in (ALLDEPFILES): Remove core-aout.c.
3646 (core-aout.o): Delete rule.
3647 * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
3648
3649 * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
3650
3651 * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
3652 * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
3653 KERNEL_U_ADDR): Remove.
3654
3655 * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
3656 (cannot_fetch_register, cannot_store_register): Remove.
3657 (fetch_register): Inline cannot_fetch_register and register_addr.
3658 (store_register): Inline cannot_store_register and register_addr.
3659 * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
3660 * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
3661 REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
3662 Remove.
3663
3664 * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
3665 (fetch_register): Inline register_addr.
3666 (store_register): Inline register_addr.
3667 * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
3668 * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
3669 U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
3670
3671 * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
3672 * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
3673 REGISTER_U_ADDR): Remove.
3674
3675 * hppa-linux-nat.c (register_addr): Rename to ...
3676 (hppa_linux_register_addr): ... this. Make static.
3677 (fetch_register, store_register): Adapt callers.
3678 * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
3679
3680 * ppc-linux-nat.c (kernel_u_size): Remove.
3681 * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
3682
3683 * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
3684 * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
3685 (NAT_FILE): Remove.
3686 * config/vax/nm-vax.h: Delete file.
3687
1f90c757
MS
36882007-04-20 Mark Shinwell <shinwell@codesourcery.com>
3689
3690 * MAINTAINERS (Write After Approval): Add myself.
3691
bf1242a5
MS
36922007-04-20 Mark Shinwell <shinwell@codesourcery.com>
3693
3694 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
3695 * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
3696 (m68k_linux_sigcontext_reg_offset): Fix typo.
3697 (target_is_uclinux): New.
3698 (m68k_linux_inferior_created): New.
3699 (m68k_linux_get_sigtramp_info): Check for uClinux or
3700 normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
3701 uClinux.
3702 (_initialize_m68k_linux_tdep): Register
3703 m68k_linux_inferior_created.
3704
96998ce7
PA
37052007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
3706
3707 * win32-nat.c (win32_detach): Remove delete_command call.
3708 Resume inferior with win32_resume instead of win32_continue.
3709
7e71daaa
JG
37102007-04-19 Jerome Guitton <guitton@adacore.com>
3711
3712 * ser-mingw.c (fd_is_file): New function.
3713 (file_select_thread): New function.
3714 (ser_console_wait_handle): Add special handling for files.
3715
3d1f72c2
DP
37162007-04-18 Denis Pilat <denis.pilat@st.com>
3717
3718 * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
3719 when missing from DW_TAG_subrange_type. Remove the handling of null
3720 return from die_type.
3721
9ecf7166
MR
37222007-04-18 Maciej W. Rozycki <macro@mips.com>
3723
3724 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
3725 change to rearrange some brackets.
3726 (mips_n32n64_push_dummy_call): Likewise.
3727 (mips_o32_push_dummy_call): Likewise.
3728 (mips_o64_push_dummy_call): Likewise.
3729
b79599ff
DP
37302007-04-18 Denis Pilat <denis.pilat@st.com>
3731
3732 * infcmd.c (post_create_inferior): Start with a call to
3d1f72c2 3733 target_terminal_ours.
b79599ff 3734
06f9a1af
MR
37352007-04-17 Maciej W. Rozycki <macro@mips.com>
3736
3737 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
3738 brackets.
3739 (mips_n32n64_push_dummy_call): Likewise. Reformat some
3740 expressions.
3741 (mips_o32_push_dummy_call): Likewise.
3742 (mips_o64_push_dummy_call): Likewise.
3743
ad018eee
MR
37442007-04-17 Maciej W. Rozycki <macro@mips.com>
3745
3746 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
3747 comment.
3748
e914cb17
MR
37492007-04-17 Maciej W. Rozycki <macro@mips.com>
3750
3751 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
3752 comment.
3753 (mips_o32_push_dummy_call): Likewise.
3754
91934273
AS
37552007-04-17 Andreas Schwab <schwab@suse.de>
3756
3757 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
3758 sal to be bigger than the end of the function.
3759
968b5391
MR
37602007-04-17 Maciej W. Rozycki <macro@mips.com>
3761 Nigel Stephens <nigel@mips.com>
3762
3763 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
3764 argument alignment requirements when calculating stack space
3765 required. When aligning an arg register to eight bytes
3766 boundary, align stack_offset too. Write floating-point
3767 arguments to the appropriate integer register if need go there.
3768 (mips_o64_push_dummy_call): Likewise.
3769
e0cd558a
UW
37702007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
3771
3772 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
3773 "sig" arguments, add "regcache" argument.
3774 * gdbarch.c, gdbarch.h: Regenerate.
3775
3776 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
3777 (handle_inferior_event): Call remove_single_step_breakpoints directly
3778 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
3779
3780 * alpha-tdep.c (alpha_software_single_step): Update argument list.
3781 Remove handling of !insert_breakpoints_p case.
3782 * arm-tdep.c (arm_software_single_step): Likewise.
3783 * cris-tdep.c (cris_software_single_step): Likewise.
3784 * mips-tdep.c (mips_software_single_step): Likewise.
3785 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
3786 * sparc-tdep.c (sparc_software_single_step): Likewise.
3787 * spu-tdep.c (spu_software_single_step): Likewise.
3788
3789 * alpha-tdep.h (alpha_software_single_step): Update prototype.
3790 * mips-tdep.h (mips_software_single_step): Likewise.
3791 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
3792 * sparc-tdep.h (sparc_software_single_step): Likewise.
3793
06a86285
UW
37942007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
3795
3796 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
3797 when removing single-step breakpoints.
3798
25d5ea92
VP
37992007-04-14 Vladimir Prus <vladimir@codesourcery.com>
3800
3801 * varobj.h (varobj_set_frozen): New
3802 (varobj_get_frozen): New.
3803 (varobj_update): New parameter explicit.
3804 * varobj.c (struct varobj): New fields frozen
3805 and not_fetched.
3806 (varobj_set_frozen, varobj_get_frozen): New.
3807 (install_new_value): Don't fetch values for
3808 frozen variable object, or children thereof. Allow
3809 a frozen variable object to have non-fetched value.
3810 (varobj_update): Allow updating child variables.
3811 Don't traverse frozen children.
3812 (new_variable): Initialize the frozen field.
3813 (c_value_of_variable): Return NULL for frozen
3814 variable without any value yet.
3815 * mi/mi-cmd-var.c (varobj_update_one): New parameter
3816 'explicit'.
3817 (mi_cmd_var_create): Output the 'frozen' field,
3818 as soon as testsuite is adjusted to expect that field.
3819 (mi_cmd_var_set_frozen): New.
3820 (mi_cmd_var_update): Pass the 'explicit' parameter to
3821 varobj_update_one.
3822 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
3823 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
3824
6e3bbd1a
PB
38252007-04-13 Paul Brook <paul@codesourcery.com>
3826
3827 * target-descriptions.c (tdesc_named_type): Add ieee_single and
3828 ieee_double.
3829 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
3830
ea35711c
DJ
38312007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3832
3833 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
3834 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
3835 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
3836 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
3837 * Makefile.in: Remove references to deleted files.
3838 * README: Do not mention deleted ROM monitor interfaces.
3839 * defs.h (enum language): Delete language_scm.
3840 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
3841 (dump_subexp_body_standard): Likewise.
3842 * parse.c (operator_length_standard): Likewise.
3843 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
3844 * remote-mips.c: Do not include remote-utils.h.
3845 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
3846 throughout.
3847 * value.c: Do not include scm-lang.h.
3848 (unpack_long): Delete scm_unpack call.
3849 * config/h8300/h8300.mt, config/mips/embed.mt,
3850 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
3851 config/sh/embed.mt, config/sh/linux.mt: Remove references to
3852 deleted files.
3853 * NEWS: Mention removed files.
3854
058b9c07
DJ
38552007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3856
3857 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
3858 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
3859
54d61198
DJ
38602007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3861
3862 * NEWS: Mention removal of HP aCC support.
3863
e499d0f1
DJ
38642007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3865
3866 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
3867 first entry for static executables.
3868 (breakpoint_addr): Delete unused variable.
3869 (elf_locate_base): Search for _r_debug in static executables.
3870 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
3871 also.
3872
4d5b2cd7
DJ
38732007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3874
3875 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
3876 (bpstat_what, print_one_breakpoint, allocate_bp_location)
3877 (mention): Remove bp_through_sigtramp support.
3878 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
3879
46d57086
DJ
38802007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3881
3882 * breakpoint.c (bpstat_what): Give step-resume higher priority than
3883 shlib events.
3884
d3169d93
DJ
38852007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3886
3887 * infrun.c: Doc fixes.
3888 (handle_inferior_event): Clarify debug message.
3889 (insert_step_resume_breakpoint_at_sal): Print a debug message.
3890
8c9e4384
UW
38912007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
3892
3893 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
3894
9418f048
UW
38952007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
3896
3897 * config/m68k/tm-monitor.h: Delete file.
3898 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
3899 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
3900 call moved to ...
3901 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
3902 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
3903
e6590a1b
UW
39042007-04-12 Luis Machado <luisgpm@br.ibm.com>
3905
3906 * gdbarch.sh (software_single_step): Change the return type
3907 from void to int and reformatted some comments to <= 80
3908 columns.
3909 * gdbarch.c, gdbarch.h: Regenerated.
3910 * alpha-tdep.c (alpha_software_single_step): Likewise.
3911 * alpha-tdep.h (alpha_software_single_step): Likewise.
3912 * arm-tdep.c (arm_software_single_step): Likewise.
3913 * cris-tdep.c (cris_software_single_step): Likewise.
3914 * mips-tdep.c (mips_software_single_step): Likewise.
3915 * mips-tdep.h (mips_software_single_step): Likewise.
3916 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
3917 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
3918 * sparc-tdep.c (sparc_software_single_step): Likewise.
3919 * sparc-tdep.h (sparc_software_single_step): Likewise.
3920 * spu-tdep.c (spu_software_single_step): Likewise.
3921 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
3922 and act accordingly.
3923
58b38ee2
SE
39242007-04-11 Steve Ellcey <sje@cup.hp.com>
3925
3926 * configure.ac (build_warnings): Add -Wno-char-subscripts.
3927 * configure: Regenerate.
3928 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
3929
70f575cc
JK
39302007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3931
3932 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
3933
d77b6808
JK
39342007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3935
3936 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
3937 macros.
3938 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
3939 distinct on the TYPE_STUB_SUPPORTED debug targets.
3940 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
3941
b0b92586
JB
39422007-04-11 Joel Brobecker <brobecker@adacore.com>
3943
3944 * sparc-tdep.c (X_RS2): New macro.
3945 (sparc_skip_stack_check): New function.
3946 (sparc_analyze_prologue): Adjust PC past stack probing
3947 sequence if necessary.
3948
a489f789
AS
39492007-04-10 Andreas Schwab <schwab@suse.de>
3950
3951 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
3952 register.
3953
b0b13bb4
DJ
39542007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3955
3956 * breakpoint.c (gdb_breakpoint_query): Really return an
3957 enum gdb_rc.
3958 (gdb_breakpoint): Likewise.
3f11755e
DJ
3959 * thread.c (gdb_list_thread_ids): Likewise.
3960 (gdb_thread_select): Likewise.
b0b13bb4
DJ
3961 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
3962 (mi_cmd_thread_list_ids): Remove bogus initialization.
3963
1a92f856
DJ
39642007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3965
3966 * Makefile.in (SFILES): Remove hpacc-abi.c.
3967 (COMMON_OBS): Remove hpacc-abi.o.
3968 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
3969 (hpacc-abi.o, hpread.o): Delete rules.
3970 * somread.c: Delete extern declarations from hpread.c.
3971 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
3972 (som_symfile_finish): Do not call hpread_symfile_finish.
3973 (som_symfile_init): Do not call hpread_symfile_init.
3974 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
3975 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
3976 * hpacc-abi.c, hpread.c: Deleted.
3977
542c95c2
DJ
39782007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3979
3980 * solib-svr4.c (enable_break): Simplify return value.
3981 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
3982
cfaefc65
AS
39832007-04-10 Andreas Schwab <schwab@suse.de>
3984
3985 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
3986 l_ld_size, l_next_size, l_prev_size, l_name_size.
3987
3988 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
3989 to extract addresses from link map.
3990 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
3991 (LM_NEXT): Likewise.
3992 (LM_NAME): Likewise.
3993 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
3994 (elf_locate_base): Likewise.
3995 (open_symbol_file_object): Likewise.
3996 (svr4_fetch_objfile_link_map): Likewise.
3997 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
3998 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
3999 l_ld_size.
4000 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
4001 (svr4_lp64_fetch_link_map_offsets): Likewise.
4002
4003 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
4004 removed members. Set l_ld_offset to -1 if not present.
4005
65cc4390
VP
40062007-04-08 Vladimir Prus <vladimir@codesourcery.com>
4007
4008 Pass stderr of program run with "target remote |"
4009 via gdb_stderr.
4010 * serial.c (serial_open): Set error_fd to -1.
4011 * serial.h (struct serial): New field error_fd.
4012 (struct serial_opts): New field avail.
4013 * ser-pipe.c (pipe_open): Create another pair
4014 of sockets. Pass stderr to gdb.
4015 * ser-mingw.c (pipe_windows_open): Pass
4016 PEX_STDERR_TO_PIPE to pex_run. Initialize
4017 sd->error_fd.
4018 (pipe_avail): New.
4019 (_initialize_ser_windows): Hook pipe_avail.
4020 * ser-base.c (generic_readchar): Check if there's
4021 anything in stderr channel and route that to gdb_stderr.
4022
e9112110
PA
40232007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
4024
4025 * dbxread.c (read_ofile_symtab): Move current_objfile
4026 clearing to after end_stabs.
4027
7f68ac27
AS
40282007-04-01 Andreas Schwab <schwab@suse.de>
4029
4030 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
4031 gdbarch instead of current_gdbarch.
4032
e55dccf0
VP
40332007-04-01 Vladimir Prus <vladimir@codesourcery.com>
4034
4035 * varobj.c (varobj_create): Keep varobj value
4036 NULL when evaluating the type.
4037
7c963485
PA
40382007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
4039
4040 * NEWS: Mention new Windows CE support.
4041
ad527d2e
PA
40422007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
4043
4044 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
4045 the obsoletion stanza.
4046 * NEWS: Mention deleted targets.
4047
4048 * config/sh/tm-wince.h: Remove.
4049 * config/sh/wince.mt: Remove.
4050 * config/mips/tm-wince.h: Remove.
4051 * config/mips/wince.mt: Remove.
4052
4053 * wince.c: Remove.
4054 * wince-stub.c: Remove.
4055 * wince-stub.h: Remove.
4056 * Makefile.in (wince.o): Remove rule.
4057 (wince-stub.o): Likewise.
4058
4059 * mips-tdep.c (mips_next_pc): Make static.
4060 * mips-tdep.h (mips_next_pc): Remove declaration.
4061 * arm-tdep.c (arm_pc_is_thumb): Make static.
4062 (thumb_get_next_pc): Likewise.
4063 (arm_get_next_pc): Likewise.
4064 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
4065 (arm_pc_is_thumb): Likewise.
4066 (thumb_get_next_pc): Likewise.
4067 (arm_get_next_pc): Likewise.
4068
7ce59000
DJ
40692007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4070
4071 * MAINTAINERS: Remove d10v entry.
4072 * Makefile.in (SFILES): Remove dwarfread.c.
4073 (COMMON_OBS): Remove dwarfread.o.
4074 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
4075 (remote-est.o, rom68k-rom.o): Delete.
4076 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
4077 target est, target rom68k, and DWARF 1.
4078 * configure.tgt: Mark d10v as removed.
4079 * dwarf2read.c: Doc update.
4080 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
4081 and lnsize.
4082 (elf_locate_sections): Do not set them.
4083 (elf_symfile_read): Do not call dwarf_build_psymtabs.
4084 * symfile.h (dwarf_build_psymtabs): Delete prototype.
4085 * config/m68k/monitor.mt (TDEPFILES): Prune.
4086 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
4087 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
4088
20389057
DJ
40892007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4090
4091 * doublest.c (convert_floatformat_to_doublest): Use
4092 floatformat_classify.
4093 (floatformat_is_nan): Rename to...
4094 (floatformat_classify): ...this. Return more information.
4095 * doublest.h (enum float_kind): New.
4096 (floatformat_is_nan): Replace prototype...
4097 (floatformat_classify): ...with this one.
4098 * valprint.c (print_floating): Use floatformat_classify. Handle
4099 infinity.
4100
30b50213
DJ
41012007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4102
4103 * README: Mention ISO C library requirement.
4104
8807d78b
DJ
41052007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
4106
4107 * Makefile.in (SFILES): Remove nlmread.c.
4108 (COMMON_OBS): Remove nlmread.o.
4109 (nlmread.o): Delete rule.
4110 * README: Delete reference to remote-st.c.
4111 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
4112 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
4113 GDB_OSABI_LYNXOS.
4114 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
4115 (_initialize_i386_tdep): Do not reference them.
4116 * nlmread.c: Delete file.
4117 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
4118 * target.c: Doc update.
4119 * thread.c: Delete commented include.
4120 * config/alpha/tm-alpha.h: Doc update.
4121
ced572fe
MR
41222007-03-30 Chris Dearman <chris@mips.com>
4123
4124 * utils.c (string_to_core_addr): Comment typo.
4125
8a9fc081
MR
41262007-03-30 Chris Dearman <chris@mips.com>
4127
4128 * mips-tdep.c: Comment typo.
4129
5f402660
UW
41302007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
4131
4132 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
4133 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
4134 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
4135 * config/powerpc/nm-ppc64-linux.h: Remove file.
4136 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
4137 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
4138 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
4139 * infptrace.c (call_ptrace): Likewise.
4140 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
4141 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
4142 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
4143 (store_register): Likewise.
4144
bbf90c81
JB
41452007-03-29 Joel Brobecker <brobecker@adacore.com>
4146
4147 * Makefile.in (varobj.o): Add missing dependency.
4148
243c053b
MS
41492007-03-29 Michael Snyder <msnyder@access-company.com>
4150
4151 * MAINTAINERS: Update my email address.
4152
0259addd
JB
41532007-03-29 Joel Brobecker <brobecker@adacore.com>
4154
4155 Add support for exception handling with multiple versions of
4156 the Ada runtime:
4157 * ada-lang.c: Update general comments on how Ada exception catchpoints
4158 are implemented.
4159 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
4160 (__gnat_raise_nodefer_with_msg): Delete.
4161 (ada_unhandled_exception_name_addr_ftype): New type.
4162 (exception_support_info): New type.
4163 (ada_unhandled_exception_name_addr): Add forward declaration.
4164 (ada_unhandled_exception_name_addr_from_raise): Likewise.
4165 (default_exception_support_info): New constant.
4166 (exception_support_info_fallback): Likewise.
4167 (exception_info): New global variable.
4168 (ada_exception_support_info_sniffer): New function.
4169 (ada_executable_changed_observer): Likewise.
4170 (ada_unhandled_exception_name_addr_from_raise): Renamed from
4171 ada_unhandled_exception_name_addr.
4172 (ada_unhandled_exception_name_addr): Reimplement to match the
4173 latest Ada runtime implementation.
4174 (error_breakpoint_runtime_sym_not_found): Delete.
4175 (ada_exception_sym_name): Get the exception sym name from
4176 exception_info rather than hardcoding it.
4177 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
4178 Update error handling.
4179 * Makefile.in (ada-lang.o): Add dependency on observer.h.
4180
483367ee
DJ
41812007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
4182
4183 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
4184 (remote-st.o, uw-thread.o): Delete.
4185 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
4186 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
4187 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
4188 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
4189 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
4190 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
4191 rs6000-*-lynxos* to an obsoletion stanza.
4192 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
4193 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
4194 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
4195 i[34567]86-*-netware*.
4196 * NEWS: Mention deleted targets.
4197
4198 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
4199 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
4200 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
4201 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
4202 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
4203 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
4204 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
4205 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
4206 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
4207 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
4208 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
4209 config/rs6000/tm-rs6000ly.h: Delete files.
4210
3adda9d8
DJ
42112007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
4212
4213 * defs.h (deprecated_registers_changed_hook): Delete declaration.
4214 * interps.c (clear_interpreter_hooks): Do not clear
4215 deprecated_registers_changed_hook.
4216 * regcache.c (registers_changed): Do not call it.
4217 * top.c (deprecated_registers_changed_hook): Do not define it.
4218 * mi/mi-interp.c (mi_command_loop): Do not clear it.
4219 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
4220 (tui_remove_hooks): Do not remove it.
4221 (tui_selected_frame_level_changed_hook): Check for negative level.
4222 Use get_selected_frame.
4223 (tui_registers_changed_hook): Deleted.
4224
bf362611
JB
42252007-03-29 Joel Brobecker <brobecker@adacore.com>
4226
4227 * stabsread.c (add_undefined_type): Add extra parameter.
4228 Now handles nameless types separately.
4229 (struct nat): New type.
4230 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
4231 New static variables.
4232 (read_type): Update calls to add_undefined_type.
4233 (add_undefined_type_noname): New function.
4234 (add_undefined_type_1): Renames from add_undefined_type.
4235 (cleanup_undefined_types_noname): New function.
4236 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
4237 (cleanup_undefined_types): New handles nameless types separately.
4238 (_initialize_stabsread): Initialize our new static constants.
4239
436868fb
DP
42402007-03-29 Denis Pilat <denis.pilat@st.com>
4241
4242 * configure.ac: Test for signal.h.
4243 * configure, config.in: Regenerate.
4244
aaf9e9fd
DP
42452007-03-29 Denis Pilat <denis.pilat@st.com>
4246
4247 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
4248 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
4249
68070c10
PA
42502007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
4251
4252 * arm-wince-tdep.c: New.
4253 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
4254 (MT_CFLAGS): Delete.
4255 (TM_CLIBS): Delete.
4256 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
4257 solib-legacy.o, solib-svr4.o, and remove wince.o.
4258 * configure.tgt (arm*-*-mingw32ce*): Add.
4259 * signals/signals.c [HAVE_SIGNAL_H]: Check.
4260 (do_target_signal_to_host): Silence 'not used' warning.
4261 * config/arm/tm-wince.h: Remove.
4262
74174d2e
UW
42632007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
4264
4265 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
4266 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
4267
4268 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
4269 * config/ia64/tm-linux.h: Remove file.
4270 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
4271 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
4272 legacy_pc_in_sigtramp.
4273 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
4274 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
4275 Remove func_name argument.
4276 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
4277
4278 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
4279 * target.c (update_current_target): Add to_have_steppable_watchpoint.
4280 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
4281 (HAVE_STEPPABLE_WATCHPOINT): Define.
4282
4283 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
4284 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
4285 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
4286 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
4287 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
4288 target_insert_watchpoint, target_remove_watchpoint): Remove.
4289 (FETCH_INFERIOR_REGISTERS): Define.
4290 * ia64-linux-nat.c (ia64_register_addr): Make static.
4291 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
4292 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
4293 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
4294 (ia64_linux_stopped_data_address): Make static. Add target_ops.
4295 (ia64_linux_stopped_by_watchpoint): Make static.
4296 (ia64_linux_can_use_hw_breakpoint): New function.
4297 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
4298 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
4299 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
4300
53c5240f
PA
43012007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
4302
4303 * linespec.c: Include language.h.
4304 (find_methods): Add language parameter. Call
4305 lookup_symbol_in_language. Pass language down.
4306 (add_matching_methods): Likewise. Call
4307 lookup_symbol_in_language.
4308 (add_constructors): Likewise.
4309 (find_method): Pass sym_class to collect_methods.
4310 (collect_methods): Add sym_class parameter. Pass language
4311 down.
4312 * symtab.c (lookup_symbol): Rename to ...
4313 (lookup_symbol_in_language): ... this. Add language
4314 parameter. Use passed language instead of current_language.
4315 (lookup_symbol): New as wrapper around
4316 lookup_symbol_in_language.
4317 (lookup_symbol_aux): Add language parameter. Use passed
4318 language instead of current_language.
4319 (search_symbols): Indent.
4320 * symtab.h (enum language): Forward declare.
4321 (lookup_symbol_in_language): Declare.
4322 (lookup_symbol): Update description.
4323 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
4324 * ada-lang.c (restore_language): Remove.
4325 (lookup_symbol_in_language): Remove.
4326
8671a17b
PA
43272007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
4328
4329 * breakpoint.c (bpstat_num): Add int *num parameter.
4330 * breakpoint.h (bpstat_num): Likewise.
4331 * infcmd.c (continue_command): Adjust to new bpstat_num
4332 interface.
4333 (program_info): Likewise.
4334
214197f9
UW
43352007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
4336
4337 * config/sh/tm-sh.h: Remove file.
4338 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
4339 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
4340 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
4341 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
4342
bac718a6
UW
43432007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
4344
4345 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
4346 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
4347 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
4348 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
4349 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
4350 sequence if target_shortname is "remote".
4351
de6a76fd
DJ
43522007-03-27 Anton Blanchard <anton@samba.org>
4353
4354 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
4355 instead of wordsize when looking for the LR in a stack frame.
4356
4fc771b8
DJ
43572007-03-27 Andreas Schwab <schwab@suse.de>
4358 Daniel Jacobowitz <dan@codesourcery.com>
4359
4360 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
4361 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
4362 argument. Update all callers.
4363 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
4364 (dwarf2_frame_set_eh_frame_regnum): Rename to...
4365 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
4366 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
4367 (dwarf2_frame_set_adjust_regnum): ...this.
4368 (dwarf2_frame_eh_frame_regnum): Delete prototype.
4369 * rs6000-tdep.c: Include "dwarf2-frame.h".
4370 (rs6000_adjust_frame_regnum): Define.
4371 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
4372 Register rs6000_adjust_frame_regnum.
4373
4374 * Makefile.in (rs6000-tdep.o): Update dependencies.
4375
9453113a
DJ
43762007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
4377
4378 * Makefile.in: Add support for a "pdf" target.
4379
d2449ee8
DJ
43802007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
4381
4382 * amd64-tdep.c (amd64_init_frame_cache): New function.
4383 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
4384
a72d8a8e
MR
43852007-03-26 Nigel Stephens <nigel@mips.com>
4386 Maciej W. Rozycki <macro@mips.com>
4387
4388 * ui-out.c (ui_out_field_core_addr): Truncate address to
4389 TARGET_ADDR_BIT size before printing.
4390
5200c3f3 43912007-03-22 Nigel Stephens <nigel@mips.com>
a72d8a8e 4392 Maciej W. Rozycki <macro@mips.com>
5200c3f3
L
4393
4394 * remote-mips.c (mips_xfer_memory): Update prototype.
4395
16708cba
JB
43962007-03-22 Joel Brobecker <brobecker@adacore.com>
4397
4398 * symfile.h: #include "symtab.h"
4399
0fe514e3
DP
44002007-03-22 Denis Pilat <denis.pilat@st.com>
4401
4402 * utils.c (pagination_on_command, pagination_off_command):
4403 Remove useless prototypes.
4404
4a52dc15
PM
44052007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
4406
4407 Fix PR pascal/2232.
4408 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
4409 instead of TYPE_NAME for object base class name.
4410
4411
1c86fa97
KB
44122007-03-19 Kevin Buettner <kevinb@redhat.com>
4413
4414 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
4415 Specify frame type in calls to frame_func_unwind().
4416
4e463ff5
DJ
44172007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
4418
4419 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
4420 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
4421 (refine_prologue_limit): Delete.
4422 (skip_prologue): Don't call it. Use extract_unsigned_integer.
4423 Assume lim_pc is set. Correct check for incomplete prologues.
4424 Do not skip clobbers of the frame pointer.
4425 * symtab.c (skip_prologue_using_sal): Fail if there is only one
4426 sal.
4427
348473d5
NF
44282007-03-13 Nathan Froyd <froydnj@codesourcery.com>
4429
4430 * frame.c (frame_pop): Check to see whether there's a frame to
4431 which we can pop first.
4432
a2f9cf0d
NF
44332007-03-13 Nathan Froyd <froydnj@codesourcery.com>
4434
4435 * MAINTAINERS (Write After Approval): Add myself.
4436
569631c6
UW
44372007-03-09 Markus Deuling <deuling@de.ibm.com>
4438
4439 * infrun.c (breakpoints_failed): Remove unnecessary variable.
4440 (handle_inferior_event): Remove unnecessary braces.
4441 * breakpoint.c (bpstat_what): Remove wrong comment.
4442
fe5febed
UW
44432007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
4444
4445 * spu-tdep.c (spu_in_function_epilogue_p): New function.
4446 (spu_gdbarch_init): Install it.
4447
9dea8ca2
UW
44482007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
4449
4450 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
4451 object types, not 0.
4452
7b3dc0b7
UW
44532007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
4454
4455 * spu-tdep.c (spu_frame_align): New function.
4456 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
4457
118dfbaf
UW
44582007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
4459
4460 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
4461 (spu_software_single_step): Likewise.
4462 (spu_read_pc, spu_write_pc): New functions.
4463 (spu_gdbarch_init): Install them.
4464
29e4017d
UW
44652007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
4466
4467 * cli/cli-dump.c (struct callback_data): load_offset needs to
4468 have signed long type.
4469
6de5b849
JB
44702007-03-07 Joel Brobecker <brobecker@adacore.com>
4471
4472 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
4473 Revert the previous change that had some unexpected side-effects
4474 on mips32.
4475 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
4476 function to get the address of the calling instruction.
4477
7490ba4f
DP
44782007-03-07 Denis Pilat <denis.pilat@st.com>
4479
4480 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
4481 get_selected_frame by deprecated_safe_get_selected_frame.
4482
861fb77c
MK
44832007-03-02 Mark Kettenis <kettenis@gnu.org>
4484
4485 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
4486 "gdb_string.h". Don't include "nbsd-tdep.h".
4487 (SIZEOF_STRUCT_REG): Remove.
4488 (SHNBSD_SIZEOF_GREGS): New.
4489 (shnbsd_supply_gregset, shnbsd_collect_gregset)
4490 (shnbsd_regset_from_core_section): New functions.
4491 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
4492 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
4493 shnbsd_supply_gregset, shnbsd_collect_gregset.
4494 (shnbsd_gregset): New variable.
4495 (shnbsd_init_abi): Set regset_from_core_section.
4496 (GDB_OSABI_NETBSD_CORE): New define.
4497 (shnbsd_core_osabi_sniffer): New function.
4498 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
4499 * Makefile.in (shnbsd-tdep.o): Update dependencies.
4500 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
4501 nbsd-tdep.o.
4502 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
4503
787cbe14
JB
45042007-02-28 Joel Brobecker <brobecker@adacore.com>
4505
4506 * gdbtypes.c (replace_type): Fix typo that caused us to not update
4507 length of the types referenced by the new type CV ring.
4508
35f196d9
DJ
45092007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
4510
4511 * frame.c (frame_pop, frame_observer_target_changed): Call
4512 reinit_frame_cache.
4513 (flush_cached_frames): Rename to reinit_frame_cache and delete
4514 old implementation.
4515 * frame.h (flush_cached_frames): Delete prototype and update comment.
4516
4517 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
4518 reinit_frame_cache instead of flush_cached_frames. Do not call
4519 select_frame after reinit_frame_cache.
4520 * corelow.c (core_open): Likewise.
4521 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
4522 * infrun.c (prepare_to_proceed, context_switch)
4523 (handle_inferior_event): Likewise.
4524 * linux-fork.c (fork_load_infrun_state): Likewise.
4525 * ocd.c (ocd_start_remote): Likewise.
4526 * remote-e7000.c (e7000_start_remote): Likewise.
4527 * remote-mips.c (device): Likewise.
4528 * thread.c (switch_to_thread): Likewise.
4529 * tracepoint.c (finish_tfind_command): Likewise.
4530 * gdbarch.c: Regenerated.
4531
c26f2453
JB
45322007-02-28 Jerome Guitton <guitton@adacore.com>
4533 Joel Brobecker <brobecker@adacore.com>
4534
4535 * gdbtypes.c (check_typedef): Do not replace stub type if
4536 the resolved type is not defined in the same objfile.
4537
7d900f1a
DJ
45382007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
4539
4540 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
4541
76038652 45422007-02-28 Joel Brobecker <brobecker@adacore.com>
52eea4ce
JB
4543
4544 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
4545 symbol for Ada units when the symbol is defined using 't' rather
4546 than 'Tt' as symbol descriptor.
4547
d74fb156 45482007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1344afe0
UW
4549
4550 * config/mips/tm-nbsd.h: Delete file.
4551 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
4552 * config/sh/tm-nbsd.h: Delete file.
4553 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
4554
f8d225db
JB
45552007-02-28 Joel Brobecker <brobecker@adacore.com>
4556
4557 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
4558 unused WRONG_PARAM value since it was recently deleted.
4559
1bbfb19a
NR
45602007-02-28 Vladimir Prus <vladimir@codesourcery.com>
4561
4562 * varobj.c (varobj_update): Free temporary vectors.
4563
6f7f3f0d
UW
45642007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
4565
4566 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
4567 * config/powerpc/tm-linux.h: Delete file.
4568 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
4569 (PROCESS_LINENUMBER_HOOK): Do not undefine.
4570 (TEXT_SEGMENT_BASE): Do not redefine.
4571 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
4572 from config/rs6000/tm-rs6000.h.
4573 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
4574 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
4575 (TEXT_SEGMENT_BASE): Remove.
4576 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
4577 (rs6000_in_solib_return_trampoline): Remove.
4578 (SKIP_TRAMPOLINE_CODE): Remove.
4579 (rs6000_skip_trampoline_code): Remove.
4580 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
4581 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
4582 (FP0_REGNUM): Remove.
4583 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
4584 (rs6000_set_host_arch_hook): Remove.
4585 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
4586 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
4587 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
4588 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
4589 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
4590 * rs6000-nat.c: Include "rs6000-tdep.h".
4591 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
4592 (set_host_arch): Rename to ...
4593 (rs6000_create_inferior): ... this. Make public.
4594 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
4595 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
4596 (rs6000_create_inferior): Remove.
4597 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
4598 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
4599 set_gdbarch_in_solib_return_trampoline, and
4600 set_gdbarch_skip_trampoline_code.
4601 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
4602 from config/rs6000/tm-rs6000.h.
4603
63050a44 46042007-02-27 Joel Brobecker <brobecker@adacore.com>
05279ca0
JB
4605
4606 * buildsym.c (record_producer): Do nothing if no producer is provided.
4607
63050a44 46082007-02-27 Nick Roberts <nickrob@snap.net.nz>
e0b75a46
NR
4609
4610 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
4611 to check changelist is non-NULL. Call error if the frontend tries
4612 to update a non-root variable.
4613
4614 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
4615
93d42b30
DJ
46162007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
4617
4618 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
4619 (dwarf2_frame_sniffer): Update.
4620 (dwarf2_signal_frame_this_id): New function.
4621 (dwarf2_signal_frame_unwind): Use it.
4622 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
4623 * frame.c (frame_func_unwind): Add this_type argument.
4624 (get_frame_func): Update.
4625 (frame_unwind_address_in_block): Add this_type argument and check it.
4626 Fix a typo.
4627 (get_frame_address_in_block): Update.
4628 * frame.h (enum frame_type): Move higher in the file.
4629 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
4630 argument.
4631
4632 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
4633 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
4634 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
4635 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
4636 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
4637 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
4638 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
4639 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
4640 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
4641 frame_func_unwind and frame_unwind_address_in_block to specify
4642 the frame type. Use frame_unwind_address_in_block instead of
4643 frame_pc_unwind in sniffers.
4644
206415a3
DJ
46452007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
4646
4647 * frame.c (deprecated_selected_frame): Rename to...
4648 (selected_frame): ...this. Make static.
4649 (get_selected_frame, select_frame): Update.
4650 * frame.h (deprected_select_frame): Delete.
4651 (deprecated_safe_get_selected_frame): Update comments.
4652
4653 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
4654 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
4655 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
4656 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
4657 tui/tui.c: Replace references to deprecated_selected_frame.
4658
7313566f
FF
46592007-02-27 Fred Fish <fnf@specifix.com>
4660
4661 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
4662 directly decrement the stack pointer, accumulate their operand into
4663 the stack offset, and mark the function as not being frameless.
4664
b6d373df
DJ
46652007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4666
4667 * arch-utils.c (selected_byte_order): New.
4668 * arch-utils.h (selected_byte_order): New prototype.
4669 * remote-sim.c (gdbsim_open): Use selected_byte_order.
4670
2711e456
DJ
46712007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4672
4673 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
4674 (default_symfile_offsets): Check VMA here. Update section VMAs.
4675
baef701f
DJ
46762007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4677
4678 * remote.c (init_remote_state): Add special handling for placeholder
4679 registers.
4680
05a4558a
DJ
46812007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4682
4683 * Makefile.in (XMLFILES): Include $(TDEP_XML).
4684 (filenames_h): New variable.
4685 (clean): Clean up xml-builtin.c and stamp-xml.
4686 (arm-linux-nat.o): Update.
4687 * config/arm/linux.mh (TDEP_XML): Define.
4688 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
4689 (arm_linux_has_wmmx_registers): New.
4690 (GET_THREAD_ID): Fix typo.
4691 (IWMMXT_REGS_SIZE): Define.
4692 (fetch_wmmx_regs, store_wmmx_regs): New.
4693 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
4694 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
4695 (super_xfer_partial, arm_linux_xfer_partial): New.
4696 (_initialize_arm_linux_nat): Use them.
4697 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
4698 (xml_builtin_xfer_partial): New function.
4699 * xml-support.h (xml_builtin_xfer_partial): New prototype.
4700 * NEWS: Update mention of iWMMXt support.
4701
ff6f572f
DJ
47022007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
4703
4704 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
4705 if there are no FPA registers.
4706 (arm_dwarf_reg_to_regnum): New function.
4707 (arm_register_type, arm_register_name): Return minimal values for
4708 unsupported registers.
4709 (arm_register_sim_regno): Handle iWMMXt registers.
4710 (arm_gdbarch_init): Record missing FPA registers if indicated by
4711 a target description. Recognize iWMMXt registers. Only register
4712 "info float" for FPA. Use ARM_NUM_REGS. Register
4713 arm_dwarf_reg_to_regnum.
4714 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
4715 constants.
4716 (struct gdbarch_tdep): Add have_fpa_registers.
4717 * features/xscale-iwmmxt.xml: Update capitalization.
4718 * regformats/arm-with-iwmmxt.dat: Regenerated.
4719
c077150c
KB
47202007-02-24 Kevin Buettner <kevinb@redhat.com>
4721
4722 * NEWS (New targets): Add entry for the Toshiba Media Processor.
4723
01c996c1
KB
47242007-02-23 Kevin Buettner <kevinb@redhat.com>
4725
4726 * MAINTAINERS (mep): New target.
4727
aeb43123
KB
47282007-02-23 Kevin Buettner <kevinb@redhat.com>
4729
4730 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
4731 Richard Sandiford:
4732 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
4733 (mep-tdep.o): New rule.
4734 * configure.tgt (mep-*-*): New target.
4735 * mep-tdep.c: New file.
4736 * config/mep/mep.mt: New file.
4737
115d86cf
UW
47382007-02-22 Markus Deuling <deuling@de.ibm.com>
4739
4740 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
4741 BREAKPOINT_HIT and STOP_UNKNOWN.
4742
fef862e5
UW
47432007-02-22 Markus Deuling <deuling@de.ibm.com>
4744
4745 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
4746
9a7d5afb
JB
47472007-02-20 Joel Brobecker <brobecker@adacore.com>
4748
4749 * gdb_expat.h (XMLCALL): Define if not already defined.
4750
81de920d
AS
47512007-02-20 Andreas Schwab <schwab@suse.de>
4752
4753 * Makefile.in (symfile.o): Update dependencies.
4754
cb5c8c39
DJ
47552007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
4756
4757 * MAINTAINERS: Disable -Werror for cris simulator. Build
4758 sparc64-solaris2.10 instead of the broken sparc-elf.
4759 * solib-frv.c: Include "solib.h".
4760 * Makefile.in (solib-frv.o): Update.
4761 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
4762 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
4763 (xtensa_frame_this_id, xtensa_frame_prev_register)
4764 (xtensa_push_dummy_call): Use %p.
4765
e6bb342a
DJ
47662007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4767
4768 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
4769 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
4770 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
4771 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
4772 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
4773 (sparc-linux-tdep.o): Update.
4774
ff7a4c00
MG
47752007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
4776
4777 * xtensa-tdep.h (xtensa_reg_mask_t): New.
4778 (xtensa_mask_t): Change mask field to be a separate array.
4779 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
4780 (xtensa_pseudo_register_write, xtensa_unwind_pc)
4781 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
4782 (xtensa_breakpoint_from_pc): Remove implicit type casting.
4783 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
4784 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
4785 (mask14, mask15): Rename to
4786 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
4787 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
4788 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
4789 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
4790 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
4791 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
4792 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
4793 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
4794 (xtensa_submask14, xtensa_submask15): New.
4795 (rmap): Follow strict aliasing rules doing static initialization.
4796
d9cc5895
DJ
47972007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
4798
4799 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
4800 handling from here...
4801 (tdesc_register_type): ...to here.
4802 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
4803 * features/arm-core.xml: Use code_ptr and data_ptr.
4804
8756216b
DP
48052007-02-13 Denis Pilat <denis.pilat@st.com>
4806
4807 * varobj.h (enum varobj_update_error): New enum.
4808 * varobj.c (struct varobj_root): Add is_valid member.
4809 (varobj_get_type): Check for invalid varobj.
4810 (varobj_get_attributes): Likewise.
4811 (variable_editable):Likewise.
4812 (varobj_update): Likewise. Use varobj_update_error.
4813 (new_root_variable): Set root varobj as valid by default.
4814 (varobj_invalidate): New function.
4815 * symfile.c (clear_symtab_users): Use varobj_invalidate.
4816 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
4817 Use varobj_update_error.
4818
fe8e67fd
PM
48192007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
4820
4821 Fix PR pascal/2223.
4822 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
4823 Pascal language marker.
4824 * dwarf2read.c (set_cu_language): Likewise.
4825
c44537cf
CV
48262007-02-12 Corinna Vinschen <vinschen@redhat.com>
4827
4828 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
4829 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
4830 instead of target_terminal_init since inferior_ptid isn't set yet.
4831
20dad8ea
PA
48322007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
4833
4834 * MAINTAINERS (Write After Approval): Add myself.
4835
4ac94eda
FF
48362007-02-09 Fred Fish <fnf@specifix.com>
4837
4838 Based on work by Apple Computer, Inc.
4839 * event-top.c (async_request_quit): Call quit() whenever either
4840 quit_flag is set or immediate_quit is set.
4841
b260b6c1
GDR
48422007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
4843
4844 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
4845 type to a pointer to const struct block.
4846 (ada_lookup_symbol_list): Don't cast away constness when calling
4847 remove_out_of_scope_renamings.
4848
48492007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
4850
4851 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
4852 address of 'filename'; it is always non null.
4853
0f5d55d8
JB
48542007-02-09 Joel Brobecker <brobecker@adacore.com>
4855
4856 * exec.c (add_to_section_table): Do not discard empty sections.
4857
fb1e4ffc
DJ
48582007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4859
4860 * features/Makefile, features/arm-with-iwmmxt.xml,
4861 features/gdbserver-regs.xsl, features/number-regs.xsl,
4862 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
4863 * regformats/arm-with-iwmmxt.dat: Generate.
4864 * NEWS: Mention iWMMXt.
4865
123dc839
DJ
48662007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4867
4868 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
4869 (xml-tdesc.o): Update.
4870 * xml-support.c: Add a comment.
4871 (gdb_xml_enums_boolean): New variable.
4872 (gdb_xml_parse_attr_enum): Use strcasecmp.
4873 * xml-support.h (gdb_xml_enums_boolean): Declare.
4874 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
4875 next_regnum, and current_union.
4876 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
4877 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
4878 (field_attributes, union_children, reg_attributes, union_attributes)
4879 (vector_attributes, feature_attributes, feature_children): New.
4880 (target_children): Make static. Add <feature>.
4881 (tdesc_elements): Make static.
4882 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
4883 (struct tdesc_feature, tdesc_feature_p): New types.
4884 (struct target_desc): Add features member.
4885 (struct tdesc_arch_data, tdesc_data): New.
4886 (target_find_description): Clarify error message. Warn about
4887 ignored register descriptions.
4888 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
4889 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
4890 (tdesc_data_cleanup, tdesc_numbered_register)
4891 (tdesc_numbered_register_choices, tdesc_find_register)
4892 (tdesc_register_name, tdesc_register_type)
4893 (tdesc_remote_register_number, tdesc_register_reggroup_p)
4894 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
4895 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
4896 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
4897 (tdesc_create_feature, tdesc_record_type): New.
4898 (free_target_description): Free features.
4899 (_initialize_target_descriptions): Initialize tdesc_data.
4900 * arch-utils.c (default_remote_register_number): New.
4901 * arch-utils.h (default_remote_register_number): New prototype.
4902 * target-descriptions.h (set_tdesc_pseudo_register_name)
4903 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
4904 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
4905 (tdesc_numbered_register, tdesc_numbered_register_choices)
4906 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
4907 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
4908 (tdesc_create_reg): Declare.
4909 * gdbarch.sh (remote_register_number): New entry.
4910 * gdbarch.c, gdbarch.h: Regenerate.
4911 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
4912 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
4913
4914 * arm-tdep.c (arm_register_aliases): New.
4915 (arm_register_name_strings): Rename to...
4916 (arm_register_names): ...this. Make const. Delete the old version.
4917 (current_option, arm_register_byte): Delete.
4918 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
4919 (value_of_arm_user_reg): New.
4920 (arm_gdbarch_init): Verify any described registers. Call
4921 tdesc_use_registers. Don't use arm_register_byte. Create aliases
4922 for standard register names.
4923 (_initialize_arm_tdep): Do not adjust arm_register_names.
4924 * user-regs.c (struct user_reg): Add baton member.
4925 (append_user_reg, user_reg_add_builtin, user_regs_init)
4926 (user_reg_add, value_of_user_reg): Use a baton for user
4927 register functions.
4928 * std-regs.c: Update.
4929 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
4930 (user_reg_add): Add baton argument.
4931 * NEWS: Mention target description register support.
4932 * features/arm-core.xml, features/arm-fpa.xml: New.
4933 * eval.c (evaluate_subexp_standard): Allow ptype $register
4934 when the program is not running.
4935
87604222
NR
49362007-02-09 Nick Roberts <nickrob@snap.net.nz>
4937
4938 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
4939
ee4f0f76
DJ
49402007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
4941
4942 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
4943 info->disassembler_options to "any".
4944
7af9851d
DJ
49452007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4946
4947 * varobj.c (install_new_value): Only call value_get_print_value
4948 if changeable.
4949
8944021f
DJ
49502007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4951
4952 Reported by timeless@gmail.com:
4953 * gdb/target.c (target_flash_erase): Do not return void value.
4954 (target_flash_done): Likewise.
4955 * gdb/cli/cli-cmds.c (source_command): Likewise.
4956
49572007-02-08 Fred Fish <fnf@specifix.com>
5f960e00 4958
4ac94eda 4959 Based on work by Apple Computer, Inc.
5f960e00
FF
4960 * event-top.c (handle_sigint): Set quit_flag.
4961 (async_request_quit): Don't set quit_flag. Avoid calling quit()
4962 if quit_flag has already been reset.
4963
4998c1df
DJ
49642007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4965
4966 * ser-mingw.c (pipe_windows_close): Move variable initialization back
4967 up.
4968
79da184e
FF
49692007-02-08 Fred Fish <fnf@specifix.com>
4970
4971 * defs.h (request_quit): Remove declaration.
4972 * utils.c (request_quit): Remove definition.
4973
3c77c82a
DJ
49742007-02-08 Joel Brobecker <brobecker@gnat.com>
4975 Jan Kratochvil <jan.kratochvil@redhat.com>
4976 Daniel Jacobowitz <dan@codesourcery.com>
4977
4978 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
4979 (skip_prologue): Allow bl->blrl used by PIC code.
4980
c1b6e682
DJ
49812007-02-08 Mark Kettenis <kettenis@gnu.org>
4982 Daniel Jacobowitz <dan@codesourcery.com>
4983
4984 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
4985 initialize tmp_obstack.
4986 * p-valprint.c (pascal_object_print_value_fields)
4987 (pascal_object_print_value): Likewise.
4988
fe5dedf4
DJ
49892007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4990
4991 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
4992
3e461478
MK
49932007-02-08 Mark Kettenis <kettenis@gnu.org>
4994
4995 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
4996 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
4997
fc6e0168
DJ
49982007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
4999
5000 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
5001 (xml_cache): New.
5002 (tdesc_parse_xml): Cache expanded descriptions.
5003
108546a0
DJ
50042007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
5005
5006 * Makefile.in (XMLFILES): New.
5007 (COMMON_OBS): Add xml-builtin.o.
5008 (xml-builtin.c, stamp-xml): New rules.
5009 (xml-tdesc.o): Update.
5010 * features/feature_to_c.sh: New file.
5011 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
5012 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
5013 (gdb_xml_start_element): Initialize scope after possibly reallocating
5014 scopes. Move cleanup later. Handle the XInclude description
5015 specially.
5016 (gdb_xml_end_element): Only parse the body if there is a current element.
5017 Call XML_DefaultCurrent if there is no element.
5018 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
5019 (struct xinclude_parsing_data, xinclude_start_include)
5020 (xinclude_end_include, xml_xinclude_default)
5021 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
5022 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
5023 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
5024 * xml-support.h (xml_fetch_another, xml_process_xincludes)
5025 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
5026 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
5027 XInclude directives. Use the compiled in DTD.
5028 (fetch_xml_from_file): Add baton argument. Treat it as a containing
5029 directory name. Do not warn here.
5030 (file_read_description_xml): Update call. Warn here instead. Pass
5031 a dirname as baton.
5032 (fetch_available_features_from_target): New.
5033 (target_read_description_xml): Use it.
5034 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
5035 to handle XInclude.
5036 * features/xinclude.dtd: New file.
5037
b5057acd
DJ
50382007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
5039
5040 * linux-thread-db.c (check_for_thread_db): Return early if we have
5041 no libthread_db support.
5042
6a089cf2
DJ
50432007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
5044
5045 * mi/mi-parse.h: Include <sys/time.h>.
5046
9fbcbb40
NR
50472007-02-05 Nick Roberts <nickrob@snap.net.nz>
5048
5049 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
5050 instead of print_variable_value to print values.
5051
b3d2152a
NR
50522007-02-03 Nick Roberts <nickrob@snap.net.nz>
5053
5054 * mi/mi-main.c: Numerous formatting changes.
5055 (mi_cmd_data_write_register_values): Replace clause inadvertantly
5056 removed in my previous change.
5057
79f0a97a
NR
50582007-02-03 Eli Zaretskii <eliz@gnu.org>
5059
5060 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
5061 Use 1000000L instead of 1000000.
5062
95a98c01 50632007-02-03 Nick Roberts <nickrob@snap.net.nz>
cd375699
NR
5064
5065 Based on work by Apple Computer, Inc.
5066
5067 * configure.ac: Test for sys/resource.h and getrusage.
5068 * configure, config.in: Regenerate.
5069
5070 * mi/mi-main.c: Include <sys/resource.h> if present.
5071 (rusage): Declare if HAVE_GETRUSAGE.
5072 (current_command_ts, do_timings): New static variables.
5073 (timestamp, print_diff_now, print_diff, timeval_diff):
5074 New static timing functions.
5075 (mi_cmd_enable_timings): New function for new MI command.
5076 (captured_mi_execute_command, mi_execute_async_cli_command):
5077 Call timing functions.
5078
5079 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
5080 -enable-timings.
5081
5082 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
5083
5084 * mi/mi-parse.h: (mi_timestamp): New structure.
5085 (mi_parse): Add mi_timestamp* member.
5086
99b3d574
DP
50872007-02-02 Denis Pilat <denis.pilat@st.com>
5088
5089 * thread.c (make_cleanup_restore_current_thread): New function.
5090 (info_threads_command): Use of make_cleanup_restore_current_thread
5091 to restore the current thread and the selected frame.
5092 (restore_selected_frame): New function.
5093 (struct current_thread_cleanup): Add frame_id field.
5094 (do_restore_current_thread_cleanup): Add restoring of the selected
5095 frame.
5096 (make_cleanup_restore_current_thread): Likewise.
5097 (thread_apply_all_command): backup the selected frame while
5098 entering the function and restore it at exit.
5099 (thread_apply_command): Likewise.
5100
d3c598de
DP
51012007-02-02 Denis Pilat <denis.pilat@st.com>
5102
5103 * MAINTAINERS (Write After Approval): Add myself to the list.
5104
b69733ab 51052007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3e41d55f
KI
5106
5107 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
5108 (m32r_store_register): Ditto.
5109
b69733ab 51102007-01-30 Vladimir Prus <vladimir@codesourcery.com>
ef7723eb
VP
5111
5112 * ser-mingw.c (pipe_windows_open)
5113 (pipe_windows_read, pipe_windows_write): Declare
5114 variables at the top of the function.
5115
8da61cc4
DJ
51162007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5117
5118 * doublest.c (floatformat_from_length): Use the right element from
5119 gdbarch floatformats.
5120 (floatformat_from_type, extract_typed_floating)
5121 (store_typed_floating): Likewise.
5122 * doublest.h: Remove declarations for undefined floatformat arrays.
5123 * gdbarch.sh (float_format, double_format, long_double_format): Change
5124 to pairs.
5125 (pformat): Update for pairs.
5126 * gdbarch.c, gdbarch.h: Regenerated.
5127 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
5128 (floatformats_ieee_double_littlebyte_bigword)
5129 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
5130 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
5131 (floatformats_vax_d): New variables.
5132 (builtin_type_ieee_single, builtin_type_ieee_double)
5133 (builtin_type_arm_ext, builtin_type_ia64_spill)
5134 (builtin_type_ia64_quad): Replace arrays with individual types.
5135 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
5136 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
5137 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
5138 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
5139 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
5140 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
5141 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
5142 unused and endian-specific types.
5143 (recursive_dump_type): Update for floatformat pairs.
5144 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
5145 (build_gdbtypes): Use build_flt.
5146 (_initialize_gdbtypes): Update set of initialized types.
5147 * gdbtypes.h: Update declarations to match gdbtypes.c.
5148 (struct main_type): Store a pointer to two floatformats.
5149 * arch-utils.c (default_float_format, default_double_format): Delete.
5150 * arch-utils.h (default_float_format, default_double_format): Delete.
5151
5152 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
5153 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
5154 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
5155 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
5156 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
5157
87680a14
JB
51582007-01-29 Joel Brobecker <brobecker@adacore.com>
5159
5160 * target.c (maintenance_print_target_stack): New function.
5161 (initialize_targets): Add new "maintenance print target-stack"
5162 command.
5163
1c3d648d
MK
51642007-01-28 Mark Kettenis <kettenis@gnu.org>
5165
5166 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
5167
607269ae
DJ
51682007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
5169
5170 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
5171 (struct dwarf2_loclist_baton): Likewise.
5172
40c03ae8
EZ
51732007-01-27 Eli Zaretskii <eliz@gnu.org>
5174
5175 * cli/cli-script.c: Include breakpoint.h.
5176 (build_command_line): Require arguments only for if and while
5177 commands.
5178 (get_command_line, execute_user_command, execute_control_command):
5179 Fix wording of warning messages.
5180 (print_command_lines): Print breakpoint commands.
5181 (execute_control_command): Call commands_from_control_command to
5182 handle the `commands' command inside a body of a flow-control
5183 command.
5184 (read_next_line): Recognize the `commands' command and build a
5185 command line structure for it.
5186 (recurse_read_control_structure, read_command_lines): Handle
5187 `commands' similarly to `if' and `while'.
5188
5189 * breakpoint.c (get_number_trailer): Document the special meaning
5190 of NULL as the first argument PP.
5191 (commands_from_control_command): New function.
5192
5193 * breakpoint.h (commands_from_control_command): Add prototype.
5194
5195 * defs.h (commands_control): New enumerated value for enum
5196 command_control_type.
5197
4b9eee8c
JB
51982007-01-26 Joel Brobecker <brobecker@adacore.com>
5199
5200 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
5201 (ada_exception_sal): Update accordingly.
5202
e1f48ead
JK
52032007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5204
5205 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
5206 * NEWS: Describe CHAR array vs. string identifcation rules.
5207
e150acc7
PB
52082007-01-25 Paul Brook <paul@codesourcery.com>
5209
5210 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
5211
10fb19b6
JB
52122007-01-24 Jim Blandy <jimb@codesourcery.com>
5213
5214 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
5215 expression is empty, bother to return the 'optimized out' value we
5216 construct. (Thanks to Carl Burch.)
5217
85d93f1d
VP
52182007-01-24 Vladimir Prus <vladimir@codesourcery.com>
5219
5220 * varobj.c (c_value_of_root, c_value_of_child)
5221 (cplus_describe_child): Don't call release_value.
5222
fcbd8a5c
TS
52232007-01-24 Thiemo Seufer <ths@mips.com>
5224
5225 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
5226 initialization.
5227
2024f65a
VP
52282007-01-24 Vladimir Prus <vladimir@codesourcery.com>
5229
5230 Refactor getting children name, value and type access
5231 for varobjs in C++.
5232 * varobj.c (get_type_deref): Remove.
5233 (adjust_value_for_child_access): New.
5234 (c_number_of_children): Use the above.
5235 (c_describe_child): Likewise.
5236 (enum accessibility): New.
5237 (match_accessibility): New function.
5238 (cplus_describe_child): New function.
5239 (cplus_name_of_child, cplus_value_of_child)
5240 (cplus_type_of_child): Reimplement in terms
5241 of cplus_describe_child.
5242 (cplus_number_of_children): Use
5243 adjust_value_for_child_access.
5244
6e2a9270
VP
52452007-01-24 Vladimir Prus <vladimir@codesourcery.com>
5246
5247 Fix computation of the 'editable' attribute and
5248 value changeability for for references.
5249 * varobj.c (get_value_type): New function.
5250 (c_variable_editable): Use get_value_type.
5251 (varobj_value_is_changeable): Likewise.
5252
56163ce1
JB
52532007-01-24 Joel Brobecker <brobecker@adacore.com>
5254
5255 * source.c (find_and_open_source): Try rewriting the source
5256 path inside filename if dirname is NULL.
5257
8c6860bb
JB
52582007-01-24 Joel Brobecker <brobecker@adacore.com>
5259
5260 * dwarf2read.c (add_partial_symbol): Create an extra partial
5261 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
5262 (new_symbol): Likewise for symbols.
5263
6db6d2ca
NR
52642007-01-24 Nick Roberts <nickrob@snap.net.nz>
5265
5266 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
5267
7d85ee02
VP
52682007-01-23 Vladimir Prus <vladimir@codesourcery.com>
5269
5270 * value.c (value_primitive_field): Copy the full 'location'
5271 contents, instead of assuming that copying ADDRESS will
5272 bring over everything in the union. Remove obsolete comment.
5273
f79b9530
DJ
52742007-01-23 Masaki Muranaka <monaka@monami-software.com>
5275
5276 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
5277 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
5278 (m32c_m16c_pointer_to_address): Separate code from declarations.
5279
08d8bcd7
DJ
52802007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
5281
5282 * target.c (update_current_target): Correct typo.
5283
57fdbbbe
CV
52842007-01-22 Masaki Muranaka <monaka@monami-software.com>
5285
5286 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
5287 declaration.
5288
58894217
JK
52892007-01-11 Andrew Cagney <cagney@redhat.com>
5290 Daniel Jacobowitz <dan@codesourcery.com>
5291 Jan Kratochvil <jan.kratochvil@redhat.com>
5292
5293 * dwarf2-frame.c (execute_cfa_program): New support of
5294 `DW_CFA_GNU_negative_offset_extended'.
5295
9ebce043
DJ
52962007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
5297
5298 * NEWS: Mention flash support for "load" and new remote packets.
5299
973d738b
DJ
53002007-01-21 Markus Deuling <deuling@de.ibm.com>
5301
5302 * breakpoint.c (delete_command): Skip redundant loop iterations.
5303
7b9ee6a8
DJ
53042007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
5305
5306 * gdbarch.sh (register_type): Update comment.
5307 * gdbarch.h: Regenerated.
5308 * arch-utils.c (generic_register_size): Call register_type.
5309 * ia64-tdep.c (ia64_extract_return_value): Likewise.
5310 * m32c-tdep.c (check_for_saved): Likewise.
5311 * mips-tdep.c (mips_print_register, print_gp_register_row)
5312 (mips_print_registers_info): Likewise.
5313 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
5314 Likewise.
5315 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
5316 (sh64_do_register, sh64_print_register)
5317 (sh64_media_print_registers_info): Likewise.
5318 * tui/tui-regs.c (tui_register_format): Likewise.
5319
11309657
DJ
53202007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
5321
5322 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
5323
5324 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
5325 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
5326 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
5327 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
5328 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
5329 (make_symbol_completion_list): Likewise.
5330
cb1df416
DJ
53312007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5332 Daniel Jacobowitz <dan@codesourcery.com>
5333
5334 * buildsym.c (end_symtab): Use preallocated symtab if available.
5335 Fill in SYMBOL_SYMTAB.
5336 * buildsym.h (struct subfile): Add symtab member.
5337 * dwarf2read.c (struct dwarf2_cu): Add line_header.
5338 (struct file_entry): Add symtab.
5339 (free_cu_line_header): New function.
5340 (read_file_scope): Use it. Save line_header in the cu. Process
5341 lines before DIEs.
5342 (add_file_name): Initialize new symtab member.
5343 (dwarf_decode_lines): Create symtabs for included files.
5344 (new_symbol): Set SYMBOL_SYMTAB.
5345 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
5346 (search_symbols): Likewise.
5347 * symtab.h (struct symbol): Add symtab member.
5348 (SYMBOL_SYMTAB): Define.
5349
727da900
DJ
53502007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5351
5352 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
5353
7b6b9e83
DJ
53542007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5355
5356 * arch-utils.c (show_endian): Correct reversed condition.
5357
e767400c
JK
53582007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5359
5360 * MAINTAINERS (Write After Approval): Add myself.
5361
b20d8971
VP
53622007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
5363 Vladimir Prus <vladimir@codesourcery.com>
5364
5365 Fix 'selected frame' varobjs.
5366 * varobj.c (struct varobj): Remove the error field.
5367 (varobj_set_value): Don't check var->error.
5368 (install_new_value): Don't set var->error.
5369 (varobj_update): Always pass the new value
5370 of the root via install_new_value.
5371 (create_child): Don't set error field.
5372 (new_variable): Likewise.
5373 (c_value_of_root): Always reevaluate the value
5374 of selected frame varobjs in the selected frame.
5375 Don't call reinit_frame_cache.
5376
7ef2b397
JB
53772007-01-15 Joel Brobecker <brobecker@adacore.com>
5378
5379 * source.c (_initialize_source): Improve the help text of
5380 the substitute-path commands.
5381
1208538e
MK
53822007-01-14 Mark Kettenis <kettenis@gnu.org>
5383
5384 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
5385 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
5386 (frv_skip_prologue): Remove prototypes.
5387 (frv_adjust_breakpoint_address): Renamed from
5388 frv_gdbarch_adjust_breakpoint_address.
5389 (frv_gdbarch_init): Adjust.
5390
765f065a
MK
53912007-01-13 Mark Kettenis <kettenis@gnu.org>
5392
5e66aab2
MK
5393 * gdbarch.sh (deprecated_extract_return_value)
5394 (deprecated_store_return_value): Remove.
5395 (extract_return_value, store_return_value): Remove default values.
5396 * gdbarch.c, gdbarch.h: Regenerate.
5397 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
5398 (legacy_store_return_value): Remove.
5399 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
5400 Remove.
5401
56178203
MK
5402 * mi/mi-main.c: Remove obsolete comment.
5403
23303b2e
MK
5404 * regcache.c, regcache.h (deprecated_register_bytes)
5405 (deprecated_read_register_bytes)
5406 (deprecated_write_register_bytes): Remove.
5407
765f065a
MK
5408 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
5409 Don't forget to move destination pointer.
5410
610acfff
MK
54112007-01-01 Mark Kettenis <kettenis@gnu.org>
5412
5413 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
5414
12102450
UW
54152007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
5416
5417 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
5418 past entry function with recent newlib.
5419
c8b2f53c
VP
54202007-01-11 Vladimir Prus <vladimir@codesourcery.com>
5421
5422 * gdb.texinfo (GDB/MI Variable Objects): Improve the
5423 introduction. Specify -var-update more exactly.
5424
d57df5e4
DJ
54252007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
5426
5427 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
5428
03f597d5
JB
54292007-01-10 Jim Blandy <jimb@codesourcery.com>
5430
5431 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
5432 the Global Maintainers' invitation to be a global maintainer.
5433
fd48f117
DJ
54342007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
5435
5436 * infrun.c (singlestep_pc): New variable.
5437 (resume): Set singlestep_pc.
5438 (context_switch): Add a debugging message. Flush the frame cache.
5439 (handle_inferior_event): Add debugging messages. Handle thread
5440 hops when a software single step has completed. Let context_switch
5441 handle flushing the frame cache.
5442
23181151
DJ
54432007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5444
5445 * NEWS: Mention target descriptions, "set tdesc filename",
5446 "unset tdesc filename", "show tdesc filename", and
5447 qXfer:features:read.
5448 * arch-utils.c (choose_architecture_for_target): New function.
5449 (gdbarch_info_fill): Call it.
5450 * target-descriptions.c (struct property): Make members non-const.
5451 (struct target_desc): Add arch member.
5452 (target_description_filename): New variable.
5453 (target_find_description): Try via XML first.
5454 (tdesc_architecture): New.
5455 (free_target_description, make_cleanup_free_target_description): New.
5456 (set_tdesc_property): Call xstrdup.
5457 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
5458 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
5459 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
5460 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
5461 * target-descriptions.h (tdesc_architecture)
5462 (make_cleanup_free_target_description, set_tdesc_architecture): New
5463 prototypes.
5464 * Makefile.in (SFILES): Add xml-tdesc.c.
5465 (COMMON_OBS): Add xml-tdesc.o.
5466 (target-descriptions.o): Update.
5467 (xml-tdesc.o): New rule.
5468 * xml-tdesc.c, xml-tdesc.h: New files.
5469 * remote.c (PACKET_qXfer_features): New enum.
5470 (remote_protocol_features): Add qXfer:features:read.
5471 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
5472 (_initialize_remote): Register qXfer:features:read.
5473 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
5474 * features/gdb-target.dtd: New file.
5475
3e9cb5f4
DJ
54762007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5477
5478 * copyright.sh: Clarify error.
5479
818f79f6
DJ
54802007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5481
5482 * symtab.c (matching_bfd_sections): Fix VMA matching for
5483 prelinked objects.
5484
f7a6bb70
DJ
54852007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5486
5487 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
5488 nested symbols.
5489
20ac0504
DJ
54902007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5491
5492 Updated copyright notices for most files.
5493
85bb0718
DJ
54942007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5495
5496 * copyright.sh (prunes): Add step-line.inp and step-line.c.
5497
aa28a74e
DJ
54982007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5499
5500 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
5501 exec_prefix.
5502 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
5503 '${prefix}'.
5504 * configure, config.in: Regenerate.
5505 * defs.h (debug_file_directory): Declare.
5506 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
5507 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
5508 relocate it if DEBUGDIR_RELOCATABLE.
5509 * symfile.c (debug_file_directory): Make non-static.
5510 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
5511 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
5512 (_initialize_symfile): Don't initialize debug_file_directory here.
5513
1cfd2c3e
JB
55142007-01-09 Jim Blandy <jimb@codesourcery.com>
5515
5516 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
5517 statements.
5518
5efde112
DJ
55192007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5520
5521 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
5522 frame_unwind_register to recurse.
5523 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
5524 (alpha_heuristic_frame_prev_register): Likewise.
5525 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
5526 * m32c-tdep.c (m32c_prev_register): Likewise.
5527 * frame.c (frame_register_unwind_location): Remove FIXME.
5528
4de1f557
DJ
55292007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5530 Eli Zaretskii <eliz@gnu.org>
5531
5532 * copyright.sh: New file.
5533
ca4ca11e
DJ
55342007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
5535
5536 * configure.ac: Check for XML_StopParser.
5537 * xml-support.c (gdb_xml_body_text): Check for an error.
5538 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
5539 (gdb_xml_end_element_wrapper): Likewise.
5540 * config.in, configure: Regenerated.
5541
57e66780
DJ
55422007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5543
5544 * varobj.c (install_new_value): Always update print_value.
5545 (value_get_print_value): Immediately return NULL for missing
5546 values.
5547
b523a1fd
JB
55482007-01-08 Jim Blandy <jimb@codesourcery.com>
5549
5550 * configure.ac: Tighten pattern for extracting value of
5551 DEPRECATED_TM_FILE from the target makefile fragment.
5552 * configure: Regenerated.
5553
3d799a95
DJ
55542007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5555
5556 * linux-nat.c (struct simple_pid_list): Add status.
5557 (add_to_pid_list): Record the PID's status.
5558 (linux_record_stopped_pid): Likewise. Make static.
5559 (pull_pid_from_list): Return the saved status.
5560 (linux_nat_handle_extended): Deleted.
5561 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
5562 Make static. Handle non-SIGSTOP for a new thread's first signal.
5563 (flush_callback): Handle unexpected pending signals.
5564 (linux_nat_wait): Update calls to changed functions.
5565 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
5566 Remove prototypes for newly static functions.
5567
9acbedc0
UW
55682007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5569
5570 * gdbarch.sh (value_from_register): New gdbarch function.
5571 * gdbarch.c, gdbarch.h: Regenerate.
5572 * findvar.c (default_value_from_register): New function.
5573 (value_from_register): Use gdbarch_value_from_register.
5574 * value.h (default_value_from_register): Declare.
5575 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
5576 spu_value_to_register): Remove.
5577 (spu_value_from_register): New function.
5578 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
5579 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
5580 Call set_gdbarch_value_from_register.
5581 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
5582 s390_value_to_register): Remove.
5583 (s390_value_from_register): New function.
5584 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
5585 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
5586 Call set_gdbarch_value_from_register.
5587
f822c95b
DJ
55882007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
5589
5590 * NEWS: Add "set sysroot" and "show sysroot".
5591 * solib.c (solib_absolute_prefix): Delete. Replace
5592 all uses with gdb_sysroot.
5593 (_initialize_solib): Add "set sysroot" and "show sysroot".
5594 Make "solib-absolute-prefix" an alias to it.
5595
00fa51f6
UW
55962007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
5597
5598 * frame.c (get_frame_register_bytes): New function.
5599 (put_frame_register_bytes): Likewise.
5600 * frame.h (get_frame_register_bytes): Declare.
5601 (put_frame_register_bytes): Likewise.
5602 * findvar.c (value_from_register): Always construct lval_register
5603 values. Use get_frame_register_bytes.
5604 * valops.c (value_assign): Use get_frame_register_bytes and
5605 put_frame_register_bytes.
5606
a95c9d06
JB
56072007-01-08 Jim Blandy <jimb@codesourcery.com>
5608
5609 * MAINTAINERS: Update Stan Shebs' email address.
5610
4ed6b5be
JB
56112007-01-07 Joel Brobecker <brobecker@adacore.com>
5612
5613 * ada-lang.c (is_known_support_routine): Improve the implementation.
5614
9bbc9174
JB
56152007-01-06 Joel Brobecker <brobecker@adacore.com>
5616
5617 * ada-lang.c: Add include of source.h.
5618 (is_known_support_routine): Improve the check verifying that the file
5619 associated to this frame exists.
5620 * Makefile.in (ada-lang.o): Add dependency on source.h.
5621
44a81774
JB
56222007-01-07 Jim Blandy <jimb@codesourcery.com>
5623
5624 * ax-general.c (ax_const_l): Select proper opcode for the given
5625 value.
5626
fcd19eb1 56272007-01-05 Vladimir Prus <vladimir@codesourcery.com>
6fe1a487
NR
5628
5629 * varobj.c (c_value_of_root): Don't select frame if variable
5630 object is out of scope.
5631
fcd19eb1 56322007-01-05 Nick Roberts <nickrob@snap.net.nz>
3fa6deb5
NR
5633
5634 * varobj.c (struct varobj): New member print_value.
5635 (install_new_value): Compare last printed value with current one
5636 instead of contents.
5637 (new_variable): Initialize var->print_value to NULL.
5638 (free_variable): Free var->print_value.
5639 (value_get_print_value): New function derived from
5640 c_value_of_variable.
5641 (c_value_of_variable): Use value_get_print_value.
5642
92a56b20
JB
56432007-01-05 Joel Brobecker <brobecker@adacore.com>
5644
5645 * i386-tdep.c (i386_analyze_stack_align): Add comment.
5646
0e420bd8
JB
56472007-01-05 Joel Brobecker <brobecker@adacore.com>
5648
5649 * NEWS: Add entries for new catch commands.
5650
b69733ab 56512007-01-05 Joel Brobecker <brobecker@adacore.com>
fa4028e9
JB
5652
5653 * dwarf2read.c (partial_die_info): Add field has_byte_size.
5654 (add_partial_symbol): Correct identification of external references.
5655 (process_structure_scope): Likewise.
5656 (read_partial_die): Handle DW_AT_byte_size attribute.
5657
56582007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
d097fa3e
DJ
5659
5660 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
5661
8e38af42
NR
56622007-01-05 Nick Roberts <nickrob@snap.net.nz>
5663
5664 * varobj.c (get_type_deref): Fix variable objects for references to
5665 pointers.
5666
d1c79ecd
DJ
56672007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5668
5669 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
5670 with no symbols.
5671
e776119f
DJ
56722007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5673
5674 * memory-map.c (struct_memory_map_parsing_data): Remove most
5675 members. Make property_name an array.
5676 (free_memory_map_parsing_data, memory_map_start_element)
5677 (memory_map_end_element, memory_map_character_data): Delete.
5678 (memory_map_start_memory, memory_map_end_memory)
5679 (memory_map_start_property, memory_map_end_property): New functions.
5680 (property_attributes, memory_children, memory_type_enum)
5681 (memory_attributes, memory_map_children, memory_map_elements): New.
5682 (parse_memory_map): Rewrite.
5683 * xml-support.c (debug_xml): New.
5684 (xml_get_required_attribute, xml_get_integer_attribute)
5685 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
5686 Delete.
5687 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
5688 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
5689 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
5690 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
5691 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
5692 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
5693 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
5694 New.
5695 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
5696 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
5697 (enum gdb_xml_element_flag, struct gdb_xml_element)
5698 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
5699 (struct gdb_xml_enum): New.
5700 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
5701 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
5702 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
5703 (xml_get_required_attribute, xml_get_integer_attribute)
5704 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
5705 * Makefile.in (xml_support_h, xml-support.o): Update.
5706
5e572bb4
DJ
57072007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5708
5709 * Makefile.in (eval.o): Update dependencies.
5710 * eval.c: Include "ui-out.h" and "exceptions.h".
5711 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
5712 Use value_zero if an error occurs when avoiding side effects.
5713 * varobj.c (c_value_of_root): Initialize new_val.
5714
74a44383
DJ
57152007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5716
5717 * varobj.c (varobj_list_children): Stop if the number of children is
5718 unknown.
5719 (c_number_of_children):
5720
e8d2d628
MK
57212007-01-04 Mark Kettenis <kettenis@gnu.org>
5722
5723 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
5724 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
5725 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
5726 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
5727 sizeof, instead of hardcoded constants.
5728
c941839d
DJ
57292007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5730
5731 * CONTRIBUTE: Use sourceware.org.
5732
303b6f5d 57332007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2d0720d9 5734
303b6f5d
DJ
5735 * buildsym.c (start_subfile): Handle producer.
5736 (record_producer): New function.
5737 * buildsym.h (struct subfile): Include producer.
5738 (record_producer): New prototype.
5739 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
5740 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
5741 armcc_cfa_offsets_reversed.
5742 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
5743 (dwarf2_frame_find_quirks): New function.
5744 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
5745 (decode_frame_entry_1): Record the CIE version. Record the
5746 augmentation. Skip armcc augmentations.
5747 * dwarf2read.c (read_file_scope): Save the producer.
5748 * symtab.h (struct symtab): Rename unused version member to
5749 producer.
2d0720d9 5750
aa79a185
DJ
57512007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5752
5753 * configure.ac (build_warnings): Use -Wall and
5754 -Wdeclaration-after-statement.
5755 * configure: Regenerated.
5756
bbec2603
VP
57572007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5758
5759 Simplify access to variours properties of child
5760 variable objects in C.
5761 * varobj.c (value_struct_element_index): New function.
5762 (c_describe_child): New function.
5763 (c_name_of_child, c_value_of_child)
5764 (c_type_of_child): Rewrite to use c_describe_child.
5765
28335dcc
VP
57662007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5767
5768 gdb/
5769 * varobj.c: Include "vec.h".
5770 (varobj_p): New typedef, declare vector of those.
5771 (struct varobj): Use vector for the 'children' member.
5772 (child_exists): Remove.
5773 (save_child_in_parent): Remove.
5774 (remove_child_from_parent): Remove.
5775 (struct varobj_child): Remove.
5776 (struct vstack): Remove.
5777 (vpush, vpop): Remove.
5778 (varobj_list_children): Adjust to work work vector.
5779 (varobj_update): Likewise. Use vectors for
5780 working stack and result.
5781 (delete_variable_1): Likewise.
5782 * Makefile.in (varobj.o): Update dependencies.
5783
b2c2bd75
VP
57842007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5785
5786 Port from Apple's version.
5787 gdb/
5788 * varobj.c (type_changeable): Rename to...
5789 (varobj_value_is_changeable_p): ...this. Adjust all callers.
5790 (is_root_p): New function. Use it everywhere.
5791
bdfb3870
JB
57922007-01-04 Jim Blandy <jimb@codesourcery.com>
5793
5794 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
5795 then plain 'fixup'.
5796
5d15052e
JB
57972007-01-04 Joel Brobecker <brobecker@adacore.com>
5798
5799 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
5800
53103997
JB
58012007-01-04 Joel Brobecker <brobecker@adacore.com>
5802
5803 * hpread.c (hpread_type_lookup): Fix compilation failure.
5804
27fd2f50
Q
58052007-01-04 Qinwei <qinwei@sunnorth.com.cn>
5806
5807 * NEWS: New port to S+core.
5808 * MAINTAINERS (Write After Approval, Responsible Maintainers):
5809 Add myself.
5810
5811 * Makefile.in: Add dependencies for S+core files.
5812 * configure.tgt (score*, score-*-*): Add S+core target.
5813 * config/score/embed.mt: New file.
5814 * score-tdep.c: New file.
5815 * score-tdep.h: New file.
5816
a6cfbe68
JB
58172007-01-04 Joel Brobecker <brobecker@adacore.com>
5818
5819 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
5820 the appropriate type rather than a bogus void type.
5821
67cf15b7 58222007-01-04 Joel Brobecker <brobecker@adacore.com>
f7f9143b
JB
5823
5824 * ada-lang.h (ada_find_printable_frame): Remove.
5825 (ada_exception_catchpoint_p, ada_decode_exception_location)
5826 (ada_decode_assert_location): Add declaration.
5827 * ada-lang.c: Add include of annotate.h and valprint.h.
5828 (exception_catchpoint_kind): New enum.
5829 (function_name_from_pc, is_known_support_routine)
5830 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
5831 (ada_exception_name_addr_1, ada_exception_name_addr)
5832 (print_it_exception, print_one_exception, print_mention_exception)
5833 (print_it_catch_exception, print_one_catch_exception)
5834 (print_mention_catch_exception, catch_exception_breakpoint_ops)
5835 (print_it_catch_exception_unhandled)
5836 (print_one_catch_exception_unhandled)
5837 (print_mention_catch_exception_unhandled, print_it_catch_assert)
5838 (print_one_catch_assert, print_mention_catch_assert)
5839 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
5840 (ada_get_next_arg, catch_ada_exception_command_split)
5841 (ada_exception_sym_name, ada_exception_sym_name)
5842 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
5843 (ada_parse_catchpoint_condition, ada_exception_sal)
5844 (ada_decode_exception_location)
5845 (ada_decode_assert_location): New function.
5846 (catch_exception_unhandled_breakpoint_ops): New global variable.
5847 (catch_assert_breakpoint_ops): New global variable.
5848 * breakpoint.c: Add include of ada-lang.h.
5849 (print_one_breakpoint): Do not print the condition for Ada
5850 exception catchpoints.
5851 (create_ada_exception_breakpoint): New function.
5852 (catch_ada_exception_command, catch_assert_command): New function.
5853 (catch_command_1): Add support for the new "catch exception" and
5854 "catch assert" commands.
5855 (_initialize_breakpoint): Add help description for the new catch
5856 commands.
5857 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
5858 valprint.h.
5859 (breakpoint.o): Add dependency on ada-lang.h.
5860
05cfdb42
DJ
58612007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
5862
5863 * coffread.c (cs_to_section): If bfd_section is found, always
5864 return its section index.
5865 (coff_symtab_read): Determine the minimal_symbol_type using the
5866 bfd_section flags.
5867
2e03ee74
DJ
58682007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5869 Daniel Jacobowitz <dan@codesourcery.com>
5870
5871 * Makefile.in (top.o): Update.
5872 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
5873 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
5874 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
5875 New.
5876 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
5877
1c63d086
MK
58782007-01-03 Mark Kettenis <kettenis@gnu.org>
5879
5880 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
5881 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
5882
d5d6fca5
DJ
58832007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5884
5885 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
5886 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
5887 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
5888 greater than or equal to zero.
5889 * m2-typeprint.c (m2_array): Likewise.
5890 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
5891 * gdbtypes.c (copy_type_recursive): Correct == typo.
5892 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
5893 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
5894 greater than zero.
5895 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
5896 (default_macro_scope): Remove unused variable.
5897 * prologue-value.h (pv_area_find_reg): Don't name an argument
5898 "register".
5899 * remote-fileio.c (remote_fio_func_map): Add missing braces.
5900 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
5901 type.
5902 (cleanup_sigint_signal_handler): Remove casts.
5903 * valprint.c (val_print): Use a volatile local for the modified
5904 argument.
5905 * varobj.c (languages): Remove extra array dimension.
5906 (varobj_create): Correct access to languages array.
5907 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
5908 missing braces.
5909 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
5910 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
5911 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
5912 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
5913 (mi_cmd_data_write_memory): Likewise.
5914 * signals/signals.c (target_signal_to_string): Cast to int before
5915 comparing.
5916 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
5917 Update all callers.
5918
0d5de010
DJ
59192007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5920
5921 * NEWS: Mention pointer to member improvements.
5922 * Makefile.in (gnu-v3-abi.o): Delete special rule.
5923 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
5924 * ada-valprint.c (ada_print_scalar): Update for new type codes.
5925 * c-typeprint.c (c_print_type): Update for new type codes.
5926 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
5927 (c_type_print_base): Likewise.
5928 (c_type_print_args): Rewrite.
5929 * c-valprint.c (c_val_print): Update for new type codes. Remove
5930 support for references to members. Treat methods like functions.
5931 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
5932 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
5933 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
5934 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
5935 (struct cp_abi_ops): Add corresponding members.
5936 * cp-valprint.c (cp_print_class_method): Delete.
5937 (cp_find_class_member): New function.
5938 (cp_print_class_member): Use it. Simplify support for bogus
5939 member pointers.
5940 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
5941 lookup_methodptr_type.
5942 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
5943 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
5944 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
5945 pointer support.
5946 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
5947 references returned by user defined operators.
5948 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
5949 (f_type_print_varspec_suffix): Remove support for member pointers.
5950 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
5951 and adjusted.
5952 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
5953 (lookup_methodptr_type): New.
5954 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
5955 (recursive_dump_type): Update for new types.
5956 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
5957 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
5958 (lookup_memberptr_type, lookup_methodptr_type)
5959 (smash_to_memberptr_type): New prototypes.
5960 (smash_to_method_type): Formatting fix.
5961 (lookup_member_type, smash_to_member_type): Delete prototypes.
5962 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
5963 Do not rely on debug information for the vptr or the method's
5964 enclosing type. Handle function descriptors for IA64.
5965 (gnuv3_virtual_fn_field): Rewrite using the new functions.
5966 (gnuv3_find_method_in, gnuv3_print_method_ptr)
5967 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
5968 (gnuv3_method_ptr_to_value): New.
5969 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
5970 * hpread.c (hpread_type_lookup): Update for new types.
5971 * infcall.c (value_arg_coerce): Likewise.
5972 * m2-typeprint.c (m2_print_type): Remove explicit support
5973 for member pointers.
5974 * m2-valprint.c (m2_val_print): Likewise.
5975 * p-typeprint.c (pascal_type_print_varspec_prefix)
5976 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
5977 * p-valprint.c (pascal_val_print): Likewise.
5978 (pascal_object_print_class_method, pascal_object_print_class_member):
5979 Delete.
5980 * p-lang.h (pascal_object_print_class_method)
5981 (pascal_object_print_class_member): Delete prototypes.
5982 * stabsread.c (read_type): Update for new types.
5983 * typeprint.c (print_type_scalar): Likewise.
5984 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
5985 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
5986 argument. Construct a pointer to member if the address of a
5987 function or data member is requested.
5988 (value_cast_pointers): Don't modify the input value.
5989 (value_cast): Adjust pointer to member handling for new types.
5990 Allow null pointer to member constants. Don't modify the input
5991 value.
5992 (value_ind): Remove pointer to member check. Handle function
5993 descriptors for function pointers.
5994 (value_struct_elt, value_find_oload_method_list, check_field):
5995 Remove pointer to member checks.
5996 * value.c (unpack_long): Allow pointers to data members.
5997 (value_from_longest): Allow member pointers.
5998 * value.h (value_aggregate_elt): Add want_address.
5999 * varobj.c (c_variable_editable): Remove check for members.
6000 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
6001 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
6002 in virtual tables.
6003 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
6004 * c-lang.h (cp_print_class_method): Delete prototype.
6005 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
6006 * mips-tdep.c (mips_gdbarch_init): Likewise.
6007 * gdbarch.c, gdbarch.h: Regenerated.
6008
d217aaed
MK
60092007-01-01 Mark Kettenis <kettenis@gnu.org>
6010
6011 * rs6000-tdep.c (rs6000_use_struct_convention)
6012 (rs6000_extract_return_value, rs6000_store_return_value)
6013 (rs6000_extract_struct_value_address): Remove.
6014 (rs6000_return_value): New function.
6015 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
6016 store_return_value, deprecated_extract_struct_value_address and
6017 deprecated_use_struct_convention. Use rs6000_return_value
6018 instead.
6019
02296b29
NR
60202007-01-02 Nick Roberts <nickrob@snap.net.nz>
6021
6022 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
6023 -display-disable, -display-enable, -display-insert and
6024 -display-list.
6025
b69733ab 60262007-01-01 Joel Brobecker <brobecker@adacore.com>
ce186b30
JB
6027
6028 * breakpoint.c (remove_breakpoint): Remove dead code.
6029
60302007-01-01 Nick Roberts <nickrob@snap.net.nz>
ab9245ed
NR
6031
6032 * varobj.c: Include block.h.
6033 (c_value_of_root): Check scope within nested statements.
6034
9f3a1602
MK
60352007-01-01 Mark Kettenis <kettenis@gnu.org>
6036
6037 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
6038 regcache_cooked_write_signed instead of
6039 deprecated_write_register_bytes.
6040
12349ccd
JB
60412007-01-01 Joel Brobecker <brobecker@adacore.com>
6042
6043 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
6044
8c48ebcf
JB
60452007-01-01 Joel Brobecker <brobecker@adacore.com>
6046
6047 Followed the Start of New Year Procedure:
6048 * ChangeLog-2006: New file, containing all the entries for 2006.
6049 * ChangeLog: Removed all 2006 entries, and changed the reference
6050 to the previous ChangeLog to point to ChangeLog 2006.
6051 * top.c (print_gdb_version): Update copyright year.
6052
154927ff
MK
60532007-01-01 Mark Kettenis <kettenis@gnu.org>
6054
6055 * Makefile.in (remote-sds.o): Remove.
6056 * remote-sds.c: Delete.
6057
8c48ebcf 6058For older changes see ChangeLog-2006.
c906108c
SS
6059\f
6060Local Variables:
6061mode: change-log
6062left-margin: 8
6063fill-column: 74
6064version-control: never
6065End:
This page took 1.163719 seconds and 4 git commands to generate.