]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/ChangeLog
* doc/gdb.texinfo: Add TSIZE definition, removed
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
844781a1
GM
12007-10-16 Gaius Mulley <gaius@glam.ac.uk>
2
3 * doc/gdb.texinfo: Add TSIZE definition, removed
4 statement about unbounded arrays being unimplemented.
5 * m2-valprint.c (m2_print_array_contents): New function.
6 (m2_print_unbounded_array): New function.
7 (m2_print_array_contents): New function.
8 * m2-typeprint.c (m2_unbounded_array): New function.
9 (m2_is_unbounded_array): New function.
10 (m2_print_type): Test for unbounded array when walking
11 across structs.
12 * m2-lang.h: Added extern m2_is_unbounded_array.
13 * m2-lang.c (evaluate_subexp_modula2): New function.
14 (exp_descriptor_modula2): New structure.
15 (m2_language_defn): Use exp_descriptor_modula2.
16 * m2-exp.y: Added TSIZE and binary subscript.
17
62c018fe
DJ
182007-10-16 Daniel Jacobowitz <dan@codesourcery.com>
19
20 * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message
21 after freeing it.
22
9ffbf372
KB
232007-10-16 Kevin Buettner <kevinb@redhat.com>
24
25 * m32r-tdep.c (decode_prologue): Sign extend offset for
26 "addi sp, xx" case.
27 (m32r_frame_unwind_cache): Likewise.
28
6a16c029
TJB
292007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
30
31 * rs6000-tdep.c (skip_prologue): Restore comment with
32 function description to its proper place.
33
d71340b8
DJ
342007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
35
36 * NEWS: Mention gdbserver PowerPC improvements.
37
30ed0a8f
DJ
382007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
39
40 * features/Makefile (WHICH): Add PowerPC register definitions.
41 (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite)
42 (rs6000/powerpc-64-expedite): New macros.
43 ($(outdir)/%.dat): Handle subdirectories.
44 * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat,
45 regformats/rs6000/powerpc-e500.dat: New generated files.
46
310a98e1
DJ
472007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
48
49 * ppc-linux-nat.c (ppc_linux_read_description): New.
50 (_initialize_ppc_linux_nat): Set to_read_description.
51 * ppc-tdep.h (tdesc_powerpc_e500): Declare.
52
7cc46491
DJ
532007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
54
55 * NEWS: Document target described register support for PowerPC.
56 * ppc-tdep.h: Remove ppc_spr constants.
57 (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and
58 ppc_builtin_type_vec128 members.
59 (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM)
60 (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM)
61 (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM)
62 (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM)
63 (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants.
64 * rs6000-tdep.c: Include preparsed descriptions.
65 (init_sim_regno_table): Do not iterate over pseudo registers.
66 Look up segment registers by name. Use sim_spr_register_name
67 for SPRs.
68 (rs6000_register_sim_regno): Call init_sim_regno_table here.
69 (rs6000_builtin_type_vec128): Delete.
70 (rs6000_register_name): Only handle SPE pseudo registers and upper
71 halves. Call tdesc_register_name for everything else.
72 (rs6000_register_type): Delete. Replace with...
73 (rs6000_pseudo_register_type): ...this new function. Only handle
74 SPE pseudo registers.
75 (rs6000_register_reggroup_p): Delete. Replace with...
76 (rs6000_pseudo_register_reggroup_p): ...this new function. Only
77 handle SPE pseudo registers.
78 (rs6000_convert_register_p): Use ppc_fp0_regnum instead of
79 "struct reg".
80 (rs6000_register_to_value, rs6000_value_to_register): Remove check
81 of reg->fpr.
82 (e500_register_reggroup_p): Delete.
83 (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64)
84 (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS)
85 (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS)
86 (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros.
87 (registers_powerpc, registers_403, registers_403GC, registers_505)
88 (registers_860, registers_601, registers_602, registers_603)
89 (registers_604, registers_750, registers_7400, registers_e500): Delete
90 variables.
91 (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add
92 tdesc.
93 (tot_num_registers, num_registers, num_pseudo_registers): Delete.
94 (variants): Delete outdated comment. Use standard target descriptions
95 instead of "struct reg" arrays.
96 (init_variants): Delete.
97 (rs6000_gdbarch_init): Do not guess word size from the BFD
98 architecture if we have a target description. Select a variant
99 before creating a new architecture. Use the variant's target
100 description if the target did not define a register layout.
101 Validate target-supplied registers. Reject mismatches. Use
102 fixed register numbers and new constants instead of magic
103 numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers.
104 (_initialize_rs6000_tdep): Initialize the preparsed target
105 descriptions.
106 * target-descriptions.c (tdesc_predefined_types): Add int128 and
107 uint128.
108 (tdesc_find_register_early): New function.
109 (tdesc_numbered_register): Use it.
110 (tdesc_register_size): New function.
111 (tdesc_use_registers): Take a target_desc argument. Do not use
112 gdbarch_target_desc.
113 * target-descriptions.h (tdesc_use_registers): Update prototype
114 and comment.
115 (tdesc_register_size): New prototype.
116 * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c)
117 (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c)
118 (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c)
119 (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros.
120 (rs6000-tdep.o): Update.
121 * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers.
122 * m68k-tdep.c (m68k_gdbarch_init): Likewise.
123 * mips-tdep.c (mips_gdbarch_init): Likewise.
124
324300c0
DJ
1252007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
126
127 * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c,
128 features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c,
129 features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c,
130 features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c,
131 features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c,
132 features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c,
133 features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New
134 generated files.
135
8dc35b87
DJ
1362007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
137
138 * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml,
139 features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml,
140 features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New
141 feature descriptions for standard PowerPC register sets.
142
143 * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml,
144 features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml,
145 features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml,
146 features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml,
147 features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml,
148 features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml,
149 features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New
150 target descriptions for PowerPC processors.
151
81adfced
DJ
1522007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
153
154 * target-descriptions.c (tdesc_predefined_types): New.
155 (tdesc_named_type): Use it.
156 (tdesc_type_id, maint_print_c_tdesc_cmd): New functions.
157 (_intialize_target_descriptions): Register "maint print c-tdesc".
158 * features/Makefile (XMLTOC, CFILES, GDB): New macros.
159 (cfiles, %.c): New rules.
160 * features/arm-with-iwmmxt.c, features/mips-linux.c,
161 features/mips64-linux.c: New generated files.
162
163 * arm-linux-nat.c: Include preparsed description instead of
164 "xml-support.h".
165 (super_xfer_partial, arm_linux_xfer_partial): Remove.
166 (arm_linux_read_description): New function.
167 (_initialize_arm_linux_nat): Set to_read_description instead of
168 to_xfer_partial. Initialize preparsed description.
169 * config/arm/linux.mh (TDEP_XML): Delete.
170 * mips-linux-nat.c: Include preparsed descriptions instead of
171 "xml-support.h".
172 (super_xfer_partial, mips_linux_xfer_partial): Remove.
173 (mips_linux_read_description): New function.
174 (_initialize_mips_linux_nat): Set to_read_description instead of
175 to_xfer_partial. Initialize preparsed description.
176 * config/mips/linux.mh (TDEP_XML): Delete.
177 * Makefile.in (XMLFILES): Remove $(TDEP_XML).
178 (features_headers, arm_with_iwmmxt_c, mips_linux_c)
179 (mips64_linux_c): New macros.
180 (arm-linux-nat.o, mips-linux-nat.o): Update.
181
0dfdb8ba
PM
1822007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
183
184 * cp-abi.c (set_cp_abi_as_auto_default): ARI fix:
185 Replace xasprintf by xstrprintf.
186 symfile-mem.c (add_vsyscall_page): Ditto.
187
2685572f
UW
1882007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
189
190 * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter,
191 replacing use of global current_gdbarch.
192 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
193 (ia64_linux_fetch_register, ia64_linux_store_register): Update callers.
194
195 * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro.
196 (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter,
197 replace uses of SIGCONTEXT_REGISTER_ADDRESS.
198 (ia64_sigtramp_frame_cache): Update caller.
199
c1874924
UW
2002007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
201
202 * gdbarch.sh (deprecated_use_struct_convention): Remove.
203 (extract_return_value, store_return_value): Remove.
204 (return_value): Remove default implementation.
205 * gdbarch.c, gdbarch.h: Regenerate.
206
207 * stack.c (return_command): Remove compatibility hack.
208 * arch-utils.c (legacy_return_value): Remove.
209 * arch-utils.h (legacy_return_value): Likewise.
210
211 * arch-utils.c (always_use_struct_convention): Remove.
212 * arch-utils.h (always_use_struct_convention): Likewise.
213 * value.c (generic_use_struct_convention): Remove.
214 * defs.h (generic_use_struct_convention): Likewise.
215
4c8b6ae0
UW
2162007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
217
218 * avr-tdep.c (avr_return_value): New function.
219 (avr_gdbarch_init): Call set_gdbarch_return_value instead of
220 set_gdbarch_extract_return_value.
221
222 * fvr-tdep.c (frv_return_value): New function.
223 (frv_gdbarch_init): Call set_gdbarch_return_value instead of
224 set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
225 and set_gdbarch_deprecated_use_struct_convention.
226
227 * ia64-tdep.c (ia64_use_struct_convention): Make static.
228 Add check for structure, union, or array types.
229 (ia64_extract_return_value): Make static.
230 (ia64_store_return_value): Make static. Support multi-word values.
231 (ia64_return_value): New function.
232 (ia64_gdbarch_init): Call set_gdbarch_return_value instead of
233 set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
234 and set_gdbarch_deprecated_use_struct_convention.
235
899cff7a
JB
2362007-10-12 Joel Brobecker <brobecker@adacore.com>
237
238 * solib-target.c (solib_target_parse_libraries)
239 [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type.
240
d41ebd5d
JB
2412007-10-12 Jim Blandy <jimb@codesourcery.com>
242
243 * serial.h (struct serial_ops): Document read_prim to return zero
244 at EOF.
245 * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when
246 read_prim returns zero, not SERIAL_TIMEOUT.
247
62f6180c
UW
2482007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
249
250 * alpha-mdebug-tdep.c: Include "gdb_string.h".
251 (find_proc_desc): Add fix-up code for setjmp procedure descriptor.
252 * mdebugread.c (parse_procedure): Remove setjmp fix-up code.
253 * Makefile.in (alpha-mdebug-tdep.o): Update dependencies.
254
255 * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove.
256 * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove.
257 * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove.
258 * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove.
259 * config/alpha/tm-alpha.h: Remove file.
260
ee53e872
UW
2612007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
262
263 * breakpoint.c (breakpoint_sals_to_pc): Do not check for
264 DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE.
265
266 * config/pa/tm-hppa.h: Delete file.
267 * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE.
268 * config/pa/hppahpux.mt: Likewise.
269 * config/pa/hppa.mt: Likewise.
270 * config/pa/linux.mt: Likewise.
271 * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete.
272
3d5e6107
UW
2732007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
274
275 * config/arm/nm-nbsdaout.h: Remove file.
276 * config/nm-nbsdaout.h: Likewise.
277 * config/nm-nbsd.h: Likewise.
278
82585c72
UW
2792007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
280
281 * block.h (struct block): Remove "gcc_compile_flag" member.
282 (BLOCK_GCC_COMPILED): Remove.
283 * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED.
284 * buildsym.c (finish_block): Do not set it.
285 * symmisc.c (dump_symtab_1): Do not dump it.
286
287 * value.h (using_struct_return): Remove "gcc_p" argument.
288 * value.c (using_struct_return): Likewise.
289 * eval.c (evaluate_subexp_standard): Adapt callers.
290 * infcall.c (call_function_by_hand): Likewise.
291 * stack.c (return_command): Likewise.
292 * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
293
294 * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter.
295 * gdbarch.c, gdbarch.h: Regenerate.
296 * cris-tdep.c (cris_push_dummy_code): Adapt prototype.
297 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise.
298 * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
299 * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise.
300 (push_dummy_code, call_function_by_hand): Adapt callers.
301
8f536afe
UW
3022007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
303
304 * infcmd.c (print_return_value): Remove STRUCT_RETURN argument.
305 (finish_command_continuation, finish_command): Adapt callers.
306
f156e33b
UW
3072007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
308
309 * infcall.c (call_function_by_hand): Remove special handling
310 for HP aCC compiled code.
311
f6e56ab3
UW
3122007-10-12 Ulrich Weigand <uweigand@de.ibm.com>
313
314 * cris-tdep.c (cris_push_dummy_call): Support arguments passed by
315 reference. Fix endianness bugs.
316 (cris_reg_struct_has_address): Remove.
317 (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr
318 and set_gdbarch_deprecated_use_struct_convention calls.
319
320 * gdbarch.sh (deprecated_reg_struct_has_addr): Remove.
321 * gdbarch.c, gdbarch.h: Regenerate.
322 * infcall.c (call_function_by_hand): Remove handling of
323 deprecated_reg_struct_has_addr.
324
b4c291bb
KH
3252007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
326 Kazu Hirata <kazu@codesourcery.com>
327
328 * breakpoint.c (do_enable_breakpoint): Delay enabling until after
329 checking watchpoint resources.
330
56cf5405
KH
3312007-10-11 Kazu Hirata <kazu@codesourcery.com>
332
333 * memattr.c (inaccessible_by_default): Change the initial
334 value to 1.
335
3b016d57
DJ
3362007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
337
338 PR gdb/2280
339 * coffread.c (read_one_sym): Check for read errors.
340
e9efe249
UW
3412007-10-11 Ulrich Weigand <uweigand@de.ibm.com>
342
343 * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19"
344 instead of "Linux 2.6.19" in comment.
345 (linux_xfer_partial): Use "GNU/Linux target" instead of
346 "Linux target" in comment.
347 * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise.
348 (m68k_linux_get_sigtramp_info): Likewise.
349
b33682a7
DJ
3502007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
351
352 * MAINTAINERS (language support): List Joel and Paul as
353 Ada maintainers.
354
35156bae
DJ
3552007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
356
357 * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK
358 checks.
359 * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do
360 not set DEPRECATED_TM_FILE.
361 * config/arm/tm-arm.h: Delete file.
362
3d47173c
LM
3632007-10-11 Luis Machado <luisgpm@br.ibm.com>
364
365 * MAINTAINERS (Write After Approval): Add self.
366
607ae575
DJ
3672007-10-11 Daniel Jacobowitz <dan@codesourcery.com>
368
369 * buildsym.c (record_line): Remove empty lines followed by
370 end-of-sequence markers.
371
b8d5e0ac
KH
3722007-10-11 Kazu Hirata <kazu@codesourcery.com>
373
374 * configure.tgt: Recognize fido-*-elf.
375
86f26d2f 3762007-10-10 Joel Brobecker <brobecker@adacore.com>
377
378 GDB 6.7 released.
379
7500260a
UW
3802007-10-10 Markus Deuling <deuling@de.ibm.com>
381
382 * stack.c (print_frame_args, frame_info, return_command): Use
383 get_regcache_arch or get_frame_arch to get at the current architecture
384 by regcache or by frame, respectively.
385
8b164abb
UW
3862007-10-10 Markus Deuling <deuling@de.ibm.com>
387
388 * rs6000-nat.c (fetch_register, store_register)
389 (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use
390 get_regcache_arch to get at the current architecture by regcache.
391
392 * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value)
393 (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc)
394 (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace
395 current_gdbarch by gdbarch.
396 (rs6000_skip_trampoline_code, rs6000_register_to_value)
397 (rs6000_value_to_register): Use get_frame_arch to get at the current
398 architecture by frame_info.
399
e6d4f032
UW
4002007-10-10 Markus Deuling <deuling@de.ibm.com>
401
402 * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use
403 get_regcache_arch to get at the current architecture by regcache.
404
405 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
406 (sparc64_supply_fpregset, sparc64_collect_fpregset): Use
407 get_regcache_arch to get at the current architecture by regcache.
408
409 * sparc64nbsd-nat. (sparc64nbsd_supply_gregset)
410 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
411 (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the
412 current architecture by regcache.
413
2eb4d78b
UW
4142007-10-10 Markus Deuling <deuling@de.ibm.com>
415
416 * remote-mips.c (mips_wait, mips_fetch_registers)
417 (mips_store_registers): Use get_regcache_arch to get at the
418 current architecture by regcache.
419
420 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg)
421 (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to
422 get at the current architecture by regcache.
423 (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current
424 architecture by frame_info.
425
426 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
427 (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at
428 the current architecture by regcache.
429
430 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
431 (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init)
432 (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the
433 current architecture by frame_info.
434 (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset)
435 (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg)
436 (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset)
437 (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to
438 get at the current architecture by regcache.
439
440 * mips-linux-nat.c (mips_linux_register_addr)
441 (mips64_linux_register_addr): Replace current_gdbarch by gdbarch.
442 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset)
443 (mips64_linux_regsets_fetch_registers)
444 (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at
445 the current architecture by regcache.
446
447 * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to
448 get at the current architecture by frame_info.
449
72a155b4
UW
4502007-10-10 Markus Deuling <deuling@de.ibm.com>
451
452 * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the
453 current architecture by regcache.
454 (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue)
455 (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache)
456 (mips_stub_frame_cache, mips_read_fp_register_single)
457 (mips_read_fp_register_double, mips_print_fp_register)
458 (mips_print_register, print_gp_register_row): Use get_frame_arch to get
459 at the current architecture by frame_info.
460 (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp)
461 (mips_pseudo_register_write, mips_register_type, mips_unwind_pc)
462 (mips_unwind_dummy_id, mips_eabi_push_dummy_call)
463 (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
464 (mips_o32_push_dummy_call, mips_o32_return_value)
465 (mips_o64_push_dummy_call, mips_o64_return_value)
466 (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by
467 gdbarch.
468
6b50c0b0
UW
4692007-10-10 Markus Deuling <deuling@de.ibm.com>
470
471 * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read)
472 (xtensa_pseudo_register_write, xtensa_register_reggroup_p)
473 (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call)
474 (xtensa_dump_tdep): Replace current_gdbarch by gdbarch.
475 (xtensa_register_write_masked, xtensa_register_read_masked)
476 (xtensa_supply_gregset, xtensa_store_return_value)
477 (xtensa_extract_return_value): Use get_regcache_arch to get at the
478 current architecture by regcache.
479 (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache)
480 (xtensa_frame_prev_register): Use get_frame_arch to get at the current
481 architecture by frame_info.
482
4be43953
DJ
4832007-10-10 Daniel Jacobowitz <dan@codesourcery.com>
484
485 * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset.
486 (thumb_analyze_prologue): Move pv_area_store_would_trash call
487 out of loop. Do not set cache->frameoffset.
488 (arm_scan_prologue): Use prologue-value mechanism. Do not set
489 frameoffset. Simplify framesize.
490 (arm_make_prologue_cache, arm_normal_frame_base): Do not use
491 frameoffset.
492 * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM.
493
b4b61fdb
DJ
4942007-10-10 Daniel Jacobowitz <dan@codesourcery.com>
495
496 * target.c (update_current_target): Call setup_target_debug.
497 (push_target): Do not call it here.
498
8bb6c669
MS
4992007-10-09 Michael Snyder <msnyder@specifix.com>
500
501 * MAINTAINERS: Update my email address.
502
304fe255
UW
5032007-10-09 Markus Deuling <deuling@de.ibm.com>
504
505 * xtensa-tdep.c: Replace following current-gdbarch based macros by
506 their expression:
507 (xtensa_pseudo_register_read)
508 (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS.
509 (ARG_NOF, ARG_1ST, xtensa_extract_return_value)
510 (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI.
511 (xtensa_pseudo_register_read)
512 (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS.
513 (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS.
514 (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache)
515 (xtensa_frame_prev_register): NUM_AREGS.
516 (xtensa_pseudo_register_read, xtensa_pseudo_register_write,
517 (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register,
518 (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM.
519 (xtensa_supply_gregset, xtensa_frame_cache)
520 (xtensa_frame_prev_register): WS_REGNUM.
521 (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM,
522 SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM
523 (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum)
524 (xtensa_pseudo_register_read, xtensa_pseudo_register_write)
525 (xtensa_register_reggroup_p): REGMAP.
526 (call0_track_op): LITBASE_REGNUM.
527 (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE
528 (xtensa_supply_gregset, call0_frame_get_reg_at_entry)
529 (xtensa_frame_prev_register, AREG_NUMBER)
530 (xtensa_register_type): AR_BASE.
531 (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS.
532 (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM.
533 (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write)
534 (xtensa_frame_cache, xtensa_frame_prev_register)
535 (xtensa_extract_return_value, xtensa_store_return_value)
536 (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM.
537 (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache)
538 (xtensa_pseudo_register_write, xtensa_unwind_dummy_id)
539 (xtensa_frame_prev_register, xtensa_push_dummy_call)
540 (call0_frame_cache): A1_REGNUM.
541 (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM.
542 (xtensa_push_dummy_call): A4_REGNUM.
543 (ARGS_FIRST_REG): A6_REGNUM.
544 (xtensa_pseudo_register_read, xtensa_pseudo_register_write)
545 (xtensa_frame_prev_register): A15_REGNUM.
546 * xtensa-tdep.h: Delete current_gdbarch based macros after replacing
547 them in the appropriate source file:
548 XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS,
549 ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM,
550 ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT,
551 DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS,
552 DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM,
553 REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE,
554 EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS,
555 FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM,
556 A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM,
557 A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM,
558 A13_REGNUM, A14_REGNUM, A15_REGNUM.
559
ea78bae4
UW
5602007-10-09 Markus Deuling <deuling@de.ibm.com>
561
562 * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at
563 the current architecture by frame_info.
564 (h8300_frame_prev_register
565 (h8300_print_register): Replace current_gdbarch by gdbarch.
566 (h8300_print_registers_info, h8300_register_type)
567 (h8300_register_type): Likewise.
568
875f8d0e
UW
5692007-10-09 Markus Deuling <deuling@de.ibm.com>
570
571 * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at
572 the current architecture by regcache.
573 (store_register, supply_gregset, fill_gregset, i386_linux_resume)
574 (i386_linux_fetch_inferior_registers)
575 (i386_linux_store_inferior_registers): Likewise.
576 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
577 * i386-nto-tdep.c (i386nto_supply_gregset): Likewise.
578 * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise.
579 * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch.
580 (i386_extract_return_value, i386_store_return_value): Likewise.
581 * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at
582 the current architecture by frame_info.
583 (i386_sigtramp_frame_cache, i386_get_longjmp_target)
584 (i386_register_to_value, i386_value_to_register): Likewise.
585
9b072297
UW
5862007-10-09 Markus Deuling <deuling@de.ibm.com>
587
588 * monitor.c (monitor_supply_register): Use get_regcache_arch to get at
589 the current architecture by regcache.
590 (monitor_store_register, monitor_store_registers): Likewise.
591
e76e7474
UW
5922007-10-09 Markus Deuling <deuling@de.ibm.com>
593
594 * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at
595 the current architecture by regcache.
596
d4f91178
UW
5972007-10-09 Markus Deuling <deuling@de.ibm.com>
598
599 * arch-utils.c (legacy_return_value): Replace current_gdbarch by
600 gdbarch.
601
b1bd0044
UW
6022007-10-09 Markus Deuling <deuling@de.ibm.com>
603
604 * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current
605 architecture by frame.
606 (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1)
607 (inside_main_func, frame_sp_unwind): Likewise.
608
2ec9a4f8
DJ
6092007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
610
611 * solib-svr4.c (enable_break): Add the dynamic linker also if
612 auxv succeeds.
613
7068dd53
CES
6142007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
615
616 * MAINTAINERS (Write After Approval): Add self.
617
51e9e0d4
PA
6182007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
619
620 * stabsread.c (read_huge_number): Initialize local variable to 0.
621
cd6c7346
PM
6222007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
623
624 * p-lang.h (pascal_main_name): Add declaration.
625 * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1)
626 (GPC_MAIN_PROGRAM_NAME_2): New constants.
627 (pascal_main_name): New function.
628 * symtab.c: Include p-lang.h.
629 (find_main_name): Add call to pascal_main_name.
630 * Makefile.in (symtab.o): Add dependency on p-lang.h.
631
a2699720
PA
6322007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
633
634 * stabsread.c (read_huge_number): Fix handling of octal
635 representation when the bit width is known.
636 (read_range_type): Record unsigned integral types with their size,
637 when the type size is known.
638
e05ebff4
TJB
6392007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
640
641 * MAINTAINERS (Write After Approval): Add self.
642
0c6773c1
PM
6432007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
644
645 * breakpoint.c (print_one_breakpoint_location): ARI fix:
646 Replace asprintf by xstrprintf.
647
91c06669
PM
6482007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
649
650 * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>.
651 Makefile.in (linux-fork.o): Add gdb_dirent.h dependency.
652
3c61c145
PM
6532007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
654
655 * linux-fork.c: Move "gdb_wait.h" include back to the position of
656 <sys/wait.h> include before last commit.
657
313628cc
MR
6582007-10-08 Maciej W. Rozycki <macro@mips.com>
659
660 * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL.
661
c7f30c7a
UW
6622007-10-08 Markus Deuling <deuling@de.ibm.com>
663
664 * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64)
665 (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread)
666 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32)
667 (store_regs_user_thread, store_regs_kernel_thread): Use
668 get_regcache_arch or get_frame_arch to get at the current architecture
669 by regcache or by frame, respectively.
670
58643501
UW
6712007-10-08 Markus Deuling <deuling@de.ibm.com>
672
673 * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type)
674 (sh64_pseudo_register_read, sh64_pseudo_register_write)
675 (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register)
676 (sh64_print_register, sh64_media_print_registers_info)
677 (sh64_compact_print_registers_info, sh64_unwind_sp)
678 (sh64_unwind_pc): Replace current_gdbarch by gdbarch.
679 (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache)
680 (sh64_frame_prev_register): Use FRAME to recognize current
681 architecture.
682
b47193f7
UW
6832007-10-08 Markus Deuling <deuling@de.ibm.com>
684
685 * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu)
686 (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type)
687 (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace
688 current_gdbarch by gdbarch.
689 (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs)
690 (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs)
691 (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache)
692 (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to
693 recognize current architecture.
694
4a22f64d
UW
6952007-10-08 Markus Deuling <deuling@de.ibm.com>
696
697 * remote.c (init_remote_state, fetch_register_using_p)
698 (process_g_packet, remote_fetch_registers, remote_prepare_to_store)
699 (store_register_using_P, store_registers_using_G)
700 (remote_store_registers): Use get_regcache_arch or get_frame_arch to
701 get at the current architecture by regcache or by frame, respectively.
702
c984b7ff
UW
7032007-10-08 Markus Deuling <deuling@de.ibm.com>
704
705 * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register)
706 (m68k_svr4_extract_return_value, m68k_svr4_store_return_value)
707 (m68k_frame_prev_register, m68k_get_longjmp_target): Use
708 get_regcache_arch or get_frame_arch to get at the current architecture
709 by regcache or by frame, respectively.
710 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise.
711 * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers)
712 (store_register, old_store_inferior_registers, supply_gregset)
713 (supply_fpregset, fill_fpregset): Likewise.
714 * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep):
715 Replace current_gdbarch by gdbarch.
716
d611717a
UW
7172007-10-08 Markus Deuling <deuling@de.ibm.com>
718
719 * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset)
720 (fill_fpregset, fetch_core_registers): Use get_regcache_arch or
721 get_frame_arch to get at the current architecture by regcache or by
722 frame, respectively.
723
088568da
UW
7242007-10-08 Markus Deuling <deuling@de.ibm.com>
725
726 * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write):
727 Replace current_gdbarch by gdbarch.
728 * ia64-tdep.c (ia64_frame_prev_register
729 (ia64_sigtramp_frame_prev_register)
730 (ia64_libunwind_frame_prev_register): Use get_regcache_arch or
731 get_frame_arch to get at the current architecture by regcache or by
732 frame, respectively.
733 * ia64-linux-nat.c (ia64_linux_fetch_register)
734 (ia64_linux_fetch_registers, ia64_linux_store_register)
735 (ia64_linux_store_registers): Likewise.
736
464963c9
UW
7372007-10-08 Markus Deuling <deuling@de.ibm.com>
738
739 * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace
740 current_gdbarch by gdbarch.
741 * hppa-linux-nat.c (fetch_register, store_register)
742 (hppa_linux_fetch_inferior_registers)
743 (hppa_linux_store_inferior_registers): Use get_regcache_arch or
744 get_frame_arch to get at the current architecture by regcache or by
745 frame, respectively.
746 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code
747 (hppa_hpux_unwind_adjust_stub): Likewise.
748 * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register)
749 (hppa_hpux_fetch_inferior_registers)
750 (hppa_hpux_store_inferior_registers): Likewise.
751
7fbe2eba
UW
7522007-10-08 Markus Deuling <deuling@de.ibm.com>
753
754 * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache)
755 (cris_scan_prologue, crisv32_scan_prologue, find_step_target)
756 (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch
757 or get_frame_arch to get at the current architecture by regcache or by
758 frame, respectively.
759 * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call)
760 (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep)
761 (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace
762 current_gdbarch by gdbarch.
763
2af46ca0
UW
7642007-10-08 Markus Deuling <deuling@de.ibm.com>
765
766 * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache)
767 (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value)
768 (arm_store_return_value): Use get_regcache_arch or get_frame_arch to
769 get at the current architecture by regcache or by·frame, respectively.
770 (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by
771 gdbarch.
772
2ae02b47
UW
7732007-10-08 Markus Deuling <deuling@de.ibm.com>
774
775 * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache):
776 Use get_regcache_arch or get_frame_arch to get at the current
777 architecture by regcache or by frame, respectively.
778 * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise.
779 * amd64-nat.c (amd64_supply_native_gregset)
780 (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch.
781
ec7cc0e8
UW
7822007-10-08 Markus Deuling <deuling@de.ibm.com>
783
784 * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by
785 gdbarch.
786 * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
787 (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id)
788 (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or
789 get_frame_arch to get at the current architecture by regcache or by
790 frame, respectively.
791 * alpha-nat.c (fetch_osf_core_registers): Likewise.
792
ad010def
UW
7932007-10-08 Markus Deuling <deuling@de.ibm.com>
794
795 * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache)
796 (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace
797 current_gdbarch by gdbarch.
798 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise.
799
214e098a
UW
8002007-10-08 Markus Deuling <deuling@de.ibm.com>
801
802 * regcache.c (init_regcache_descr, register_type, read_pc_pid)
803 (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch.
804 * regcache.c (regcache_raw_write): Use get_regcache_arch or
805 get_frame_arch to get at the current architecture by regcache or by
806 frame, respectively.
807
e9e45075
UW
8082007-10-08 Markus Deuling <deuling@de.ibm.com>
809
810 * findvar.c (value_of_register, locate_var_value): Use
811 get_regcache_arch or get_frame_arch to get at the current architecture
812 by regcache or by frame, respectively.
813 * findvar.c (default_value_from_register, value_from_register): Replace
814 current_gdbarch by gdbarch.
815
136855cd
PM
8162007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
817
818 * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove.
819
cdf43007
PM
8202007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
821
822 * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>.
823 Makefile.in (linux-fork.o): Add gdb_wait.h dependency.
824
9ef895d6
DJ
8252007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
826
827 * remote.c (get_offsets): Only call free_symfile_segment_data if
828 data was allocated.
829
cada2e7b
PM
8302007-10-03 Pierre Muller <muller@ics.u-strasbg.fr>
831
832 * objc-exp.y: ARI fix: remove 4 PARAMS.
833
8d5f9c6f
DJ
8342007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
835
836 * NEWS: Use uniform spacing. Correct version number for GDB 6.7
837 news. Mention XML support for M68K in GDB 6.7.
838
1969d2ed
DJ
8392007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
840
841 * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the
842 bounds.
843 (init_vector_type): Use builtin_type_int32.
844
e31dcd20
UW
8452007-10-02 Ulrich Weigand <uweigand@de.ibm.com>
846
847 * s390-tdep.c (s390_regset_from_core_section): Allow excess section
848 size to enable bi-arch generate-core-file support.
849
b94c4f7d
UW
8502007-10-02 Markus Deuling <deuling@de.ibm.com>
851
852 * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal.
853
9612b5ec
UW
8542007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
855
856 * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH
857 signal handler.
858 * tui/tui-win.c (tui_initialize_win): New function for
859 initializing tui's SIGWINCH signal handler.
860 * tui/tui-win.h (tui_initialize_win): Declare.
861
407f1a2e
UW
8622007-10-02 Ulrich Weigand <uweigand@de.ibm.com>
863
864 * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast
865 pointer to uintptr_t before casting to CORE_ADDR.
866
02d3ff8c
UW
8672007-10-02 Markus Deuling <deuling@de.ibm.com>
868
869 * linux-nat.c (PTRACE_GETSIGINFO): Add define.
870
4577549b
DJ
8712007-10-02 Mark Mitchell <mark@codesourcery.com>
872
873 * mingw-hdep.c (gdb_select): Stop helper threads before returning.
874 * ser-mingw.c (enum select_thread_state): New type.
875 (struct ser_console_state): Add have_started and thread_state.
876 (select_thread_wait): New function.
877 (thread_fn_type): New type.
878 (create_select_thread): New function.
879 (destroy_select_thread): Likewise.
880 (start_select_thread): Likewise.
881 (stop_select_thread): Likewise.
882 (console_select_thread): Use new functions.
883 (pipe_select_thread): Likewise.
884 (file_select_thread): Likewise.
885 (ser_console_wait_handle): Likewise.
886 (ser_console_done_wait_handle): Likewise.
887 (ser_console_close): Likewise.
888 (free_pipe_state): Likewise.
889 (pipe_wait_handle): Likewise.
890 (pipe_done_wait_handle): Likewise.
891 (struct net_windows_state): Derive from ser_console_state.
892 (net_windows_select_thread): Use new functions.
893 (net_windows_wait_handle): Likewise.
894 (net_windows_done_wait_handle): Likewise.
895 (net_windows_close): Likewise.
896
b0b951d9
DJ
8972007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
898
899 * inflow.c (terminal_ours_1): Remove useless line.
900
82e91389
DJ
9012007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
902
903 * mips-tdep.c (mips_read_fp_register_double): Correct check for
904 odd FP registers.
905 (mips_print_fp_register): Correct check for even FP registers.
906 (mips_virtual_frame_pointer): New function.
907 (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer.
908
c4a3d09a
MF
9092007-09-30 Mike Frysinger <vapier@gentoo.org>
910
911 * value.h (lookup_only_internalvar): New prototype.
912 (create_internalvar): Likewise.
913 * value.c (lookup_only_internalvar): New function.
914 (create_internalvar): Likewise.
915 (lookup_internalvar): Use new lookup_only_internalvar and
916 create_internalvar functions.
917 * parse.c (write_dollar_variable): Look up $ symbols in internal
918 table first rather than last.
919
9f0bdab8
DJ
9202007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
921
922 * linux-nat.c (linux_nat_new_thread): New variable.
923 (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use
924 linux_nat_switch_fork.
925 (lwp_list): Make public.
926 (add_lwp): Call linux_nat_new_thread.
927 (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping
928 the new thread.
929 (resume_callback): Clear lp->siginfo. Remove unused variable.
930 (linux_nat_resume): Assert that the LWP list is already initialized.
931 Clear lp->siginfo.
932 (save_siginfo): New.
933 (stop_wait_callback, linux_nat_wait): Call it.
934 (linux_nat_set_new_thread, linux_nat_get_siginfo): New.
935 * linux-nat.h (struct lwp_info): Add siginfo.
936 (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare.
937 (ALL_LWPS): Define.
938
939 * amd64-linux-nat.c (amd64_linux_dr): New.
940 (amd64_linux_dr_get): Take a PTID argument. Correct typo.
941 (amd64_linux_dr_set): Take a PTID argument.
942 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS.
943 (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr.
944 (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get.
945 (amd64_linux_new_thread): New.
946 (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread.
947 * i386-linux-nat.c (i386_linux_dr): New.
948 (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument.
949 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS.
950 (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr.
951 (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get.
952 (i386_linux_new_thread): New.
953 (i386_linux_resume): Remove unnecessary PID check.
954 (_initialize_i386_linux_nat): Call linux_nat_set_new_thread.
955 * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument.
956 (fetch_debug_register, fetch_debug_register_pair): Delete.
957 (debug_registers): New.
958 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use
959 ALL_LWPS and debug_registers.
960 (ia64_linux_new_thread): New.
961 (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo.
962 (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread.
963 * ppc-linux-nat.c (last_stopped_data_address): Delete.
964 (saved_dabr_value): New.
965 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
966 ALL_LWPS.
967 (ppc_linux_new_thread): New.
968 (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo.
969 (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address.
970 (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread.
971 * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status
972 after reading it.
973 (s390_fix_watch_points): Take a PTID argument.
974 (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS.
975 (_initialize_s390_nat): Call linux_nat_set_new_thread.
976
d983da9c
DJ
9772007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
978 Jeff Johnston <jjohnstn@redhat.com>
979
980 * breakpoint.c (watchpoints_triggered): New.
981 (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument.
982 Check watchpoint_triggered instead. Combine handling for software
983 and hardware watchpoints. Do not use target_stopped_data_address
984 here. Always check a watchpoint if its scope breakpoint triggers.
985 Do not stop for thread or overlay events. Improve check for
986 triggered watchpoints without a value change.
987 (watch_command_1): Insert the scope breakpoint first. Link the
988 scope breakpoint to the watchpoint.
989 * breakpoint.h (enum watchpoint_triggered): New.
990 (struct breakpoint): Add watchpoint_triggered.
991 (bpstat_stop_status): Update prototype.
992 (watchpoints_triggered): Declare.
993 * infrun.c (enum infwait_status): Add infwait_step_watch_state.
994 (stepped_after_stopped_by_watchpoint): Delete.
995 (handle_inferior_event): Make stepped_after_stopped_by_watchpoint
996 local. Handle infwait_step_watch_state. Update calls to
997 bpstat_stop_status. Use watchpoints_triggered to check
998 watchpoints.
999 * remote.c (stepped_after_stopped_by_watchpoint): Remove extern.
1000 (remote_stopped_data_address): Do not check it.
1001
7921a279
DJ
10022007-09-29 Daniel Jacobowitz <dan@codesourcery.com>
1003
1004 * configure.ac: Add $LIBINTL when testing libbfd.
1005 * configure: Regenerated.
1006
fe6fbf8b
VP
10072007-09-28 Vladimir Prus <vladimir@codesourcery.com>
1008
1009 * NEW: Mention pending breakpoint changes and
1010 support for breakpoints at multiple locations.
1011
daddc3c1
DJ
10122007-09-27 Daniel Jacobowitz <dan@codesourcery.com>
1013
1014 * arm-linux-tdep.c (arm_linux_software_single_step): New.
1015 (arm_linux_init_abi): Use it.
1016 * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones
1017 condition correctly.
1018 * arm-tdep.h (arm_get_next_pc): Declare.
1019 * Makefile.in (arm-linux-tdep.o): Update.
1020
7a4d50bf
VP
10212007-09-26 Vladimir Prus <vladimir@codesourcery.com>
1022
1023 * varobj.c (install_new_value): Don't
1024 call value_get_print_value when a value is
1025 lazy. Update the print_value member in a
1026 single place.
1027
d32a6982
VP
10282007-09-26 Vladimir Prus <vladimir@codesourcery.com>
1029
1030 * breakpoint.c (create_breakpoint): Set
1031 condition on each location, not on the first
1032 location of breakpoint.
1033
489eaeba
JB
10342007-09-26 Jim Blandy <jimb@codesourcery.com>
1035
1036 * remote.c (getpkt_sane): Fix error message. No animals were
1037 harmed in the making of this debugger.
1038
3e9313ab
PM
10392007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
1040
1041 * p-typeprint.c: Fix 11 ARI reported problems.
1042 (pascal_print_type): Fix 4 operator at end of line.
1043 (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros
1044 using strncmp function.
1045 (pascal_type_print_base): Fix 2 operator at end of line.
1046 (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros
1047 using strncmp function.
1048
1049
5b8101ae
PM
10502007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
1051
1052 * Fix PR pascal/2231
1053 dwarf2read.c (read_subroutine_type):
1054 All pascal functions are prototyped.
1055
c45f11da
PM
10562007-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
1057
1058 * Fix PR pascal/2283
1059 p-valprint.c (pascal_val_print): correct current language check.
1060 Also print array of char as strings.
1061
1062
59aa1faa
MR
10632007-09-26 David Ung <davidu@mips.com>
1064 Maciej W. Rozycki <macro@mips.com>
1065
1066 * mips-tdep.c (mips_n32n64_return_value): Fix a comment.
1067
0b058123
PM
10682007-09-25 Pierre Muller <muller@ics.u-strasbg.fr>
1069
1070 * p-exp.y: Fix 12 ARI reported problems.
1071 (name_not_typename): Fix 2 operator at end of line issues.
1072 (yylex): Fix 3 operator at end of line issues.
1073 Replace 7 DEPRECATED_STREQ macros using strcmp function.
1074
b18bb924
MR
10752007-09-25 David Ung <davidu@mips.com>
1076 Maciej W. Rozycki <macro@mips.com>
1077
1078 * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI
1079 rules return composite types in registers as appropriate.
1080
28c32713
JB
10812007-09-24 Jim Blandy <jimb@codesourcery.com>
1082
1083 * symfile.h (struct symfile_segment_data): Doc fixes.
1084 * symfile.c (symfile_map_offsets_to_segments): Doc fixes.
1085 Assert that we were passed some loaded segment addresses,
1086 and that sections' segment numbers are valid.
1087 Simplify offset calculation.
1088 * remote.c (get_offsets): Clarify selection of relocate-by-segment
1089 strategy, and set num_segments correctly. Delete redundant
1090 assignments to do_sections.
1091
32276632
DJ
10922007-09-24 Daniel Jacobowitz <dan@codesourcery.com>
1093
1094 * frame.c (get_prev_frame_1): Also check for PC in the same register.
1095
ed0616c6
VP
10962007-09-24 Vladimir Prus <vladimir@codesourcery.com>
1097
1098 * breakpoint.c (remove_sal): New.
1099 (expand_line_sal_maybe): New.
1100 (create_breakpoints): Call expand_line_sal_maybe.
1101 (clear_command): Add comment.
1102 (breakpoint_re_set_one): Call expand_line_sal_maybe.
1103 * linespec.c (decode_indirect): Set explicit_pc to 1.
1104 (decode_all_digits): Set explicit_line to 1.
1105 (append_expanded_sal): New.
1106 (expand_line_sal): New.
1107 * linespec.h (expand_line_sal): Declare.
1108 * symtab.c (init_sal): Initialize explicit_pc
1109 and explicit_line.
1110 * symtab.h (struct symtab_and_line): New fields
1111 explicit_pc and explicit_line.
1112
41f1b697
DJ
11132007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
1114
1115 * infcall.c (call_function_by_hand): Handle language-specific
1116 pass and return by reference.
1117
1118 * cp-abi.c (cp_pass_by_reference): New.
1119 * cp-abi.h (cp_pass_by_reference): Declare.
1120 (struct cp_abi_ops): Add pass_by_reference.
1121 * gnu-v3-abi.c (gnuv3_pass_by_reference): New.
1122 (init_gnuv3_ops): Set pass_by_reference.
1123
1124 * language.c (language_pass_by_reference): New.
1125 (default_pass_by_reference): New.
1126 (unknown_language_defn, auto_language_defn, local_language_defn): Add
1127 default_pass_by_reference.
1128 * langauge.h (struct language_defn): Add la_pass_by_reference.
1129 (language_pass_by_reference, default_pass_by_reference): Declare.
1130 * ada-lang.c (ada_language_defn): Add default_pass_by_reference.
1131 * c-lang.c (c_language_defn, asm_language_defn)
1132 (minimal_language_defn): Likewise.
1133 (cplus_language_defn): Add cp_pass_by_reference.
1134 * f-lang.c (f_language_defn): Add default_pass_by_reference.
1135 * jv-lang.c (java_language_defn): Likewise.
1136 * m2-lang.c (m2_language_defn): Likewise.
1137 * objc-lang.c (objc_language_defn): Likewise.
1138 * p-lang.c (pascal_language_defn): Likewise.
1139 * scm-lang.c (scm_language_defn): Likewise
1140
0d381245
VP
11412007-09-23 Vladimir Prus <vladimir@codesourcery.com>
1142
1143 Allow a code breakpoint to have several locations
1144 associated with it.
1145 * breakpoint.h (enum enable_state): Remove the
1146 bp_shlib_disabled enumerator.
1147 (struct bp_location): New members shlib_disabled,
1148 global_next, enabled and function_name.
1149 Rename pending to condition_not_parsed.
1150
1151 * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next.
1152 (ALL_BP_LOCATIONS_SAFE): Likewise.
1153 (breakpoint_enabled): Don't check for pending.
1154 (condition_command): Free and update all locations of
1155 a breakpoint.
1156 (insert_bp_location): Adjust.
1157 (software_breakpoint_inserted_here_p): Don't care
1158 if breakpoint is enabled, as soon as it's inserted.
1159 (print_it_typical): Print bpstat's location, not
1160 bpstat's breakpoint's location.
1161 (bpstat_stop_status): Iterate over all locations, not
1162 all breakpoints.
1163 (print_breakpoint_location): New.
1164 (print_one_breakpoint): Renamed to
1165 (print_one_breakpoint_location): ...this. Take
1166 parameters to describe which location is being
1167 printed. Modify code to properly print header
1168 for several locations and individual locations.
1169 (print_one_breakpoint): Print all locations.
1170 (breakpoint_has_pc): New.
1171 (describe_other_breakpoints): Use the above.
1172 (check_duplicates): Renamed to...
1173 (check_duplicates_for): .. this.
1174 (check_duplicates): Use check_duplicates_for.
1175 (allocate_bp_location): Adjust.
1176 (set_raw_breakpoint_without_location): New,
1177 extracted from set_raw_breakpoint.
1178 (set_breakpoint_location_function): New.
1179 (set_raw_breakpoint): Use
1180 set_raw_breakpoint_without_location.
1181 (make_breakpoint_permanent): Mark all locations
1182 as inserted.
1183 (disable_breakpoints_in_shlibs): Iterate over
1184 locations.
1185 (disable_breakpoints_in_unloaded_shlib): Likewise.
1186 (re_enable_breakpoints_in_shlibs): Likewise.
1187 (mention): Say "pending" when breakpoint has
1188 zero locations. If breakpoint has more than one
1189 location, say so.
1190 (add_location_to_breakpoint): New.
1191 (create_breakpoint): Accept symtabs_and_lines, not
1192 symtab_and_line. Pass extra sals to
1193 add_location_to_breakpoint.
1194 (create_breakpoints): Pass symtabs_and_lines to
1195 create_breakpoints.
1196 (break_command_1): Make pending breakpoints
1197 have zero locations.
1198 (do_captured_breakpoint): Remove wrong allocation.
1199 (clear_command): Iterate over all locations.
1200 (unlink_locations_from_global_list): Renamed
1201 from unlink_location_from_global_list. Remove
1202 all locations.
1203 (delete_breakpoint): Remove all locations.
1204 Iterate over all locations when deciding which
1205 other location to re-enable.
1206 (all_locations_are_pending): New.
1207 (update_breakpoint_locations): Renamed from
1208 update_breakpoint_location. Try to match old
1209 and new locations using names of containing
1210 functions.
1211 (breakpoint_re_set_one): Adjust.
1212 (find_location_by_number): New.
1213 (disable_command): Allow disabling individual location.
1214 (enable_command): Allow enabling individual location.
1215 * breakpoint.c: Adjust all uses of breakpoint's
1216 enable state to for bp_shlib_disabled change.
1217
fe3f5fa8
VP
12182007-09-22 Vladimir Prus <vladimir@codesourcery.com>
1219
1220 * breakpoint.c (do_restore_lang_radix_cleanup): Remove.
1221 (resolve_pending_breakpoint): Remove.
1222 (re_enable_breakpoints_in_shlibs): Remove.
1223 (unlink_locations_from_global_list): New.
1224 (update_breakpoint_locations): New.
1225 (breakpoint_re_set_one): Don't bail out on pending breakpoints.
1226 Use parse_condition and update_breakpoint_location to
1227 reset breakpoint. Ignore 'symbol not found' error from
1228 decode_line_1.
1229 (breakpoint_re_set): Don't emit newline before the
1230 reason why breakpoint is not reset.
1231 (do_enable_breakpoint): Don't specially process pending
1232 breakpoints.
1233 (free_bp_location): New.
1234 (break_command_1): For pending breakpoints, initialize
1235 all fields of a sal with zeroes.
1236 * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove.
1237 * infcmd.c (post_create_inferior): Don't call
1238 re_enable_breakpoints_in_shlibs.
1239 * infrun.c (handle_inferior_event): Likewise.
1240 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1241 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1242 * win32-nat.c (get_win32_debug_event): Likewise.
1243
511a6cd4
VP
12442007-09-22 Vladimir Prus <vladimir@codesourcery.com>
1245
018d34a4
VP
1246 * breakpoint.c (create_breakpoint): Split from
1247 create_breakpoints, implementing most of its logic.
1248 Take just a single sal, single address string and
1249 single condition. Do not take parsed condition at
1250 all.
1251 (create_breakpoints): Just call create_breakpoint
1252 for each sal.
1253 (find_condition_and_thread): New.
1254 (break_command_1): Use find_condition_and_thread.
1255 Do not keep parsed conditions.
1256 (do_captured_breakpoint): Don't convert
1257 condition string to struct expression.
1258
12592007-09-22 Vladimir Prus <vladimir@codesourcery.com>
1260
511a6cd4
VP
1261 * breakpoint.h (struct breakpoint): Move the cond
1262 field to...
1263 (struct bp_location): Here.
1264 * breakpoint.c (condition_command, bpstat_stop_status)
1265 (print_one_breakpoint, allocate_bp_location)
1266 (solib_load_unload_1, create_fork_vfork_event_catchpoint)
1267 (create_exec_event_catchpoint, create_breakpoints)
1268 (break_command_1, watch_command_1, handle_gnu_v3_exceptions)
1269 (create_ada_exception_breakpoint, set_breakpoint_sal)
1270 (delete_breakpoint, breakpoint_re_set_one): Adjust.
1271 * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust.
1272
4f8d1dc6
VP
12732007-09-22 Vladimir Prus <vladimir@codesourcery.com>
1274
1275 Associate bp_stat with bp_location, not breakpoint.
1276 * breakpoint.h (breakpoint_at): Change type
1277 to bp_location*.
1278 * breakpoint.c (bpstat_alloc): Take bp_location,
1279 not breakpoint.
1280 (bpstat_find_breakpoint): Look at bpstat's location's
1281 owner, not at bpstat->breakpoint_at.
1282 (bpstat_find_step_resume_breakpoint): Likewise.
1283 (bpstat_num): Likewise.
1284 (print_it_typical): Likewise.
1285 (print_bp_stop_message): Likewise.
1286 (watchpoint_check): Likewise.
1287 (bpstat_what): Likewise.
1288 (bpstat_get_triggered_catchpoints): Likewise.
1289 (breakpoint_auto_delete): Likewise.
1290 (delete_breakpoint): Likewise.
1291 (bpstat_stop_status): Pass location, not breakpoint,
1292 to bpstat_alloc. Look at bpstat's location's
1293 owner, not at bpstat->breakpoint_at.
1294
32623386
JB
12952007-09-21 Jim Blandy <jimb@codesourcery.com>
1296
1297 * macrotab.h (new_macro_table): Document that removing information
1298 from an obstack/bcache-managed macro table leaks memory.
1299 * macrotab.c (macro_free, macro_bcache_free): Instead of asserting
1300 that data is never freed in obstack/bcache-managed macro tables,
1301 just leak the storage.
1302 (macro_undef): If we're undefining a macro at exactly the same
1303 source location that we defined it, simply remove the definition
1304 altogether.
1305
c295b2e5
JB
13062007-09-21 Joel Brobecker <brobecker@adacore.com>
1307
1308 * symfile.h (struct sym_fns): Add new field sym_read_linetable.
1309 * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c:
1310 Adjust the struct sym_fns object accordingly by setting
1311 the new field to NULL.
1312 * xcoffread.c (aix_process_linenos): Make static.
1313 (xcoff_sym_fns): Set new field to aix_process_linenos.
1314 * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK
1315 by call to new the new sym_fns sym_read_linetable function.
1316 * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete.
1317 * config/rs6000/tm-rs6000.h: Delete.
1318
ab2e1992
MR
13192007-09-21 David Ung <davidu@mips.com>
1320 Maciej W. Rozycki <macro@mips.com>
1321
1322 * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI
1323 rules do not treat composite types specially.
1324
97ab0fdd
MR
13252007-09-20 Maciej W. Rozycki <macro@mips.com>
1326
1327 * mips-tdep.c (mips32_in_function_epilogue_p): New function.
1328 (mips16_in_function_epilogue_p): Likewise.
1329 (mips_in_function_epilogue_p): Likewise.
1330 (mips_gdbarch_init): Register mips_in_function_epilogue_p().
1331
01fe12f6
JB
13322007-09-19 Joel Brobecker <brobecker@adacore.com>
1333
1334 * configure.ac: Add check for "etext".
1335 * configure, config.in: Regenerate.
1336 * maint.c (TEXTEND): Only define if either _etext or etext
1337 are available.
1338 Disable the profiling functionality if TEXTEND is not defined.
1339
aa6c981f
DJ
13402007-09-19 Daniel Jacobowitz <dan@codesourcery.com>
1341
1342 * mips-tdep.c (mips_stub_frame_cache): Correct the saved return
1343 address register. Correct the call to frame_id_build.
1344 (mips_stub_frame_sniffer): Use the stub unwinder when the PC
1345 is invalid.
1346
39312971
JB
13472007-09-18 Joel Brobecker <brobecker@adacore.com>
1348
1349 * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan
1350 the linetable past the function end.
1351
558dc30a
JW
13522007-09-18 James E. Wilson <wilson@specifix.com>
1353
1354 * MAINTAINERS: Update my email address.
1355
60e2c248
JG
13562007-09-18 Jerome Guitton <guitton@adacore.com>
1357
1358 * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type.
1359 (inf_ttrace_delete_dying_threads_callback): New function.
1360 (inf_ttrace_resume): After resuming the execution, iterate over
1361 the dying threads to delete them for the thread list.
1362 (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE,
1363 mark the corresponding thread as dying instead of removing it
1364 from the thread list.
1365 (inf_ttrace_thread_alive): return 0 for dying threads.
1366
f4c1edd8
JB
13672007-09-17 Joel Brobecker <brobecker@adacore.com>
1368
1369 * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion
1370 that return_frame is not null.
1371
8d4e36ba
JB
13722007-09-17 Joel Brobecker <brobecker@adacore.com>
1373
1374 * solib-svr4.c: Add include of "auxv.h".
1375 (enable_break): Use the AT_BASE auxiliary entry if available.
1376 * Makefile.in (solib-svr4.o): Update dependencies.
1377
f9ed52be
JB
13782007-09-17 Joel Brobecker <brobecker@adacore.com>
1379
1380 * NEWS: Create a new section for the next release branch.
1381 Rename the section of the current branch, now that it has
1382 been cut.
1383
eff4f95e
JG
13842007-09-17 Jerome Guitton <guitton@adacore.com>
1385
1386 * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL.
1387 * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h.
1388
084344da
VP
13892007-09-16 Vladimir Prus <vladimir@codesourcery.com>
1390
1391 * mi/mi-cmds.c (mi_cmds): Register -list-features.
1392 * mi/mi-cmds.h (mi_cmd_list_features): New.
1393 * mi/mi-main.c (mi_cmd_list_features): New.
1394
50c7215d 13952007-09-11 Joel Brobecker <brobecker@adacore.com>
1396
1397 GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC)
1398 * version.in: Bump version to 6.7.50-20070911-cvs.
1399
4d8453a5
DJ
14002007-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1401
1402 * thread.c (free_thread): Do not delete the step resume breakpoint
1403 right away.
1404
4eb0ad19
DJ
14052007-09-10 Daniel Jacobowitz <dan@codesourcery.com>
1406
1407 * arch-utils.c (gdbarch_info_fill): Also try core_bfd.
1408 * corelow.c (core_read_description): New.
1409 (init_core_ops): Set to_read_description.
1410 * gdbarch.sh: Add gdbarch_core_read_description.
1411 * mips-linux-tdep.c (mips_linux_core_read_description): New.
1412 (mips_linux_init_abi): Call set_gdbarch_core_read_description.
1413 * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New.
1414 (mips_register_g_packet_guesses): Use them.
1415 (_initialize_mips_tdep): Initialize them.
1416 * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare.
1417 * gdbarch.h, gdbarch.c: Regenerated.
1418
6a6b96b9
UW
14192007-09-10 Ulrich Weigand <uweigand@de.ibm.com>
1420
1421 * infrun.c (stepping_past_breakpoint): New global variable.
1422 (stepping_past_breakpoint_ptid): Likewise.
1423 (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C.
1424 Only switch threads if we need to single-step over a breakpoint hit
1425 in the previously selected thread. If stepping, remember previous
1426 thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call
1427 switch_to_thread instead of copying its contents.
1428 (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if
1429 prepare_to_proceed returns true.
1430 (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT.
1431 (context_switch): Call switch_to_thread.
1432 (handle_inferior_event): Switch back to previous thread if requested
1433 in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed.
1434 * gdbthread.h (switch_to_thread): Add prototype.
1435 * thread.c (switch_to_thread): Make global.
1436
0b058123 14372007-09-07 Pierre Muller <muller@ics.u-strasbg.fr>
b20a3440
PM
1438
1439 * p-valprint.c: Fix 7 ARI reported problems.
1440 (pascal_val_print): Fix one operator at end of line issue.
1441 Use paddress function to remove use of
1442 deprecated_print_address_numeric function (2 times).
1443 Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME.
1444 (pascal_value_print): Fix 3 operator at end of line issues.
1445
faa95490
DJ
14462007-09-07 Daniel Jacobowitz <dan@codesourcery.com>
1447
1448 PR gdb/2103
1449 * arm-tdep.c (arm_in_call_stub): Delete.
1450 (arm_skip_stub): Handle from_arm and from_thumb stubs.
1451
f0027ce2
DJ
14522007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
1453
1454 * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer
1455 types.
1456
ea37ba09
DJ
14572007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1458 Jim Blandy <jimb@codesourcery.com>
1459
1460 * NEWS: Update description of string changes. Mention print/s.
1461 * c-valprint.c (textual_element_type): New.
1462 (c_val_print): Use it. Do not skip address printing for pointers
1463 with a string format.
1464 (c_value_print): Doc update.
1465 * dwarf2read.c (read_array_type): Use make_vector_type.
1466 * gdbtypes.c (make_vector_type): New.
1467 (init_vector_type): Use it.
1468 (gdbtypes_post_init): Initialize builtin_true_unsigned_char.
1469 (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT.
1470 * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char.
1471 (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New.
1472 (make_vector_type): New.
1473 * printcmd.c (print_formatted): Only handle 's' and 'i' for examine.
1474 Call the language print routine for string format.
1475 (print_scalar_formatted): Call val_print for string format. Handle
1476 unsigned original types for char format.
1477 (validate_format): Do not reject string format.
1478 * stabsread.c (read_type): Use make_vector_type.
1479 * xml-tdesc.c (tdesc_start_vector): Use init_vector_type.
1480
8fb822e0
MS
14812007-09-04 Michael Snyder <msnyder@access-company.com>
1482
fcd776e5
MS
1483 * expprint.c (print_subexp_standard): Check strchr for null.
1484 * Makefile.in (expprint.o): Depend on gdb_assert.h.
1485
7d63ec12
MS
1486 * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null.
1487
8fb822e0
MS
1488 * stabsread.c (patch_block_status): Guard against null.
1489 * Makefile.in (stabsread.o): Depend on gdb_assert.h.
1490
2025a643
DJ
14912007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1492
1493 * printcmd.c (printf_command): Handle ptr_arg. Correct typo
1494 in internal error message.
1495
de1b3c3d
PA
14962007-09-04 Pedro Alves <pedro_alves@portugalmail.pt>
1497 Daniel Jacobowitz <dan@codesourcery.com>
1498
1499 * infcmd.c (post_create_inferior): Update comment.
1500 (run_command_1): Always call post_create_inferior with 0 as
1501 from_tty.
1502
1503 * i386-cygwin-tdep.h: New.
1504 * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h".
1505 (win32_xfer_shared_library): Make it extern.
1506
1507 * win32-nat.c: Include gdb_obstack.h and xml-support.h and
1508 i386-cygwin-tdep.h.
1509 (win32_so_ops): Delete.
1510 (get_relocated_section_addrs): Delete.
1511 (solib_symbols_add): Delete.
1512 (register_loaded_dll): Delete.
1513 (win32_make_so): New.
1514 (handle_load_dll): Use win32_make_so.
1515 (win32_free_so): Free the passed in so.
1516 (win32_relocate_section_addresses): Delete.
1517 (win32_solib_create_inferior_hook): Delete.
1518 (handle_unload_dll): Don't add PE offset here. Free so with
1519 win32_free_so instead of free_so.
1520 (win32_special_symbol_handling): Delete.
1521 (get_win32_debug_event): Remove unneeded calls. Set state to
1522 TARGET_WAITKIND_LOADED on a dll unload.
1523 (do_initial_win32_stuff): Clear cygwin_load_start and
1524 cygwin_load_end.
1525 (map_code_section_args): Delete.
1526 (dll_code_sections_add): Delete.
1527 (core_section_load_dll_symbols): Delete.
1528 (win32_xfer_shared_libraries): New.
1529 (win32_current_sos): Delete.
1530 (win32_xfer_partial): New.
1531 (open_symbol_file_object): Delete.
1532 (in_dynsym_resolve_code): Delete.
1533 (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member
1534 of win32_ops. Remove win32_so_ops settings. Don't set
1535 current_target_so_ops here.
1536
1537 * Makefile.in (i386_cygwin_tdep_h): New variable.
1538 (i386-cygwin-tdep.o): Update dependencies.
1539 (win32-nat.o): Update dependencies.
1540
de584861
PA
15412007-09-04 Pedro Alves <pedro_alves@portugalmail.pt>
1542 Daniel Jacobowitz <dan@codesourcery.com>
1543
1544 * gdbarch.sh (core_xfer_shared_libraries): New.
1545
1546 * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
1547
1548 * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New.
1549
1550 * xml-support.c (gdb_xml_parse): Debug output tweaks.
1551 (xml_escape_text): New.
1552 * xml-support.h (xml_escape_text): Declare.
1553
1554 * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ...
1555 * config/i386/cygwin.mt (TDEPFILES): ... here.
1556
1557 * win32-nat.c: (fetch_elf_core_registers): Delete.
1558 (win32_elf_core_fn): Delete.
1559 (_initialize_core_win32): Delete.
1560
1561 * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h",
1562 "xml-support.h" and "gdbcore.h".
1563 (i386_win32_gregset_reg_offset): New.
1564 (I386_WIN32_SIZEOF_GREGSET): New.
1565 (i386_win32_regset_from_core_section): New.
1566 (win32_xfer_shared_library): New.
1567 (struct cpms_data): New.
1568 (core_process_module_section): New.
1569 (win32_core_xfer_shared_libraries): New.
1570 (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset,
1571 gregset_num_regs, sizeof_gregset members of tdep. Register
1572 regset_from_core_section and core_xfer_shared_libraries callbacks.
1573
1574 * Makefile.in (i386-cygwin-tdep.o): Update dependencies.
1575 * gdbarch.h, gdbarch.c: Regenerate.
1576
7160c4c3
PA
15772007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
1578
1579 * corelow.c (core_xfer_partial): Pass writebuf to
1580 deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
1581
6dc13412
PA
15822007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
1583
1584 * arm-tdep.h (arm_skip_stub): Declare.
1585 * arm-wince-tdep.c: Don't include "solib-svr4.h". Include
1586 "gdbcore.h".
1587 (arm_pe_skip_trampoline_code): New function.
1588 (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as
1589 gdbarch_skip_trampoline_code callback.
1590 * Makefile.in (arm-wince-tdep.o): Update dependencies.
1591
ca8385e5
DJ
15922007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
1593
1594 * MAINTAINERS: Move Fred Fish to Past Maintainers.
1595
5c39566f
DJ
15962007-09-03 Daniel Jacobowitz <dan@codesourcery.com>
1597
1598 * configure.ac: Add --with-expat.
1599 * configure: Regenerated.
1600
6a30b0a5
AS
16012007-09-03 Andreas Schwab <schwab@suse.de>
1602
1603 * configure.ac: Accept --with-system-readline.
1604 (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute.
1605 * configure: Regenerate.
1606 * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use
1607 substituted values.
1608 (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
1609
edff0c0a
DJ
16102007-09-03 Maxim Grigoriev <maxim2405@gmail.com>
1611 Daniel Jacobowitz <dan@codesourcery.com>
1612
1613 * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters.
1614
0b93d57c
JK
16152007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1616
1617 * top.c (print_gdb_version): Fixed a string end-of-line compiler error.
1618
b8533aec
DJ
16192007-09-02 Daniel Jacobowitz <dan@codesourcery.com>
1620
1621 * top.c (print_gdb_version): Update for GPL version 3.
1622
f5db8714
JK
16232007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * NEWS: Mention the build-id .debug files verification.
1626
d99148ef
JK
16272007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1628
1629 * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow.
1630
77069918
JK
16312007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1632
1633 * Makefile.in (symfile.o): Update dependencies.
1634 * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the
1635 DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS.
1636 (struct build_id): New structure.
1637 (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New.
1638 (find_separate_debug_file): New variable BUILD_ID.
1639 Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
1640
202ddcaa
VP
16412007-08-31 Vladimir Prus <vladimir@codesourcery.com>
1642
1643 * varobj.c (struct varobj): Fix comment
1644 for the type member not to lie when it can be
1645 NULL.
1646
02142340
VP
16472007-08-31 Vladimir Prus <vladimir@codesourcery.com>
1648
1649 Implement -var-info-path-expression.
1650
1651 * mi/mi-cmds.h (mi_cmd_var_info_path_expression):
1652 Declare.
1653 * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression.
1654 * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New.
1655 * varobj.c (struct varobj): New field 'path_expr'.
1656 (c_path_expr_of_child, cplus_path_expr_of_child)
1657 (java_path_expr_of_child): New.
1658 (struct language_specific): New field path_expr_of_child.
1659 (varobj_create): Initialize the path_expr field.
1660 (varobj_get_path_expr): New.
1661 (new_variable): Initialize the path_expr field.
1662 (free_variable): Free the path_expr field.
1663 (adjust_value_for_children_access): New parameter
1664 WAS_TYPE.
1665 (c_number_of_children): Adjust.
1666 (c_describe_child): New parameter CFULL_EXPRESSION.
1667 Compute full expression.
1668 (c_value_of_child, c_type_of_child): Adjust.
1669 (cplus_number_of_children): Adjust.
1670 (cplus_describe_child): New parameter CFULL_EXPRESSION.
1671 Compute full expression.
1672 (cplus_name_of_child, cplus_value_of_child)
1673 (cplus_type_of_child): Adjust.
1674 * varobj.h (varobj_get_path_expr): Declare.
1675
bccc275a
VP
16762007-08-31 Vladimir Prus <vladimir@codesourcery.com>
1677
1678 * mi/mi-cmd-var.c (print_varobj): If a varobj
1679 type is NULL, don't try to print it.
1680
f2db237a
AM
16812007-08-30 Alan Modra <amodra@bigpond.net.au>
1682
1683 * ppc-linux-nat.c (right_fill_reg): Delete.
1684 (supply_gregset): Use ppc_supply_gregset.
1685 (supply_fpregset): Use ppc_supply_fpregset.
1686 (fill_gregset): Use ppc_collect_gregset.
1687 (fill_fpregset): Use ppc_collect_fpregset.
1688 * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define.
1689 (right_supply_register, ppc_linux_supply_gregset): Delete.
1690 (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete.
1691 (ppc_linux_supply_fpregset): Delete.
1692 (ppc_linux_collect_gregset): New function.
1693 (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New.
1694 (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets,
1695 ppc_linux_supply_gregset, and ppc_collect_gregset.
1696 (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update.
1697 (ppc_linux_gregset, ppc_linux_fpregset): New functions.
1698 (ppc_linux_regset_from_core_section): Update.
1699 * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare.
1700 (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete.
1701 (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields.
1702 * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert.
1703 (ppcobsd_collect_gregset): Likewise.
1704 (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size.
1705 * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise.
1706 * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise.
1707 * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise.
1708 (rs6000_aix64_reg_offsets): Likewise.
1709 (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing
1710 ppc_floating_point_unit_p.
1711 (rs6000_aix_collect_regset): Similarly.
1712 * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset
1713 when regsize is larger than regcache register size.
1714 (ppc_collect_reg): Similarly zero pad when regsize is larger than
1715 regcache register size.
1716 (ppc_greg_offset): New function, split out from..
1717 (ppc_supply_gregset): ..here. Separate code handling all regs from
1718 single reg case. Correct xer offset.
1719 (ppc_fpreg_offset): New function, split out from..
1720 (ppc_supply_fpregset): ..here. Separate code handling all regs from
1721 single reg case.
1722 (ppc_collect_gregset, ppc_collect_fpregset): Likewise.
1723 (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have
1724 a fp unit, instead return if no fp.
1725
fe5aea2e
JB
17262007-08-29 Jim Blandy <jimb@codesourcery.com>
1727
1728 * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block;
1729 this code has not been compiled for two years.
1730
13ce7133
MS
17312007-08-29 Michael Snyder <msnyder@access-company.com>
1732
1733 * event-top.c (gdb_readline2): Return after EOF.
1734
fd4a0f2f
JB
17352007-08-29 Joel Brobecker <brobecker@adacore.com>
1736
1737 * symtab.c: Remove a function that has been commented out 3 years ago.
1738
d037d088
CD
17392007-08-29 Randolph Chung <tausq@debian.org>
1740
1741 * hppa-tdep.c (hppa32_cannot_fetch_register)
1742 (hppa64_cannot_fetch_register): New functions.
1743 (hppa_gdbarch_init): Set cannot_fetch_register appropriately.
1744 * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM.
1745
19d378fc
MS
17462007-08-28 Michael Snyder <msnyder@access-company.com>
1747
57cdecd2
MS
1748 * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to
1749 check for null before calling check_typedef.
1750
19d378fc
MS
1751 * NEWS: Mention Coverity bug fixes.
1752
36acd84e
UW
17532007-08-27 Markus Deuling <deuling@de.ibm.com>
1754
1755 * spu-tdep.c (spu_pointer_to_address): New function.
1756 (spu_integer_to_address): Likewise.
1757 (spu_gdbarch_init): Add spu_pointer_to_address and
1758 spu_integer_to_address to gdbarch.
1759
8ad7c2b9
PA
17602007-08-26 Pedro Alves <pedro_alves@portugalmail.pt>
1761
1762 * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10.
1763
4de6a07e
JB
17642007-08-23 Joel Brobecker <brobecker@adacore.com>
1765
1766 * Makefile.in (copying.c): Use the top-level COPYING3 as the file
1767 that contains the GDB license.
1768 * copying.awk: Adjust to the GPLv3 wording.
1769 * copying.c: Regenerate.
1770
07aed0eb
JB
17712007-08-23 Joel Brobecker <brobecker@adacore.com>
1772
01d4100f 1773 * copying.awk: Protoization, and i18n markup.
07aed0eb 1774
50efebf8
JB
17752007-08-23 Joel Brobecker <brobecker@adacore.com>
1776
1777 * config/djgpp/djconfig.sh: Switch license to GPLv3.
1778 * copyright.sh: Likewise.
1779 * gdb-events.sh: Likewise.
1780 * gdb_gcore.sh: Likewise.
1781 * gdb_mbuild.sh: Likewise.
1782 * gdbarch.sh: Likewise.
1783 * observer.sh: Likewise.
1784 * features/feature_to_c.sh: Likewise.
1785 * regformats/regdat.sh: Likewise.
1786
17872007-08-23 Joel Brobecker <brobecker@adacore.com>
a9762ec7
JB
1788
1789 Switch the license of all .c files to GPLv3.
1790 Switch the license of all .h files to GPLv3.
1791 Switch the license of all .cc files to GPLv3.
1792
5a0e3bd0
JB
17932007-08-23 Joel Brobecker <brobecker@adacore.com>
1794
1795 * configure.ac: Switch license to GPLv3.
1796
609ca2b9
DJ
17972007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
1798
1799 * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to
1800 determine the file's FPU type.
1801
8d26208a
DJ
18022007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
1803
1804 * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New.
1805 (mips_n32n64_push_dummy_call): Always increment float_argreg along
1806 with argreg. Use mips_n32n64_fp_arg_chunk_p.
1807
65728c26
DJ
18082007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
1809
1810 * solib-svr4.c (scan_dyntag): Only read target memory when necessary.
1811 Fix formatting.
1812 (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments.
1813 (elf_lookup_lib_symbol): Fix formatting.
1814
a2ca50ae
MS
18152007-08-21 Michael Snyder <msnyder@access-company.com>
1816
6b2d86bd
MS
1817 * dbxread.c (read_dbx_symtab): Guard null deref.
1818 Break up long line.
1819
a2ca50ae
MS
1820 * valops.c (find_overload_match): Guard against NULL.
1821
54e116dd
DJ
18222007-08-21 Daniel Jacobowitz <dan@codesourcery.com>
1823
1824 * MAINTAINERS (Patch Champions): Remove self.
1825
f429d7d0
DJ
18262007-08-21 Chris Smith <chris.smith@st.com>
1827
1828 * cli/cli-script.c (read_command_lines): Call dont_repeat for each
1829 line.
1830
a2ca50ae 18312007-08-18 Michael Snyder <msnyder@access-company.com>
a287cea6 1832
31e9f6b6
MS
1833 * stabsread.c (dbx_lookup_type): Memory leak.
1834
32107cd5
MS
1835 * event-loop.c (delete_async_signal_handler): Move pointer null
1836 test to before pointer dereference.
1837
44db85f8
MS
1838 * ui-out.c (append_header_to_list): Possible cut and paste error.
1839
a287cea6
MS
1840 * MAINTAINERS: white space tweak.
1841
0bd9908d
MS
18422007-08-17 Michael Snyder <msnyder@access-company.com>
1843
f91162e1
MS
1844 * stack.c (print_frame): Memory leak.
1845
1e8189fb
MS
1846 * completer.c (filename_completer): Avoid memory leak.
1847 Remove unnecessary nested block.
1848
348038cd
MS
1849 * c-exp.y (parse_number): Memory leak.
1850
1f20ed91
MS
1851 * completer.c (location_completer): Must free 'fn_list', except
1852 in the one case where it is returned (as 'list').
1853
74dddad3
MS
1854 * varobj.c (value_of_root): Memory leak.
1855
0bd9908d
MS
1856 * gdbtypes.h (virtual_base_list): Remove export decl.
1857 * gdbtypes.c (virtual_base_list): Make static. Not called outside.
1858 (virtual_base_index): Memory leak.
1859 (virtual_base_index_skip_primaries): Ditto.
1860
bdb4c075
MG
18612007-08-17 Maxim Grigoriev <maxim2405@gmail.com>
1862
1863 * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS)
1864 (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS)
1865 (C0_CONST, C0_INEXP, C0_NOSTK): New macros.
1866 (xtensa_read_register): New function.
1867 (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg)
1868 (xtensa_insn_kind): New types.
1869 (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache)
1870 (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue)
1871 (xtensa_verify_config, xtensa_pseudo_register_read)
1872 (xtensa_pseudo_register_write, xtensa_extract_return_value)
1873 (xtensa_store_return_value)
1874 (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI.
1875 (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id)
1876 (xtensa_frame_this_id, xtensa_frame_prev_register)
1877 (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes.
1878 (call0_frame_cache, call0_frame_get_reg_at_entry)
1879 (call0_classify_opcode, call0_track_op)
1880 (call0_analyze_prologue, call0_frame_cache): New functions.
1881
198757a8
VP
18822007-08-17 Vladimir Prus <vladimir@codesourcery.com>
1883
1884 * breakpoint.c (bpstat_free): New.
1885 (bpstat_clear): Use bpstat_free.
1886 (delete_breakpoint): Document why we cannot
1887 remove bpstats from stop_bpstat.
1888 * breakpoint.h (bpstat_free): Declare.
1889
dc66ab8a
MS
18902007-08-16 Michael Snyder <msnyder@access-company.com>
1891
1892 * event-loop.c (gdb_wait_for_event): Move statement into "if" block.
1893
40c8aaa9
JB
18942007-08-15 Paul Hilfinger <hilfinger@adacore.com>
1895 Joel Brobecker <brobecker@adacore.com>
1896
1897 * ada-lang.c (resolve_subexp): Correct arity of binary operators.
1898
ee90b9ab
JB
18992007-08-15 Paul Hilfinger <hilfinger@adacore.com>
1900 Joel Brobecker <brobecker@adacore.com>
1901
1902 * ada-lang.c (possible_user_operator_p): Alternative fix to last
1903 checkin guarding against NULL.
1904
5b6fe301
MS
19052007-08-14 Michael Snyder <msnyder@access-company.com>
1906
e5908723
MS
1907 * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
1908 tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
1909 tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
1910 go at beginning of new line.
1911
08ef48c5
MS
1912 * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c,
1913 tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c,
1914 tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h,
1915 tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c,
1916 tui-winsource.h, tui.c, tui.h: Function declarations and
1917 definitions, wrap long lines.
1918
ef5eab5a
MS
1919 * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c,
1920 tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c:
1921 Reformat block comments to GNU standard.
1922
1cc6d956
MS
1923 * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c,
1924 tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c,
1925 tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c,
1926 tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h,
1927 tui.c, tui.h: Comment reformatting to coding standard (capitals,
1928 spaces after periods, etc).
1929
5b6fe301
MS
1930 * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c,
1931 tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c,
1932 tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c,
1933 tui-winsource.h: Whitespace changes, fix pointer declarations
1934 to be consistant.
1935
64a1bf19
JB
19362007-08-14 Joel Brobecker <brobecker@adacore.com>
1937 Michael Snyder <msnyder@access-company.com>
1938
1939 * ada-lang.c (field_alignment): Guard against NULL.
1940
e933291e
JB
19412007-08-14 Joel Brobecker <brobecker@adacore.com>
1942
1943 * MAINTAINERS (Global Maintainers): Add self.
1944
348144ba
MS
19452007-08-14 Michael Snyder <msnyder@access-company.com>
1946
068acb6c
MS
1947 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable.
1948
6d307763
MS
1949 * ada-lang.c (possible_user_operator_p): Guard against NULL.
1950
348144ba
MS
1951 * varobj.c (cplus_describe_child): Guard against null.
1952 Use "NULL" instead of "0" to initialize pointers.
1953
b8926edc
DJ
19542007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
1955
1956 * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings
1957 to match any gdbarch with matching OSABI. Set default ABI and FPU
1958 after running the OSABI handler.
1959
cdd6623c
DJ
19602007-08-14 Daniel Jacobowitz <dan@codesourcery.com>
1961
1962 * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here...
1963 * config/i386/linux.mt (TDEPFILES): ...to here.
1964
cb851954
VP
19652007-08-14 Vladimir Prus <vladimir@codesourcery.com>
1966
cb851954
VP
1967 * breakpoint.c (disable_breakpoints_in_shlibs): Remove
1968 the 'silent' parameter and code to implement that.
1969 * breakpoint.h (disable_breakpoints_in_shlibs): Adjust
1970 prototype.
1971 * win32-nat.c: Adjust.
1972 * solib.c: Adjust.
1973
e14a792b
VP
19742007-08-14 Vladimir Prus <vladimir@codesourcery.com>
1975
e14a792b
VP
1976 * breakpoint.c (update_breakpoints_after_exec): Don't
1977 set address to zero.
1978
be8ca11b
MS
19792007-08-13 Michael Snyder <msnyder@access-company.com>
1980
ac3eeb49
MS
1981 * valops.c: Whitespace clean-up.
1982
81b7c67a
MS
1983 * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation.
1984
f5b73fbb
MS
1985 * event-top.c (command_line_handler): Memory leak.
1986
b538c234
MS
1987 * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak.
1988 No need to make copy.
1989
be8ca11b
MS
1990 * source.c (find_source_lines): Require symtab 's'.
1991
489f0516
MS
19922007-08-11 Michael Snyder <msnyder@access-company.com>
1993
1994 * completer.c: Spelling fix in comments.
1995
9c3f90bd
MS
19962007-08-10 Michael Snyder <msnyder@access-company.com>
1997
687d6395 1998 * gdbtypes.c: Coding standard cleanup.
7ba81444
MS
1999 * gdbtypes.c: Comment/whitespace cleanup.
2000
6aef78af
MS
2001 * stabsread.c (read_huge_number): Attempt to compute value before
2002 values that it depends on.
2003
46be51c4
MS
2004 * linespec.c (decode_dollar): Dead code, ptr can't be non-null.
2005 (decode_objc): Use "NULL" instead of 0.
2006 (find_method): Ditto.
2007 (decode_all_digits): Ditto.
2008 (decode_dollar): Ditto.
2009
412bbd6c
MS
2010 * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
2011
76bd6e0b
MS
2012 * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.
2013
518f9d3c
MS
2014 * solib-svr4.c (enable_break): Don't free tmp_pathname until
2015 after closing bfd.
2016
9c3f90bd
MS
2017 * completer.c: Comment/whitespace cleanup.
2018
adee0206
JB
20192007-08-10 Joel Brobecker <brobecker@adacore.com>
2020
2021 * Makefile.in (i386nbsd-nat.o): Add missing dependency.
2022
20232007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
9f8e6999
MG
2024
2025 * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
2026 allocated file descriptors.
2027
271a27b8
JB
20282007-08-10 Joel Brobecker <brobecker@adacore.com>
2029
2030 * Makefile.in: Minor cleanup throughout; add some missing variables,
2031 add some missing rules, remove some rules that are no longer needed,
2032 and fix the dependencies in several rules.
2033
57da7796
LC
20342007-08-10 Ludovic Courtès <ludo@gnu.org>
2035
d4310edb
LC
2036 * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c.
2037 (scm_lang_h, scm_tags_h): New.
2038 (COMMON_OBS): Add scm-{exp,lang,valprint}.o.
2039 (scm-exp.o, scm-lang.o, scm-valprint.o): New targets.
2040 * defs.h (enum language): Add `language_scm'.
2041
57da7796
LC
2042 * MAINTAINERS: Add Emacs local variables to use UTF-8 upon
2043 opening.
2044
93c06293
LC
20452007-08-09 Ludovic Courtès <ludo@gnu.org>
2046
2047 * MAINTAINERS (Write After Approval): Add myself.
2048
0997b535
MS
20492007-08-09 Michael Snyder <msnyder@access-company.com>
2050
2051 * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer.
2052
4fec86cf
JB
20532007-08-09 Joel Brobecker <brobecker@adacore.com>
2054
2055 * solib-som.c (som_relocate_section_addresses): Stop saving
2056 the $CODE$ section in the so_list structure.
2057
7b871568
MG
20582007-08-08 Maxim Grigoriev <maxim2405@gmail.com>
2059
2060 * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New.
2061 (xtensa_register_group_t): Add entries for coprocessors.
2062 * xtensa-tdep.c (xtensa_init_reggroups): New register groups.
2063 (xtensa_add_reggroups): Likewise.
2064 (xtensa_register_reggroup_p): Likewise.
2065 (xtensa_coprocessor_register_group): New function.
2066 (xtensa_cp): New.
2067
652aaa24
JK
20682007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2069
2070 * serial.c (serial_open): Fix the OPEN parameter macro expansion.
2071
decbce07
MS
20722007-08-08 Michael Snyder <msnyder@access-company.com>
2073
6217bf3e
MS
2074 * target.c (target_read_string): Guard against null.
2075
6225abfa
MS
2076 * varobj.c (value_of_root): Move alloc after return to avoid leak.
2077
3e40160c 2078 * tui/tui-layout.c (tui_set_layout): Dead code, dead variable.
3277c0e0 2079 (tui_set_layout_for_display_command): Mem leak.
3e40160c 2080
91d2803c
MS
2081 * top.c (command_line_input): Memory leak.
2082
ea5bf0a1
MS
2083 * solib-svr4.c (open_symbol_file_object): Memory leak.
2084 (svr4_current_sos): Ditto.
2085 (enable_break): Ditto.
2086
34e2dfde
MS
2087 * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak.
2088
decbce07
MS
2089 * dwarf2read.c (add_partial_symbol): Memory leak.
2090
4cdfadb1
MS
20912007-08-06 Michael Snyder <msnyder@access-company.com>
2092
2093 * ada-lang.c (desc_bounds): Comparison of function address to NULL.
2094
b1ddacc7
JB
20952007-08-05 Jim Blandy <jimb@codesourcery.com>
2096
2097 * macroexp.c (init_buffer): Remove testing code that overrides the
2098 caller's length guess.
2099 (gather_arguments): Use a larger initial size, now that the vector
2100 growth code has been exercised.
2101
5d9643ba
PA
21022007-08-05 Pedro Alves <pedro_alves@portugalmail.pt>
2103
2104 * solib-target.c (solib_target_relocate_section_addresses): Add
2105 orig_delta to addr_high.
2106
27e06d3e
MS
21072007-08-04 Michael Snyder <msnyder@access-company.com>
2108
1ed489bd
MS
2109 * remote-fileio.c (remote_fileio_func_write): Memory leak.
2110
c1f5197e
MS
2111 * breakpoint.c (print_one_breakpoint): Off by one error.
2112
27e06d3e
MS
2113 * tracepoint.c (add_register): Off by one error.
2114 (stringify_collection_list): Free malloc buffer.
2115
03b4bca2
MS
21162007-08-03 Michael Snyder <msnyder@access-company.com>
2117
474d0d0c
MS
2118 * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable,
2119 stop memory leak, straighten out cleanups.
2120
03b4bca2
MS
2121 * jv-lang.c (java_link_class_type): Guard against NULL.
2122
423c0af8
MS
21232007-08-02 Michael Snyder <msnyder@access-company.com>
2124
f9780d5b
MS
2125 * gdbtypes.c (create_set_type): Test should only be done within
2126 the preceeding if block. Otherwise, variable is uninitialized.
2127
423c0af8
MS
2128 * gdbtypes.c (check_typedef): Guard NULL.
2129
c0645fb5
MS
21302007-08-01 Michael Snyder <msnyder@access-company.com>
2131
3cebf8d8
MS
2132 * cli/cli-decode.c (lookup_cmd): Check for null earlier, to
2133 avoid dereference in lookup_cmd_1.
2134
c0645fb5
MS
2135 * tui/tui-data.c (tui_alloc_content): Move assign out of if,
2136 clean up long lines.
2137 (tui_alloc_generic_win_info): Tidy by using XMALLOC macro.
2138 (tui_alloc_win_info): Ditto.
2139 (tui_add_content_elements): Ditto.
2140 * tui/tui-file.c (tui_file_magic): Ditto.
2141
abe34c35
MS
21422007-07-31 Michael Snyder <msnyder@access-company.com>
2143
967af18d
MS
2144 * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'.
2145 True and false paths are mutually exclusive.
2146
40742ab6
MS
2147 * event-top.c (command_line_handler): Add pedantic return.
2148
7c6e0d48
MS
2149 * f-valprint.c (info_common_command): Bail out to prevent null
2150 pointer deref. Break up a long line.
2151
c7b1adc9
MS
2152 * exec.c (xfer_memory): Remove redundant condition from 'if'.
2153
73780b3c
MS
2154 * symfile.c (reread_separate_symbols): Free xmalloced memory.
2155
abe34c35
MS
2156 * printcmd.c (build_address_symbolic): Remove dead code and dead
2157 variable.
2158
e48883f7
DJ
21592007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
2160
2161 * linespec.c (minsym_found): Advance to the next line if possible.
2162
57204837
PA
21632007-07-31 Pedro Alves <pedro_alves@portugalmail.pt>
2164
2165 * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
2166 * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
2167 solib-svr4.o, and add solib-target.o
2168
fed8b01e
MS
21692007-07-27 Michael Snyder <msnyder@access-company.com>
2170
2171 * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
2172
9ceb0b4c
MR
21732007-07-26 Maciej W. Rozycki <macro@linux-mips.org>
2174
2175 * MAINTAINERS (Write After Approval): Add myself.
2176
c80a96a8
MR
21772007-07-26 Maciej W. Rozycki <macro@mips.com>
2178
2179 * Makefile.in (MAKEHTMLFLAGS): Also search the current directory
2180 for include files.
2181
5b311828
MR
21822007-07-25 Maciej W. Rozycki <macro@mips.com>
2183
2184 * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary".
2185
f52df7d9 21862007-07-24 Michael Snyder <msnyder@access-company.com>
55765a25 2187
f52df7d9
MS
2188 * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of
2189 'buffer' must cover both branches that call strcmp (Coverity).
55765a25 2190
f52df7d9 2191 * stack.c (print_frame_args): Check return value of lookup_symbol.
747f3d18
MS
2192
2193 * ax-gdb.c (find_field): Guard against null ptr.
2194
69ae91d3
UW
21952007-07-24 Ulrich Weigand <uweigand@de.ibm.com>
2196
2197 * regformats/reg-spu.dat: Fix order of npc, id registers.
2198
98646950
UW
21992007-07-24 Ulrich Weigand <uweigand@de.ibm.com>
2200
2201 * target.c (memory_xfer_partial): Accesses to unmapped overlay
2202 sections should always go to the executable file.
2203
193774b3
MR
22042004-07-20 Chris Dearman <chris@mips.com>
2205
2206 * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function
2207 prologue instructions.
2208
ce1f96de
MR
22092007-07-20 Maciej W. Rozycki <macro@mips.com>
2210
2211 * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of
2212 a direct test.
2213
bcf1ea1e
MR
22142007-07-20 Chris Dearman <chris@mips.com>
2215 Maciej W. Rozycki <macro@mips.com>
2216
2217 * mips-tdep.c (fetch_mips_16): Fix typos and reformat the
2218 description.
2219
255e7678
DJ
22202007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
2221 Daniel Jacobowitz <dan@codesourcery.com>
2222
2223 * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
2224 * coff-pe-read.c (read_pe_exported_syms): Delete verbose
2225 printf.
2226 * NEWS: Mention gdbserver DLL support.
2227
a8c50c1f
DJ
22282007-07-17 Daniel Jacobowitz <dan@codesourcery.com>
2229
2230 * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches.
2231
2e024c20
L
22322007-07-16 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
2235 warning bug.
2236
f219aedc
KB
22372007-07-13 Kevin Buettner <kevinb@redhat.com>
2238
2239 * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
2240 instruction case.
2241
1ba3e7a3
KB
22422007-07-12 Kevin Buettner <kevinb@redhat.com>
2243
2244 * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
2245 (mep_analyze_prologue): Add case for BRA instruction.
2246
f1e55806
UW
22472007-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2248
2249 * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic.
2250
d9f71b56
NR
22512007-07-10 Nick Roberts <nickrob@snap.net.nz>
2252
2253 * breakpoint.c: Include "top.h".
2254 (breakpoint_1): Don't set convenience variable $_ if server prefix
2255 is used.
2256 (_initialize_breakpoint): Describe this behaviour in command help.
2257
358eb95e
PA
22582007-07-08 Pedro Alves <pedro_alves@portugalmail.pt>
2259
2260 * solib-target.c (library_list_start_segment): Cast address to
2261 CORE_ADDR.
2262
a4e7b2e7
MK
22632007-07-06 Mark Kettenis <kettenis@gnu.org>
2264
2265 * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs
2266 for terminated processes.
2267
2ed23f5f
MS
22682007-07-05 Michael Snyder <msnyder@access-company.com>
2269
2270 * event-top.c (cli_command_loop): Prompt string can (and should)
2271 be freed after call to readline (Coverity). Also move local var
2272 declarations into block where they are used.
2273
2274 * tui/tui-interp.c (tui_command_loop): Prompt string can (and
2275 should) be freed after call to readline (Coverity). Also move
2276 local var declarations into block where they are used.
2277
a25694b4
AS
22782007-07-03 Andreas Schwab <schwab@suse.de>
2279
2280 * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in
2281 /proc/../stat.
2282
2bbe3cc1
DJ
22832007-07-03 Paul Gilliam <pgilliam@us.ibm.com>
2284 Thiago Bauermann <bauerman@br.ibm.com>
2285 Joseph S. Myers <joseph@codesourcery.com>
2286 Daniel Jacobowitz <dan@codesourcery.com>
2287
2288 * remote.c (remote_check_symbols): Use
2289 gdbarch_convert_from_func_ptr_addr.
2290 * infcall.c (find_function_addr): Handle function descriptors
2291 without debugging information.
2292 * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed
2293 from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt.
2294 (ppc_linux_init_abi): Always set convert_from_func_ptr_addr.
2295 * solib-svr4.c (solib_break_names): Remove "._dl_debug_state".
2296 (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always
2297 allow SEC_CODE and SEC_DATA.
2298 (enable_break): Update calls. Pass current_target to solib_add.
2299 Use gdbarch_convert_from_func_ptr_addr.
2300
9f43d28c
DJ
23012007-07-03 Ilko Iliev <iliev@ronetix.at>
2302 Daniel Jacobowitz <dan@codesourcery.com>
2303
2304 * symfile.c (print_transfer_performance): Avoid integer overflow.
2305 Use larger units.
2306
3a40aaa0
UW
23072007-07-03 Markus Deuling <deuling@de.ibm.com>
2308
2309 * cp-namespace.c (lookup_symbol_file): Add block to
2310 lookup_symbol_global call.
2311 * Makefile.in (solist_h): Add dependency on symtab header.
2312 (symtab.o): Add dependency on solist header.
2313 * solib.c (solib_global_lookup): New function.
2314 * solib-svr4.c (scan_dyntag): Likewise.
2315 (elf_locate_base): Call helper routine scan_dyntag.
2316 (elf_lookup_lib_symbol): New function.
2317 (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops.
2318 * solist.h (symtab.h): New include.
2319 (struct target_so_ops): New member lookup_lib_global_symbol.
2320 (solib_global_lookup): New prototype.
2321 * symtab.c: New include solist.h.
2322 (lookup_objfile_from_block): New function.
2323 (lookup_global_symbol_from_objfile): New function.
2324 (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call.
2325 (lookup_symbol_global): Call library-specific lookup procedure.
2326 * symtab.h (lookup_global_symbol_from_objfile): New prototype.
2327
2328 * NEWS: Document framework.
2329
c8c12293
DJ
23302007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
2331
2332 * target-descriptions.c (tdesc_create_reg): Do not set reg->type
2333 to NULL.
2334
2335 * cli/cli-script.c (build_command_line): Update NULL check.
2336
7877e977
MS
23372007-07-02 Michael Snyder <msnyder@access-company.com>
2338
2339 * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity).
2340
cfa9d6d9
DJ
23412007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
2342
2343 * Makefile.in (XMLFILES): Add library-list.dtd.
2344 (ALLDEPFILES): Add solib-target.o.
2345 (solib-target.o): New rule.
2346 * remote.c (PACKET_qXfer_libraries): New constant.
2347 (remote_protocol_features): Add qXfer:libraries:read.
2348 (remote_wait): Recognize library stop replies.
2349 (remote_async_wait): Likewise. Fix typo.
2350 (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.
2351 (init_remote_async_ops): Fix typo.
2352 (_initialize_remote): Register "set remote library-info-packet".
2353 * solib-som.c (som_current_sos): Set addr_low and addr_high.
2354 * solib-target.c: New file.
2355 * solib.c (solib_map_sections): Use addr_low and addr_high instead
2356 of textsection.
2357 (info_sharedlibrary_command): Likewise.
2358 (solib_add_library, solib_remove_library): New.
2359 * solist.h (struct so_list): Replace textsection with addr_low and
2360 addr_high.
2361 * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES.
2362 * NEWS: Describe new qXfer:libraries:read and shared library
2363 event support.
2364 * features/library-list.dtd: New.
2365
b0f4b84b
DJ
23662007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
2367
2368 * infrun.c (inferior_ignoring_startup_exec_events): Delete.
2369 (start_remote): Use STOP_QUIETLY_REMOTE.
2370 (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED
2371 support on a SOLIB_ADD definition. Update breakpoints_inserted.
2372 Update to match shared library event breakpoint support. Only
2373 resume if appropriate. Handle STOP_QUIETLY_REMOTE.
2374 (normal_stop): Handle TARGET_WAITKIND_LOADED.
2375 * fork-child.c (startup_inferior): Do not set
2376 inferior_ignoring_startup_exec_events
2377 * inferior.h (inferior_ignoring_startup_exec_events): Delete
2378 declaration.
2379 (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE.
2380
9bbf65bb
UW
23812007-07-02 Markus Deuling <deuling@de.ibm.com>
2382
2383 * breakpoint.c (insert_bp_location): Remove dead code
2384 (DISABLE_UNSETTABLE_BREAK).
2385 (disable_breakpoints_in_shlibs)
2386 (disable_breakpoints_in_unloaded_shlib): Likewise (comment).
2387
a4954f26
DJ
23882007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
2389
2390 * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint.
2391 Call insert_bp_location.
2392
b48516f9
L
23932007-07-01 H.J. Lu <hongjiu.lu@intel.com>
2394
2395 * core-regset.c (fetch_core_registers): Work around gcc 3.4
2396 alias warning bug.
2397
96225718
DJ
23982007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
2399
2400 * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer
2401 objfiles.
2402
1b05479a
DJ
24032007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
2404
2405 * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove.
2406 (struct gdb_readline_wrapper_cleanup): Remove prompt_orig.
2407 (gdb_readline_wrapper_cleanup): Do not reset the prompt.
2408 (gdb_readline_wrapper): Do not save the prompt. Pass our prompt
2409 to display_gdb_prompt.
2410
5ad3a4ca
DJ
24112007-07-01 Daniel Jacobowitz <dan@codesourcery.com>
2412
2413 PR symtab/2161
2414 * target.c (memory_xfer_partial): Do not continue past targets with
2415 all memory.
2416
4ed77933
AS
24172007-06-30 Andreas Schwab <schwab@suse.de>
2418
4713453b
AS
2419 * m68k-tdep.c (m68k_ps_type): New.
2420 (m68k_init_types): New.
2421 (m68k_register_type): Use m68k_ps_type for PS register.
2422 (_initialize_m68k_tdep): Call m68k_init_types.
2423
4ed77933
AS
2424 * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour
2425 from the generic m68k arch.
2426
dd3526aa
MS
24272007-06-28 Michael Snyder <msnyder@access-company.com>
2428
f08312c2
MS
2429 * m2-typeprint.c (m2_print_type): Move pointer ref after null test
2430 (Coverity).
2431
a787bedf
MS
2432 * linux-thread-db.c (thread_db_get_thread_local_address): Add
2433 gdb_assert before using return value of find_thread_pid (Coverity).
2434
77accacd
MS
2435 * source.c (unset_substitute_path_command): Plug leak (Coverity).
2436
dd3526aa
MS
2437 * cli/cli-script.c (build_command_line): Add null pointer guard
2438 (Coverity).
2439
4105de34
DJ
24402007-06-27 Daniel Jacobowitz <dan@codesourcery.com>
2441
2442 * linux-thread-db.c (thread_db_attach): Delete.
2443 (thread_db_detach): Typo fix. Call target_mourn_inferior
2444 instead of fixing up proc_handle.
2445 (have_threads_callback, have_threads): New functions.
2446 (thread_db_wait): Remove dead proc_handle.pid check. Only
2447 translate PTIDs if we have registered threads. Check for new
2448 threads if we have none.
2449 (thread_db_create_inferior, thread_db_post_startup_inferior): Delete.
2450 (find_new_threads_callback): Only enable event reporting if TID == 0.
2451 (same_ptid_callback): New.
2452 (thread_db_get_thread_local_address): Check for new threads.
2453 (init_thread_db_ops): Don't set to_attach, to_create_inferior,
2454 or to_post_startup_inferior.
2455
1c0fdd0e
UW
24562007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2457
2458 * infrun.c (adjust_pc_after_break): Do not assume software single-step
2459 is always active if SOFTWARE_SINGLE_STEP_P is true.
2460 (resume): Use gdbarch_software_single_step[_p] instead of
2461 SOFTWARE_SINGLE_STEP[_P].
2462 (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
2463
2464 * gdbarch.sh (software_single_step): Remove target macro.
2465 * gdbarch.h, gdbarch.c: Regenerate.
2466
e487cc15
UW
24672007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2468
2469 * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap,
2470 DEPRECATED_REGISTER_GDBARCH_SWAP): Remove.
2471 (struct gdbarch_swap, struct gdbarch_swap_registration,
2472 struct gdbarch_swap_registry, gdbarch_swap_registry,
2473 current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack,
2474 current_gdbarch_swap_in_hack): Remove.
2475 (find_arch_by_info): Do not call current_gdbarch_swap_init_hack.
2476 (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack
2477 and current_gdbarch_swap_out_hack, update current_gdbarch directly.
2478 (deprecated_current_gdbarch_select_hack): Likewise.
2479 * gdbarch.h, gdbarch.c: Regenerate.
2480
d5c31457
UW
24812007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2482
2483 * infrun.c (clear_proceed_status): Clean up stop_registers.
2484 (normal_stop): Allocate regcache for stop_registers.
2485 (struct inferior_status): Remove stop_registers member.
2486 (save_inferior_status): Do not save stop_registers.
2487 (restore_inferior_status): Do not restore stop_registers.
2488 (discard_inferior_status): Do not discard stop_registers.
2489 (build_infrun): Remove.
2490 (_initialize_infrun): Do not swap stop_registers.
2491
911c95a5
UW
24922007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2493
2494 * remote.c (remote_address_masked): If remote_address_size is zero,
2495 default to target address size.
2496 (build_remote_gdbarch_data): Remove.
2497 (_initialize_remote): Do not swap remote_address_size.
2498
5674de60
UW
24992007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2500
2501 * gdbtypes.h (builtin_type_true_char, builtin_type_void,
2502 builtin_type_char, builtin_type_short, builtin_type_int,
2503 builtin_type_long, builtin_type_signed_char,
2504 builtin_type_unsigned_char, builtin_type_unsigned_short,
2505 builtin_type_unsigned_int, builtin_type_unsigned_long,
2506 builtin_type_float, builtin_type_double, builtin_type_long_double,
2507 builtin_type_complex, builtin_type_double_complex, builtin_type_string,
2508 builtin_type_bool, builtin_type_long_long,
2509 builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
2510 builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global
2511 variable declaration with compatibility macro.
2512 * gdbtypes.c (builtin_type_true_char, builtin_type_void,
2513 builtin_type_char, builtin_type_short, builtin_type_int,
2514 builtin_type_long, builtin_type_signed_char,
2515 builtin_type_unsigned_char, builtin_type_unsigned_short,
2516 builtin_type_unsigned_int, builtin_type_unsigned_long,
2517 builtin_type_float, builtin_type_double, builtin_type_long_double,
2518 builtin_type_complex, builtin_type_double_complex, builtin_type_string,
2519 builtin_type_bool, builtin_type_long_long,
2520 builtin_type_unsigned_long_long, builtin_type_void_data_ptr,
2521 builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove.
2522 (build_gdbtypes): Remove.
2523 (_initialize_gdbtypes): Do not call build_gdbtypes, move installing
2524 opaque-type-resolution command here. Do not call
2525 deprecated_register_gdbarch_swap.
2526
64c50499
UW
25272007-06-22 Ulrich Weigand <uweigand@de.ibm.com>
2528
2529 * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol,
2530 nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol.
2531 * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types.
2532
2533 * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove.
2534 (msym_unknown_symbol_type, msym_tls_symbol_type): Remove.
2535 (write_exp_msymbol): Use builtin nodebug_ types instead of them.
2536 (build_parse): Remove.
2537 (_initialize_parse): Do not call build_parse. Do not register
2538 msym_ types for gdbarch-swapping.
2539
2540 * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type
2541 instead of creating private type.
2542
2543 * xcoffread.c (func_symbol_type, var_symbol_type): Remove.
2544 (_initialize_xcoffread): Do not initialized them.
2545 (process_xcoff_symbol): Use builtin nodebug_ types instead of them.
2546
2547 * mdebugread.c (nodebug_func_symbol_type): Remove.
2548 (nodebug_var_symbol_type): Remove.
2549 (_initialize_mdebugread): Do not initialize them.
2550 (parse_symbol): Use builtin nodebug_ type instead of them.
2551 (parse_procedure): Likewise.
2552
6a2eb474
MR
25532007-06-21 Chris Dearman <chris@mips.com>
2554
2555 * printcmd.c (do_one_display): If display/i, start with an initial
2556 line feed to avoid bad layout if there is a branch delay slot.
2557
a4642986
MR
25582007-06-21 Nigel Stephens <nigel@mips.com>
2559 Maciej W. Rozycki <macro@mips.com>
2560
2561 * disasm.c (gdb_print_insn): Return the number of branch delay
2562 slot instructions too.
2563 * disasm.h (gdb_print_insn): Update prototype.
2564 * printcmd.c (branch_delay_insns): New variable to record the
2565 number of delay slot instructions after disassembling a branch.
2566 (print_formatted): Record the number of branch delay slot
2567 instructions.
2568 (do_examine): When disassembling, if the last instruction
2569 disassembled has any branch delay slots, then bump the count so
2570 that they get disassembled too.
2571 * tui/tui-disasm.c (tui_disassemble): Update the call to
2572 gdb_print_insn().
2573 * NEWS: Document the new behaviour.
2574
ade28716
AS
25752007-06-21 Andreas Schwab <schwab@suse.de>
2576
2577 * regcache.c (write_pc_pid): Restore missing else.
2578
28c38f10
UW
25792007-06-20 Ulrich Weigand <uweigand@de.ibm.com>
2580
2581 * regcache.c (regcache_print): Use get_current_regcache ()
2582 instead of current_regcache.
2583
52b57208
L
25842007-06-20 H.J. Lu <hongjiu.lu@intel.com>
2585
2586 PR 4606
2587 * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags
2588 instead of bfd_make_section_anyway.
2589 (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD
2590 when clearing SEC_LOAD.
2591
8bf8793c
JM
25922007-06-19 Joseph Myers <joseph@codesourcery.com>
2593
2594 * arm-tdep.c (arm_push_dummy_call): Correct padding of partial
2595 registers for big-endian.
2596
7f5c84d3
UW
25972007-06-19 Markus Deuling <deuling@de.ibm.com>
2598
2599 * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn.
2600 * disasm.c (dump_insns, gdb_print_insn): Likewise.
2601 * gdbarch.c, gdbarch.h: Regenerate.
2602
f73e88f9
UW
26032007-06-19 Markus Deuling <deuling@de.ibm.com>
2604
2605 * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by
2606 gdbarch_believe_pcc_promotion.
2607 * stabsread.c (define_symbol): Likewise.
2608 Remove unnecessary definition.
2609 * coffread.c (process_coff_symbol): Remove unnecessary code.
2610 * gdbarch.c, gdbarch.h: Regenerate.
2611
cab58a69
DJ
26122007-06-19 Daniel Jacobowitz <dan@codesourcery.com>
2613
2614 * configure.ac: Do not use ${objdir}.
2615 * configure: Regenerated.
2616
f0c9063c
UW
26172007-06-18 Ulrich Weigand <uweigand@de.ibm.com>
2618
2619 * gdbarch.sh (deprecated_register_size): Remove.
2620 * gdbarch.h, gdbarch.c: Regenerate.
2621
2622 * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE
2623 by INT_REGISTER_SIZE.
2624 (thumb_get_next_pc, arm_return_in_memory): Likewise.
2625 (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size.
2626 * ia64-tdep.c (ia64_gdbarch_init): Do not call
2627 set_gdbarch_deprecated_register_size.
2628
064f5156
UW
26292007-06-18 Markus Deuling <deuling@de.ibm.com>
2630
2631 * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by
2632 gdbarch_deprecated_fp_regnum.
2633 * std-regs.c (value_of_builtin_frame_fp_reg): Likewise.
2634 * remote-mips.c (mips_wait, mips_fetch_registers): Likewise.
2635 * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
2636 * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise
2637 (comment).
2638 * gdbarch.c, gdbarch.h: Regenerate.
2639
26402007-06-18 Markus Deuling <deuling@de.ibm.com>
2641
2642 * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with
2643 gdbarch_extract_return_value.
2644 * value.c (generic_use_struct_convention): Likewise (comment).
2645 * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment).
2646 * arch-utils.c (legacy_return_value): Likewise.
2647 * arch-utils.h (legacy_return_value): Likewise (comment).
2648 * gdbarch.sh (STORE_RETURN_VALUE): Replace by
2649 gdbarch_store_return_value.
2650 * stack.c (return_command): Likewise (comment).
2651 * arch-utils.h (legacy_return_value): Likewise (comment).
2652 * arch-utils.c (legacy_return_value): Likewise.
2653 * gdbarch.c, gdbarch.h: Regenerate.
2654
b187c476
UW
26552007-06-18 Markus Deuling <deuling@de.ibm.com>
2656
2657 * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by
2658 gdbarch_deprecated_use_struct_convention.
2659 * arch-utils.c (legacy_return_value): Likewise.
2660 * gdbarch.c, gdbarch.h: Regenerate.
2661
cbf3b44a
UW
26622007-06-18 Markus Deuling <deuling@de.ibm.com>
2663
2664 * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by
2665 gdbarch_deprecated_function_start_offset.
2666 * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise.
2667 * linespec.c (minsym_found): Likewise.
2668 * infrun.c (handle_inferior_event): Likewise.
2669 * infcall.c (find_function_addr): Likewise.
2670 * cli/cli-cmds.c (disassemble_command): Likewise.
2671 * gdbarch.c, gdbarch.h: Regenerate.
2672
bceb6e50
UW
26732007-06-18 Markus Deuling <deuling@de.ibm.com>
2674
2675 * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by
2676 gdbarch_deprecated_reg_struct_has_addr.
2677 * infcall.c (call_function_by_hand): Likewise.
2678 (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by
2679 * gdbarch_deprecated_reg_struct_has_addr_p.
2680 * infcall.c (call_function_by_hand): Likewise.
2681 * gdbarch.c, gdbarch.h: Regenerate.
2682
8ed6a7ba
UW
26832007-06-18 Markus Deuling <deuling@de.ibm.com>
2684
2685 * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
2686 * sh-tdep.c (sh_extract_struct_value_address): Remove.
2687 (sh_gdbarch_init): Remove
2688 set_gdbarch_deprecated_extract_struct_value_address.
2689 * sh64-tdep.c (sh64_extract_struct_value_address): Remove.
2690 (sh64_gdbarch_init): Remove
2691 set_gdbarch_deprecated_extract_struct_value_address.
2692 * ia64-tdep.c (ia64_extract_struct_value_address): Remove.
2693 (ia64_gdbarch_init): Remove
2694 set_gdbarch_deprecated_extract_struct_value_address.
2695 * frv-tdep.c (frv_extract_struct_value_address): Remove.
2696 (frv_gdbarch_init): Remove
2697 set_gdbarch_deprecated_extract_struct_value_address.
2698 * gdbarch.c, gdbarch.h: Regenerate.
2699
3e8c568d
UW
27002007-06-18 Markus Deuling <deuling@de.ibm.com>
2701
2702 * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum.
2703 * v850-tdep.c (v850_unwind_sp): Likewise.
2704 * std-regs.c (value_of_builtin_frame_sp_reg): Likewise.
2705 * stack.c (frame_info): Likewise.
2706 * stabsread.c (define_symbol): Likewise.
2707 * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu)
2708 (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register)
2709 (sh_unwind_sp): Likewise.
2710 * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache)
2711 (sh64_frame_prev_register, sh64_unwind_sp): Likewise.
2712 * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id)
2713 (rs6000_frame_cache): Likewise.
2714 * rs6000-nat.c (store_register): Likewise.
2715 * remote-mips.c (mips_wait): Likewise.
2716 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
2717 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
2718 (ppc64_sysv_abi_push_dummy_call): Likewise.
2719 * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
2720 * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
2721 * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
2722 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
2723 * m32r-rom.c (m32r_supply_register): Likewise.
2724 * frame.c (frame_sp_unwind): Likewise.
2725 * mips-tdep.c (mips_insn16_frame_cache)
2726 (mips_insn32_frame_cache): Likewise (comment).
2727 * m68klinux-nat.c (supply_gregset): Likewise.
2728 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
2729 * ia64-tdep.c (ia64_frame_prev_register): Likewise.
2730 * i386-tdep.c (i386_get_longjmp_target): Likewise.
2731 * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
2732 * cris-tdep.c (cris_regnums, cris_sigcontext_addr)
2733 (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call)
2734 (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp)
2735 (cris_register_type, crisv32_register_type)
2736 (cris_dwarf2_frame_init_reg): Likewise.
2737 * arch-utils.c (legacy_virtual_frame_pointer): Likewise.
2738 * amd64-tdep.c (amd64_frame_prev_register): Likewise.
2739 * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise.
2740 * libunwind-frame.c (libunwind_frame_cache): Likewise.
2741
2742 * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum.
2743 * regcache.c (read_pc_pid, generic_target_write_pc): Likewise.
2744 * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset)
2745 (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register)
2746 (xtensa_extract_return_value, xtensa_store_return_value): Likewise.
2747 * v850-tdep.c (v850_unwind_pc): Likewise.
2748 * stack.c (frame_info): Likewise.
2749 * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs)
2750 (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs)
2751 (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs)
2752 (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc)
2753 (sh_dsp_show_regs): Likewise.
2754 * shnbsd-tdep.c (shnbsd_supply_gregset)
2755 (shnbsd_collect_gregset): Likewise.
2756 * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise.
2757 * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs)
2758 (sh64_frame_prev_register, sh64_unwind_pc): Likewise.
2759 * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
2760 (6000_register_reggroup_p, rs6000_unwind_pc)
2761 (rs6000_frame_cache): Likewise.
2762 * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers)
2763 (rs6000_store_inferior_registers): Likewise.
2764 * remote-mips.c (mips_wait, mips_load): Likewise.
2765 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
2766 * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
2767 * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
2768 * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
2769 * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise.
2770 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
2771 * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers)
2772 (store_ppc_registers, fill_gregset): Likewise.
2773 * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise.
2774 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise.
2775 * mipsnbsd-nat.c (getregs_supplies): Likewise.
2776 * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise.
2777 * m68klinux-nat.c (supply_gregset): Likewise.
2778 * irix5-nat.c (fill_gregset): Likewise.
2779 * i386-tdep.c (i386_unwind_pc): Likewise.
2780 * i386-linux-nat.c (i386_linux_resume): Likewise.
2781 * frame.c (get_prev_frame_1): Likewise.
2782 * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise.
2783 * dbug-rom.c (dbug_supply_register): Likewise.
2784 * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue)
2785 (crisv32_scan_prologue, cris_unwind_pc, cris_register_size)
2786 (cris_register_type, crisv32_register_type, crisv32_register_name)
2787 (cris_dwarf2_frame_init_reg, find_step_target)
2788 (cris_software_single_step, cris_supply_gregset)
2789 (cris_regnums): Likewise.
2790 * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
2791 * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32)
2792 (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise.
2793 * std-regs.c (value_of_builtin_frame_pc_reg): Likewise.
2794 * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
2795
2796 * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum.
2797 * dbug-rom.c (dbug_supply_register): Likewise.
2798 * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache)
2799 (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise.
2800 * win32-nat.c (win32_resume): Likewise.
2801 * std-regs.c (value_of_builtin_frame_ps_reg): Likewise.
2802 * m68k-tdep.c (m68k_register_type): Likewise.
2803 * m68klinux-nat.c (supply_gregset): Likewise.
2804
2805 * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum.
2806 * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu)
2807 (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs)
2808 (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type)
2809 (fv_reg_base_num, dr_reg_base_num): Likewise.
2810 * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num)
2811 (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call)
2812 (sh64_extract_return_value, sh64_store_return_value)
2813 (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type)
2814 (sh64_do_fp_register, sh64_media_print_registers_info): Likewise.
2815 * procfs.c (procfs_fetch_registers, procfs_store_registers)
2816 (invalidate_cache): Likewise.
2817 * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise.
2818 * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg)
2819 (mipsnbsd_fill_fpreg): Likewise.
2820 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers)
2821 (mipsnbsd_store_inferior_registers): Likewise.
2822 * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset)
2823 (mips64_supply_fpregset, mips64_fill_fpregset): Likewise.
2824 * mips-linux-nat.c (mips64_linux_register_addr): Likewise.
2825 * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise.
2826 * m68klinux-nat.c (getfpregs_supplies, supply_fpregset)
2827 (fill_fpregset): Likewise.
2828 * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise.
2829 * i386-tdep.h (struct_return): Likewise (comment).
2830 * i386-nto-tdep.c (i386nto_register_area): Likewise.
2831 * go32-nat.c (fetch_register, go32_fetch_registers, store_register)
2832 (go32_store_registers): Likewise.
2833 * alpha-tdep.c (alpha_next_pc): Likewise.
2834 * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise.
2835 * alphabsd-nat.c (alphabsd_fetch_inferior_registers)
2836 (alphabsd_store_inferior_registers): Likewise.
2837 * core-regset.c (fetch_core_registers): Likewise.
2838 * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise.
2839
2840 * gdbarch.c, gdbarch.h: Regenerate.
2841
31d99776
DJ
28422007-06-18 Daniel Jacobowitz <dan@codesourcery.com>
2843
2844 * coffread.c (coff_sym_fns): Add default_symfile_segments.
2845 * dbxread.c (start_psymtab): Check HAVE_ELF.
2846 (aout_sym_fns): Likewise.
2847 * elfread.c (elf_symfile_segments): New.
2848 (elf_sym_fns): Add elf_symfile_segments.
2849 * mipsread.c (ecoff_sym_fns): Add default_symfile_segments.
2850 * remote.c (get_offsets): Use symfile_map_offsets_to_segments.
2851 Skip if there is no symfile_objfile. Handle TextSeg and DataSeg.
2852 * somread.c (som_sym_fns): Use default_symfile_segments.
2853 * symfile.c (find_sym_fns): Take a BFD and return the sym_fns.
2854 (init_objfile_sect_indices): Call symfile_find_segment_sections.
2855 (default_symfile_segments): New function.
2856 (syms_from_objfile): Update call to find_sym_fns.
2857 (symfile_get_segment_data, free_symfile_segment_data): New.
2858 (symfile_map_offsets_to_segments): New.
2859 (symfile_find_segment_sections): New.
2860 * symfile.h (struct symfile_segment_data): New.
2861 (struct sym_fns): Add sym_segments.
2862 (default_symfile_segments, symfile_get_segment_data)
2863 (free_symfile_segment_data): New prototypes.
2864 (symfile_map_offsets_to_segments): Likewise.
2865 * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments.
2866 * Makefile.in (COMMON_OBS): Remove elfread.o.
2867 (elf_internal_h): New.
2868 (elfread.o): Update.
2869 * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was
2870 compiled.
2871 * config.in, configure: Regenerated.
2872 * NEWS: Mention qOffsets changes.
2873
5760b90a
UW
28742007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2875
2876 * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int,
2877 builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
2878 Replace global variable declaration with compatibility macro.
2879 (struct builtin_m2_type): New data type.
2880 (builtin_m2_type): Add prototype.
2881 * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int,
2882 builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool):
2883 Remove global variables.
2884 (m2_language_arch_info): Use builtin_m2_type instead of variables.
2885 (build_m2_types): New function.
2886 (m2_type_data): New variable.
2887 (builtin_m2_type): New function.
2888 (_initialize_m2_language): Do not build data types. Register
2889 m2_type_data per-gdbarch data.
2890
54ef06c7
UW
28912007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2892
2893 * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
2894 builtin_type_f_logical_s1, builtin_type_f_logical_s2,
2895 builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
2896 builtin_type_f_real_s8, builtin_type_f_real_s16,
2897 builtin_type_f_complex_s8, builtin_type_f_complex_s16,
2898 builtin_type_f_complex_s32, builtin_type_f_void): Replace global
2899 variable declaration with compatibility macro.
2900 (struct builtin_f_type): New data type.
2901 (builtin_f_type): Add prototype.
2902 * f-lang.c (builtin_type_f_character, builtin_type_f_logical,
2903 builtin_type_f_logical_s1, builtin_type_f_logical_s2,
2904 builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real,
2905 builtin_type_f_real_s8, builtin_type_f_real_s16,
2906 builtin_type_f_complex_s8, builtin_type_f_complex_s16,
2907 builtin_type_f_complex_s32, builtin_type_f_void): Remove variables.
2908 (f_language_arch_info): Use builtin_f_type instead of variables.
2909 (build_fortran_types): Build builtin_f_type structure instead of
2910 setting global type variables.
2911 (f_type_data): New variable.
2912 (builtin_f_type): New function.
2913 (_initialize_f_language): Do not call build_fortran_types. Do not
2914 swap global type variables. Register f_type_data per-gdbarch data.
2915
92e0cef4
UW
29162007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2917
2918 * f-lang.c (_initialize_f_language): Do not initialize or
2919 swap builtin_type_string.
2920
5d8140d1
UW
29212007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2922
0e7b1906
UW
2923 * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg,
2924 value_of_builtin_frame_reg): Remove.
2925 (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove
2926 inactive call to value_of_builtin_frame_reg.
2927
29282007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2929
2930 * gdbarch.sh (bfd_vma_bit): Remove.
5d8140d1
UW
2931 * gdbarch.c, gdbarch.h: Regenerate.
2932
2933 * gdbtypes.h (builtin_bfd_vma_type): Remove.
2934 * gdbtypes.h (builtin_bfd_vma_type): Remove.
2935 (build_gdbtypes): Do not initialize it.
2936 (_initialize_gdbtypes): Do not swap it.
2937
794ac428
UW
29382007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2939
2940 * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float,
2941 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
2942 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
2943 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
2944 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
2945 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
2946 builtin_type_vec64, builtin_type_vec128): Remove.
2947 (init_simd_type): Remove.
2948 (init_vector_type): Make global.
2949 (build_builtin_type_vec64, build_builtin_type_vec128): Remove.
2950 (build_gdbtypes): Do not build vector types.
2951 (_initialize_gdbtypes): Do not swap vector types.
2952 * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float,
2953 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
2954 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
2955 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
2956 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
2957 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
2958 builtin_type_vec64, builtin_type_vec128): Remove declarations.
2959 (init_vector_type): Add prototype.
2960
2961 * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and
2962 i386_sse_type members.
2963 (i386_mmx_type, i386_sse_type): Change from variables to functions.
2964 * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables.
2965 (i386_init_types): Do not build vector types.
2966 (i386_mmx_type, i386_sse_type): New functions.
2967 (i386_register_type): Call them instead of using global variables.
2968 (i386_gdbarch_init): Use XCALLOC to allocate tdep structure.
2969 * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead
2970 of using global variable.
2971
2972 * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64
2973 and ppc_builtin_type_vec128 members.
2974 * rs6000-tdep.c (rs6000_builtin_type_vec64): New function.
2975 (rs6000_builtin_type_vec128): Likewise.
2976 (rs6000_register_type): Call them instead of using builtin_type_vec64
2977 and builtin_type_vec128.
2978 (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure.
2979
2980 * spu-tdep.c (struct gdbarch_tdep): New data type.
2981 (spu_builtin_type_vec128): Remove variable.
2982 (spu_builtin_type_vec128): New function.
2983 (spu_register_type): Call it instead of using global variable.
2984 (spu_gdbarch_init): Allocate tdep structure.
2985 (spu_init_vector_type): Remove function.
2986 (_initialize_spu_tdep): Do not call it.
2987
6707b003
UW
29882007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2989
2990 * amd64-tdep.c (struct amd64_register_info): Remove.
2991 (amd64_register_info): Remove.
2992 (amd64_register_names): New static variable.
2993 (AMD64_NUM_REGS): Use amd64_register_names instead of
2994 amd64_register_info.
2995 (amd64_register_name): Likewise.
2996 (amd64_register_type): Do not refer to amd64_register_info.
2997
2998 * s390-tdep.c (struct s390_register_info): Remove.
2999 (s390_register_info): Remove.
3000 (s390_register_name): Do not refer to s390_register_info.
3001 (s390_register_type): Likewise.
3002
3003 * sparc64-tdep.c (struct sparc64_register_info): Remove.
3004 (sparc64_register_info, sparc64_pseudo_register_info): Remove.
3005 (sparc64_register_names, sparc64_pseudo_register_names): New.
3006 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use
3007 sparc64_register_names and sparc64_pseudo_register_names instead of
3008 sparc64_register_info and sparc64_pseudo_register_info.
3009 (sparc64_register_name): Likewise.
3010 (sparc64_register_type): Do not refer to sparc64_register_info
3011 and sparc64_pseudo_register_info.
3012
cad351d1
UW
30132007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
3014
3015 * c-lang.c (cplus_builtin_types): Remove.
3016 (enum cplus_primitive_types): New data type.
3017 (cplus_language_arch_info): New function.
3018 (cplus_language_defn): Set la_language_arch_info member. Do not set
3019 la_builtin_type_vector and string_char_type members.
3020
3021 * f-lang.c (f_builtin_types): Remove.
3022 (enum f_primitive_types): New data type.
3023 (f_language_arch_info): New function.
3024 (f_language_de): Set la_language_arch_info member. Do not set
3025 la_builtin_type_vector and string_char_type members.
3026
3027 * m2-lang.c (m2_builtin_types): Remove.
3028 (enum m2_primitive_types): New data type.
3029 (m2_language_arch_info): New function.
3030 (m2_language_defn): Set la_language_arch_info member. Do not set
3031 la_builtin_type_vector and string_char_type members.
3032
3033 * objc-lang.c (objc_builtin_types): Remove.
3034 (objc_language): Set la_language_arch_info member. Do not set
3035 la_builtin_type_vector and string_char_type members.
3036
3037 * p-lang.c (pascal_builtin_types): Remove.
3038 (enum pascal_primitive_types): New data type.
3039 (pascal_language_arch_info): New function.
3040 (pascal_language_defn): Set la_language_arch_info member. Do not set
3041 la_builtin_type_vector and string_char_type members.
3042
594f7785
UW
30432007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
3044
3045 * regcache.c (struct regcache): Add ptid_t member.
3046 (regcache_xmalloc): Initialize it.
3047 (regcache_cpy_no_passthrough): Do not refer to current_regcache.
3048 (regcache_dup): Likewise.
3049 (regcache_dup_no_passthrough): Likewise.
3050 (current_regcache): Make static.
3051 (registers_ptid): Remove variable.
3052 (get_thread_regcache): New function.
3053 (get_current_regcache): New function.
3054 (registers_changed): Implement by freeing current regcache.
3055 (regcache_raw_read): Do not refer to current_regcache. Set
3056 inferior_ptid to regcache->ptid while calling target routines.
3057 (regcache_raw_write): Likewise.
3058 (regcache_raw_supply): Do not refer to current_regcache.
3059 (read_pc_pid): Use thread regcache. Do not modify inferior_ptid.
3060 (write_pc_pid): Likewise.
3061 (build_regcache): Remove.
3062 (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP
3063 or deprecated_register_gdbarch_swap. Do not initialize
3064 registers_ptid.
3065 * regcache.h (get_current_regcache): Add prototype.
3066 (get_thread_regcache): Likewise.
3067 (current_regcache): Remove declaration.
3068
3069 * corelow.c (core_open): Replace current_regcache by
3070 get_current_regcache ().
3071 * frame.c (frame_pop): Likewise.
3072 (put_frame_register): Likewise.
3073 (get_current_frame, create_new_frame): Likewise.
3074 * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise.
3075 * stack.c (return_command): Likewise.
3076 * infcall.c (call_function_by_hand): Likewise.
3077 * infrun.c (resume): Likewise.
3078 (save_inferior_status, restore_inferior_status): Likewise.
3079 * linux-fork.c (fork_load_infrun_state): Likewise.
3080 (fork_save_infrun_state): Likewise.
3081 * win32-nat.c (win32_resume): Likewise.
3082 * i386fbsd-nat.c (i386fbsd_resume): Likewise.
3083 * monitor.c (monitor_wait): Likewise.
3084 * remote.c (remote_wait): Likewise.
3085 * remote-mips.c (mips_wait): Likewise.
3086
3087 * bsd-kvm.c (bsd_kvm_open): Likewise
3088 (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise.
3089 * fbsd-nat.c (fbsd_make_corefile_notes): Likewise.
3090 * i386-linux-nat.c (i386_linux_resume): Likewise.
3091 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
3092 (ia64_linux_stopped_data_address): Likewise.
3093
3094 * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise.
3095 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
3096 * mep-tdep.c (current_me_module, current_options): Likewise.
3097 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise.
3098
3099 * linux-nat.c (linux_nat_do_thread_registers): Use thread
3100 regcache instead of current_regcache. Call target_fetch_registers.
3101 (linux_nat_corefile_thread_callback): Update call site.
3102 (linux_nat_do_registers): Likewise.
3103 * procfs.c (procfs_do_thread_registers): Use thread regcache instead
3104 of current_regcache.
3105 (procfs_make_note_section): Likewise.
3106 * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise.
3107 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
3108 * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise.
3109 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
3110
51a7a212
UW
31112007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3112
3113 * regcache.c (read_register, read_register_pid): Remove.
3114 (write_register, write_register_pid): Likewise.
3115 * regcache.h (read_register, read_register_pid): Remove prototype.
3116 (write_register, write_register_pid): Likewise.
3117
61a1198a
UW
31182007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3119
3120 * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument.
3121 (write_pc): Likewise. Remove default implementation, add predicate.
3122 * gdbarch.c, gdbarch.h: Regenerate.
3123 * regcache.c (read_pc_pid): Use current regcache instead of calling
3124 read_register_pid.
3125 (write_pc_pid): Check gdbarch_write_pc predicate, implement default
3126 case inline.
3127 (generic_target_write_pc): Remove.
3128 * inferior.h (generic_target_write_pc): Remove.
3129 * frv-tdep.c (frv_gdbarch_init): Do not install it.
3130 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
3131 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
3132 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
3133 * sh-tdep.c (sh_gdbarch_init): Likewise.
3134 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
3135
3136 * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID
3137 argument. Use REGCACHE instead of calling read_register_pid.
3138 * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise.
3139 * hppa-tdep.c (hppa_read_pc): Likewise.
3140 * hppa-tdep.h (hppa_read_pc): Likewise.
3141 * ia64-tdep.c (ia64_read_pc): Likewise.
3142 * m32r-tdep.c (m32r_read_pc): Likewise.
3143 * mep-tdep.c (mep_read_pc): Likewise.
3144 * mn10300-tdep.c (mn10300_read_pc): Likewise.
3145 * spu-tdep.c (spu_read_pc): Likewise.
3146
3147 * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID
3148 argument. Use REGCACHE instead of calling write_register_pid.
3149 * avr-tdep.c (avr_write_pc): Likewise.
3150 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise.
3151 * hppa-tdep.c (hppa_write_pc): Likewise.
3152 * hppa-tdep.h (hppa_write_pc): Likewise.
3153 * i386-linux-tdep.c (i386_linux_write_pc): Likewise.
3154 * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise.
3155 * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise.
3156 * ia64-tdep.c (ia64_write_pc): Likewise.
3157 * ia64-tdep.h (ia64_write_pc): Likewise.
3158 * m32r-tdep.c (m32r_write_pc): Likewise.
3159 * m88k-tdep.c (m88k_write_pc): Likewise.
3160 * mep-tdep.c (mep_write_pc): Likewise.
3161 * mips-tdep.c (mips_write_pc): Likewise.
3162 * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
3163 * mn10300-tdep.c (mn10300_write_pc): Likewise.
3164 * sparc-tdep.c (sparc_write_pc): Likewise.
3165 * spu-tdep.c (spu_write_pc): Likewise.
3166
3167 * mips-tdep.c (read_signed_register): Remove.
3168 (read_signed_register_pid): Likewise.
3169 (mips_read_pc): Add REGCACHE argument. Remove PTID argument.
3170 Use REGCACHE instead of calling read_signed_register_pid.
3171
e4fd649a
UW
31722007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3173
3174 * gdbarch.sh (push_dummy_code): Add REGCACHE argument.
3175 * gdbarch.c, gdbarch.h: Regenerate.
3176 * infcall.c (generic_push_dummy_code): Add REGCACHE argument.
3177 (push_dummy_code): Likewise. Pass it to callee.
3178 (call_function_by_hand): Pass current regcache to push_dummy_code.
3179
3180 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE
3181 argument. Use it instead of current_regcache.
3182
3183 * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument.
3184 * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
3185
60ade65d
UW
31862007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3187
3188 * gdbarch.sh (get_longjmp_target): Add FRAME argument.
3189 * gdbarch.c, gdbarch.h: Regenerate.
3190 * infrun.c (handle_inferior_event): Pass current frame to
3191 gdbarch_get_longjmp_target.
3192
3193 * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument.
3194 Read registers from FRAME instead of using read_register.
3195 Use get_frame_arch instead of current_gdbarch.
3196 * arm-tdep.c (arm_get_longjmp_target): Likewise.
3197 * i386-tdep.c (i386_get_longjmp_target): Likewise.
3198 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
3199 * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise.
3200 (mips64_linux_get_longjmp_target): Likewise.
3201 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise.
3202
52f729a7
UW
32032007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3204
3205 * gdbarch.sh (skip_trampoline_code): Add FRAME argument.
3206 * gdbarch.c, gdbarch.h: Regenerate.
3207 * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument.
3208 * arch-utils.h (generic_skip_trampoline_code): Likewise.
3209 * infrun.c (handle_inferior_event): Pass current frame to
3210 gdbarch_skip_trampoline_code and skip_language_trampoline.
3211
3212 * language.c (unk_lang_trampoline): Add FRAME argument.
3213 (skip_language_trampoline): Add FRAME argument. Pass it to
3214 skip_trampoline callback.
3215 * language.h: Add forward declaration of struct frame_info.
3216 (struct language_defn): Add FRAME argument to skip_trampoline.
3217 (skip_language_trampoline): Add FRAME argument.
3218 * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it
3219 to skip_trampoline callback.
3220 * cp-abi.h: Add forward declaration of struct frame_info.
3221 (cplus_skip_trampoline): Add FRAME argument.
3222 (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback.
3223 * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it
3224 to gdbarch_skip_trampoline_code.
3225 * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it
3226 to gdbarch_skip_trampoline_code.
3227
3228 * minsyms.c (find_solib_trampoline_target): Add FRAME argument.
3229 * symtab.h (find_solib_trampoline_target): Likewise.
3230 * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to
3231 find_solib_trampoline_target.
3232
3233 * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers
3234 from FRAME instead of calling read_register.
3235
3236 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME
3237 argument. Read registers from FRAME instead of using read_register.
3238 * hppa-tdep.c (hppa_skip_trampoline_code): Likewise.
3239 * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument.
3240
3241 * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME
3242 argument.
3243
3244 * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument.
3245
3246 * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read
3247 registers from FRAME instead of using read_signed_register.
3248
3249 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME
3250 argument.
3251 (ppc64_standard_linkage_target): Likewise. Read registers from FRAME
3252 instead of using read_register.
3253 (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to
3254 ppc64_standard_linkage_target.
3255 * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument.
3256 Pass it to find_solib_trampoline_target. Read registers from FRAME
3257 instead of using read_register.
3258
3259 * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME
3260 argument.
3261
0b1b3e42
UW
32622007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3263
3264 * gdbarch.sh (software_single_step): Replace REGCACHE argument by
3265 FRAME argument.
3266 * gdbarch.c, gdbarch.h: Regenerate.
3267 * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP.
3268
3269 * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve
3270 registers from FRAME instead of using read_register.
3271 (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
3272 to alpha_next_pc. Use get_frame_pc instead of read_pc.
3273 * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE
3274 argument by FRAME.
3275
3276 * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers
3277 from FRAME instead of using read_register.
3278 (thumb_get_next_pc): Likewise.
3279 (arm_get_next_pc): Likewise.
3280 (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
3281 to arm_get_next_pc. Use get_frame_pc instead of read_register.
3282 * arm-tdep.h (arm_software_single_step): Replace REGCACHE
3283 argument by FRAME.
3284
3285 * cris-tdep.c (find_step_target): Add FRAME argument. Read registers
3286 from FRAME instead of using read_register.
3287 (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
3288 to find_step_target.
3289
3290 * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers
3291 from FRAME instead of using read_register / read_signed_register.
3292 (extended_mips16_next_pc): Likewise.
3293 (mips16_next_pc): Likewise.
3294 (mips_next_pc): Likewise.
3295 (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
3296 to mips_next_pc. Use get_frame_pc instead of read_pc.
3297 * mips-tdep.h (mips_software_single_step): Replace REGCACHE
3298 argument by FRAME.
3299
3300 * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead
3301 of current frame. Read registers from FRAME.
3302 (deal_with_atomic_sequence): Add FRAME argument. Pass it to
3303 branch_dest. Use get_frame_pc instead of read_pc.
3304 (rs6000_software_single_step): Likewise.
3305 (bl_to_blrl_insn_p): Do not call branch_dest.
3306 * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE
3307 argument by FRAME.
3308
3309 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument.
3310 Read registers from FRAME instead of current regcache.
3311 * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise.
3312 * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise.
3313 * sparc-tdep.c (sparc_address_from_register): Remove.
3314 (sparc_analyze_control_transfer): Pass FRAME argument instead of
3315 GDBARCH. Pass FRAME to step_trap callback.
3316 (sparc_step_trap): Add FRAME argument.
3317 (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
3318 to sparc_analyze_control_transfer. Read registers from FRAME instead
3319 of calling sparc_address_from_register.
3320 * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to
3321 step_trap callback.
3322 (sparc_address_from_register): Remove prototype.
3323 (sparc_software_single_step): Replace REGCACHE argument by FRAME.
3324 (sparcnbsd_step_trap): Add FRAME argument.
3325
3326 * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument
3327 by FRAME. Read registers from FRAME instead of REGCACHE.
3328
9c9acae0
UW
33292007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3330
3331 * arm-tdep.c (arm_print_float_info): Use register value from FRAME
3332 instead of calling read_register.
3333
3334 * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of
3335 calling write_register.
3336
3337 * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of
3338 calling write_register.
3339
3340 * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it
3341 instead of calling read_register.
3342 (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE
3343 instead of calling read_register and write_register.
3344
3345 * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter
3346 instead of current_regcache.
3347
3348 * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead
3349 of calling write_register.
3350 * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE
3351 parameter instead of current_regcache.
3352
3353 * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it
3354 instead of calling read_register.
3355 (mips_read_fp_register_double, mips_print_fp_register): Update calls.
3356 (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register.
3357 (mips_n32n64_push_dummy_call): Likewise.
3358 (mips_o32_push_dummy_call): Likewise.
3359 (mips_o64_push_dummy_call): Likewise.
3360
3361 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE
3362 parameter instead of current_regcache.
3363
3364 * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter.
3365 Use it instead of read_register and write_register.
3366 (xtensa_register_read_masked): Likewise.
3367 (xtensa_pseudo_register_read): Update call.
3368 (xtensa_pseudo_register_write): Likewise.
3369 (xtensa_frame_cache): Use register values unwound from NEXT_FRAME
3370 instead of calling read_register.
3371 (xtensa_push_dummy_call): Update comment.
3372
d2ca4222
UW
33732007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3374
3375 * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg
3376 by frame_unwind_register_signed calls.
3377 (mips32_scan_prologue): Likewise. Skip analysis of alloca stack
3378 frame allocations when called with NULL NEXT_FRAME parameter.
3379 (read_next_frame_reg): Remove.
3380
3381 * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it
3382 instead of reading the FPSCR register.
3383 (sh_frame_cache): Pass unwound FPSCR register value to
3384 sh_analyze_prologue.
3385 (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue.
3386
3387 * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it
3388 instead of reading the CTBP register.
3389 (v850_frame_cache): Pass unwound CTBP register value to
3390 v850_analyze_prologue.
3391
c458d6db
UW
33922007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3393
3394 * sh-tdep.h (sh_show_regs): Add FRAME parameter.
3395 * sh-tdep.c (sh_show_regs): Likewise.
3396 (sh_show_regs_command): Pass current frame to sh_show_regs routine.
3397 (sh_generic_show_regs): Add FRAME parameter. Use register
3398 values from that frame instead of calling read_register.
3399 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
3400 sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
3401 sh_dsp_show_regs): Likewise.
3402 * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
3403 sh64_show_regs): Likewise.
3404
a9614958
UW
34052007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3406
3407 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from
3408 current regcache instead of calling read_register.
3409
3d1a74ac
UW
34102007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3411
3412 * mep-tdep.c (current_me_module): Read from current regcache
3413 instead of calling read_register.
3414 (current_options): Likewise.
3415
1b5a9a8f
UW
34162007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3417
3418 * cris-tdep.c (cris_stopped_data_address): Read register values
3419 from current frame instead of calling read_register.
3420 * frv-tdep.c (frv_stopped_data_address): Likewise.
3421
982db460
UW
34222007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3423
3424 * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
3425 instead of write_register (PC_REGNUM, ...).
3426
b4397864
UW
34272007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3428
3429 * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
3430 explaining why the PC adjustment code is necessary.
3431
8ed86d01
VP
34322007-06-15 Vladimir Prus <vladimir@codesourcery.com>
3433
3434 * m68k-tdep.h (enum m68k_flavour): New.
3435 (struct gdbarch_tdep): New fields
3436 float_return, flavour and fpregs_present.
3437 * m68k-tdep.c (m68k_register_type): Use
3438 fpregs_present and conditionalize floating
3439 registers type on flavour.
3440 (m68k_register_names): New.
3441 (m68k_register_name): Use the above.
3442 (m68k_convert_register_p): Consult fpregs_present.
3443 (m68k_register_to_value, m68k_value_to_register):
3444 Use register_type to obtain the type of floating
3445 point registers.
3446 (m68k_svr4_extract_return_value): Check tdep->float_return.
3447 Use register_type to get the type of floating
3448 point regiters.
3449 (m68k_svr4_store_return_value): Likewise.
3450 (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present.
3451 (m68k_analyze_register_saves): Likewise.
3452 (m68k_gdbarch_init): Extract infromation
3453 from XML description, if present. Guess coldfire by
3454 looking at the file, if present. Conditionalize
3455 setting of long double format. Set decr_pc_after_break
3456 to 2 on coldfire and fido. Enable XML-driven
3457 register description.
3458 * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use
3459 size of tdep->fpreg_type, as opposed to hardcoded value.
3460 * Makefile.in (m68k-tdep.o): Update dependencies.
3461
83cc5c53
UW
34622007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
3463
3464 * NEWS: Mention "info spu" commands and qXfer:spu:read and
3465 qXfer:spu:write remote packet types.
3466
1780a0ed
DJ
34672007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3468
3469 * xml-tdesc.c (tdesc_start_target): New.
3470 (target_attributes): New.
3471 (tdesc_elements): Use it.
3472 * features/gdb-target.dtd: Add #FIXED version attribute for
3473 <target>.
3474
98a29c7e
DJ
34752007-06-13 Arthur Huillet <arthur.huillet@free.fr>
3476
3477 * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo.
3478
9dcbb931
DJ
34792007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
3480
3481 * fork-child.c (fork_inferior): Update comment.
3482
117ce543
DJ
34832007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3484
3485 * features/Makefile: Generate regformats for mips-linux and
3486 mips64-linux.
3487 * features/sort-regs.xsl: Correct typo.
3488 * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
3489 * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
3490 files.
3491
822b6570
DJ
34922007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3493
3494 * config/mips/linux.mh (TDEP_XML): New.
3495 * features/mips-linux.xml, features/mips64-linux.xml: New files.
3496 * mips-linux-nat.c (mips_linux_register_addr): Handle
3497 MIPS_RESTART_REGNUM.
3498 (mips64_linux_register_addr): Likewise.
3499 (super_xfer_partial, mips_linux_xfer_partial): New.
3500 (_initialize_mips_linux_nat): Add them to the target_ops.
3501 * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM.
3502 (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset)
3503 (mips_linux_o32_sigframe_init)
3504 (mips_linux_n32n64_sigframe_init): Likewise.
3505 (mips_linux_write_pc, mips_linux_restart_reg_p): New.
3506 (mips_linux_init_abi): Use mips_linux_write_pc. Check for the
3507 "org.gnu.gdb.mips.linux" feature.
3508 * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant.
3509 (mips_linux_restart_reg_p): New prototype.
3510 * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI
3511 initialization routine.
3512 * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update.
3513
f8b73d13
DJ
35142007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3515
3516 * Makefile.in (mips-tdep.o): Update.
3517 * mips-tdep.c (struct register_alias, mips_o32_aliases)
3518 (mips_n32_n64_aliases, mips_register_aliases): New.
3519 (mips_register_name): Call tdesc_register_name.
3520 (mips_tdesc_register_reggroup_p): New.
3521 (mips_pseudo_register_type, value_of_mips_user_reg): New.
3522 (mips_gdbarch_init): Add target-described register support.
3523 Register aliases for register names.
3524 * target-descriptions.c (tdesc_register_name): Make global.
3525 (tdesc_register_in_reggroup_p): New function, broken out from
3526 tdesc_register_reggroup_p.
3527 (tdesc_register_reggroup_p): Use it.
3528 * target-descriptions.h (tdesc_register_name)
3529 (tdesc_register_in_reggroup_p): New prototypes.
3530 * NEWS: Correct formatting. Mention MIPS register support.
3531 * features/mips-cp0.xml, features/mips-fpu.xml,
3532 features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
3533 features/mips64-cpu.xml: New files.
3534
17a912b6
UW
35352007-06-13 Markus Deuling <deuling@de.ibm.com>
3536
3537 * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
3538 * valops.c (value_cast): Likewise.
3539 * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
3540 * ui-out.c (ui_out_field_core_addr): Likewise.
3541 * tracepoint.c (tracepoints_info): Likewise.
3542 * symtab.c (print_msymbol_info): Likewise.
3543 * solib-irix.c (irix_current_sos)
3544 (irix_open_symbol_file_object): Likewise.
3545 * remote.c (build_remote_gdbarch_data): Likewise.
3546 * prologue-value.c (make_pv_area): Likewise.
3547 * procfs.c (info_mappings_callback): Likewise.
3548 * printcmd.c (print_scalar_formatted)
3549 (deprecated_print_address_numeric): Likewise.
3550 * memattr.c (mem_info_command): Likewise.
3551 * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
3552 * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
3553 * exec.c (print_section_info): Likewise.
3554 * dwarf2read.c (read_subrange_type): Likewise.
3555 * dwarf2loc.c (find_location_expression): Likewise.
3556 * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
3557 (signed_address_type, execute_stack_op): Likewise.
3558 * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
3559 * gdbarch.c, gdbarch.h: Regenerate.
3560
1143fffb
UW
35612007-06-13 Markus Deuling <deuling@de.ibm.com>
3562
3563 * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
3564 * arch-utils.c (show_architecture): Likewise.
3565 * remote-mips.c (mips_open): Likewise
3566 * nto-tdep.c (nto_find_and_open_solib)
3567 (nto_init_solib_absolute_prefix): Likewise.
3568 * nto-procfs (procfs_open): Likewise.
3569 * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
3570 * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
3571 * gdbarch.c, gdbarch.h: Regenerate.
3572
4fe99ffb
UW
35732007-06-13 Markus Deuling <deuling@de.ibm.com>
3574
3575 * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
3576 * gdbtypes.c (build_flt): Likewise.
3577 * gdbarch.c, gdbarch.h: Regenerate.
3578
3b3b875c
UW
35792007-06-13 Markus Deuling <deuling@de.ibm.com>
3580
3581 * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
3582 gdbarch_breakpoint_from_pc.
3583 * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
3584 * remote.c (remote_insert_breakpoint)
3585 (remote_insert_hw_breakpoint): Likewise.
3586 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
3587 * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
3588 * breakpoint.h (bp_target_info): Likewise (comment).
3589 * breakpoint.c (read_memory_nobpt): Likewise.
3590 * mem-break.c (default_memory_insert_breakpoint): Likewise.
3591 (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
3592 * gdbarch.c, gdbarch.h: Regenerate.
3593
819844ad
UW
35942007-06-13 Markus Deuling <deuling@de.ibm.com>
3595
3596 * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
3597 * solib-svr4.c (svr4_truncate_ptr): Likewise.
3598 * solib-pa64.c (read_dynamic_info): Likewise.
3599 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
3600 * solib.c (info_sharedlibrary_command): Likewise.
3601 * s390-nat.c (SUBOFF): Likewise.
3602 * p-valprint.c (pascal_val_print): Likewise.
3603 * procfs.c (info_proc_mappings): Likewise.
3604 * printcmd.c (decode_format): Likewise.
3605 * nto-tdep.c (nto_truncate_ptr): Likewise.
3606 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
3607 (mips64_linux_get_longjmp_target): Likewise.
3608 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
3609 * jv-valprint.c (java_value_print): Likewise.
3610 * jv-lang.c (get_java_object_header_size): Likewise.
3611 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
3612 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
3613 (hppa_hpux_unwind_adjust_stub): Likewise.
3614 * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
3615 * gdbtypes.c (make_pointer_type, make_reference_type)
3616 (smash_to_memberptr_type): Likewise.
3617 * gdbarch.c, gdbarch.h: Regenerate.
3618
0cc93a06
DJ
36192007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3620
3621 * mips-tdep.c (mips_print_register): Remove unused ALL argument.
3622 (print_gp_register_row): Stop before printing a register bigger
3623 than the ABI register size.
3624 (mips_print_registers_info): Update call to mips_print_register.
3625
67f3407f
DJ
36262007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3627
3628 * expression.h (enum exp_opcode): Document a register name for
3629 OP_REGISTER.
3630 * parse.c (write_dollar_variable): Write the register name for
3631 OP_REGISTER.
3632 (operator_length_standard): Expect the register name following
3633 OP_REGISTER.
3634 * ada-lang.c (resolve_subexp): Likewise.
3635 * ax-gdb.c (gen_expr): Likewise.
3636 * eval.c (evaluate_subexp_standard): Likewise.
3637 * expprint.c (print_subexp_standard, dump_subexp_body_standard):
3638 Likewise.
3639 * tracepoint.c (encode_actions): Likewise.
3640
0caa462c
DJ
36412007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
3642
3643 * utils.c (set_screen_size): Use INT_MAX for default columns.
3644
4de6483e
UW
36452007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
3646
3647 * remote.c (remote_protocol_features): Add qXfer:spu:read and
3648 qXfer:spu:write packet types.
3649
cafad45b
UW
36502007-06-12 Markus Deuling <deuling@de.ibm.com>
3651
3652 * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
3653 * gdbarch.c, gdbarch.h: Regenerate.
3654
055d23b8
UW
36552007-06-12 Markus Deuling <deuling@de.ibm.com>
3656
3657 * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
3658 gdbarch_stab_reg_to_regnum.
3659 * stabsread.c (define_symbol): Likewise.
3660 * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
3661 gdbarch_ecoff_reg_to_regnum.
3662 * mdebugread.c (parse_symbol): Likewise.
3663 * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
3664 * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
3665 gdbarch_dwarf_reg_to_regnum.
3666 * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
3667 * coffread.c (process_coff_symbol): Likewise.
3668 * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
3669 gdbarch_dwarf2_reg_to_regnum.
3670 * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
3671 (locexpr_describe_location): Likewise.
3672 * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
3673 (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
3674 * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
3675 * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
3676 * gdbarch.c, gdbarch.h: Regenerate.
3677
260edbc2
UW
36782007-06-12 Markus Deuling <deuling@de.ibm.com>
3679
3680 * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
3681 gdbarch_smash_text_address.
3682 * somread.c (som_symtab_read): Likewise.
3683 * elfread.c (record_minimal_symbol): Likewise.
3684 * dbxread.c (process_one_symbol): Likewise.
3685 * coffread.c (coff_symtab_read): Likewise.
3686 * gdbarch.c, gdbarch.h: Regenerate.
3687
c1afe53d
UW
36882007-06-12 Markus Deuling <deuling@de.ibm.com>
3689
3690 * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
3691 * findvar.c (value_from_register): Likewise.
3692 * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
3693 * valops.c (value_assign): Likewise.
3694 * gdbarch.sh (CONVERT_REGISTER_P): Replace by
3695 gdbarch_convert_register_p.
3696 * findvar.c (value_from_register): Likewise.
3697 * valops.c (value_assign): Likewise.
3698 * gdbarch.c, gdbarch.h: Regenerate.
3699
474c1661
UW
37002007-06-12 Markus Deuling <deuling@de.ibm.com>
3701
3702 * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
3703 gdbarch_register_sim_regno.
3704 * sim-regno.h (sim_regno): Likewise (comment).
3705 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
3706 * gdbarch.c, gdbarch.h: Regenerate.
3707
c7bb205c
UW
37082007-06-12 Markus Deuling <deuling@de.ibm.com>
3709
3710 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
3711 gdbarch_virtual_frame_pointer.
3712 * tracepoint.c (encode_actions): Likewise.
3713 * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
3714 * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
3715 * gdbarch.c, gdbarch.h: Regenerate.
3716
ea06eb3d
UW
37172007-06-12 Markus Deuling <deuling@de.ibm.com>
3718
3719 * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
3720 * p-lang.c (pascal_create_fundamental_type): Likewise.
3721 * objc-lang.c (objc_create_fundamental_type): Likewise.
3722 * mdebugread.c (_initialize_mdebugread): Likewise.
3723 * m2-lang.c (m2_create_fundamental_type)
3724 (_initialize_m2_language): Likewise.
3725 * gdbtypes.c (build_gdbtypes): Likewise.
3726 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
3727 * doublest.c (floatformat_from_length): Likewise.
3728 * c-lang.c (c_create_fundamental_type): Likewise.
3729 * ada-lang.c (ada_create_fundamental_type)
3730 (ada_language_arch_info): Likewise.
3731 * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
3732 * value.c (unpack_double): Likewise (comment).
3733 * gdbtypes.c (build_gdbtypes): Likewise.
3734 * doublest.c (floatformat_from_length): Likewise.
3735 * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
3736 * valarith.c (value_binop): Likewise.
3737 * p-lang.c (pascal_create_fundamental_type): Likewise.
3738 * objc-lang.c (objc_create_fundamental_type): Likewise.
3739 * mdebugread.c (_initialize_mdebugread): Likewise.
3740 * m2-lang.c (m2_create_fundamental_type): Likewise.
3741 * gdbtypes.c (build_gdbtypes): Likewise.
3742 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
3743 * doublest.c (floatformat_from_length): Likewise.
3744 * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
3745 * c-lang.c (c_create_fundamental_type): Likewise.
3746 * ada-lex.l (processReal): Likewise.
3747 * ada-lang.c (ada_create_fundamental_type)
3748 (ada_language_arch_info): Likewise.
3749 * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
3750 * value.c (unpack_double): Likewise (comment).
3751 * gdbtypes.c (build_gdbtypes): Likewise.
3752 * doublest.c (floatformat_from_length): Likewise.
3753 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
3754 gdbarch_long_double_bit.
3755 * p-lang.c (pascal_create_fundamental_type): Likewise.
3756 * objc-lang.c (objc_create_fundamental_type): Likewise.
3757 * m2-lang.c (m2_create_fundamental_type): Likewise.
3758 * gdbtypes.c (build_gdbtypes): Likewise.
3759 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
3760 * doublest.c (floatformat_from_length): Likewise.
3761 * c-lang.c (c_create_fundamental_type): Likewise.
3762 * ada-lex.l (processReal): Likewise.
3763 * ada-lang.c (ada_create_fundamental_type)
3764 (ada_language_arch_info): Likewise.
3765 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
3766 gdbarch_long_double_format.
3767 * gdbtypes.c (build_gdbtypes): Likewise.
3768 * doublest.c (floatformat_from_length): Likewise.
3769 * gdbarch.c, gdbarch.h: Regenerate.
3770
9a76efb6
UW
37712007-06-12 Markus Deuling <deuling@de.ibm.com>
3772
3773 * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
3774 * ada-lang.c (ada_create_fundamental_type)
3775 (ada_language_arch_info): Likewise.
3776 * c-lang.c (c_create_fundamental_type): Likewise.
3777 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
3778 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
3779 * m2-lang.c (m2_create_fundamental_type): Likewise.
3780 * objc-lang.c (objc_create_fundamental_type): Likewise.
3781 * p-lang.c (pascal_create_fundamental_type): Likewise.
3782 * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
3783 * c-exp.y (parse_number): Likewise.
3784 * objc-exp.y (parse_number): Likewise.
3785 * ada-lex.l (processInt): Likewise.
3786 * f-exp.y (parse_number): Likewise.
3787 * p-exp.y (parse_number): Likewise.
3788 * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
3789 (gdbtypes_post_init, build_gdbtypes): Likewise.
3790 * p-lang.c (pascal_create_fundamental_type): Likewise.
3791 * parse.c (build_parse): Likewise.
3792 * xcoffread.c (_initialize_xcoffread): Likewise.
3793 * stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
3794 (read_range_type): Likewise.
3795 * objc-lang.c (objc_create_fundamental_type): Likewise.
3796 * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
3797 * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
3798 (m2_create_fundamental_type): Likewise.
3799 * c-lang.c (c_create_fundamental_type): Likewise.
3800 * coffread.c (coff_read_enum_type): Likewise.
3801 * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
3802 * dwarf2read.c (new_symbol): Likewise.
3803 * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
3804 * c-exp.y (parse_number): Likewise.
3805 * objc-exp.y (parse_number): Likewise.
3806 * ada-lex.l (processInt): Likewise.
3807 * f-exp.y (parse_number): Likewise.
3808 * p-exp.y (parse_number): Likewise.
3809 * valarith.c (value_binop): Likewise.
3810 * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
3811 * ada-lang.c (ada_create_fundamental_type)
3812 (ada_language_arch_info): Likewise.
3813 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
3814 * symfile.c (TARGET_LONG_BYTES): Likewise.
3815 * p-lang.c (pascal_create_fundamental_type): Likewise.
3816 * objc-lang.c (objc_create_fundamental_type): Likewise.
3817 * m2-lang.c (m2_create_fundamental_type): Likewise.
3818 * f-lang.c (f_create_fundamental_type): Likewise.
3819 * c-lang.c (c_create_fundamental_type): Likewise.
3820 * coffread.c (decode_base_type): Likewise.
3821 * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
3822 * c-exp.y (parse_number): Likewise.
3823 * objc-exp.y (parse_number): Likewise.
3824 * p-exp.y (parse_number): Likewise.
3825 * ada-lang.c (ada_create_fundamental_type)
3826 (ada_language_arch_info): Likewise.
3827 * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
3828 * stabsread.c (read_range_type): Likewise.
3829 * p-lang.c (pascal_create_fundamental_type): Likewise.
3830 * objc-lang.c (objc_create_fundamental_type): Likewise.
3831 * m2-lang.c (m2_create_fundamental_type): Likewise.
3832 * f-lang.c (f_create_fundamental_type): Likewise.
3833 * c-lang.c (c_create_fundamental_type): Likewise.
3834 * gdbarch.c, gdbarch.h: Regenerate.
3835
272dfcfd
AS
38362007-06-12 Andreas Schwab <schwab@suse.de>
3837
3838 * frame-unwind.h (frame_dealloc_cache_ftype): Define.
3839 (struct frame_unwind): Add dealloc_cache.
3840 * frame.c (reinit_frame_cache): Call dealloc_cache on all caches.
3841
3842 * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
3843 * libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
3844 (libunwind_frame_unwind): Set dealloc_cache.
3845 * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
3846
0e7f50da
UW
38472007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
3848 Markus Deuling <deuling@de.ibm.com>
3849
3850 * remote.c (remote_write_qxfer): New function.
3851 (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
3852 (remote_read_qxfer): Do not cache empty objects.
3853 (_initialize_remote): Add PACKET_qXfer_spu_read and
3854 PACKET_qXfer_spu_write.
3855
23d964e7
UW
38562007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
3857
3858 * target.h (enum target_object): Add TARGET_OBJECT_SPU.
3859 * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
3860
3861 * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
3862 (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
3863 SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
3864 * spu-tdep.c (infospucmdlist): New variable.
3865 (spu_register_name): Handle additional pseudo registers.
3866 (spu_register_type): Likewise.
3867 (spu_pseudo_register_read): Likewise.
3868 (spu_pseudo_register_write): Likewise.
3869 (spu_pseudo_register_read_spu): New function.
3870 (spu_pseudo_register_write_spu): Likewise.
3871 (info_spu_event_command): New function.
3872 (info_spu_signal_command): Likewise.
3873 (info_spu_mailbox_list): Likewise.
3874 (info_spu_mailbox_command): Likewise.
3875 (spu_mfc_get_bitfield): Likewise.
3876 (info_spu_dma_cmdlist): Likewise.
3877 (info_spu_dma_command): Likewise.
3878 (info_spu_proxydma_command): Likewise.
3879 (info_spu_command): Likewise.
3880 (_initialize_spu_tdep): Install "info spu" commands.
3881
374c1d38
UW
38822007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
3883
3884 * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
3885 accessing non-seekable spufs files.
3886
e76f05fa
UW
38872007-06-09 Markus Deuling <deuling@de.ibm.com>
3888
3889 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
3890 gdbarch_skip_trampoline_code.
3891 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
3892 * objc-lang.c (objc_skip_trampoline)
3893 (objc_submethod_helper_data): Likewise.
3894 * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
3895 * infrun.c (handle_inferior_event): Likewise.
3896 * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
3897 * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
3898 gdbarch_in_solib_return_trampoline.
3899 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
3900 * infrun.c (handle_inferior_event): Likewise.
3901 * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
3902 * gdbarch.c, gdbarch.h: Regenerate.
3903
a433963d
UW
39042007-06-09 Markus Deuling <deuling@de.ibm.com>
3905
3906 * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
3907 * symtab.c (find_function_start_sal, in_prologue): Likewise.
3908 * linespec.c (minsym_found): Likewise.
3909 * infrun.c (step_into_function): Likewise.
3910 * gdbarch.c, gdbarch.h: Regenerate.
3911
aea8766f
UW
39122007-06-09 Markus Deuling <deuling@de.ibm.com>
3913
3914 * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
3915 * valops.c (value_allocate_space_in_inferior): Likewise.
3916 * gdbarch.c, gdbarch.h: Regenerate.
3917
8da95a30
UW
39182007-06-09 Markus Deuling <deuling@de.ibm.com>
3919
3920 * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
3921 gdbarch_memory_insert_breakpoint.
3922 * mem-break.c (memory_insert_breakpoint): Likewise.
3923 * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
3924 gdbarch_memory_remove_breakpoint.
3925 * mem-break.c (memory_remove_breakpoint): Likewise.
3926 * gdbarch.c, gdbarch.h: Regenerate.
3927
985969a9
UW
39282007-06-09 Markus Deuling <deuling@de.ibm.com>
3929
3930 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
3931 gdbarch_fetch_tls_load_module_address.
3932 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
3933 gdbarch_fetch_tls_load_module_address_p.
3934 * gdbarch.c, gdbarch.h: Regenerate.
3935
b798847d
UW
39362007-06-09 Markus Deuling <deuling@de.ibm.com>
3937
3938 * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
3939 gdbarch_decr_pc_after_break.
3940 * tracepoint.c (trace_dump_command): Likewise.
3941 * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
3942 * linux-thread-db.c (check_event): Likewise.
3943 * linux-nat.c (cancel_breakpoints_callback): Likewise.
3944 * infrun.c (adjust_pc_after_break, normal_stop): Likewise.
3945 * frame.h: Likewise (comment).
3946 * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
3947 * aix-thread.c (aix_thread_wait): Likewise.
3948 * gdbarch.c, gdbarch.h: Regenerate.
3949
849957d9
UW
39502007-06-09 Markus Deuling <deuling@de.ibm.com>
3951
3952 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
3953 gdbarch_address_class_type_flags.
3954 * dwarf2read.c (read_tag_pointer_type): Likewise.
3955 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
3956 gdbarch_address_class_type_flags_p.
3957 * dwarf2read.c (read_tag_pointer_type): Likewise.
3958 * gdbarch.c, gdbarch.h: Regenerate.
3959
bf6ae464
UW
39602007-06-09 Markus Deuling <deuling@de.ibm.com>
3961
3962 * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
3963 * value.c (value_as_address): Likewise (comment).
3964 * remote-mips.c (common_breakpoint): Likewise.
3965 * regcache.c (read_pc_pid): Likewise.
3966 * printcmd.c (do_one_display): Likewise.
3967 * monitor.c (monitor_write_memory, monitor_read_memory)
3968 (monitor_insert_breakpoint): Likewise.
3969 * mips-tdep.c (heuristic_proc_start): Likewise.
3970 * infrun.c (insert_step_resume_breakpoint_at_frame)
3971 (insert_step_resume_breakpoint_at_caller): Likewise.
3972 * buildsym.c (record_line): Likewise.
3973 * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
3974 (arm_get_next_pc): Likewise.
3975 * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
3976 (store_regs): Likewise.
3977 * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
3978 * arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
3979 * gdbarch.c, gdbarch.h: Regenerate.
3980
c9f4d572
UW
39812007-06-09 Markus Deuling <deuling@de.ibm.com>
3982
3983 * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
3984 * tracepoint.c (scope_info): Likewise.
3985 * target.c (debug_print_register): Likewise.
3986 * stack.c (frame_info): Likewise.
3987 * sh-tdep.c (sh_register_reggroup_p): Likewise.
3988 * sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
3989 (sh64_media_print_registers_info)
3990 (sh64_compact_print_registers_info): Likewise.
3991 * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
3992 * remote-sim.c (gdbsim_fetch_register): Likewise.
3993 * remote.c (packet_reg): Likewise (comment).
3994 * reggroups.c (default_register_reggroup_p): Likewise.
3995 * regcache.c (regcache_dump): Likewise.
3996 * printcmd.c (address_info): Likewise.
3997 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
3998 * mt-dep.c (mt_registers_info): Likewise.
3999 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
4000 * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
4001 (mips_read_fp_register_double, mips_print_fp_register)
4002 (mips_print_register, print_gp_register_row, mips_print_registers_info)
4003 (mips_register_sim_regno): Likewise.
4004 * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
4005 * inf-ptrace.c (inf_ptrace_fetch_register)
4006 (inf_ptrace_store_register): Likewise.
4007 * infcmd.c (default_print_registers_info): Likewise.
4008 * ia64-linux-nat.c (ia64_linux_fetch_register)
4009 (ia64_linux_store_register): Likewise.
4010 * i386-linux-nat.c (fetch_register, store_register): Likewise.
4011 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
4012 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
4013 * hppa-hpux-nat.c (hppa_hpux_fetch_register)
4014 (hppa_hpux_store_register): Likewise.
4015 * findvar.c (locate_var_value): Likewise.
4016 * dwarf2loc.c (locexpr_describe_location): Likewise.
4017 * dwarf2-frame.c (execute_cfa_program): Likewise.
4018 * arm-tdep.c (arm_push_dummy_call): Likewise.
4019 * arch-utils.c (legacy_register_sim_regno): Likewise.
4020 * alpha-tdep.c (alpha_register_reggroup_p): Likewise.
4021 * alpha-nat.c (fetch_osf_core_registers): Likewise.
4022 * mi/mi-main.c (mi_cmd_data_list_register_names)
4023 (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
4024 (mi_cmd_data_write_register_values): Likewise.
4025 * gdbarch.c, gdbarch.h: Regenerate.
4026
1fc01e03
DJ
40272007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
4028
4029 * target-memory.c (blocks_to_erase): Correct off-by-one error.
4030
632110b1
VP
40312007-06-06 Vladimir Prus <vladimir@codesourcery.com>
4032
4033 * remote.c (process_g_packet): Don't check size.
4034 * gdbarch.sh: Remove register_bytes_ok.
4035 * gdbarch.c: Regenerated.
4036 * gdbarch.h: Regenerated.
4037 * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
4038 (m68k_register_bytes_ok): Remove.
4039 (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
4040
f43ae3f1
AS
40412007-06-06 Andreas Schwab <schwab@suse.de>
4042
4043 * libunwind-frame.c (unw_destroy_addr_space_p): Define.
4044 (destroy_addr_space_name): Define.
4045 (libunwind_load): Get address of destroy_addr_space function.
4046 (libunwind_frame_cache): Destroy unw_addr_space_t object before
4047 returning unsuccessfully.
4048 (libunwind_frame_sniffer): Destroy unw_addr_space_t object before
4049 returning.
4050 (libunwind_sigtramp_frame_sniffer): Likewise.
4051 (libunwind_get_reg_special): Likewise.
4052
d99344c0
UW
40532007-06-06 Markus Deuling <deuling@de.ibm.com>
4054
4055 * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
4056 gdbarch_fetch_pointer_argument.
4057 * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
4058 * gdbarch.c, gdbarch.h: Regenerate.
4059
e6cf7916
UW
40602007-06-06 Markus Deuling <deuling@de.ibm.com>
4061
4062 * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
4063 gdbarch_have_nonsteppable_watchpoint.
4064 * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
4065 * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
4066 gdbarch_cannot_step_breakpoint.
4067 * infrun.c (resume): Likewise.
4068 * gdbarch.c, gdbarch.h: Regenerate.
4069
bbcf301a
UW
40702007-06-06 Markus Deuling <deuling@de.ibm.com>
4071
4072 * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
4073 * stack.c (print_frame_args): Likewise.
4074 * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
4075 * stack.c (print_args_stub, frame_info): Likewise.
4076 * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
4077 * stack.c (print_args_stub, frame_info): Likewise.
4078 * gdbarch.c, gdbarch.h: Regenerate.
4079
95f1da47
UW
40802007-06-06 Markus Deuling <deuling@de.ibm.com>
4081
4082 * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
4083 gdbarch_coff_make_msymbol_special.
4084 * coffread.c (coff_symtab_read): Likewise.
4085 * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
4086 gdbarch_elf_make_msymbol_special.
4087 * elfread.c (elf_symtab_read): Likewise.
4088 * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
4089 * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
4090 * gdbarch.c, gdbarch.h: Regenerate.
4091
39e8369e
UW
40922007-06-06 Markus Deuling <deuling@de.ibm.com>
4093
4094 * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
4095 gdbarch_frame_red_zone_size.
4096 * gdbarch.c, gdbarch.h: Regenerate.
4097
4d1e7dd1
UW
40982007-06-06 Markus Deuling <deuling@de.ibm.com>
4099
4100 * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
4101 * infcall.c (call_function_by_hand): Likewise.
4102 * gcore.c (derive_stack_segment): Likewise.
4103 * frame.c (frame_id_inner): Likewise.
4104 * arch-utils.c (core_addr_lessthan): Likewise (comment).
4105 * ada-lang.c (ensure_lval): Likewise.
4106 * gdbarch.c, gdbarch.h: Regenerate.
4107
76e71323
UW
41082007-06-06 Markus Deuling <deuling@de.ibm.com>
4109
4110 * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
4111 gdbarch_address_to_pointer.
4112 * findvar.c (store_typed_address): Likewise.
4113 * gdbtypes.c (make_pointer_type): Likewise (comment).
4114 * procfs.c (procfs_address_to_host_pointer): Likewise.
4115 * std-regs.c (value_of_builtin_frame_reg): Likewise.
4116 (value_of_builtin_frame_fp_reg): Likewise.
4117 (value_of_builtin_frame_pc_reg): Likewise.
4118 * utils.c (paddress): Likewise (comment).
4119 * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
4120 gdbarch_pointer_to_address.
4121 * findvar.c (extract_typed_address): Likewise.
4122 * gdbtypes.c (make_pointer_type): Likewise (comment).
4123 * valops.c (value_cast): Likewise (comment).
4124 * gdbarch.c, gdbarch.h: Regenerate.
4125
91104499
UW
41262007-06-06 Markus Deuling <deuling@de.ibm.com>
4127
4128 * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
4129 * infrun.c (handle_inferior_event): Likewise.
4130 * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
4131 gdbarch_get_longjmp_target_p.
4132 * breakpoint.c (breakpoint_re_set): Likewise.
4133 * infrun.c (handle_inferior_event): Likewise.
4134 * gdbarch.c, gdbarch.h: Regenerate.
4135
d3e9c991
UW
41362007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
4137
4138 * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
4139 HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
4140 HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
4141 hp_cxx_exception_support, hp_cxx_exception_support_initialized,
4142 eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
4143 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
4144 find_stub_with_shl_get, cover_find_stub_with_shl_get,
4145 initialize_hp_cxx_exception_support, child_enable_exception_callback,
4146 current_ex_event, child_get_current_exception_event): Remove.
4147 (hppa_hpux_inferior_created): Remove.
4148 (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
4149
4150 * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
4151 (deprecated_exception_support_initialized): Remove.
4152 * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
4153 (deprecated_exception_support_initialized): Remove.
4154 (breakpoint_init_inferior): Remove handling of non-zero
4155 deprecated_exception_catchpoints_are_fragile.
4156
4157 * symtab.h (deprecated_hp_som_som_object_present): Remove.
4158 * symtab.c (deprecated_hp_som_som_object_present): Remove.
4159 * c-typeprint.c (c_type_print_base): Remove handling of non-zero
4160 deprecated_hp_som_som_object_present.
4161 * eval.c (evaluate_subexp_standard): Likewise.
4162 * valops.c (value_cast): Likewise.
4163
4164 * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
4165 * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
4166 * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
4167
5e787d22
UW
41682007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
4169
4170 * objfiles.h (ImportEntry, ExportEntry): Remove types.
4171 (struct objfile): Remove import_list, import_list_size,
4172 export_list, export_list_size members.
4173 (is_in_import_list): Remove prototype.
4174 * objfiles.c (is_in_import_list): Remove.
4175 * somread.c (init_import_symbols, init_export_symbols): Remove.
4176 (som_symfile_read): Do not call init_import_symbols. Do not
4177 set objfile->export_list and objfile->export_list_size.
4178
93e7bd98
DJ
41792007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
4180
4181 * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
4182 Use the original objfile if necessary.
4183
e1024ff1
DJ
41842007-06-04 Daniel Jacobowitz <dan@codesourcery.com>
4185
4186 * defs.h (ldirname): New prototype.
4187 * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
4188 missing.
4189 * utils.c (ldirname): New function.
4190 * xml-tdesc.c (file_read_description_xml): Use ldirname.
4191
ee82e879
UW
41922007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
4193
4194 * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
4195
513f5903
JB
41962007-06-01 Joel Brobecker <brobecker@adacore.com>
4197
4198 * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
4199
52a75740
UW
42002007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
4201
4202 * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
4203
c3fc7e62
UW
42042007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
4205
4206 * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
4207 INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
4208 (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
4209 PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
4210 (ppc_linux_in_sigtramp, insn_is_sigreturn,
4211 ppc_linux_at_sigtramp_return_path): Remove.
4212
4c6b5505
UW
42132007-05-31 Markus Deuling <deuling@de.ibm.com>
4214
4215 * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
4216 (xtensa_register_write_masked, xtensa_register_read_masked)
4217 (xtensa_extract_return_value, xtensa_store_return_value
4218 (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
4219 TARGET_BYTE_ORDER by gdbarch_byte_order.
4220 * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
4221 (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
4222 (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
4223 * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
4224 (sh64_push_dummy_call, sh64_extract_return_value)
4225 (sh64_store_return_value, sh64_register_convert_to_virtual)
4226 (sh64_register_convert_to_raw, sh64_pseudo_register_read)
4227 (sh64_pseudo_register_write, sh64_do_fp_register)
4228 (sh64_frame_prev_register): Likewise.
4229 * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
4230 (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
4231 * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
4232 (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
4233 * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
4234 * ppc-linux-nat.c (store_register): Likewise.
4235 * nto-tdep.c (nto_find_and_open_solib)
4236 (nto_init_solib_absolute_prefix): Likewise.
4237 * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
4238 (mips_convert_register_p, mips_eabi_push_dummy_call)
4239 (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
4240 (mips_o32_push_dummy_call, mips_o32_return_value)
4241 (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
4242 (mips_read_fp_register_single, mips_read_fp_register_double)
4243 (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
4244 (mips_breakpoint_from_pc): Likewise.
4245 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
4246 * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
4247 (mips_linux_o32_sigframe_init): Likewise.
4248 * m32r-tdep.c (m32r_memory_insert_breakpoint)
4249 (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
4250 * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
4251 (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
4252 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
4253 * coffread.c (process_coff_symbol): Likewise.
4254 * arm-tdep.c (convert_from_extended, convert_to_extended)
4255 (gdb_print_insn_arm): Likewise.
4256
f57d151a
UW
42572007-05-31 Markus Deuling <deuling@de.ibm.com>
4258
4259 * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
4260 * i386-tdep.c (i386_dbx_reg_to_regnum)
4261 (i386_svr4_reg_to_regnum): Likewise.
4262 * inf-ptrace.c (inf_ptrace_fetch_registers)
4263 (inf_ptrace_store_registers): Likewise.
4264 * corelow.c (get_core_registers): Likewise.
4265 * i386-linux-nat.c (supply_gregset, fill_gregset)
4266 (i386_linux_fetch_inferior_registers)
4267 (i386_linux_store_inferior_registers): Likewise.
4268 * remote.c (init_remote_state,packet_reg_from_regnum)
4269 (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
4270 (remote_prepare_to_store,store_registers_using_G)
4271 (remote_store_registers,remote_arch_state): Likewise.
4272 * tracepoint.c (encode_actions): Likewise.
4273 * mi/mi-main.c (mi_cmd_data_list_register_names)
4274 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
4275 (mi_cmd_data_write_register_values): Likewise.
4276 * tui/tui-regs.c (tui_show_register_group)
4277 (tui_show_register_group): Likewise.
4278 * xtensa-tdep.h (FP_ALIAS): Likewise.
4279 * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
4280 (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
4281 (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
4282 * win32-nat.c (do_win32_fetch_inferior_registers)
4283 (do_win32_store_inferior_registers,fetch_elf_core_registers
4284 * user-regs.h: Likewise (comment).
4285 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
4286 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
4287 * target-descriptions.h: Likewise (comment).
4288 * target-descriptions.c (tdesc_use_registers): Likewise (comment).
4289 * target.c (debug_print_register): Likewise.
4290 * stack.c (frame_info): Likewise.
4291 * stabsread.c (define_symbol): Likewise.
4292 * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
4293 (sh64_media_print_registers_info)
4294 (sh64_compact_print_registers_info): Likewise.
4295 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
4296 * rs6000-nat.c (fetch_register,store_register): Likewise.
4297 * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
4298 (gdbsim_fetch_register,gdbsim_store_register): Likewise.
4299 * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
4300 * remote-m32r-sdi.c (m32r_fetch_registers)
4301 (m32r_store_registers): Likewise.
4302 * reggroups.c (default_register_reggroup_p): Likewise.
4303 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
4304 (regcache_restore,regcache_dump): Likewise.
4305 * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
4306 * mips-tdep.c (mips_xfer_register,mips_register_name)
4307 (mips_register_reggroup_p,mips_pseudo_register_read)
4308 (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
4309 (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
4310 (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
4311 (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
4312 (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
4313 (print_gp_register_row,mips_print_registers_info)
4314 (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
4315 (mips_register_sim_regno): Likewise.
4316 * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
4317 (mips_linux_n32n64_sigframe_init): Likewise.
4318 * mips-linux-nat.c (mips_linux_register_addr)
4319 (mips64_linux_register_addr): Likewise.
4320 * findvar.c (value_of_register): Likewise.
4321 * infcmd.c (default_print_registers_info,registers_info)
4322 (print_vector_info,print_float_info): Likewise.
4323 * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
4324 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
4325 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
4326 * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
4327 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
4328 * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
4329 (ia64_cannot_store_register,ia64_linux_fetch_registers)
4330 (ia64_linux_store_registers): Likewise.
4331 * hpux-thread.c (hpux_thread_fetch_registers)
4332 (hpux_thread_store_registers): Likewise.
4333 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
4334 (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
4335 (h8300_register_type): Likewise.
4336 * dwarf2-frame.c (dwarf2_frame_cache)
4337 (dwarf2_frame_state_alloc_regs): Likewise.
4338 * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
4339 (cris_cannot_store_register,crisv32_cannot_fetch_register)
4340 (crisv32_cannot_store_register,cris_register_name): Likewise.
4341 * avr-tdep.c (avr_frame_unwind_cache): Likewise.
4342 * arch-utils.c (legacy_register_sim_regno)
4343 (legacy_virtual_frame_pointer): Likewise.
4344 * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
4345 * arm-tdep.h: Likewise (comment).
4346 * frv-tdep.c (frv_register_sim_regno): Likewise.
4347 * m68klinux-nat.c (old_fetch_inferior_registers)
4348 (old_store_inferior_registers): Likewise.
4349 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
4350 * irix5-nat.c (fetch_core_registers): Likewise.
4351 * hppa-tdep.c (hppa_frame_cache): Likewise.
4352 * hppa-linux-nat.c (hppa_linux_register_addr)
4353 (hppa_linux_fetch_inferior_registers)
4354 (hppa_linux_store_inferior_registers): Likewise.
4355 * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
4356 (hppa_hpux_store_inferior_registers): Likewise.
4357 * amd64-nat.c (amd64_native_gregset_reg_offset)
4358 (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
4359 * dbug-rom.c (dbug_regname): Likewise.
4360 * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
4361 (HARD_PAGE_REGNUM (comment)): Likewise.
4362 * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
4363 * i386-tdep.c (i386_dbx_reg_to_regnum)
4364 (i386_svr4_reg_to_regnum): Likewise.
4365 * mi/mi-main.c (mi_cmd_data_list_register_names)
4366 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
4367 (mi_cmd_data_write_register_values): Likewise.
4368 * gdbarch.c, gdbarch.h: Regenerate.
4369 * tui/tui-regs.c (tui_show_register_group): Likewise.
4370 * xtensa-tdep.h (FP_ALIAS): Likewise.
4371 * user-regs.h: Likewise (comment).
4372 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
4373 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
4374 * target-descriptions.h: Likewise (comment).
4375 * target.c (debug_print_register): Likewise.
4376 * stack.c (frame_info): Likewise.
4377 * stabsread.c (define_symbol): Likewise.
4378 * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
4379 (sh64_compact_print_registers_info): Likewise.
4380 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
4381 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
4382 (regcache_restore,regcache_dump): Likewise.
4383 * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
4384 (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
4385 (mips_stab_reg_to_regnum): Likewise.
4386 * findvar.c (value_of_register): Likewise.
4387 * infcmd.c (default_print_registers_info,registers_info)
4388 (print_vector_info,print_float_info): Likewise.
4389 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
4390 * h8300-tdep.c (h8300_register_type): Likewise.
4391 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
4392 * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
4393 * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
4394 (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
4395 * parse.c: Remove comment.
4396 * gdbarch.c, gdbarch.h: Regenerate
4397
8d4c1ba3
UW
43982007-05-31 Markus Deuling <deuling@de.ibm.com>
4399
4400 * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
4401 gdbarch_cannot_fetch_register.
4402 * alpha-nat.c (fetch_osf_core_registers): Likewise.
4403 * hppa-linux-nat.c (fetch_register): Likewise.
4404 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
4405 * m68klinux-nat.c (fetch_register): Likewise.
4406 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
4407 Likewise.
4408 * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
4409 gdbarch_cannot_store_register.
4410 * hppa-linux-nat.c (store_register): Likewise.
4411 * inf-ptrace.c (inf_ptrace_store_register): Likewise.
4412 * regcache.c (regcache_raw_write): Likewise.
4413 * m68klinux-nat.c (store_register): Likewise.
4414 * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
4415 * gdbarch.c, gdbarch.h: Regenerate.
4416
3f4844da
UW
44172007-05-31 Markus Deuling <deuling@de.ibm.com>
4418
4419 * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
4420 * gdbarch.c, gdbarch.h: Regenerate.
4421
6c6b19fd
UW
44222007-05-31 Markus Deuling <deuling@de.ibm.com>
4423
4424 * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
4425 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
4426 * gdbarch.c, gdbarch.h: Regenerate.
4427
0d20ae72
UW
44282007-05-31 Markus Deuling <deuling@de.ibm.com>
4429
4430 * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
4431 * ax-gdb.c (gen_bitfield_ref): Likewise.
4432 * mi/mi-main.c (get_register): Likewise.
4433 * findvar.c (default_value_from_register, extract_signed_integer)
4434 (extract_unsigned_integer, extract_long_unsigned_integer)
4435 (store_signed_integer, store_unsigned_integer): Likewise.
4436 * regcache.c (regcache_dump): Likewise.
4437 * value.c (lookup_internalvar, value_of_internalvar)
4438 (set_internalvar): Likewise.
4439 * defs.h: Likewise.
4440 * valprint.c (print_binary_chars, print_octal_chars)
4441 (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
4442 * infcmd.c (default_print_registers_info): Likewise.
4443 * arch-utils.c (selected_byte_order, show_endian): Likewise.
4444 * stabsread.c (define_symbol): Likewise.
4445 * doublest.c (floatformat_from_length, floatformat_from_type)
4446 (extract_typed_floating, store_typed_floating): Likewise.
4447 * gdbarch.c, gdbarch.h: Regenerate.
4448
faaf634c
UW
44492007-05-31 Markus Deuling <deuling@de.ibm.com>
4450
4451 * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
4452 gdbarch_call_dummy_location.
4453 * infcall.c (call_function_by_hand): Likewise.
4454 * inferior.h: Change comment.
4455 * arch-utils.c: Change comment.
4456 * gdbarch.c, gdbarch.h: Regenerate.
4457
8905984d
JB
44582007-05-28 Joel Brobecker <brobecker@adacore.com>
4459
4460 * solib-aix5.c: Delete.
4461 * Makefile.in (solib-aix5.o): Delete rule.
4462
ab14ee8d
DJ
44632007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
4464
4465 * breakpoint.h (enum bpstat_what_main_action): Remove
4466 BPSTAT_WHAT_THROUGH_SIGTRAMP.
4467 * infrun.c (process_event_stop_test): Do not check for it.
4468
23776285
MR
44692007-05-22 Chris Dearman <chris@mips.com>
4470 Maciej W. Rozycki <macro@mips.com>
4471
4472 * ser-unix.c (show_serial_hwflow): New function.
4473 (hardwire_raw): Add hardware flow control support.
4474 (_initialize_ser_hardwire): Add "set/show remoteflow".
4475 * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
4476 * NEWS: Document the new command.
4477
eb368090
UW
44782007-05-21 Ulrich Weigand <uweigand@de.ibm.com>
4479
4480 * config/i386/tm-linux.h (sys_quotactl): Do not define.
4481 * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
4482 define for i[[3456]]86-*-linux* native configurations.
4483 * config.in, configure: Regenerate.
4484
8d08c9ce
JB
44852007-05-19 Joel Brobecker <brobecker@adacore.com>
4486
4487 * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
4488 a core file. Add comment in the function description.
4489
42be36b3
CT
44902007-05-18 Caroline Tice <ctice@apple.com>
4491
4492 * c-valprint.c (c_value_print): If the initialized field of the
4493 value struct is 0, print out "[uninitialized]" before the value.
4494 * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field;
4495 allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a
4496 DW_OP_regx op; add case for DW_OP_GNU_uninit and update
4497 ctx->initialized appropriately. Verify no location op follows
4498 DW_OP_GNU_uninit.
4499 * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
4500 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to
4501 set_value_initialized.
4502 * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
4503 (decode_locdesc): Add case for DW_OP_GNU_uninit.
4504 * value.c (struct value): New field, initialized.
4505 (allocate_value): Initialize new field.
4506 (set_value_initialized): New function.
4507 (value_initialized): New function.
4508 * value.h (value_initialized): New extern declaration.
4509 (set_value_initialized): Likewise.
42be36b3 4510
a7c569c8
CT
45112007-05-18 Caroline Tice <ctice@apple.com>
4512
4513 * MAINTAINERS (Write After Approval): Add self.
4514
1e98b326
JB
45152007-05-17 Joel Brobecker <brobecker@adacore.com>
4516
4517 * gdbtypes.c (make_reference_type): Preserve the type chain
4518 and set the length of all the variants of the pointer type.
4519
053cb41b
JB
45202007-05-17 Joel Brobecker <brobecker@adacore.com>
4521
4522 * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
4523 and set the length of all the variants of the pointer type.
4524
436aafc4
MR
45252007-05-17 Maciej W. Rozycki <macro@mips.com>
4526
4527 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
4528 comment.
4529 (mips_o64_push_dummy_call): Reformat a comment.
4530
98f4ab10
Q
45312007-05-17 Qinwei <qinwei@sunnorth.com.cn>
4532
4533 * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
4534 (score_prologue_frame_base_address): Return fp to keep gdb print
4535 local variables correctly when debugging information is stabs.
4536
4537 (score_analyze_prologue): For software watchpoint, fetch all the
4538 instructions from range [startaddr, pc] once and identify them locally
4539 to reduce memory access.
4540 (score_malloc_and_get_memblock, score_free_memblock)
4541 (score_adjust_memblock_ptr): New functions.
4542 (score_fetch_inst): Fetch single instruction or mutiple instructions.
4543
4544 (score_target_can_use_watch, score_stopped_by_watch)
4545 (score_target_insert_watchpoint, score_target_remove_watchpoint)
4546 (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
4547 New functions for remote & local hw-watchpoint and hw-breakpoint.
4548
60dfee72
AS
45492007-05-16 Alfred M. Szmidt <ams@gnu.org>
4550
4551 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
4552 declarations as well.
4553
190dce09
UW
45542007-05-16 Ulrich Weigand <uweigand@de.ibm.com>
4555
4556 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
4557 * config/arm/tm-embed.h: Delete file.
4558
4559 * arm-tdep.h (arm_software_single_step): Declare.
4560 * arm-tdep.c (arm_software_single_step): Make global.
4561 (arm_gdbarch_init): Move set_gdbarch_software_single_step call
4562 from here to ...
4563 * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
4564 * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
4565 * armobsd-tdep.c (armobsd_init_abi): ... here ...
4566 * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
4567
4568 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
4569 allow defines to be overriden by TM file.
4570 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
4571 change default to {0xbe,0xbe}.
4572 * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
4573 arm_obsd_thumb_be_breakpoint): New global variables.
4574 (armobsd_init_abi): Override tdep->thumb_breakpoint and
4575 tdep->thumb_breakpoint_size.
4576 * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
4577 (arm_wince_init_abi): Override tdep->thumb_breakpoint and
4578 tdep->thumb_breakpoint_size.
4579
4580 * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
4581
1a69e1e4
DJ
45822007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
4583
4584 * NEWS: Mention removed "set mips stack-arg-size" and "set mips
4585 saved-gpreg-size".
4586
4587 * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
4588 (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
4589 (mips_stack_argsize_string, mips_stack_argsize): Delete.
4590 (mips_abi_regsize): Simplify.
4591 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
4592 (mips_n32n64_return_value, mips_o32_push_dummy_call)
4593 (mips_o32_return_value, mips_o64_push_dummy_call)
4594 (mips_o64_return_value): Propogate constant register sizes. Use the
4595 ABI register size instead of mips_stack_argsize.
4596 (mips_dump_tdep): Don't print mips_stack_argsize.
4597 (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
4598 settings.
4599
7d522c90
DJ
46002007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
4601
4602 * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
4603 * config/mips/tm-linux.h: Delete.
4604 * mips-linux-tdep.c (mips_svr4_so_ops): New.
4605 (mips_linux_in_dynsym_resolve_code): Make static. Use
4606 svr4_in_dynsym_resolve_code.
4607 (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
4608 set_solib_ops.
4609 * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
4610 global.
4611 * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
4612 * Makefile.in (mips-linux-tdep.o): Update.
4613 * solib.c (set_solib_ops): New.
4614 (current_target_so_ops): Update comment.
4615 * solib.h (set_solib_ops): New prototype.
4616
5d51a2db
MR
46172007-05-16 Chris Dearman <chris@mips.com>
4618
4619 * printcmd.c (do_examine): Fix typos in a comment.
4620
07abfebf
RS
46212007-05-16 Richard Sandiford <richard@codesourcery.com>
4622
4623 * configure.ac: Allow sysroots to be relocated under $prefix as
4624 well as $exec_prefix.
4625 * configure: Regenerate.
4626
f5ce4941
UW
46272007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
4628
4629 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
4630 (offsetof): Do not define.
4631 (find_stub_with_shl_get): Use numerical value 3 instead of
4632 symbolic value TYPE_PROCEDURE.
4633
76e1ee85
DJ
46342007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4635
4636 * gdb_proc_service.h (paddr_t): Delete typedef.
4637 * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
4638 (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
4639 (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
4640 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
4641 * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
4642 * Makefile.in (proc-service.o): Update.
4643
2bd0c3d7
DJ
46442007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4645
4646 * Makefile.in (mips-tdep.o): Update.
4647 * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
4648 unwinder.
4649
14d06750
DJ
46502007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4651
4652 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
4653 instead of store_typed_address.
4654 * value.c (pack_long): New.
4655 (value_from_longest): Use it.
4656 * value.h (pack_long): New prototype.
4657
f2fec864
DJ
46582007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4659
4660 * dwarf2-frame.c (read_encoded_value): Correct typo. Use
4661 DW_EH_PE_signed if appropriate.
4662
25e43795
DJ
46632007-05-14 Paul Brook <paul@codesourcery.com>
4664 Daniel Jacobowitz <dan@codesourcery.com>
4665
4666 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
4667 function.
4668 (dwarf_decode_lines): Check for line info without a file.
4669
027c0295
DJ
46702007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4671
4672 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
4673 as hexadecimal.
4674
dc5000e7
DJ
46752007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
4676
4677 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
4678 STRUCTOP_STRUCT.
4679 * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
4680 STRUCTOP_STRUCT.
4681 * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
4682
30244cd8
UW
46832007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
4684
4685 * gdbarch.sh (read_sp): Remove.
4686 * gdbarch.c, gdbarch.h: Regenerate.
4687 * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
4688
4689 * avr-tdep.c (avr_read_sp): Remove.
4690 (avr_unwind_sp): New function.
4691 (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
4692 * mips-tdep.c (mips_read_sp): Remove.
4693 (mips_unwind_sp): New function.
4694 (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
4695 * score-tdep.c (score_read_unsigned_register): Remove.
4696 (score_read_sp): Remove.
4697 (score_unwind_sp): New function.
4698 (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
4699
84ba0adf
DJ
47002007-05-14 Maxim Grigoriev <maxim2405@gmail.com>
4701
4702 * buildsym.c (start_subfile): Handle absolute pathnames
4703 while comparing subfile names.
4704
e7b17823
UW
47052007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
4706
4707 * hppa-hpux-tdep.c: Include "regcache.h".
4708 * hppa-linux-tdep.c: Likewise.
4709 * hppa-tdep.c: Include "gdb_stdint.h".
4710 (find_unwind_entry): Cast host pointer to uintptr_t before passing
4711 it to paddr_nz.
4712 * Makefile.in: Update dependencies.
4713
7157eed4
UW
47142007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
4715
4716 * blockframe.c: Remove obsolete comments.
4717 * alpha-nat.c (fetch_osf_core_registers): Update comment.
4718 * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
4719 * hppa-tdep.h (enum hppa_regnum): Likewise.
4720 * mips-tdep.h: Likewise.
4721 * m68hc11-tdep.c: Likewise.
4722
fb4443d8
UW
47232007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
4724
4725 * inferior.h (read_sp): Remove prototype.
4726 * regcache.c (read_sp): Remove.
4727 * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
4728 * infcall.c (call_function_by_hand): Likewise.
4729 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
4730 of calling read_sp.
4731 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
4732
7b86a1b8
UW
47332007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4734
4735 * i386-linux-nat.c (i386_linux_resume): Use regcache functions
4736 instead of read_register and read_register_pid.
4737
4738 * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
4739 argument instead of PTID. Use regcache functions instead of
4740 read_register_pid.
4741 (ia64_linux_insert_watchpoint): Update call.
4742 (ia64_linux_stopped_data_address): Use regcache functions
4743 instead of read_register_pid and write_register_pid.
4744
45ecac4b
UW
47452007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4746
4747 * libunwind-frame.h (struct regcache): Add forward declaration.
4748 (libunwind_get_reg_special): Add REGCACHE argument.
4749 * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
4750 argument. Pass it to unw_init_remote_p.
4751
4752 * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
4753 libunwind_get_reg_special.
4754 (ia64_access_reg): Remove "write" case.
4755 (ia64_access_fpreg): Likewise. Read from next_frame passed
4756 as callback argument instead of from current_regcache.
4757 (ia64_access_rse_reg): Remove "write" case. Read from regcache
4758 passed as callback argument instead of from current_regcache.
4759 (ia64_access_rse_fpreg): New function.
4760 (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
4761
0ca420ce
UW
47622007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4763
4764 * NEWS: Mention SPU overlay support.
4765
0a44cb36
UW
47662007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4767
4768 * spu-tdep.c (spu_frame_unwind_cache): Add comment.
4769
aa67235e
UW
47702007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4771
4772 * breakpoint.c (remove_breakpoint): Do not remove software
4773 breakpoints in unmapped overlay sections.
4774
dcf52cd8
UW
47752007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4776
4777 * spu-tdep.c: Include "observer.h".
4778 (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
4779 (spu_overlay_data): New variable.
4780 (struct spu_overlay_table): New type.
4781 (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
4782 spu_overlay_new_objfile): New functions.
4783 (spu_gdbarch_init): Install spu_overlay_update.
4784 (_initialize_spu_tdep): Register spu_overlay_new_objfile,
4785 allocate spu_overlay_data objfile data.
4786
1c772458
UW
47872007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4788
4789 * gdbarch.sh (overlay_update): New gdbarch function.
4790 (struct obj_section): Add forward declaration.
4791 * gdbarch.c, gdbarch.h: Regenerate.
4792
4793 * symfile.c (simple_overlay_update): Make global.
4794 (target_overlay_update): Remove variable.
4795 (overlay_is_mapped): Call gdbarch_overlay_update instead of
4796 target_overlay_update.
4797 (overlay_load_command): Likewise.
4798 * symfile.h (struct obj_section): Add forward declaration.
4799 (simple_overlay_update): Add prototype.
4800
4801 * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
4802
06d3b283
UW
48032007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4804
4805 * observer.sh: Add "struct objfile" forward declaration.
4806 * target.h (deprecated_target_new_objfile_hook): Remove.
4807 * symfile.c (deprecated_target_new_objfile_hook): Remove.
4808 (clear_symtab_users): Call observer_notify_new_objfile.
4809 (symbol_file_add_with_addrs_or_offsets): Likewise.
4810 * rs6000-nat.c: Include "observer.h".
4811 (vmap_ldinfo): Call observer_notify_new_objfile.
4812 (xcoff_relocate_core): Likewise.
4813 * remote.c (remote_new_objfile_chain): Remove.
4814 (remote_new_objfile): Do not call remote_new_objfile_chain.
4815 (_initialize_remote): Use observer_attach_new_objfile.
4816 * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
4817 (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
4818 (_initialize_tui_hooks): Use observer_attach_new_objfile.
4819 * aix-thread.c: Include "observer.h".
4820 (target_new_objfile_chain): Remove.
4821 (new_objfile): Do not call target_new_objfile_chain.
4822 (_initialize_aix_thread): Use observer_attach_new_objfile.
4823 * hpux-thread.c: Include "observer.h"
4824 (target_new_objfile_chain): Remove.
4825 (hpux_thread_new_objfile): Make static. Do not call
4826 target_new_objfile_chain.
4827 (_initialize_hpux_thread): Use observer_attach_new_objfile.
4828 * linux-thread-db.c: Include "observer.h".
4829 (target_new_objfile_chain): Remove.
4830 (thread_db_new_objfile): Do not call target_new_objfile_chain.
4831 (_initialize_thread_db): Use observer_attach_new_objfile.
4832 * sol-thread.c: Include "observer.h".
4833 (target_new_objfile_chain): Remove.
4834 (sol_thread_new_objfile): Make static. Do not call
4835 target_new_objfile_chain.
4836 (_initialize_sol_thread): Use observer_attach_new_objfile.
4837 * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
4838 rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
4839 $(observer_h).
4840
93ce7684
UW
48412007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4842
4843 * gdbarch.sh (remote_translate_xfer_address): Remove.
4844 * gdbarch.h, gdbarch.c: Regenerate.
4845 * arch-utils.c (generic_remote_translate_xfer_address): Remove.
4846 * arch-utils.h (generic_remote_translate_xfer_address): Remove.
4847 * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
4848 call gdbarch_remote_translate_xfer_address.
4849 * frv-tdep.c (frv_gdbarch_init): Do not call
4850 set_gdbarch_remote_translate_xfer_address.
4851 * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
4852 (ia64_gdbarch_init): Do not install it.
4853
a6ec25f2
BW
48542007-05-11 Bob Wilson <bob.wilson@acm.org>
4855
4856 * NEWS: Mention change in handling the -tui option.
4857
2ef52e77
DJ
48582007-05-11 Daniel Jacobowitz <dan@codesourcery.com>
4859
4860 * linux-thread-db.c (enable_thread_event_reporting): Fix comment
4861 typo.
4862
1aafd4da
UW
48632007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
4864
4865 * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
4866 (breakpoint_inserted_here_p): Call it.
4867 (software_breakpoint_inserted_here_p): Likewise.
4868
7714d83a
UW
48692007-05-10 Ulrich Weigand <uweigand@de.ibm.com>
4870
4871 * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
4872 (inf_ptrace_fetch_register): Add register_u_offset callback parameters
4873 GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value.
4874 (inf_ptrace_store_register): Likewise.
4875 (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
4876 * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
4877
4878 * vax-nat.c (vax_register_u_offset): Adapt parameter list.
4879
4880 * linux-nat.c (linux_trad_target): Adapt parameter list.
4881 * linux-nat.h (linux_trad_target): Likewise.
4882
4883 * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
4884
4885 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
4886 (mips_linux_cannot_store_register): Likewise.
4887 (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
4888 Return (CORE_ADDR) -1 for registers that cannot be fetched or
4889 stored via ptrace. Use GDBARCH instead of current_gdbarch.
4890 (mips64_linux_register_addr): Likewise.
4891 (mips_linux_register_u_offset): Adapt parameter list. Pass
4892 GDBARCH and STORE_P on to mips{64}_linux_register_addr.
4893
4894 * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
4895 * config/mips/nm-linux.h: Delete file.
4896
4ddda9b5
PA
48972007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
4898
4899 * remote.c (remote_detach): Error out if remote can't detach.
4900
24d45690
UW
49012007-05-10 Luis Machado <luisgpm@br.ibm.com>
4902
362f854e
PA
4903 * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
4904 instruction's opcode in the "opcode" variable and declares new
4905 variable "closing_insn".
24d45690 4906
1430be3e
MR
49072007-05-10 Chris Dearman <chris@mips.com>
4908 Maciej W. Rozycki <macro@mips.com>
4909
4910 * cli/cli-setshow.c (do_setshow_command): Remove trailing
4911 whitespace when setting a var_filename.
4912
b0da54f1
BW
49132007-05-09 Bob Wilson <bob.wilson@acm.org>
4914
4915 * main.c (captured_main): Recognize -tui option and print an error
4916 message when the TUI is not configured.
4917
9a88e5ee
AS
49182007-05-09 Andreas Schwab <schwab@suse.de>
4919
4920 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
4921 set removed members.
4922 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
4923
fc0d8df4
UW
49242007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
4925
4926 * gdbarch.sh (deprecated_store_struct_return): Remove.
4927 * gdbarch.c, gdbarch.h: Regenerate.
4928 * frv-tdep.c (frv_store_struct_return): Remove.
4929 (frv_gdbarch_init): Do not install it.
4930
179101d6
UW
49312007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
4932
4933 * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
4934 * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
4935 * config/nm-linux.h (USE_PROC_FS): Do not undefine.
4936
b9efddcd
UW
49372007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
4938
4939 * spu-linux-nat.c: Include "gdb_stdint.h".
4940 (fetch_ppc_register): Use uint64_t instead of unsigned long long.
4941 (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
4942 (fetch_ppc_memory, store_ppc_memory): Fix coding style.
4943 (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
4944 (spu_child_wait): Mark up string for translation.
4945
ce5eab59
UW
49462007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
4947 Luis Machado <luisgpm@br.ibm.com>
4948
4949 * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
4950 STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
4951 BC_INSTRUCTION): Define.
4952 (deal_with_atomic_sequence): New function.
4953 (rs6000_software_single_step): Call deal_with_atomic_sequence.
4954 (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
4955 gdbarch_software_single_step routine.
4956
4179a487
UW
49572007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
4958
4959 * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
4960 store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
4961 parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
4962 spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
4963 spu_child_post_attach, spu_fetch_inferior_registers,
4964 spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
4965 memory addresses as ULONGEST, not CORE_ADDR.
4966
6d350bb5
UW
49672007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
4968
4969 * gdbarch.sh: Add skip_permanent_breakpoint callback.
4970 * gdbarch.h, gdbarch.c: Regenerate.
4971
4972 * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
4973 (resume): Call gdbarch_skip_permanent_breakpoint instead of
4974 SKIP_PERMANENT_BREAKPOINT. Inline default case.
4975
4976 * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
4977 Add REGCACHE argument. Use it instead of read/write_register.
4978 (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
4979
4980 * config/pa/tm-hppah.h: Delete file.
4981 * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
4982 * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
4983
b18be20d
DJ
49842007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
4985
4986 * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
4987 * NEWS: Mention improved C++ thunk support.
4988 * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
4989 * cp-abi.c (cplus_skip_trampoline): New.
4990 * cp-abi.h (cplus_skip_trampoline): New prototype.
4991 (struct cp_abi_ops): Add skip_trampoline member.
4992 * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
4993 (init_gnuv3_ops): Set skip_trampoline.
4994
dda9b909
DJ
49952007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
4996
4997 * rs6000-tdep.c (struct frame_extra_info): Delete.
4998
34091d9b
DJ
49992007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
5000
5001 * linux-thread-db.c: Update some FIXME comments.
5002 (thread_db_xfer_partial): Delete.
5003 (init_thread_db_ops): Do not set to_xfer_partial.
5004
1da33a4a
UW
50052007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5006
5007 * inftarg.c, infptrace.c: Remove files.
5008 * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
5009 (inftarg.o, infptrace.o): Remove rules.
5010 * gdbcore.h (register_addr): Remove prototype.
5011 * inferior.h (kill_inferior, store_inferior_registers,
5012 fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
5013 call_ptrace, pre_fork_inferior): Remove prototypes.
5014 * target.h (child_xfer_memory, child_pid_to_exec_file,
5015 child_core_file_to_sym_file, child_post_attach,
5016 child_post_startup_inferior, child_acknowledge_created_inferior,
5017 child_insert_fork_catchpoint, child_remove_fork_catchpoint,
5018 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
5019 child_insert_exec_catchpoint, child_remove_exec_catchpoint,
5020 child_follow_fork, child_reported_exec_events_per_exec_call,
5021 child_has_exited, child_thread_alive): Remove prototypes.
5022
6f7a27d5
UW
50232007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5024
5025 * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
5026 (sparc_store_inferior_registers): Likewise.
5027 * sparc-nat.c (fetch_inferior_registers): Rename to ...
5028 (sparc_fetch_inferior_registers): ... this.
5029 (store_inferior_registers): Rename to ...
5030 (sparc_store_inferior_registers): ... this.
5031 (sparc_target): Update callback names.
5032 * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise.
5033 * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
5034
6d8fd2b7
UW
50352007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5036
5037 * linux-nat.c (child_post_attach): Rename to ...
5038 (linux_child_post_attach): ... this. Make static.
5039 (child_follow_fork): Rename to ...
5040 (linux_child_follow_fork): ... this. Make static.
5041 (child_insert_fork_catchpoint): Rename to ...
5042 (linux_child_insert_fork_catchpoint): ... this. Make static.
5043 (child_insert_vfork_catchpoint): Rename to ...
5044 (linux_child_insert_vfork_catchpoint): ... this. Make static.
5045 (child_insert_exec_catchpoint): Rename to ...
5046 (linux_child_insert_exec_catchpoint): ... this. Make static.
5047 (child_pid_to_exec_file): Rename to ...
5048 (linux_child_pid_to_exec_file): ... this. Make static.
5049 Add prototype.
5050 (linux_handle_extended_wait): Update call.
5051 (linux_xfer_partial): Update callback routine names.
5052
d08950c4
UW
50532007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5054
5055 * configure.host (alpha*-*-osf[12]*): Remove support.
5056 * NEWS: Mention removed configurations.
5057
5058 * config/alpha/alpha-osf1.mh: Delete file.
5059 * config/alpha/alpha-osf2.mh: Delete file.
5060 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
5061 and infptrace.o.
5062 * config/alpha/nm-osf.h: Delete file.
5063 * config/alpha/nm-osf2.h: Delete file.
5064 * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
5065 (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
5066 (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
5067
5068 * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
5069 (register_addr, kernel_u_size): Remove.
5070 Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
5071
9c5ea4d9
UW
50722007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5073
5074 * regcache.c (regcache_invalidate): New function.
5075 (register_cached): Remove.
5076 (set_register_cached): Remove.
5077 (deprecated_registers_fetched): Remove.
5078 (registers_changed): Use regcache_invalidate instead
5079 of set_register_cached.
5080 (regcache_raw_read): Update comment.
5081
5082 * regcache.h (regcache_invalidate): Add prototype.
5083 (register_cached): Remove.
5084 (set_register_cached): Remove.
5085 (deprecated_registers_fetched): Remove.
5086
5087 * findvar.c (value_of_register): Do not call register_cached.
5088 * frame.c (frame_register): Likewise.
5089 * tui/tui-regs.c (tui_get_register): Likewise.
5090
5091 * remote.c (fetch_register_using_p): Do not call set_register_cached.
5092 (process_g_packet): Likewise.
5093 (remote_fetch_registers): Likewise.
5094 * remote-sim.c (gdbsim_fetch_register): Likewise.
5095 * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
5096 by regcache_invalidate.
5097 (mt_pseudo_register_write): Likewise.
5098 * sh-tdep.c (sh_pseudo_register_write): Likewise.
5099
5100 * corelow.c (get_core_registers): Replace deprecated_registers_fetched
5101 call by loop over regcache_raw_supply (..., NULL).
5102
316f2060
UW
51032007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5104
5105 * target.h (struct target_ops): Add REGCACHE parameter to
5106 to_prepare_to_store.
5107 (target_prepare_to_store): Likewise.
5108 * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
5109 (update_current_target): Adapt prepare_to_store de_fault rule.
5110
5111 * regcache.c (regcache_raw_write): Pass regcache to
5112 target_prepare_to_store.
5113
5114 * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
5115 Do not call CHILD_PREPARE_TO_STORE.
5116 * gnu-nat.c (gnu_prepare_to_store): Likewise.
5117 * procfs.c (procfs_prepare_to_store): Likewise.
5118
5119 * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
5120 * go32-nat.c (go32_prepare_to_store): Likewise.
5121 * monitor.c (monitor_prepare_to_store): Likewise.
5122 * nto-procfs.c (procfs_prepare_to_store): Likewise.
5123 * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
5124 * remote-mips.c (mips_prepare_to_store): Likewise.
5125 * remote-sim.c (gdbsim_prepare_to_store): Likewise.
5126 * win32-nat.c (win32_prepare_to_store): Likewise.
5127
5128 * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
5129 Use it instead of current_regcache.
5130
5131 * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
5132 parameter. Pass it on to next target.
5133 * sol-thread.c (sol_thread_prepare_to_store): Likewise.
5134
56be3814
UW
51352007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5136
5137 * target.h (struct regcache): Add forward declaration.
5138 (struct target_ops): Add REGCACHE parameter to to_fetch_registers
5139 and to_store_registers target operations.
5140 (target_fetch_registers, target_store_registers): Update.
5141
5142 * regcache.c (regcache_raw_read): Replace register_cached by
5143 regcache_valid_p. Pass regcache to target_fetch_registers.
5144 (regcache_raw_write): Pass regcache to target_store_registers.
5145
5146 * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
5147 store_regs, store_wmmx_regs): Replace register_cached by
5148 regcache_valid_p.
5149
5150 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
5151 to target_fetch_registers calls.
5152 * corelow.c (core_open): Likewise.
5153 * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
5154 * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
5155 ps_lsetfpregs): Likewise.
5156 * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
5157 ps_lsetfpregs): Likewise.
5158 * win32-nat.c (win32_resume): Likewise.
5159 * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
5160 to target_store_registers call.
5161 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
5162
5163 * inferior.h (store_inferior_registers): Update prototype.
5164 (fetch_inferior_registers): Likewise.
5165 * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
5166 * mips-linux-nat.c (super_fetch_registers, super_store_registers):
5167 Update function pointer signatures.
5168
5169 * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
5170 use it instead of current_regcache, update calls.
5171 (aix_thread_store_registers): Likewise.
5172 * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
5173 (alphabsd_store_inferior_registers): Likewise.
5174 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
5175 (amd64bsd_store_inferior_registers): Likewise.
5176 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
5177 (amd64_linux_store_inferior_registers): Likewise.
5178 * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
5179 store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
5180 fetch_wmmx_regs, store_wmmx_regs): Likewise.
5181 (arm_linux_fetch_inferior_registers): Likewise.
5182 (arm_linux_store_inferior_registers): Likewise.
5183 * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
5184 fetch_fp_regs, armnbsd_fetch_registers): Likewise.
5185 (store_register, store_regs, store_fp_register, store_fp_regs,
5186 armnbsd_store_registers): Likewise.
5187 * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
5188 * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
5189 (bsd_uthread_store_registers): Likewise.
5190 * corelow.c (get_core_registers): Likewise.
5191 * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
5192 go32_store_registers): Likewise.
5193 * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
5194 (hppabsd_store_registers): Likewise.
5195 * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
5196 (hppa_hpux_fetch_inferior_registers): Likewise.
5197 (hppa_hpux_store_register): Likewise.
5198 (hppa_hpux_store_inferior_registers): Likewise.
5199 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
5200 (hppa_linux_fetch_inferior_registers): Likewise.
5201 (hppa_linux_store_inferior_registers): Likewise.
5202 * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
5203 (hpux_thread_store_registers): Likewise.
5204 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
5205 (i386bsd_store_inferior_registers): Likewise.
5206 * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
5207 gnu_store_registers): Likewise.
5208 * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
5209 store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
5210 Likewise.
5211 (i386_linux_fetch_inferior_registers): Likewise.
5212 (i386_linux_store_inferior_registers): Likewise.
5213 * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
5214 (ia64_linux_fetch_registers): Likewise.
5215 (ia64_linux_store_register): Likewise.
5216 (ia64_linux_store_registers): Likewise.
5217 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
5218 (inf_child_store_inferior_registers): Likewise.
5219 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
5220 (inf_ptrace_fetch_registers): Likewise.
5221 (inf_ptrace_store_register): Likewise.
5222 (inf_ptrace_store_registers): Likewise.
5223 * infptrace.c (fetch_register, store_register): Likewise.
5224 (fetch_inferior_registers, store_inferior_registers): Likewise.
5225 * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
5226 (m32r_linux_fetch_inferior_registers): Likewise.
5227 (m32r_linux_store_inferior_registers): Likewise.
5228 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
5229 (m68kbsd_store_inferior_registers): Likewise.
5230 * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
5231 store_register, old_store_inferior_registers, fetch_regs, store_regs,
5232 fetch_fpregs, store_fpregs): Likewise.
5233 (m68k_linux_fetch_inferior_registers): Likewise.
5234 (m68k_linux_store_inferior_registers): Likewise.
5235 * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
5236 (m88kbsd_store_inferior_registers): Likewise.
5237 * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
5238 (mips64obsd_store_inferior_registers): Likewise.
5239 * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
5240 (mips64_linux_regsets_store_registers): Likewise.
5241 (mips64_linux_fetch_registers): Likewise.
5242 (mips64_linux_store_registers): Likewise.
5243 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
5244 (mipsnbsd_store_inferior_registers): Likewise.
5245 * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
5246 (monitor_fetch_registers, monitor_store_registers): Likewise.
5247 * nto-procfs.c (procfs_fetch_registers): Likewise.
5248 (procfs_store_registers): Likewise.
5249 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
5250 fetch_register, supply_vrregset, fetch_altivec_registers,
5251 fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
5252 (store_altivec_register, store_spe_register, store_register,
5253 fill_vrregset, store_altivec_registers, store_ppc_registers,
5254 ppc_linux_store_inferior_registers): Likewise.
5255 * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
5256 (ppcnbsd_store_inferior_registers): Likewise.
5257 * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
5258 (ppcobsd_store_registers): Likewise.
5259 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
5260 * remote.c (fetch_register_using_p, process_g_packet,
5261 fetch_registers_using_g, remote_fetch_registers): Likewise.
5262 (store_register_using_P, store_registers_using_G,
5263 remote_store_registers): Likewise.
5264 * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
5265 m32r_store_register, m32r_store_register): Likewise.
5266 * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
5267 * remote-sim.c (gdbsim_fetch_register): Likewise.
5268 (gdbsim_store_register): Likewise.
5269 * rs6000-nat.c (fetch_register, store_register): Likewise.
5270 (rs6000_fetch_inferior_registers): Likewise.
5271 (rs6000_store_inferior_registers): Likewise.
5272 * s390-nat.c (fetch_regs, store_regs): Likewise.
5273 (fetch_fpregs, store_fpregs): Likewise.
5274 (s390_linux_fetch_inferior_registers): Likewise.
5275 (s390_linux_store_inferior_registers): Likewise.
5276 * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
5277 (shnbsd_store_inferior_registers): Likewise.
5278 * sol-thread.c (sol_thread_fetch_registers): Likewise.
5279 (sol_thread_store_registers): Likewise.
5280 * sparc-nat.c (fetch_inferior_registers): Likewise.
5281 (store_inferior_registers): Likewise.
5282 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
5283 (spu_store_inferior_registers): Likewise.
5284 * target.c (debug_print_register): Likewise.
5285 (debug_to_fetch_registers, debug_to_store_registers): Likewise.
5286 * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
5287 (vaxbsd_store_inferior_registers): Likewise.
5288 * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
5289 (win32_fetch_inferior_registers): Likewise.
5290 (win32_store_inferior_registers): Likewise.
5291
9eefc95f
UW
52922007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5293
5294 * gdbcore.h (struct regcache): Add forward declaration.
5295 (struct core_fns): Add REGCACHE argument to core_read_registers
5296 callback.
5297 * corelow.c (get_core_register_section): Add REGCACHE argument,
5298 use it instead of current_regcache, pass it to core_read_registers
5299 callback.
5300 (get_core_registers): Add current_regcache as parameter to
5301 get_core_register_section calls.
5302
5303 * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
5304 use it instead of current_regcache.
5305 * armnbsd-nat.c (fetch_core_registers): Likewise.
5306 (fetch_elfcore_registers): Likewise.
5307 * core-regset.c (fetch_core_registers): Likewise.
5308 * cris-tdep.c (fetch_core_registers): Likewise.
5309 * irix5-nat.c (fetch_core_registers): Likewise.
5310 * m68klinux-nat.c (fetch_core_registers): Likewise.
5311 * mips-linux-tdep.c (fetch_core_registers): Likewise.
5312 * win32-nat.c (fetch_elf_core_registers): Likewise.
5313
7f7fe91e
UW
53142007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5315
5316 * gregset.h (struct regcache): Add forward declaration.
5317 (supply_gregset): Add REGCACHE parameter, make GREGS const.
5318 (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
5319 (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
5320 (fill_gregset): Add REGCACHE parameter.
5321 (fill_fpregset): Likewise.
5322 (fill_fpxregset): Likewise.
5323
5324 Update all definitions accordingly:
5325 * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
5326 arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
5327 i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c,
5328 m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
5329 s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c
5330 (supply_gregset): Add REGCACHE parameter, use it instead of
5331 current_regcache. Make GREGSETP parameter const, adapt casts.
5332 (supply_fpregset): Add REGCACHE parameter, use it instead of
5333 current_regcache. Make FPREGSETP parameter const, adapt casts.
5334 (fill_gregset): Add REGCACHE parameter, use it instead of
5335 current_regcache.
5336 (fill_fpregset): Likewise.
5337
5338 Update all callers to pass in current_regcache as the new argument:
5339 * core-regset.c: Include "regcache.h".
5340 (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
5341 * procfs.c: Include "regcache.h".
5342 (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
5343 (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
5344 (procfs_do_thread_registers): Likewise.
5345 (procfs_make_note_section): Likewise.
5346 * proc-service.c: Include "regcache.h".
5347 (ps_lgetregs): Update fill_gregset call.
5348 (ps_lsetregs): Update supply_gregset call.
5349 (ps_lgetfpregs): Update fill_fpregset call.
5350 (ps_lsetfpregs): Update supply_fpregset call.
5351 * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
5352 supply_fpregset calls.
5353 (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
5354 (ps_lgetregs): Update fill_gregset call.
5355 (ps_lsetregs): Update supply_gregset call.
5356 (ps_lgetfpregs): Update fill_fpregset call.
5357 (ps_lsetfpregs): Update supply_fpregset call.
5358
5359 * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
5360 fill_fpregset, and fill_fpxregset calls.
5361 * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
5362 (store_regs): Update fill_gregset call.
5363 (fetch_fpregs): Update supply_fpregset call.
5364 (store_fpregs): Update fill_fpregset call.
5365 (fetch_fpxregs): Update supply_fpxregset call.
5366 (store_fpxregs): Update fill_fpxregset call.
5367 * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
5368 (store_regs): Update fill_gregset call.
5369 * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
5370 (store_regs): Update fill_gregset call.
5371 (fetch_fpregs): Update supply_fpregset call.
5372 (store_fpregs): Update fill_fpregset call.
5373 (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
5374 * s390-nat.c (fetch_regs): Update supply_gregset call.
5375 (store_regs): Update fill_gregset call.
5376 (fetch_fpregs): Update supply_fpregset call.
5377 (store_fpregs): Update fill_fpregset call.
5378
5379 * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
5380 dependencies.
5381
c410a84c
UW
53822007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5383
5384 * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
5385 it instead of current_regcache.
5386 (parse_register_dump): Add REGCACHE parameter, pass it to
5387 supply_register callback.
5388 (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
5389 parse_register_dump.
5390 (monitor_dump_regs): Add REGCACHE parameter, pass it to
5391 parse_register_dump and dumpregs callback.
5392 (monitor_wait): Pass current_regcache to parse_register_dump and
5393 monitor_dump_regs.
5394 (monitor_fetch_register): Pass current_regcache to
5395 monitor_supply_register.
5396 (monitor_fetch_registers): Pass current_regcache to
5397 monitor_dump_regs.
5398 * monitor.h (struct monitor_ops): Add REGCACHE parameter to
5399 supply_register and dumpregs callbacks.
5400 (monitor_supply_register, monitor_dump_reg_block): Update
5401 prototypes.
5402 * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass
5403 it to monitor_supply_register.
5404 * dink32-rom.c (dink32_supply_register): Likewise.
5405 * ppcbug-rom.c (ppcbug_supply_register): Likewise.
5406 * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE
5407 instead of current_regcache.
5408
468e3d51
UW
54092007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5410
5411 * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
5412 Add REGCACHE parameter. Use it instead of current_regcache.
5413 (i386nto_supply_regset): Add REGCACHE parameter, pass it to
5414 i386nto_supply_gregset and i386nto_supply_fpregset.
5415 (i386nto_regset_fill): Add REGCACHE parameter; use it instead
5416 of current_regcache.
5417
5418 * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
5419 nto_supply_ helper functions.
5420 (procfs_store_registers): Pass current_regcache to nto_regset_fill.
5421
5422 * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
5423
5424 * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
5425 supply_greget, supply_fpregset, supply_altregset, supply_regset,
5426 and regset_fill member function pointers.
5427 (nto_dummy_supply_regset): Adapt prototype.
5428
4e3269e3
UW
54292007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5430
5431 * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
5432 instead of current_regcache. Make REGS const.
5433 (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
5434 * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
5435 prototypes.
5436 * shnbsd-nat.c: Include "regcache.h".
5437 (shnbsd_fetch_inferior_registers): Pass current_regcache to
5438 shnbsd_supply_reg.
5439 (shnbsd_store_inferior_registers): Pass current_regcache to
5440 shnbsd_fill_reg.
5441 * Makefile.in (shbsd-nat.o): Update dependencies.
5442
28f5035f
UW
54432007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5444
5445 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
5446 instead of current_regcache.
5447 (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
5448 Make GREGSETP const, remove superfluous casts.
5449 (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
5450 (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
5451 superfluous casts.
5452 (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
5453 (supply_64bit_reg): Likewise
5454 (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
5455 Make GREGSETP const, adapt casts accordingly.
5456 (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
5457 (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
5458 casts accordingly.
5459 (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
5460 (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
5461 helper routines.
5462 * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
5463 mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
5464 mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
5465 Adapt prototypes.
5466 * mips-linux-nat.c: Include "regcache.h".
5467 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
5468 current_regcache to mips{64}_(supply|fill)_ helper routines.
5469 (mips64_linux_regsets_fetch_registers): Likewise.
5470 (mips64_linux_regsets_store_registers): Likewise.
5471
5472 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
5473 REGCACHE argument; replace current_regcache. Make REGS const.
5474 (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
5475 replace current_regcache.
5476 * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
5477 mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
5478 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
5479 mipsnbsd_store_inferior_registers): Pass current_regcache to
5480 mipsnbsd_(supply|fill)_... helper routines.
5481
5482 * Makefile.in (mips-linux-nat.o): Update dependencies.
5483
26144df5
UW
54842007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5485
5486 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
5487 * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
5488 * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
5489 i387_fill_fsave and i387_fill_fxsave calls by inline copies.
5490 * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
5491 * i386gnu-nat.c (store_fpregs): Likewise.
5492 * i386v4-nat.c (fill_fpregset): Likewise.
5493 * go32-nat.c (store_register, go32_store_registers): Likewise.
5494
c6b4e5a2
UW
54952007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5496
5497 * cris-tdep.c (supply_gregset): Rename to ...
5498 (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
5499 instead of current_regcache.
5500 (fetch_core_registers): Update call. Pass current_regcache.
5501
d683e2b7
UW
55022007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5503
5504 * arnmnbsd-nat.c (supply_gregset): Rename to ...
5505 (arm_supply_gregset): ... this. Add REGCACHE parameter.
5506 Use it instead of current_regcache.
5507 (supply_fparegset): Rename to ...
5508 (arm_supply_fparegset): ... this. Add REGCACHE parameter.
5509 Use it instead of current_regcache.
5510 (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
5511 (fetch_core_registers, fetch_elfcore_registers): Likewise.
5512
390c1522
UW
55132007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5514
5515 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
5516 alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
5517 use it instead of current_regcache.
5518 * alpha-tdep.h (struct regcache): Add forward declaration.
5519 (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
5520 alpha_fill_fp_regs): Update prototypes.
5521
5522 * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
5523 fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
5524 * alpha-linux-nat.c: Include "regcache.h".
5525 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
5526 current_regcache to alpha_supply/fill_ routines.
5527
5528 * alphabsd-tdep.c: Include "regcache.h".
5529 (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
5530 pass it to alpha_supply_ routines. Make REGS const.
5531 (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
5532 pass it to alpha_fill_ routines.
5533 * alphabsd-tdep.h (struct regcache): Add forward declaration.
5534 (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
5535 alphabsd_fill_fpreg): Update prototypes.
5536
5537 * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
5538 fill_fpregset, alphabsd_fetch_inferior_registers,
5539 alphabsd_store_inferior_registers): Pass current_regcache to
5540 alphabsd_supply/fill_ routines.
5541
5542 * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
5543 dependencies.
5544
647478e0
UW
55452007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5546
5547 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
5548 supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
5549 instead of current_regcache.
5550 (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
5551 REGCACHE parameter, pass it to supply_ routines.
5552 (aix_thread_fetch_registers): Pass current_regcache to
5553 fetch_regs_user_thread and fetch_regs_kernel_thread.
5554
5555 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
5556 Add REGCACHE parameter, use it instead of current_regcache.
5557 Call regcache_valid_p instead of register_cached.
5558 (store_regs_user_thread, store_regs_kernel_thread): Likewise.
5559 Also, pass REGCACHE to fill_ routines.
5560 (aix_thread_store_registers): Pass current_regcache to
5561 store_regs_user_thread and store_regs_kernel_thread.
5562
d817e083
UW
55632007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5564
5565 * m32r-linux-nat.c (supply_gregset): Do not modify contents
5566 pointed to by GREGSETP.
5567
6a1872e4
UW
55682007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
5569
5570 * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
5571 of regcache_raw_read_signed.
5572 (fill_fpregset): Use regcache_raw_collect instead of
5573 regcache_raw_read.
5574
6da397e0
KB
55752007-05-03 Kevin Buettner <kevinb@redhat.com>
5576
5577 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
5578 point arguments, test explicitly for use of the EABI32 ABI
5579 instead of inferring this condition from tests on register
5580 sizes.
5581
2219d63c
KB
55822007-05-03 Kevin Buettner <kevinb@redhat.com>
5583
5584 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
5585 prior to allocating its location.
5586
2afd3f0a
MR
55872007-05-02 Maciej W. Rozycki <macro@mips.com>
5588
5589 * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
5590 based on mips_abi_regsize() whose result is known in advance.
5591 (mips_o64_push_dummy_call): Likewise.
5592
3e00823e
UW
55932007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
5594
5595 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
5596 * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
5597
5598 * mips-linux-nat.c: Include "gregset.h".
5599 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
5600 from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
5601 * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
5602 fill_fpregset): Move to mips-linux-nat.c.
5603
5604 * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
5605
81c4a259
UW
56062007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
5607
5608 * regcache.c (deprecated_read_register_gen): Remove, inline ...
5609 (read_register): ... here.
5610 (deprecated_write_register_gen): Remove, inline ...
5611 (write_register): ... here.
5612 * regcache.h (deprecated_read_register_gen): Remove prototype.
5613 (deprecated_write_register_gen): Likewise.
5614
5615 * remote-sim.c (gdbsim_store_register): Replace call to
5616 deprecated_read_register_gen with regcache_cooked_read.
5617 * target.c (debug_print_register): Replace calls to
5618 deprecated_read_register_gen and read_register with
5619 regcache_cooked_read.
5620
8bb42077
UW
56212007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
5622
5623 * hpux-thread.c (hpux_thread_store_registers): Use
5624 regcache_raw_collect, not regcache_raw_read.
5625 * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
5626 not regcache_raw_write.
5627
6ed7ea50
UW
56282007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
5629
5630 * gdbarch.sh: Remove deprecated_register_byte.
5631 * gdbarch.c, gdbarch.h: Regenerate.
5632 * arch-utils.h (generic_register_size, generic_register_byte): Remove.
5633 * arch-utils.c (generic_register_size, generic_register_byte): Remove.
5634
5635 * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
5636 * regcache.c (regcache_valid_p): Allow to query cooked registers in
5637 read-only register caches. Make REGCACHE parameter const.
5638 (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
5639
5640 * mi/mi-main.c (old_regs): Remove.
5641 (mi_setup_architecture_data, _initialize_mi_main): Remove.
5642 (register_changed_p): Reimplement to compare two register caches.
5643 (mi_cmd_data_list_changed_registers): Update caller.
5644 * mi/mi-main.h (mi_setup_architecture_data): Remove.
5645 * mi/mi-interp.c (mi_interpreter_init): Do not call
5646 mi_setup_architecture_data.
5647
efc72ef5
UW
56482007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
5649
5650 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
5651 inline definition at the places the macros are used.
5652 * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
5653
7a61a01c
UW
56542007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
5655
5656 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
5657 "gdb_string.h".
5658 (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
5659 (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
5660 (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
5661 (rs6000_aix_regset_from_core_section): New function.
5662 (rs6000_aix_init_osabi): Register it.
5663 (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
5664 sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
5665 * rs6000-nat.c (CoreRegs): Do not define type.
5666 (fetch_core_registers, rs6000_core_fns): Remove.
5667 (_initialize_core_rs6000): Do not register it. Rename to ...
5668 (_initialize_rs6000_nat): ... this.
5669 * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
5670
ace186d4
KB
56712007-04-27 Kevin Buettner <kevinb@redhat.com>
5672
5673 * dwarf2expr.c (unsigned_address_type): Add forward declaration.
5674 (dwarf2_read_address): Sign extend return address as required by
5675 target architecture.
5676
89a7ee67
KB
56772007-04-27 Kevin Buettner <kevinb@redhat.com>
5678
5679 * solib-frv.c (lm_base): Bail out if the main executable has
5680 not been relocated.
5681
6afb1f32
UW
56822007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5683
5684 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
5685 of FPCR register in fpregset.
5686
66a0218a
MR
56872007-04-27 Maciej W. Rozycki <macro@mips.com>
5688
5689 * Makefile.in (gdbtk-wrapper.o): Update dependencies.
5690 (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
5691
482f7fee
UW
56922007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5693
5694 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
5695 * rs6000-nat.c (rs6000_wait): New function.
5696 (_initialize_core_rs6000): Install it as to_wait target method.
5697 * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
5698
1f480a5e
UW
56992007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5700
5701 * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
5702 * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
5703 * rs6000-nat.c (super_create_inferior): New variable.
5704 (rs6000_create_inferior): Make static. Adapt argument list. Call
5705 original version of create_inferior via super_create_inferior.
5706 (_initialize_core_rs6000): Install to_create_inferior target method.
5707
037a727e
UW
57082007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5709
5710 * aix-thread.c (aix_thread_xfer_memory): Replace by ...
5711 (aix_thread_xfer_partial): ... this.
5712 (init_aix_thread_ops): Install to_xfer_partial instead
5713 of deprecated_xfer_memory target method.
5714
5715 * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
5716 and inftarg.o, add inf-ptrace.o.
5717 * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
5718 CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
5719 * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
5720 (fetch_inferior_registers): Rename to ...
5721 (rs6000_fetch_inferior_registers): ... this. Make static.
5722 (store_inferior_registers): Rename to ...
5723 (rs6000_store_inferior_registers): ... this. Make static.
5724 (read_word, child_xfer_memory): Remove.
5725 (rs6000_xfer_partial): New function.
5726 (kernel_u_size): Remove.
5727 (_initialize_core_rs6000): Add inf_ptrace-based target.
5728 * Makefile.in (rs6000-nat.o): Update dependencies.
5729
f7dd0ed7
UW
57302007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5731
5732 * inf-ptrace.c: Include "gdb_stdint.h".
5733 (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
5734 intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
5735 (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
5736 before casting CORE_ADDR to PTRACE_TYPE_ARG3.
5737 (inf_ptrace_store_register): Likewise.
5738 * Makefile.in (inf-ptrace.o): Update dependencies.
5739
d9178763
UW
57402007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5741
5742 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
5743 * configure.tgt (rs6000-*-*): Likewise.
5744 * config/rs6000/aix4.mh: Delete file.
5745 * config/rs6000/aix4.mt: Delete file.
5746 * config/rs6000/rs6000.mh: Delete file.
5747 * config/rs6000/rs6000.mt: Delete file.
5748
5749 * config/powerpc/nm-aix.h: Delete file.
5750 * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
5751
0d16ee5d
UW
57522007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5753
5754 * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
5755 Remove obsolete part of comment.
5756 (store_regs_user_thread): Use uint32_t temporaries when calling
5757 fill_sprs32.
5758 (store_regs_kernel_thread): Likewise. Add assertion to verify
5759 correct size of struct ptsprs members.
5760 (aix_thread_xfer_memory): Fix type of myaddr.
5761 (aix_thread_extra_thread_info): Fix compiler warning.
5762 * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
5763 (fetch_register, store_register): Adapt callers.
5764
1e8877aa
UW
57652007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
5766
5767 * vec.h (vec_free): Rename to vec_free_. Adapt users.
5768
b02f9d57
UW
57692007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
5770
5771 * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
5772 and "regcache.h".
5773 (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
5774 (alpha_linux_gregset, alpha_linux_fpregset): New variables.
5775 (alpha_linux_regset_from_core_section): New function.
5776 (alpha_linux_init_abi): Install it.
5777 * alpha-linux-nat.c: Do not include "gdbcore.h". Include
5778 "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
5779 <sys/procfs.h>, and "gregset.h".
5780 (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
5781 Move from config/alpha/nm-linux.h.
5782 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
5783 from alpha-nat.c.
5784 (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
5785 * alpha-nat.c: Remove #ifdef __linux__ section.
5786 (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
5787 (_initialize_core_alpha): Do not register alpha_elf_core_fns.
5788 (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
5789 (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
5790 * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
5791 (NATDEPFILES): Remove alpha-nat.o.
5792 * config/alpha/nm-linux.h: Delete file.
5793 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
5794 * Makefile.in (alpha-linux-nat.o): Update dependencies.
5795 (alpha-linux-tdep.o): Likewise.
5796
dda0c97e
UW
57972007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
5798
5799 * mips-linux-nat.c: No longer include "gdbcore.h".
5800 (mips_linux_register_addr): Move from mips-linux-tdep.c.
5801 (mips64_linux_register_addr): Likewise.
5802 (mips_linux_register_u_offset): Call mips_linux_register_addr or
5803 mips64_linux_register_addr instead of register_addr.
5804 * mips-linux-tdep.c (mips_linux_register_addr,
5805 mips64_linux_register_addr): Move to mips-linux-nat.c.
5806 (register_addr): Remove.
5807 (register_addr_data, init_register_addr_data): Remove.
5808 (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
5809 (set_mips_linux_register_addr): Remove.
5810 (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
5811 * Makefile.in (mips-linux-nat.o): Update dependencies.
5812
910122bf
UW
58132007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
5814
5815 * linux-nat.c (linux_register_u_offset): Remove.
5816 (linux_target_install_ops): New function.
5817 (linux_target): Use it.
5818 (linux_trad_target): New function.
5819 * linux-nat.h (linux_trad_target): Declare.
5820
5821 * alpha-linux-nat.c: Include "gdbcore.h".
5822 (alpha_linux_register_u_offset): New function.
5823 (_initialize_alpha_linux_nat): Use linux_trad_target.
5824
5825 * mips-linux-nat.c: Include "gdbcore.h".
5826 (mips_linux_register_u_offset): New function.
5827 (_initialize_mips_linux_nat): Use linux_trad_target.
5828
5829 * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5830 * config/arm/nm-linux.h: Delete file.
5831
5832 * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
5833 * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
5834
5835 * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5836 * config/ia64/nm-linux.h: Delete file.
5837
5838 * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5839 * config/m32r/nm-linux.h: Delete file.
5840
5841 * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5842 * config/m68k/nm-linux.h: Delete file.
5843
5844 * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5845 * config/pa/nm-linux.h: Delete file.
5846
5847 * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5848 * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
5849 * config/powerpc/nm-linux.h: Delete file.
5850
5851 * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
5852 * config/s390/nm-linux.h: Delete file.
5853
5854 * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
5855 * config/sparc/linux64.mh (NAT_FILE): Likewise.
5856 * config/sparc/nm-linux.h: Delete file.
5857
5858 * Makefile.in (alpha-linux-nat.o): Update dependencies.
5859 (mips-linux-nat.o): Likewise.
5860
de732108
UW
58612007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
5862
5863 * core-aout.c: Delete file.
5864 * Makefile.in (ALLDEPFILES): Remove core-aout.c.
5865 (core-aout.o): Delete rule.
5866 * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
5867
5868 * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
5869
5870 * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
5871 * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
5872 KERNEL_U_ADDR): Remove.
5873
5874 * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
5875 (cannot_fetch_register, cannot_store_register): Remove.
5876 (fetch_register): Inline cannot_fetch_register and register_addr.
5877 (store_register): Inline cannot_store_register and register_addr.
5878 * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
5879 * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
5880 REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
5881 Remove.
5882
5883 * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
5884 (fetch_register): Inline register_addr.
5885 (store_register): Inline register_addr.
5886 * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
5887 * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
5888 U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
5889
5890 * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
5891 * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
5892 REGISTER_U_ADDR): Remove.
5893
5894 * hppa-linux-nat.c (register_addr): Rename to ...
5895 (hppa_linux_register_addr): ... this. Make static.
5896 (fetch_register, store_register): Adapt callers.
5897 * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
5898
5899 * ppc-linux-nat.c (kernel_u_size): Remove.
5900 * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
5901
5902 * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
5903 * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
5904 (NAT_FILE): Remove.
5905 * config/vax/nm-vax.h: Delete file.
5906
1f90c757
MS
59072007-04-20 Mark Shinwell <shinwell@codesourcery.com>
5908
5909 * MAINTAINERS (Write After Approval): Add myself.
5910
bf1242a5
MS
59112007-04-20 Mark Shinwell <shinwell@codesourcery.com>
5912
5913 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
5914 * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
5915 (m68k_linux_sigcontext_reg_offset): Fix typo.
5916 (target_is_uclinux): New.
5917 (m68k_linux_inferior_created): New.
5918 (m68k_linux_get_sigtramp_info): Check for uClinux or
5919 normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
5920 uClinux.
5921 (_initialize_m68k_linux_tdep): Register
5922 m68k_linux_inferior_created.
5923
96998ce7
PA
59242007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
5925
5926 * win32-nat.c (win32_detach): Remove delete_command call.
5927 Resume inferior with win32_resume instead of win32_continue.
5928
7e71daaa
JG
59292007-04-19 Jerome Guitton <guitton@adacore.com>
5930
5931 * ser-mingw.c (fd_is_file): New function.
5932 (file_select_thread): New function.
5933 (ser_console_wait_handle): Add special handling for files.
5934
3d1f72c2
DP
59352007-04-18 Denis Pilat <denis.pilat@st.com>
5936
5937 * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
5938 when missing from DW_TAG_subrange_type. Remove the handling of null
5939 return from die_type.
5940
9ecf7166
MR
59412007-04-18 Maciej W. Rozycki <macro@mips.com>
5942
5943 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
5944 change to rearrange some brackets.
5945 (mips_n32n64_push_dummy_call): Likewise.
5946 (mips_o32_push_dummy_call): Likewise.
5947 (mips_o64_push_dummy_call): Likewise.
5948
b79599ff
DP
59492007-04-18 Denis Pilat <denis.pilat@st.com>
5950
5951 * infcmd.c (post_create_inferior): Start with a call to
3d1f72c2 5952 target_terminal_ours.
b79599ff 5953
06f9a1af
MR
59542007-04-17 Maciej W. Rozycki <macro@mips.com>
5955
5956 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
5957 brackets.
5958 (mips_n32n64_push_dummy_call): Likewise. Reformat some
5959 expressions.
5960 (mips_o32_push_dummy_call): Likewise.
5961 (mips_o64_push_dummy_call): Likewise.
5962
ad018eee
MR
59632007-04-17 Maciej W. Rozycki <macro@mips.com>
5964
5965 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
5966 comment.
5967
e914cb17
MR
59682007-04-17 Maciej W. Rozycki <macro@mips.com>
5969
5970 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
5971 comment.
5972 (mips_o32_push_dummy_call): Likewise.
5973
91934273
AS
59742007-04-17 Andreas Schwab <schwab@suse.de>
5975
5976 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
5977 sal to be bigger than the end of the function.
5978
968b5391
MR
59792007-04-17 Maciej W. Rozycki <macro@mips.com>
5980 Nigel Stephens <nigel@mips.com>
5981
5982 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
5983 argument alignment requirements when calculating stack space
5984 required. When aligning an arg register to eight bytes
5985 boundary, align stack_offset too. Write floating-point
5986 arguments to the appropriate integer register if need go there.
5987 (mips_o64_push_dummy_call): Likewise.
5988
e0cd558a
UW
59892007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
5990
5991 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
5992 "sig" arguments, add "regcache" argument.
5993 * gdbarch.c, gdbarch.h: Regenerate.
5994
5995 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
5996 (handle_inferior_event): Call remove_single_step_breakpoints directly
5997 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
5998
5999 * alpha-tdep.c (alpha_software_single_step): Update argument list.
6000 Remove handling of !insert_breakpoints_p case.
6001 * arm-tdep.c (arm_software_single_step): Likewise.
6002 * cris-tdep.c (cris_software_single_step): Likewise.
6003 * mips-tdep.c (mips_software_single_step): Likewise.
6004 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
6005 * sparc-tdep.c (sparc_software_single_step): Likewise.
6006 * spu-tdep.c (spu_software_single_step): Likewise.
6007
6008 * alpha-tdep.h (alpha_software_single_step): Update prototype.
6009 * mips-tdep.h (mips_software_single_step): Likewise.
6010 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
6011 * sparc-tdep.h (sparc_software_single_step): Likewise.
6012
06a86285
UW
60132007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
6014
6015 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
6016 when removing single-step breakpoints.
6017
25d5ea92
VP
60182007-04-14 Vladimir Prus <vladimir@codesourcery.com>
6019
6020 * varobj.h (varobj_set_frozen): New
6021 (varobj_get_frozen): New.
6022 (varobj_update): New parameter explicit.
6023 * varobj.c (struct varobj): New fields frozen
6024 and not_fetched.
6025 (varobj_set_frozen, varobj_get_frozen): New.
6026 (install_new_value): Don't fetch values for
6027 frozen variable object, or children thereof. Allow
6028 a frozen variable object to have non-fetched value.
6029 (varobj_update): Allow updating child variables.
6030 Don't traverse frozen children.
6031 (new_variable): Initialize the frozen field.
6032 (c_value_of_variable): Return NULL for frozen
6033 variable without any value yet.
6034 * mi/mi-cmd-var.c (varobj_update_one): New parameter
6035 'explicit'.
6036 (mi_cmd_var_create): Output the 'frozen' field,
6037 as soon as testsuite is adjusted to expect that field.
6038 (mi_cmd_var_set_frozen): New.
6039 (mi_cmd_var_update): Pass the 'explicit' parameter to
6040 varobj_update_one.
6041 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
6042 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
6043
6e3bbd1a
PB
60442007-04-13 Paul Brook <paul@codesourcery.com>
6045
6046 * target-descriptions.c (tdesc_named_type): Add ieee_single and
6047 ieee_double.
6048 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
6049
ea35711c
DJ
60502007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6051
6052 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
6053 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
6054 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
6055 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
6056 * Makefile.in: Remove references to deleted files.
6057 * README: Do not mention deleted ROM monitor interfaces.
6058 * defs.h (enum language): Delete language_scm.
6059 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
6060 (dump_subexp_body_standard): Likewise.
6061 * parse.c (operator_length_standard): Likewise.
6062 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
6063 * remote-mips.c: Do not include remote-utils.h.
6064 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
6065 throughout.
6066 * value.c: Do not include scm-lang.h.
6067 (unpack_long): Delete scm_unpack call.
6068 * config/h8300/h8300.mt, config/mips/embed.mt,
6069 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
6070 config/sh/embed.mt, config/sh/linux.mt: Remove references to
6071 deleted files.
6072 * NEWS: Mention removed files.
6073
058b9c07
DJ
60742007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6075
6076 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
6077 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
6078
54d61198
DJ
60792007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6080
6081 * NEWS: Mention removal of HP aCC support.
6082
e499d0f1
DJ
60832007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6084
6085 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
6086 first entry for static executables.
6087 (breakpoint_addr): Delete unused variable.
6088 (elf_locate_base): Search for _r_debug in static executables.
6089 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
6090 also.
6091
4d5b2cd7
DJ
60922007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6093
6094 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
6095 (bpstat_what, print_one_breakpoint, allocate_bp_location)
6096 (mention): Remove bp_through_sigtramp support.
6097 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
6098
46d57086
DJ
60992007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6100
6101 * breakpoint.c (bpstat_what): Give step-resume higher priority than
6102 shlib events.
6103
d3169d93
DJ
61042007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
6105
6106 * infrun.c: Doc fixes.
6107 (handle_inferior_event): Clarify debug message.
6108 (insert_step_resume_breakpoint_at_sal): Print a debug message.
6109
8c9e4384
UW
61102007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
6111
6112 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
6113
9418f048
UW
61142007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
6115
6116 * config/m68k/tm-monitor.h: Delete file.
6117 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
6118 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
6119 call moved to ...
6120 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
6121 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
6122
e6590a1b
UW
61232007-04-12 Luis Machado <luisgpm@br.ibm.com>
6124
6125 * gdbarch.sh (software_single_step): Change the return type
6126 from void to int and reformatted some comments to <= 80
6127 columns.
6128 * gdbarch.c, gdbarch.h: Regenerated.
6129 * alpha-tdep.c (alpha_software_single_step): Likewise.
6130 * alpha-tdep.h (alpha_software_single_step): Likewise.
6131 * arm-tdep.c (arm_software_single_step): Likewise.
6132 * cris-tdep.c (cris_software_single_step): Likewise.
6133 * mips-tdep.c (mips_software_single_step): Likewise.
6134 * mips-tdep.h (mips_software_single_step): Likewise.
6135 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
6136 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
6137 * sparc-tdep.c (sparc_software_single_step): Likewise.
6138 * sparc-tdep.h (sparc_software_single_step): Likewise.
6139 * spu-tdep.c (spu_software_single_step): Likewise.
6140 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
6141 and act accordingly.
6142
58b38ee2
SE
61432007-04-11 Steve Ellcey <sje@cup.hp.com>
6144
6145 * configure.ac (build_warnings): Add -Wno-char-subscripts.
6146 * configure: Regenerate.
6147 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
6148
70f575cc
JK
61492007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6150
6151 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
6152
d77b6808
JK
61532007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6154
6155 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
6156 macros.
6157 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
6158 distinct on the TYPE_STUB_SUPPORTED debug targets.
6159 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
6160
b0b92586
JB
61612007-04-11 Joel Brobecker <brobecker@adacore.com>
6162
6163 * sparc-tdep.c (X_RS2): New macro.
6164 (sparc_skip_stack_check): New function.
6165 (sparc_analyze_prologue): Adjust PC past stack probing
6166 sequence if necessary.
6167
a489f789
AS
61682007-04-10 Andreas Schwab <schwab@suse.de>
6169
6170 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
6171 register.
6172
b0b13bb4
DJ
61732007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
6174
6175 * breakpoint.c (gdb_breakpoint_query): Really return an
6176 enum gdb_rc.
6177 (gdb_breakpoint): Likewise.
3f11755e
DJ
6178 * thread.c (gdb_list_thread_ids): Likewise.
6179 (gdb_thread_select): Likewise.
b0b13bb4
DJ
6180 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
6181 (mi_cmd_thread_list_ids): Remove bogus initialization.
6182
1a92f856
DJ
61832007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
6184
6185 * Makefile.in (SFILES): Remove hpacc-abi.c.
6186 (COMMON_OBS): Remove hpacc-abi.o.
6187 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
6188 (hpacc-abi.o, hpread.o): Delete rules.
6189 * somread.c: Delete extern declarations from hpread.c.
6190 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
6191 (som_symfile_finish): Do not call hpread_symfile_finish.
6192 (som_symfile_init): Do not call hpread_symfile_init.
6193 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
6194 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
6195 * hpacc-abi.c, hpread.c: Deleted.
6196
542c95c2
DJ
61972007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
6198
6199 * solib-svr4.c (enable_break): Simplify return value.
6200 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
6201
cfaefc65
AS
62022007-04-10 Andreas Schwab <schwab@suse.de>
6203
6204 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
6205 l_ld_size, l_next_size, l_prev_size, l_name_size.
6206
6207 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
6208 to extract addresses from link map.
6209 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
6210 (LM_NEXT): Likewise.
6211 (LM_NAME): Likewise.
6212 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
6213 (elf_locate_base): Likewise.
6214 (open_symbol_file_object): Likewise.
6215 (svr4_fetch_objfile_link_map): Likewise.
6216 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
6217 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
6218 l_ld_size.
6219 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
6220 (svr4_lp64_fetch_link_map_offsets): Likewise.
6221
6222 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
6223 removed members. Set l_ld_offset to -1 if not present.
6224
65cc4390
VP
62252007-04-08 Vladimir Prus <vladimir@codesourcery.com>
6226
6227 Pass stderr of program run with "target remote |"
6228 via gdb_stderr.
6229 * serial.c (serial_open): Set error_fd to -1.
6230 * serial.h (struct serial): New field error_fd.
6231 (struct serial_opts): New field avail.
6232 * ser-pipe.c (pipe_open): Create another pair
6233 of sockets. Pass stderr to gdb.
6234 * ser-mingw.c (pipe_windows_open): Pass
6235 PEX_STDERR_TO_PIPE to pex_run. Initialize
6236 sd->error_fd.
6237 (pipe_avail): New.
6238 (_initialize_ser_windows): Hook pipe_avail.
6239 * ser-base.c (generic_readchar): Check if there's
6240 anything in stderr channel and route that to gdb_stderr.
6241
e9112110
PA
62422007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
6243
6244 * dbxread.c (read_ofile_symtab): Move current_objfile
6245 clearing to after end_stabs.
6246
7f68ac27
AS
62472007-04-01 Andreas Schwab <schwab@suse.de>
6248
6249 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
6250 gdbarch instead of current_gdbarch.
6251
e55dccf0
VP
62522007-04-01 Vladimir Prus <vladimir@codesourcery.com>
6253
6254 * varobj.c (varobj_create): Keep varobj value
6255 NULL when evaluating the type.
6256
7c963485
PA
62572007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
6258
6259 * NEWS: Mention new Windows CE support.
6260
ad527d2e
PA
62612007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
6262
6263 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
6264 the obsoletion stanza.
6265 * NEWS: Mention deleted targets.
6266
6267 * config/sh/tm-wince.h: Remove.
6268 * config/sh/wince.mt: Remove.
6269 * config/mips/tm-wince.h: Remove.
6270 * config/mips/wince.mt: Remove.
6271
6272 * wince.c: Remove.
6273 * wince-stub.c: Remove.
6274 * wince-stub.h: Remove.
6275 * Makefile.in (wince.o): Remove rule.
6276 (wince-stub.o): Likewise.
6277
6278 * mips-tdep.c (mips_next_pc): Make static.
6279 * mips-tdep.h (mips_next_pc): Remove declaration.
6280 * arm-tdep.c (arm_pc_is_thumb): Make static.
6281 (thumb_get_next_pc): Likewise.
6282 (arm_get_next_pc): Likewise.
6283 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
6284 (arm_pc_is_thumb): Likewise.
6285 (thumb_get_next_pc): Likewise.
6286 (arm_get_next_pc): Likewise.
6287
7ce59000
DJ
62882007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6289
6290 * MAINTAINERS: Remove d10v entry.
6291 * Makefile.in (SFILES): Remove dwarfread.c.
6292 (COMMON_OBS): Remove dwarfread.o.
6293 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
6294 (remote-est.o, rom68k-rom.o): Delete.
6295 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
6296 target est, target rom68k, and DWARF 1.
6297 * configure.tgt: Mark d10v as removed.
6298 * dwarf2read.c: Doc update.
6299 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
6300 and lnsize.
6301 (elf_locate_sections): Do not set them.
6302 (elf_symfile_read): Do not call dwarf_build_psymtabs.
6303 * symfile.h (dwarf_build_psymtabs): Delete prototype.
6304 * config/m68k/monitor.mt (TDEPFILES): Prune.
6305 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
6306 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
6307
20389057
DJ
63082007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6309
6310 * doublest.c (convert_floatformat_to_doublest): Use
6311 floatformat_classify.
6312 (floatformat_is_nan): Rename to...
6313 (floatformat_classify): ...this. Return more information.
6314 * doublest.h (enum float_kind): New.
6315 (floatformat_is_nan): Replace prototype...
6316 (floatformat_classify): ...with this one.
6317 * valprint.c (print_floating): Use floatformat_classify. Handle
6318 infinity.
6319
30b50213
DJ
63202007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6321
6322 * README: Mention ISO C library requirement.
6323
8807d78b
DJ
63242007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6325
6326 * Makefile.in (SFILES): Remove nlmread.c.
6327 (COMMON_OBS): Remove nlmread.o.
6328 (nlmread.o): Delete rule.
6329 * README: Delete reference to remote-st.c.
6330 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
6331 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
6332 GDB_OSABI_LYNXOS.
6333 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
6334 (_initialize_i386_tdep): Do not reference them.
6335 * nlmread.c: Delete file.
6336 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
6337 * target.c: Doc update.
6338 * thread.c: Delete commented include.
6339 * config/alpha/tm-alpha.h: Doc update.
6340
ced572fe
MR
63412007-03-30 Chris Dearman <chris@mips.com>
6342
6343 * utils.c (string_to_core_addr): Comment typo.
6344
8a9fc081
MR
63452007-03-30 Chris Dearman <chris@mips.com>
6346
6347 * mips-tdep.c: Comment typo.
6348
5f402660
UW
63492007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
6350
6351 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
6352 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
6353 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
6354 * config/powerpc/nm-ppc64-linux.h: Remove file.
6355 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
6356 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
6357 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
6358 * infptrace.c (call_ptrace): Likewise.
6359 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
6360 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
6361 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
6362 (store_register): Likewise.
6363
bbf90c81
JB
63642007-03-29 Joel Brobecker <brobecker@adacore.com>
6365
6366 * Makefile.in (varobj.o): Add missing dependency.
6367
243c053b
MS
63682007-03-29 Michael Snyder <msnyder@access-company.com>
6369
6370 * MAINTAINERS: Update my email address.
6371
0259addd
JB
63722007-03-29 Joel Brobecker <brobecker@adacore.com>
6373
6374 Add support for exception handling with multiple versions of
6375 the Ada runtime:
6376 * ada-lang.c: Update general comments on how Ada exception catchpoints
6377 are implemented.
6378 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
6379 (__gnat_raise_nodefer_with_msg): Delete.
6380 (ada_unhandled_exception_name_addr_ftype): New type.
6381 (exception_support_info): New type.
6382 (ada_unhandled_exception_name_addr): Add forward declaration.
6383 (ada_unhandled_exception_name_addr_from_raise): Likewise.
6384 (default_exception_support_info): New constant.
6385 (exception_support_info_fallback): Likewise.
6386 (exception_info): New global variable.
6387 (ada_exception_support_info_sniffer): New function.
6388 (ada_executable_changed_observer): Likewise.
6389 (ada_unhandled_exception_name_addr_from_raise): Renamed from
6390 ada_unhandled_exception_name_addr.
6391 (ada_unhandled_exception_name_addr): Reimplement to match the
6392 latest Ada runtime implementation.
6393 (error_breakpoint_runtime_sym_not_found): Delete.
6394 (ada_exception_sym_name): Get the exception sym name from
6395 exception_info rather than hardcoding it.
6396 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
6397 Update error handling.
6398 * Makefile.in (ada-lang.o): Add dependency on observer.h.
6399
483367ee
DJ
64002007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
6401
6402 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
6403 (remote-st.o, uw-thread.o): Delete.
6404 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
6405 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
6406 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
6407 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
6408 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
6409 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
6410 rs6000-*-lynxos* to an obsoletion stanza.
6411 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
6412 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
6413 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
6414 i[34567]86-*-netware*.
6415 * NEWS: Mention deleted targets.
6416
6417 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
6418 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
6419 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
6420 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
6421 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
6422 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
6423 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
6424 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
6425 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
6426 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
6427 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
6428 config/rs6000/tm-rs6000ly.h: Delete files.
6429
3adda9d8
DJ
64302007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
6431
6432 * defs.h (deprecated_registers_changed_hook): Delete declaration.
6433 * interps.c (clear_interpreter_hooks): Do not clear
6434 deprecated_registers_changed_hook.
6435 * regcache.c (registers_changed): Do not call it.
6436 * top.c (deprecated_registers_changed_hook): Do not define it.
6437 * mi/mi-interp.c (mi_command_loop): Do not clear it.
6438 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
6439 (tui_remove_hooks): Do not remove it.
6440 (tui_selected_frame_level_changed_hook): Check for negative level.
6441 Use get_selected_frame.
6442 (tui_registers_changed_hook): Deleted.
6443
bf362611
JB
64442007-03-29 Joel Brobecker <brobecker@adacore.com>
6445
6446 * stabsread.c (add_undefined_type): Add extra parameter.
6447 Now handles nameless types separately.
6448 (struct nat): New type.
6449 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
6450 New static variables.
6451 (read_type): Update calls to add_undefined_type.
6452 (add_undefined_type_noname): New function.
6453 (add_undefined_type_1): Renames from add_undefined_type.
6454 (cleanup_undefined_types_noname): New function.
6455 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
6456 (cleanup_undefined_types): New handles nameless types separately.
6457 (_initialize_stabsread): Initialize our new static constants.
6458
436868fb
DP
64592007-03-29 Denis Pilat <denis.pilat@st.com>
6460
6461 * configure.ac: Test for signal.h.
6462 * configure, config.in: Regenerate.
6463
aaf9e9fd
DP
64642007-03-29 Denis Pilat <denis.pilat@st.com>
6465
6466 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
6467 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
6468
68070c10
PA
64692007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
6470
6471 * arm-wince-tdep.c: New.
6472 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
6473 (MT_CFLAGS): Delete.
6474 (TM_CLIBS): Delete.
6475 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
6476 solib-legacy.o, solib-svr4.o, and remove wince.o.
6477 * configure.tgt (arm*-*-mingw32ce*): Add.
6478 * signals/signals.c [HAVE_SIGNAL_H]: Check.
6479 (do_target_signal_to_host): Silence 'not used' warning.
6480 * config/arm/tm-wince.h: Remove.
6481
74174d2e
UW
64822007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
6483
6484 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
6485 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
6486
6487 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
6488 * config/ia64/tm-linux.h: Remove file.
6489 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
6490 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
6491 legacy_pc_in_sigtramp.
6492 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
6493 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
6494 Remove func_name argument.
6495 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
6496
6497 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
6498 * target.c (update_current_target): Add to_have_steppable_watchpoint.
6499 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
6500 (HAVE_STEPPABLE_WATCHPOINT): Define.
6501
6502 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
6503 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
6504 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
6505 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
6506 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
6507 target_insert_watchpoint, target_remove_watchpoint): Remove.
6508 (FETCH_INFERIOR_REGISTERS): Define.
6509 * ia64-linux-nat.c (ia64_register_addr): Make static.
6510 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
6511 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
6512 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
6513 (ia64_linux_stopped_data_address): Make static. Add target_ops.
6514 (ia64_linux_stopped_by_watchpoint): Make static.
6515 (ia64_linux_can_use_hw_breakpoint): New function.
6516 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
6517 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
6518 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
6519
53c5240f
PA
65202007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
6521
6522 * linespec.c: Include language.h.
6523 (find_methods): Add language parameter. Call
6524 lookup_symbol_in_language. Pass language down.
6525 (add_matching_methods): Likewise. Call
6526 lookup_symbol_in_language.
6527 (add_constructors): Likewise.
6528 (find_method): Pass sym_class to collect_methods.
6529 (collect_methods): Add sym_class parameter. Pass language
6530 down.
6531 * symtab.c (lookup_symbol): Rename to ...
6532 (lookup_symbol_in_language): ... this. Add language
6533 parameter. Use passed language instead of current_language.
6534 (lookup_symbol): New as wrapper around
6535 lookup_symbol_in_language.
6536 (lookup_symbol_aux): Add language parameter. Use passed
6537 language instead of current_language.
6538 (search_symbols): Indent.
6539 * symtab.h (enum language): Forward declare.
6540 (lookup_symbol_in_language): Declare.
6541 (lookup_symbol): Update description.
6542 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
6543 * ada-lang.c (restore_language): Remove.
6544 (lookup_symbol_in_language): Remove.
6545
8671a17b
PA
65462007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
6547
6548 * breakpoint.c (bpstat_num): Add int *num parameter.
6549 * breakpoint.h (bpstat_num): Likewise.
6550 * infcmd.c (continue_command): Adjust to new bpstat_num
6551 interface.
6552 (program_info): Likewise.
6553
214197f9
UW
65542007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
6555
6556 * config/sh/tm-sh.h: Remove file.
6557 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
6558 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
6559 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
6560 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
6561
bac718a6
UW
65622007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
6563
6564 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
6565 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
6566 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
6567 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
6568 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
6569 sequence if target_shortname is "remote".
6570
de6a76fd
DJ
65712007-03-27 Anton Blanchard <anton@samba.org>
6572
6573 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
6574 instead of wordsize when looking for the LR in a stack frame.
6575
4fc771b8
DJ
65762007-03-27 Andreas Schwab <schwab@suse.de>
6577 Daniel Jacobowitz <dan@codesourcery.com>
6578
6579 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
6580 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
6581 argument. Update all callers.
6582 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
6583 (dwarf2_frame_set_eh_frame_regnum): Rename to...
6584 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
6585 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
6586 (dwarf2_frame_set_adjust_regnum): ...this.
6587 (dwarf2_frame_eh_frame_regnum): Delete prototype.
6588 * rs6000-tdep.c: Include "dwarf2-frame.h".
6589 (rs6000_adjust_frame_regnum): Define.
6590 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
6591 Register rs6000_adjust_frame_regnum.
6592
6593 * Makefile.in (rs6000-tdep.o): Update dependencies.
6594
9453113a
DJ
65952007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
6596
6597 * Makefile.in: Add support for a "pdf" target.
6598
d2449ee8
DJ
65992007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6600
6601 * amd64-tdep.c (amd64_init_frame_cache): New function.
6602 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
6603
a72d8a8e
MR
66042007-03-26 Nigel Stephens <nigel@mips.com>
6605 Maciej W. Rozycki <macro@mips.com>
6606
6607 * ui-out.c (ui_out_field_core_addr): Truncate address to
6608 TARGET_ADDR_BIT size before printing.
6609
5200c3f3 66102007-03-22 Nigel Stephens <nigel@mips.com>
a72d8a8e 6611 Maciej W. Rozycki <macro@mips.com>
5200c3f3
L
6612
6613 * remote-mips.c (mips_xfer_memory): Update prototype.
6614
16708cba
JB
66152007-03-22 Joel Brobecker <brobecker@adacore.com>
6616
6617 * symfile.h: #include "symtab.h"
6618
0fe514e3
DP
66192007-03-22 Denis Pilat <denis.pilat@st.com>
6620
6621 * utils.c (pagination_on_command, pagination_off_command):
6622 Remove useless prototypes.
6623
4a52dc15
PM
66242007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
6625
6626 Fix PR pascal/2232.
6627 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
6628 instead of TYPE_NAME for object base class name.
6629
6630
1c86fa97
KB
66312007-03-19 Kevin Buettner <kevinb@redhat.com>
6632
6633 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
6634 Specify frame type in calls to frame_func_unwind().
6635
4e463ff5
DJ
66362007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
6637
6638 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
6639 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
6640 (refine_prologue_limit): Delete.
6641 (skip_prologue): Don't call it. Use extract_unsigned_integer.
6642 Assume lim_pc is set. Correct check for incomplete prologues.
6643 Do not skip clobbers of the frame pointer.
6644 * symtab.c (skip_prologue_using_sal): Fail if there is only one
6645 sal.
6646
348473d5
NF
66472007-03-13 Nathan Froyd <froydnj@codesourcery.com>
6648
6649 * frame.c (frame_pop): Check to see whether there's a frame to
6650 which we can pop first.
6651
a2f9cf0d
NF
66522007-03-13 Nathan Froyd <froydnj@codesourcery.com>
6653
6654 * MAINTAINERS (Write After Approval): Add myself.
6655
569631c6
UW
66562007-03-09 Markus Deuling <deuling@de.ibm.com>
6657
6658 * infrun.c (breakpoints_failed): Remove unnecessary variable.
6659 (handle_inferior_event): Remove unnecessary braces.
6660 * breakpoint.c (bpstat_what): Remove wrong comment.
6661
fe5febed
UW
66622007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
6663
6664 * spu-tdep.c (spu_in_function_epilogue_p): New function.
6665 (spu_gdbarch_init): Install it.
6666
9dea8ca2
UW
66672007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
6668
6669 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
6670 object types, not 0.
6671
7b3dc0b7
UW
66722007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
6673
6674 * spu-tdep.c (spu_frame_align): New function.
6675 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
6676
118dfbaf
UW
66772007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
6678
6679 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
6680 (spu_software_single_step): Likewise.
6681 (spu_read_pc, spu_write_pc): New functions.
6682 (spu_gdbarch_init): Install them.
6683
29e4017d
UW
66842007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
6685
6686 * cli/cli-dump.c (struct callback_data): load_offset needs to
6687 have signed long type.
6688
6de5b849
JB
66892007-03-07 Joel Brobecker <brobecker@adacore.com>
6690
6691 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
6692 Revert the previous change that had some unexpected side-effects
6693 on mips32.
6694 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
6695 function to get the address of the calling instruction.
6696
7490ba4f
DP
66972007-03-07 Denis Pilat <denis.pilat@st.com>
6698
6699 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
6700 get_selected_frame by deprecated_safe_get_selected_frame.
6701
861fb77c
MK
67022007-03-02 Mark Kettenis <kettenis@gnu.org>
6703
6704 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
6705 "gdb_string.h". Don't include "nbsd-tdep.h".
6706 (SIZEOF_STRUCT_REG): Remove.
6707 (SHNBSD_SIZEOF_GREGS): New.
6708 (shnbsd_supply_gregset, shnbsd_collect_gregset)
6709 (shnbsd_regset_from_core_section): New functions.
6710 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
6711 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
6712 shnbsd_supply_gregset, shnbsd_collect_gregset.
6713 (shnbsd_gregset): New variable.
6714 (shnbsd_init_abi): Set regset_from_core_section.
6715 (GDB_OSABI_NETBSD_CORE): New define.
6716 (shnbsd_core_osabi_sniffer): New function.
6717 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
6718 * Makefile.in (shnbsd-tdep.o): Update dependencies.
6719 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
6720 nbsd-tdep.o.
6721 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
6722
787cbe14
JB
67232007-02-28 Joel Brobecker <brobecker@adacore.com>
6724
6725 * gdbtypes.c (replace_type): Fix typo that caused us to not update
6726 length of the types referenced by the new type CV ring.
6727
35f196d9
DJ
67282007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6729
6730 * frame.c (frame_pop, frame_observer_target_changed): Call
6731 reinit_frame_cache.
6732 (flush_cached_frames): Rename to reinit_frame_cache and delete
6733 old implementation.
6734 * frame.h (flush_cached_frames): Delete prototype and update comment.
6735
6736 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
6737 reinit_frame_cache instead of flush_cached_frames. Do not call
6738 select_frame after reinit_frame_cache.
6739 * corelow.c (core_open): Likewise.
6740 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
6741 * infrun.c (prepare_to_proceed, context_switch)
6742 (handle_inferior_event): Likewise.
6743 * linux-fork.c (fork_load_infrun_state): Likewise.
6744 * ocd.c (ocd_start_remote): Likewise.
6745 * remote-e7000.c (e7000_start_remote): Likewise.
6746 * remote-mips.c (device): Likewise.
6747 * thread.c (switch_to_thread): Likewise.
6748 * tracepoint.c (finish_tfind_command): Likewise.
6749 * gdbarch.c: Regenerated.
6750
c26f2453
JB
67512007-02-28 Jerome Guitton <guitton@adacore.com>
6752 Joel Brobecker <brobecker@adacore.com>
6753
6754 * gdbtypes.c (check_typedef): Do not replace stub type if
6755 the resolved type is not defined in the same objfile.
6756
7d900f1a
DJ
67572007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6758
6759 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
6760
76038652 67612007-02-28 Joel Brobecker <brobecker@adacore.com>
52eea4ce
JB
6762
6763 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
6764 symbol for Ada units when the symbol is defined using 't' rather
6765 than 'Tt' as symbol descriptor.
6766
d74fb156 67672007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
1344afe0
UW
6768
6769 * config/mips/tm-nbsd.h: Delete file.
6770 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
6771 * config/sh/tm-nbsd.h: Delete file.
6772 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
6773
f8d225db
JB
67742007-02-28 Joel Brobecker <brobecker@adacore.com>
6775
6776 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
6777 unused WRONG_PARAM value since it was recently deleted.
6778
1bbfb19a
NR
67792007-02-28 Vladimir Prus <vladimir@codesourcery.com>
6780
6781 * varobj.c (varobj_update): Free temporary vectors.
6782
6f7f3f0d
UW
67832007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
6784
6785 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
6786 * config/powerpc/tm-linux.h: Delete file.
6787 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
6788 (PROCESS_LINENUMBER_HOOK): Do not undefine.
6789 (TEXT_SEGMENT_BASE): Do not redefine.
6790 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
6791 from config/rs6000/tm-rs6000.h.
6792 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
6793 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
6794 (TEXT_SEGMENT_BASE): Remove.
6795 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
6796 (rs6000_in_solib_return_trampoline): Remove.
6797 (SKIP_TRAMPOLINE_CODE): Remove.
6798 (rs6000_skip_trampoline_code): Remove.
6799 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
6800 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
6801 (FP0_REGNUM): Remove.
6802 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
6803 (rs6000_set_host_arch_hook): Remove.
6804 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
6805 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
6806 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
6807 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
6808 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
6809 * rs6000-nat.c: Include "rs6000-tdep.h".
6810 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
6811 (set_host_arch): Rename to ...
6812 (rs6000_create_inferior): ... this. Make public.
6813 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
6814 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
6815 (rs6000_create_inferior): Remove.
6816 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
6817 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
6818 set_gdbarch_in_solib_return_trampoline, and
6819 set_gdbarch_skip_trampoline_code.
6820 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
6821 from config/rs6000/tm-rs6000.h.
6822
63050a44 68232007-02-27 Joel Brobecker <brobecker@adacore.com>
05279ca0
JB
6824
6825 * buildsym.c (record_producer): Do nothing if no producer is provided.
6826
63050a44 68272007-02-27 Nick Roberts <nickrob@snap.net.nz>
e0b75a46
NR
6828
6829 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
6830 to check changelist is non-NULL. Call error if the frontend tries
6831 to update a non-root variable.
6832
6833 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
6834
93d42b30
DJ
68352007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6836
6837 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
6838 (dwarf2_frame_sniffer): Update.
6839 (dwarf2_signal_frame_this_id): New function.
6840 (dwarf2_signal_frame_unwind): Use it.
6841 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
6842 * frame.c (frame_func_unwind): Add this_type argument.
6843 (get_frame_func): Update.
6844 (frame_unwind_address_in_block): Add this_type argument and check it.
6845 Fix a typo.
6846 (get_frame_address_in_block): Update.
6847 * frame.h (enum frame_type): Move higher in the file.
6848 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
6849 argument.
6850
6851 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
6852 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
6853 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
6854 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
6855 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
6856 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
6857 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
6858 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
6859 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
6860 frame_func_unwind and frame_unwind_address_in_block to specify
6861 the frame type. Use frame_unwind_address_in_block instead of
6862 frame_pc_unwind in sniffers.
6863
206415a3
DJ
68642007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6865
6866 * frame.c (deprecated_selected_frame): Rename to...
6867 (selected_frame): ...this. Make static.
6868 (get_selected_frame, select_frame): Update.
6869 * frame.h (deprected_select_frame): Delete.
6870 (deprecated_safe_get_selected_frame): Update comments.
6871
6872 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
6873 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
6874 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
6875 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
6876 tui/tui.c: Replace references to deprecated_selected_frame.
6877
7313566f
FF
68782007-02-27 Fred Fish <fnf@specifix.com>
6879
6880 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
6881 directly decrement the stack pointer, accumulate their operand into
6882 the stack offset, and mark the function as not being frameless.
6883
b6d373df
DJ
68842007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6885
6886 * arch-utils.c (selected_byte_order): New.
6887 * arch-utils.h (selected_byte_order): New prototype.
6888 * remote-sim.c (gdbsim_open): Use selected_byte_order.
6889
2711e456
DJ
68902007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6891
6892 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
6893 (default_symfile_offsets): Check VMA here. Update section VMAs.
6894
baef701f
DJ
68952007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6896
6897 * remote.c (init_remote_state): Add special handling for placeholder
6898 registers.
6899
05a4558a
DJ
69002007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6901
6902 * Makefile.in (XMLFILES): Include $(TDEP_XML).
6903 (filenames_h): New variable.
6904 (clean): Clean up xml-builtin.c and stamp-xml.
6905 (arm-linux-nat.o): Update.
6906 * config/arm/linux.mh (TDEP_XML): Define.
6907 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
6908 (arm_linux_has_wmmx_registers): New.
6909 (GET_THREAD_ID): Fix typo.
6910 (IWMMXT_REGS_SIZE): Define.
6911 (fetch_wmmx_regs, store_wmmx_regs): New.
6912 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
6913 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
6914 (super_xfer_partial, arm_linux_xfer_partial): New.
6915 (_initialize_arm_linux_nat): Use them.
6916 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
6917 (xml_builtin_xfer_partial): New function.
6918 * xml-support.h (xml_builtin_xfer_partial): New prototype.
6919 * NEWS: Update mention of iWMMXt support.
6920
ff6f572f
DJ
69212007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6922
6923 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
6924 if there are no FPA registers.
6925 (arm_dwarf_reg_to_regnum): New function.
6926 (arm_register_type, arm_register_name): Return minimal values for
6927 unsupported registers.
6928 (arm_register_sim_regno): Handle iWMMXt registers.
6929 (arm_gdbarch_init): Record missing FPA registers if indicated by
6930 a target description. Recognize iWMMXt registers. Only register
6931 "info float" for FPA. Use ARM_NUM_REGS. Register
6932 arm_dwarf_reg_to_regnum.
6933 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
6934 constants.
6935 (struct gdbarch_tdep): Add have_fpa_registers.
6936 * features/xscale-iwmmxt.xml: Update capitalization.
6937 * regformats/arm-with-iwmmxt.dat: Regenerated.
6938
c077150c
KB
69392007-02-24 Kevin Buettner <kevinb@redhat.com>
6940
6941 * NEWS (New targets): Add entry for the Toshiba Media Processor.
6942
01c996c1
KB
69432007-02-23 Kevin Buettner <kevinb@redhat.com>
6944
6945 * MAINTAINERS (mep): New target.
6946
aeb43123
KB
69472007-02-23 Kevin Buettner <kevinb@redhat.com>
6948
6949 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
6950 Richard Sandiford:
6951 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
6952 (mep-tdep.o): New rule.
6953 * configure.tgt (mep-*-*): New target.
6954 * mep-tdep.c: New file.
6955 * config/mep/mep.mt: New file.
6956
115d86cf
UW
69572007-02-22 Markus Deuling <deuling@de.ibm.com>
6958
6959 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
6960 BREAKPOINT_HIT and STOP_UNKNOWN.
6961
fef862e5
UW
69622007-02-22 Markus Deuling <deuling@de.ibm.com>
6963
6964 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
6965
9a7d5afb
JB
69662007-02-20 Joel Brobecker <brobecker@adacore.com>
6967
6968 * gdb_expat.h (XMLCALL): Define if not already defined.
6969
81de920d
AS
69702007-02-20 Andreas Schwab <schwab@suse.de>
6971
6972 * Makefile.in (symfile.o): Update dependencies.
6973
cb5c8c39
DJ
69742007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
6975
6976 * MAINTAINERS: Disable -Werror for cris simulator. Build
6977 sparc64-solaris2.10 instead of the broken sparc-elf.
6978 * solib-frv.c: Include "solib.h".
6979 * Makefile.in (solib-frv.o): Update.
6980 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
6981 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
6982 (xtensa_frame_this_id, xtensa_frame_prev_register)
6983 (xtensa_push_dummy_call): Use %p.
6984
e6bb342a
DJ
69852007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6986
6987 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
6988 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
6989 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
6990 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
6991 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
6992 (sparc-linux-tdep.o): Update.
6993
ff7a4c00
MG
69942007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
6995
6996 * xtensa-tdep.h (xtensa_reg_mask_t): New.
6997 (xtensa_mask_t): Change mask field to be a separate array.
6998 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
6999 (xtensa_pseudo_register_write, xtensa_unwind_pc)
7000 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
7001 (xtensa_breakpoint_from_pc): Remove implicit type casting.
7002 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
7003 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
7004 (mask14, mask15): Rename to
7005 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
7006 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
7007 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
7008 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
7009 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
7010 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
7011 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
7012 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
7013 (xtensa_submask14, xtensa_submask15): New.
7014 (rmap): Follow strict aliasing rules doing static initialization.
7015
d9cc5895
DJ
70162007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
7017
7018 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
7019 handling from here...
7020 (tdesc_register_type): ...to here.
7021 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
7022 * features/arm-core.xml: Use code_ptr and data_ptr.
7023
8756216b
DP
70242007-02-13 Denis Pilat <denis.pilat@st.com>
7025
7026 * varobj.h (enum varobj_update_error): New enum.
7027 * varobj.c (struct varobj_root): Add is_valid member.
7028 (varobj_get_type): Check for invalid varobj.
7029 (varobj_get_attributes): Likewise.
7030 (variable_editable):Likewise.
7031 (varobj_update): Likewise. Use varobj_update_error.
7032 (new_root_variable): Set root varobj as valid by default.
7033 (varobj_invalidate): New function.
7034 * symfile.c (clear_symtab_users): Use varobj_invalidate.
7035 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
7036 Use varobj_update_error.
7037
fe8e67fd
PM
70382007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
7039
7040 Fix PR pascal/2223.
7041 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
7042 Pascal language marker.
7043 * dwarf2read.c (set_cu_language): Likewise.
7044
c44537cf
CV
70452007-02-12 Corinna Vinschen <vinschen@redhat.com>
7046
7047 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
7048 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
7049 instead of target_terminal_init since inferior_ptid isn't set yet.
7050
20dad8ea
PA
70512007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
7052
7053 * MAINTAINERS (Write After Approval): Add myself.
7054
4ac94eda
FF
70552007-02-09 Fred Fish <fnf@specifix.com>
7056
7057 Based on work by Apple Computer, Inc.
7058 * event-top.c (async_request_quit): Call quit() whenever either
7059 quit_flag is set or immediate_quit is set.
7060
b260b6c1
GDR
70612007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
7062
7063 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
7064 type to a pointer to const struct block.
7065 (ada_lookup_symbol_list): Don't cast away constness when calling
7066 remove_out_of_scope_renamings.
7067
70682007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
7069
7070 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
7071 address of 'filename'; it is always non null.
7072
0f5d55d8
JB
70732007-02-09 Joel Brobecker <brobecker@adacore.com>
7074
7075 * exec.c (add_to_section_table): Do not discard empty sections.
7076
fb1e4ffc
DJ
70772007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7078
7079 * features/Makefile, features/arm-with-iwmmxt.xml,
7080 features/gdbserver-regs.xsl, features/number-regs.xsl,
7081 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
7082 * regformats/arm-with-iwmmxt.dat: Generate.
7083 * NEWS: Mention iWMMXt.
7084
123dc839
DJ
70852007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7086
7087 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
7088 (xml-tdesc.o): Update.
7089 * xml-support.c: Add a comment.
7090 (gdb_xml_enums_boolean): New variable.
7091 (gdb_xml_parse_attr_enum): Use strcasecmp.
7092 * xml-support.h (gdb_xml_enums_boolean): Declare.
7093 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
7094 next_regnum, and current_union.
7095 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
7096 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
7097 (field_attributes, union_children, reg_attributes, union_attributes)
7098 (vector_attributes, feature_attributes, feature_children): New.
7099 (target_children): Make static. Add <feature>.
7100 (tdesc_elements): Make static.
7101 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
7102 (struct tdesc_feature, tdesc_feature_p): New types.
7103 (struct target_desc): Add features member.
7104 (struct tdesc_arch_data, tdesc_data): New.
7105 (target_find_description): Clarify error message. Warn about
7106 ignored register descriptions.
7107 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
7108 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
7109 (tdesc_data_cleanup, tdesc_numbered_register)
7110 (tdesc_numbered_register_choices, tdesc_find_register)
7111 (tdesc_register_name, tdesc_register_type)
7112 (tdesc_remote_register_number, tdesc_register_reggroup_p)
7113 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
7114 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
7115 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
7116 (tdesc_create_feature, tdesc_record_type): New.
7117 (free_target_description): Free features.
7118 (_initialize_target_descriptions): Initialize tdesc_data.
7119 * arch-utils.c (default_remote_register_number): New.
7120 * arch-utils.h (default_remote_register_number): New prototype.
7121 * target-descriptions.h (set_tdesc_pseudo_register_name)
7122 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
7123 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
7124 (tdesc_numbered_register, tdesc_numbered_register_choices)
7125 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
7126 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
7127 (tdesc_create_reg): Declare.
7128 * gdbarch.sh (remote_register_number): New entry.
7129 * gdbarch.c, gdbarch.h: Regenerate.
7130 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
7131 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
7132
7133 * arm-tdep.c (arm_register_aliases): New.
7134 (arm_register_name_strings): Rename to...
7135 (arm_register_names): ...this. Make const. Delete the old version.
7136 (current_option, arm_register_byte): Delete.
7137 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
7138 (value_of_arm_user_reg): New.
7139 (arm_gdbarch_init): Verify any described registers. Call
7140 tdesc_use_registers. Don't use arm_register_byte. Create aliases
7141 for standard register names.
7142 (_initialize_arm_tdep): Do not adjust arm_register_names.
7143 * user-regs.c (struct user_reg): Add baton member.
7144 (append_user_reg, user_reg_add_builtin, user_regs_init)
7145 (user_reg_add, value_of_user_reg): Use a baton for user
7146 register functions.
7147 * std-regs.c: Update.
7148 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
7149 (user_reg_add): Add baton argument.
7150 * NEWS: Mention target description register support.
7151 * features/arm-core.xml, features/arm-fpa.xml: New.
7152 * eval.c (evaluate_subexp_standard): Allow ptype $register
7153 when the program is not running.
7154
87604222
NR
71552007-02-09 Nick Roberts <nickrob@snap.net.nz>
7156
7157 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
7158
ee4f0f76
DJ
71592007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
7160
7161 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
7162 info->disassembler_options to "any".
7163
7af9851d
DJ
71642007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7165
7166 * varobj.c (install_new_value): Only call value_get_print_value
7167 if changeable.
7168
8944021f
DJ
71692007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7170
7171 Reported by timeless@gmail.com:
7172 * gdb/target.c (target_flash_erase): Do not return void value.
7173 (target_flash_done): Likewise.
7174 * gdb/cli/cli-cmds.c (source_command): Likewise.
7175
71762007-02-08 Fred Fish <fnf@specifix.com>
5f960e00 7177
4ac94eda 7178 Based on work by Apple Computer, Inc.
5f960e00
FF
7179 * event-top.c (handle_sigint): Set quit_flag.
7180 (async_request_quit): Don't set quit_flag. Avoid calling quit()
7181 if quit_flag has already been reset.
7182
4998c1df
DJ
71832007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7184
7185 * ser-mingw.c (pipe_windows_close): Move variable initialization back
7186 up.
7187
79da184e
FF
71882007-02-08 Fred Fish <fnf@specifix.com>
7189
7190 * defs.h (request_quit): Remove declaration.
7191 * utils.c (request_quit): Remove definition.
7192
3c77c82a
DJ
71932007-02-08 Joel Brobecker <brobecker@gnat.com>
7194 Jan Kratochvil <jan.kratochvil@redhat.com>
7195 Daniel Jacobowitz <dan@codesourcery.com>
7196
7197 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
7198 (skip_prologue): Allow bl->blrl used by PIC code.
7199
c1b6e682
DJ
72002007-02-08 Mark Kettenis <kettenis@gnu.org>
7201 Daniel Jacobowitz <dan@codesourcery.com>
7202
7203 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
7204 initialize tmp_obstack.
7205 * p-valprint.c (pascal_object_print_value_fields)
7206 (pascal_object_print_value): Likewise.
7207
fe5dedf4
DJ
72082007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
7209
7210 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
7211
3e461478
MK
72122007-02-08 Mark Kettenis <kettenis@gnu.org>
7213
7214 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
7215 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
7216
fc6e0168
DJ
72172007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7218
7219 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
7220 (xml_cache): New.
7221 (tdesc_parse_xml): Cache expanded descriptions.
7222
108546a0
DJ
72232007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
7224
7225 * Makefile.in (XMLFILES): New.
7226 (COMMON_OBS): Add xml-builtin.o.
7227 (xml-builtin.c, stamp-xml): New rules.
7228 (xml-tdesc.o): Update.
7229 * features/feature_to_c.sh: New file.
7230 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
7231 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
7232 (gdb_xml_start_element): Initialize scope after possibly reallocating
7233 scopes. Move cleanup later. Handle the XInclude description
7234 specially.
7235 (gdb_xml_end_element): Only parse the body if there is a current element.
7236 Call XML_DefaultCurrent if there is no element.
7237 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
7238 (struct xinclude_parsing_data, xinclude_start_include)
7239 (xinclude_end_include, xml_xinclude_default)
7240 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
7241 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
7242 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
7243 * xml-support.h (xml_fetch_another, xml_process_xincludes)
7244 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
7245 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
7246 XInclude directives. Use the compiled in DTD.
7247 (fetch_xml_from_file): Add baton argument. Treat it as a containing
7248 directory name. Do not warn here.
7249 (file_read_description_xml): Update call. Warn here instead. Pass
7250 a dirname as baton.
7251 (fetch_available_features_from_target): New.
7252 (target_read_description_xml): Use it.
7253 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
7254 to handle XInclude.
7255 * features/xinclude.dtd: New file.
7256
b5057acd
DJ
72572007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
7258
7259 * linux-thread-db.c (check_for_thread_db): Return early if we have
7260 no libthread_db support.
7261
6a089cf2
DJ
72622007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
7263
7264 * mi/mi-parse.h: Include <sys/time.h>.
7265
9fbcbb40
NR
72662007-02-05 Nick Roberts <nickrob@snap.net.nz>
7267
7268 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
7269 instead of print_variable_value to print values.
7270
b3d2152a
NR
72712007-02-03 Nick Roberts <nickrob@snap.net.nz>
7272
7273 * mi/mi-main.c: Numerous formatting changes.
7274 (mi_cmd_data_write_register_values): Replace clause inadvertantly
7275 removed in my previous change.
7276
79f0a97a
NR
72772007-02-03 Eli Zaretskii <eliz@gnu.org>
7278
7279 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
7280 Use 1000000L instead of 1000000.
7281
95a98c01 72822007-02-03 Nick Roberts <nickrob@snap.net.nz>
cd375699
NR
7283
7284 Based on work by Apple Computer, Inc.
7285
7286 * configure.ac: Test for sys/resource.h and getrusage.
7287 * configure, config.in: Regenerate.
7288
7289 * mi/mi-main.c: Include <sys/resource.h> if present.
7290 (rusage): Declare if HAVE_GETRUSAGE.
7291 (current_command_ts, do_timings): New static variables.
7292 (timestamp, print_diff_now, print_diff, timeval_diff):
7293 New static timing functions.
7294 (mi_cmd_enable_timings): New function for new MI command.
7295 (captured_mi_execute_command, mi_execute_async_cli_command):
7296 Call timing functions.
7297
7298 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
7299 -enable-timings.
7300
7301 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
7302
7303 * mi/mi-parse.h: (mi_timestamp): New structure.
7304 (mi_parse): Add mi_timestamp* member.
7305
99b3d574
DP
73062007-02-02 Denis Pilat <denis.pilat@st.com>
7307
7308 * thread.c (make_cleanup_restore_current_thread): New function.
7309 (info_threads_command): Use of make_cleanup_restore_current_thread
7310 to restore the current thread and the selected frame.
7311 (restore_selected_frame): New function.
7312 (struct current_thread_cleanup): Add frame_id field.
7313 (do_restore_current_thread_cleanup): Add restoring of the selected
7314 frame.
7315 (make_cleanup_restore_current_thread): Likewise.
7316 (thread_apply_all_command): backup the selected frame while
7317 entering the function and restore it at exit.
7318 (thread_apply_command): Likewise.
7319
d3c598de
DP
73202007-02-02 Denis Pilat <denis.pilat@st.com>
7321
7322 * MAINTAINERS (Write After Approval): Add myself to the list.
7323
b69733ab 73242007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
3e41d55f
KI
7325
7326 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
7327 (m32r_store_register): Ditto.
7328
b69733ab 73292007-01-30 Vladimir Prus <vladimir@codesourcery.com>
ef7723eb
VP
7330
7331 * ser-mingw.c (pipe_windows_open)
7332 (pipe_windows_read, pipe_windows_write): Declare
7333 variables at the top of the function.
7334
8da61cc4
DJ
73352007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7336
7337 * doublest.c (floatformat_from_length): Use the right element from
7338 gdbarch floatformats.
7339 (floatformat_from_type, extract_typed_floating)
7340 (store_typed_floating): Likewise.
7341 * doublest.h: Remove declarations for undefined floatformat arrays.
7342 * gdbarch.sh (float_format, double_format, long_double_format): Change
7343 to pairs.
7344 (pformat): Update for pairs.
7345 * gdbarch.c, gdbarch.h: Regenerated.
7346 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
7347 (floatformats_ieee_double_littlebyte_bigword)
7348 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
7349 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
7350 (floatformats_vax_d): New variables.
7351 (builtin_type_ieee_single, builtin_type_ieee_double)
7352 (builtin_type_arm_ext, builtin_type_ia64_spill)
7353 (builtin_type_ia64_quad): Replace arrays with individual types.
7354 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
7355 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
7356 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
7357 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
7358 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
7359 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
7360 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
7361 unused and endian-specific types.
7362 (recursive_dump_type): Update for floatformat pairs.
7363 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
7364 (build_gdbtypes): Use build_flt.
7365 (_initialize_gdbtypes): Update set of initialized types.
7366 * gdbtypes.h: Update declarations to match gdbtypes.c.
7367 (struct main_type): Store a pointer to two floatformats.
7368 * arch-utils.c (default_float_format, default_double_format): Delete.
7369 * arch-utils.h (default_float_format, default_double_format): Delete.
7370
7371 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
7372 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
7373 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
7374 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
7375 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
7376
87680a14
JB
73772007-01-29 Joel Brobecker <brobecker@adacore.com>
7378
7379 * target.c (maintenance_print_target_stack): New function.
7380 (initialize_targets): Add new "maintenance print target-stack"
7381 command.
7382
1c3d648d
MK
73832007-01-28 Mark Kettenis <kettenis@gnu.org>
7384
7385 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
7386
607269ae
DJ
73872007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
7388
7389 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
7390 (struct dwarf2_loclist_baton): Likewise.
7391
40c03ae8
EZ
73922007-01-27 Eli Zaretskii <eliz@gnu.org>
7393
7394 * cli/cli-script.c: Include breakpoint.h.
7395 (build_command_line): Require arguments only for if and while
7396 commands.
7397 (get_command_line, execute_user_command, execute_control_command):
7398 Fix wording of warning messages.
7399 (print_command_lines): Print breakpoint commands.
7400 (execute_control_command): Call commands_from_control_command to
7401 handle the `commands' command inside a body of a flow-control
7402 command.
7403 (read_next_line): Recognize the `commands' command and build a
7404 command line structure for it.
7405 (recurse_read_control_structure, read_command_lines): Handle
7406 `commands' similarly to `if' and `while'.
7407
7408 * breakpoint.c (get_number_trailer): Document the special meaning
7409 of NULL as the first argument PP.
7410 (commands_from_control_command): New function.
7411
7412 * breakpoint.h (commands_from_control_command): Add prototype.
7413
7414 * defs.h (commands_control): New enumerated value for enum
7415 command_control_type.
7416
4b9eee8c
JB
74172007-01-26 Joel Brobecker <brobecker@adacore.com>
7418
7419 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
7420 (ada_exception_sal): Update accordingly.
7421
e1f48ead
JK
74222007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7423
7424 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
7425 * NEWS: Describe CHAR array vs. string identifcation rules.
7426
e150acc7
PB
74272007-01-25 Paul Brook <paul@codesourcery.com>
7428
7429 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
7430
10fb19b6
JB
74312007-01-24 Jim Blandy <jimb@codesourcery.com>
7432
7433 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
7434 expression is empty, bother to return the 'optimized out' value we
7435 construct. (Thanks to Carl Burch.)
7436
85d93f1d
VP
74372007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7438
7439 * varobj.c (c_value_of_root, c_value_of_child)
7440 (cplus_describe_child): Don't call release_value.
7441
fcbd8a5c
TS
74422007-01-24 Thiemo Seufer <ths@mips.com>
7443
7444 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
7445 initialization.
7446
2024f65a
VP
74472007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7448
7449 Refactor getting children name, value and type access
7450 for varobjs in C++.
7451 * varobj.c (get_type_deref): Remove.
7452 (adjust_value_for_child_access): New.
7453 (c_number_of_children): Use the above.
7454 (c_describe_child): Likewise.
7455 (enum accessibility): New.
7456 (match_accessibility): New function.
7457 (cplus_describe_child): New function.
7458 (cplus_name_of_child, cplus_value_of_child)
7459 (cplus_type_of_child): Reimplement in terms
7460 of cplus_describe_child.
7461 (cplus_number_of_children): Use
7462 adjust_value_for_child_access.
7463
6e2a9270
VP
74642007-01-24 Vladimir Prus <vladimir@codesourcery.com>
7465
7466 Fix computation of the 'editable' attribute and
7467 value changeability for for references.
7468 * varobj.c (get_value_type): New function.
7469 (c_variable_editable): Use get_value_type.
7470 (varobj_value_is_changeable): Likewise.
7471
56163ce1
JB
74722007-01-24 Joel Brobecker <brobecker@adacore.com>
7473
7474 * source.c (find_and_open_source): Try rewriting the source
7475 path inside filename if dirname is NULL.
7476
8c6860bb
JB
74772007-01-24 Joel Brobecker <brobecker@adacore.com>
7478
7479 * dwarf2read.c (add_partial_symbol): Create an extra partial
7480 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
7481 (new_symbol): Likewise for symbols.
7482
6db6d2ca
NR
74832007-01-24 Nick Roberts <nickrob@snap.net.nz>
7484
7485 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
7486
7d85ee02
VP
74872007-01-23 Vladimir Prus <vladimir@codesourcery.com>
7488
7489 * value.c (value_primitive_field): Copy the full 'location'
7490 contents, instead of assuming that copying ADDRESS will
7491 bring over everything in the union. Remove obsolete comment.
7492
f79b9530
DJ
74932007-01-23 Masaki Muranaka <monaka@monami-software.com>
7494
7495 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
7496 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
7497 (m32c_m16c_pointer_to_address): Separate code from declarations.
7498
08d8bcd7
DJ
74992007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
7500
7501 * target.c (update_current_target): Correct typo.
7502
57fdbbbe
CV
75032007-01-22 Masaki Muranaka <monaka@monami-software.com>
7504
7505 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
7506 declaration.
7507
58894217
JK
75082007-01-11 Andrew Cagney <cagney@redhat.com>
7509 Daniel Jacobowitz <dan@codesourcery.com>
7510 Jan Kratochvil <jan.kratochvil@redhat.com>
7511
7512 * dwarf2-frame.c (execute_cfa_program): New support of
7513 `DW_CFA_GNU_negative_offset_extended'.
7514
9ebce043
DJ
75152007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
7516
7517 * NEWS: Mention flash support for "load" and new remote packets.
7518
973d738b
DJ
75192007-01-21 Markus Deuling <deuling@de.ibm.com>
7520
7521 * breakpoint.c (delete_command): Skip redundant loop iterations.
7522
7b9ee6a8
DJ
75232007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
7524
7525 * gdbarch.sh (register_type): Update comment.
7526 * gdbarch.h: Regenerated.
7527 * arch-utils.c (generic_register_size): Call register_type.
7528 * ia64-tdep.c (ia64_extract_return_value): Likewise.
7529 * m32c-tdep.c (check_for_saved): Likewise.
7530 * mips-tdep.c (mips_print_register, print_gp_register_row)
7531 (mips_print_registers_info): Likewise.
7532 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
7533 Likewise.
7534 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
7535 (sh64_do_register, sh64_print_register)
7536 (sh64_media_print_registers_info): Likewise.
7537 * tui/tui-regs.c (tui_register_format): Likewise.
7538
11309657
DJ
75392007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
7540
7541 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
7542
7543 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
7544 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
7545 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
7546 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
7547 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
7548 (make_symbol_completion_list): Likewise.
7549
cb1df416
DJ
75502007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7551 Daniel Jacobowitz <dan@codesourcery.com>
7552
7553 * buildsym.c (end_symtab): Use preallocated symtab if available.
7554 Fill in SYMBOL_SYMTAB.
7555 * buildsym.h (struct subfile): Add symtab member.
7556 * dwarf2read.c (struct dwarf2_cu): Add line_header.
7557 (struct file_entry): Add symtab.
7558 (free_cu_line_header): New function.
7559 (read_file_scope): Use it. Save line_header in the cu. Process
7560 lines before DIEs.
7561 (add_file_name): Initialize new symtab member.
7562 (dwarf_decode_lines): Create symtabs for included files.
7563 (new_symbol): Set SYMBOL_SYMTAB.
7564 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
7565 (search_symbols): Likewise.
7566 * symtab.h (struct symbol): Add symtab member.
7567 (SYMBOL_SYMTAB): Define.
7568
727da900
DJ
75692007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7570
7571 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
7572
7b6b9e83
DJ
75732007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7574
7575 * arch-utils.c (show_endian): Correct reversed condition.
7576
e767400c
JK
75772007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 * MAINTAINERS (Write After Approval): Add myself.
7580
b20d8971
VP
75812007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
7582 Vladimir Prus <vladimir@codesourcery.com>
7583
7584 Fix 'selected frame' varobjs.
7585 * varobj.c (struct varobj): Remove the error field.
7586 (varobj_set_value): Don't check var->error.
7587 (install_new_value): Don't set var->error.
7588 (varobj_update): Always pass the new value
7589 of the root via install_new_value.
7590 (create_child): Don't set error field.
7591 (new_variable): Likewise.
7592 (c_value_of_root): Always reevaluate the value
7593 of selected frame varobjs in the selected frame.
7594 Don't call reinit_frame_cache.
7595
7ef2b397
JB
75962007-01-15 Joel Brobecker <brobecker@adacore.com>
7597
7598 * source.c (_initialize_source): Improve the help text of
7599 the substitute-path commands.
7600
1208538e
MK
76012007-01-14 Mark Kettenis <kettenis@gnu.org>
7602
7603 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
7604 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
7605 (frv_skip_prologue): Remove prototypes.
7606 (frv_adjust_breakpoint_address): Renamed from
7607 frv_gdbarch_adjust_breakpoint_address.
7608 (frv_gdbarch_init): Adjust.
7609
765f065a
MK
76102007-01-13 Mark Kettenis <kettenis@gnu.org>
7611
5e66aab2
MK
7612 * gdbarch.sh (deprecated_extract_return_value)
7613 (deprecated_store_return_value): Remove.
7614 (extract_return_value, store_return_value): Remove default values.
7615 * gdbarch.c, gdbarch.h: Regenerate.
7616 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
7617 (legacy_store_return_value): Remove.
7618 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
7619 Remove.
7620
56178203
MK
7621 * mi/mi-main.c: Remove obsolete comment.
7622
23303b2e
MK
7623 * regcache.c, regcache.h (deprecated_register_bytes)
7624 (deprecated_read_register_bytes)
7625 (deprecated_write_register_bytes): Remove.
7626
765f065a
MK
7627 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
7628 Don't forget to move destination pointer.
7629
610acfff
MK
76302007-01-01 Mark Kettenis <kettenis@gnu.org>
7631
7632 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
7633
12102450
UW
76342007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
7635
7636 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
7637 past entry function with recent newlib.
7638
c8b2f53c
VP
76392007-01-11 Vladimir Prus <vladimir@codesourcery.com>
7640
7641 * gdb.texinfo (GDB/MI Variable Objects): Improve the
7642 introduction. Specify -var-update more exactly.
7643
d57df5e4
DJ
76442007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
7645
7646 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
7647
03f597d5
JB
76482007-01-10 Jim Blandy <jimb@codesourcery.com>
7649
7650 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
7651 the Global Maintainers' invitation to be a global maintainer.
7652
fd48f117
DJ
76532007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
7654
7655 * infrun.c (singlestep_pc): New variable.
7656 (resume): Set singlestep_pc.
7657 (context_switch): Add a debugging message. Flush the frame cache.
7658 (handle_inferior_event): Add debugging messages. Handle thread
7659 hops when a software single step has completed. Let context_switch
7660 handle flushing the frame cache.
7661
23181151
DJ
76622007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7663
7664 * NEWS: Mention target descriptions, "set tdesc filename",
7665 "unset tdesc filename", "show tdesc filename", and
7666 qXfer:features:read.
7667 * arch-utils.c (choose_architecture_for_target): New function.
7668 (gdbarch_info_fill): Call it.
7669 * target-descriptions.c (struct property): Make members non-const.
7670 (struct target_desc): Add arch member.
7671 (target_description_filename): New variable.
7672 (target_find_description): Try via XML first.
7673 (tdesc_architecture): New.
7674 (free_target_description, make_cleanup_free_target_description): New.
7675 (set_tdesc_property): Call xstrdup.
7676 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
7677 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
7678 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
7679 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
7680 * target-descriptions.h (tdesc_architecture)
7681 (make_cleanup_free_target_description, set_tdesc_architecture): New
7682 prototypes.
7683 * Makefile.in (SFILES): Add xml-tdesc.c.
7684 (COMMON_OBS): Add xml-tdesc.o.
7685 (target-descriptions.o): Update.
7686 (xml-tdesc.o): New rule.
7687 * xml-tdesc.c, xml-tdesc.h: New files.
7688 * remote.c (PACKET_qXfer_features): New enum.
7689 (remote_protocol_features): Add qXfer:features:read.
7690 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
7691 (_initialize_remote): Register qXfer:features:read.
7692 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
7693 * features/gdb-target.dtd: New file.
7694
3e9cb5f4
DJ
76952007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7696
7697 * copyright.sh: Clarify error.
7698
818f79f6
DJ
76992007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7700
7701 * symtab.c (matching_bfd_sections): Fix VMA matching for
7702 prelinked objects.
7703
f7a6bb70
DJ
77042007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7705
7706 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
7707 nested symbols.
7708
20ac0504
DJ
77092007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7710
7711 Updated copyright notices for most files.
7712
85bb0718
DJ
77132007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7714
7715 * copyright.sh (prunes): Add step-line.inp and step-line.c.
7716
aa28a74e
DJ
77172007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7718
7719 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
7720 exec_prefix.
7721 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
7722 '${prefix}'.
7723 * configure, config.in: Regenerate.
7724 * defs.h (debug_file_directory): Declare.
7725 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
7726 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
7727 relocate it if DEBUGDIR_RELOCATABLE.
7728 * symfile.c (debug_file_directory): Make non-static.
7729 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
7730 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
7731 (_initialize_symfile): Don't initialize debug_file_directory here.
7732
1cfd2c3e
JB
77332007-01-09 Jim Blandy <jimb@codesourcery.com>
7734
7735 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
7736 statements.
7737
5efde112
DJ
77382007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7739
7740 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
7741 frame_unwind_register to recurse.
7742 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
7743 (alpha_heuristic_frame_prev_register): Likewise.
7744 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
7745 * m32c-tdep.c (m32c_prev_register): Likewise.
7746 * frame.c (frame_register_unwind_location): Remove FIXME.
7747
4de1f557
DJ
77482007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7749 Eli Zaretskii <eliz@gnu.org>
7750
7751 * copyright.sh: New file.
7752
ca4ca11e
DJ
77532007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
7754
7755 * configure.ac: Check for XML_StopParser.
7756 * xml-support.c (gdb_xml_body_text): Check for an error.
7757 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
7758 (gdb_xml_end_element_wrapper): Likewise.
7759 * config.in, configure: Regenerated.
7760
57e66780
DJ
77612007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7762
7763 * varobj.c (install_new_value): Always update print_value.
7764 (value_get_print_value): Immediately return NULL for missing
7765 values.
7766
b523a1fd
JB
77672007-01-08 Jim Blandy <jimb@codesourcery.com>
7768
7769 * configure.ac: Tighten pattern for extracting value of
7770 DEPRECATED_TM_FILE from the target makefile fragment.
7771 * configure: Regenerated.
7772
3d799a95
DJ
77732007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7774
7775 * linux-nat.c (struct simple_pid_list): Add status.
7776 (add_to_pid_list): Record the PID's status.
7777 (linux_record_stopped_pid): Likewise. Make static.
7778 (pull_pid_from_list): Return the saved status.
7779 (linux_nat_handle_extended): Deleted.
7780 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
7781 Make static. Handle non-SIGSTOP for a new thread's first signal.
7782 (flush_callback): Handle unexpected pending signals.
7783 (linux_nat_wait): Update calls to changed functions.
7784 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
7785 Remove prototypes for newly static functions.
7786
9acbedc0
UW
77872007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
7788
7789 * gdbarch.sh (value_from_register): New gdbarch function.
7790 * gdbarch.c, gdbarch.h: Regenerate.
7791 * findvar.c (default_value_from_register): New function.
7792 (value_from_register): Use gdbarch_value_from_register.
7793 * value.h (default_value_from_register): Declare.
7794 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
7795 spu_value_to_register): Remove.
7796 (spu_value_from_register): New function.
7797 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
7798 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
7799 Call set_gdbarch_value_from_register.
7800 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
7801 s390_value_to_register): Remove.
7802 (s390_value_from_register): New function.
7803 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
7804 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
7805 Call set_gdbarch_value_from_register.
7806
f822c95b
DJ
78072007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7808
7809 * NEWS: Add "set sysroot" and "show sysroot".
7810 * solib.c (solib_absolute_prefix): Delete. Replace
7811 all uses with gdb_sysroot.
7812 (_initialize_solib): Add "set sysroot" and "show sysroot".
7813 Make "solib-absolute-prefix" an alias to it.
7814
00fa51f6
UW
78152007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
7816
7817 * frame.c (get_frame_register_bytes): New function.
7818 (put_frame_register_bytes): Likewise.
7819 * frame.h (get_frame_register_bytes): Declare.
7820 (put_frame_register_bytes): Likewise.
7821 * findvar.c (value_from_register): Always construct lval_register
7822 values. Use get_frame_register_bytes.
7823 * valops.c (value_assign): Use get_frame_register_bytes and
7824 put_frame_register_bytes.
7825
a95c9d06
JB
78262007-01-08 Jim Blandy <jimb@codesourcery.com>
7827
7828 * MAINTAINERS: Update Stan Shebs' email address.
7829
4ed6b5be
JB
78302007-01-07 Joel Brobecker <brobecker@adacore.com>
7831
7832 * ada-lang.c (is_known_support_routine): Improve the implementation.
7833
9bbc9174
JB
78342007-01-06 Joel Brobecker <brobecker@adacore.com>
7835
7836 * ada-lang.c: Add include of source.h.
7837 (is_known_support_routine): Improve the check verifying that the file
7838 associated to this frame exists.
7839 * Makefile.in (ada-lang.o): Add dependency on source.h.
7840
44a81774
JB
78412007-01-07 Jim Blandy <jimb@codesourcery.com>
7842
7843 * ax-general.c (ax_const_l): Select proper opcode for the given
7844 value.
7845
fcd19eb1 78462007-01-05 Vladimir Prus <vladimir@codesourcery.com>
6fe1a487
NR
7847
7848 * varobj.c (c_value_of_root): Don't select frame if variable
7849 object is out of scope.
7850
fcd19eb1 78512007-01-05 Nick Roberts <nickrob@snap.net.nz>
3fa6deb5
NR
7852
7853 * varobj.c (struct varobj): New member print_value.
7854 (install_new_value): Compare last printed value with current one
7855 instead of contents.
7856 (new_variable): Initialize var->print_value to NULL.
7857 (free_variable): Free var->print_value.
7858 (value_get_print_value): New function derived from
7859 c_value_of_variable.
7860 (c_value_of_variable): Use value_get_print_value.
7861
92a56b20
JB
78622007-01-05 Joel Brobecker <brobecker@adacore.com>
7863
7864 * i386-tdep.c (i386_analyze_stack_align): Add comment.
7865
0e420bd8
JB
78662007-01-05 Joel Brobecker <brobecker@adacore.com>
7867
7868 * NEWS: Add entries for new catch commands.
7869
b69733ab 78702007-01-05 Joel Brobecker <brobecker@adacore.com>
fa4028e9
JB
7871
7872 * dwarf2read.c (partial_die_info): Add field has_byte_size.
7873 (add_partial_symbol): Correct identification of external references.
7874 (process_structure_scope): Likewise.
7875 (read_partial_die): Handle DW_AT_byte_size attribute.
7876
78772007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
d097fa3e
DJ
7878
7879 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
7880
8e38af42
NR
78812007-01-05 Nick Roberts <nickrob@snap.net.nz>
7882
7883 * varobj.c (get_type_deref): Fix variable objects for references to
7884 pointers.
7885
d1c79ecd
DJ
78862007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7887
7888 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
7889 with no symbols.
7890
e776119f
DJ
78912007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7892
7893 * memory-map.c (struct_memory_map_parsing_data): Remove most
7894 members. Make property_name an array.
7895 (free_memory_map_parsing_data, memory_map_start_element)
7896 (memory_map_end_element, memory_map_character_data): Delete.
7897 (memory_map_start_memory, memory_map_end_memory)
7898 (memory_map_start_property, memory_map_end_property): New functions.
7899 (property_attributes, memory_children, memory_type_enum)
7900 (memory_attributes, memory_map_children, memory_map_elements): New.
7901 (parse_memory_map): Rewrite.
7902 * xml-support.c (debug_xml): New.
7903 (xml_get_required_attribute, xml_get_integer_attribute)
7904 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
7905 Delete.
7906 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
7907 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
7908 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
7909 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
7910 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
7911 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
7912 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
7913 New.
7914 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
7915 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
7916 (enum gdb_xml_element_flag, struct gdb_xml_element)
7917 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
7918 (struct gdb_xml_enum): New.
7919 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
7920 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
7921 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
7922 (xml_get_required_attribute, xml_get_integer_attribute)
7923 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
7924 * Makefile.in (xml_support_h, xml-support.o): Update.
7925
5e572bb4
DJ
79262007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7927
7928 * Makefile.in (eval.o): Update dependencies.
7929 * eval.c: Include "ui-out.h" and "exceptions.h".
7930 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
7931 Use value_zero if an error occurs when avoiding side effects.
7932 * varobj.c (c_value_of_root): Initialize new_val.
7933
74a44383
DJ
79342007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7935
7936 * varobj.c (varobj_list_children): Stop if the number of children is
7937 unknown.
7938 (c_number_of_children):
7939
e8d2d628
MK
79402007-01-04 Mark Kettenis <kettenis@gnu.org>
7941
7942 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
7943 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
7944 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
7945 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
7946 sizeof, instead of hardcoded constants.
7947
c941839d
DJ
79482007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7949
7950 * CONTRIBUTE: Use sourceware.org.
7951
303b6f5d 79522007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
2d0720d9 7953
303b6f5d
DJ
7954 * buildsym.c (start_subfile): Handle producer.
7955 (record_producer): New function.
7956 * buildsym.h (struct subfile): Include producer.
7957 (record_producer): New prototype.
7958 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
7959 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
7960 armcc_cfa_offsets_reversed.
7961 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
7962 (dwarf2_frame_find_quirks): New function.
7963 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
7964 (decode_frame_entry_1): Record the CIE version. Record the
7965 augmentation. Skip armcc augmentations.
7966 * dwarf2read.c (read_file_scope): Save the producer.
7967 * symtab.h (struct symtab): Rename unused version member to
7968 producer.
2d0720d9 7969
aa79a185
DJ
79702007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
7971
7972 * configure.ac (build_warnings): Use -Wall and
7973 -Wdeclaration-after-statement.
7974 * configure: Regenerated.
7975
bbec2603
VP
79762007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7977
7978 Simplify access to variours properties of child
7979 variable objects in C.
7980 * varobj.c (value_struct_element_index): New function.
7981 (c_describe_child): New function.
7982 (c_name_of_child, c_value_of_child)
7983 (c_type_of_child): Rewrite to use c_describe_child.
7984
28335dcc
VP
79852007-01-04 Vladimir Prus <vladimir@codesourcery.com>
7986
7987 gdb/
7988 * varobj.c: Include "vec.h".
7989 (varobj_p): New typedef, declare vector of those.
7990 (struct varobj): Use vector for the 'children' member.
7991 (child_exists): Remove.
7992 (save_child_in_parent): Remove.
7993 (remove_child_from_parent): Remove.
7994 (struct varobj_child): Remove.
7995 (struct vstack): Remove.
7996 (vpush, vpop): Remove.
7997 (varobj_list_children): Adjust to work work vector.
7998 (varobj_update): Likewise. Use vectors for
7999 working stack and result.
8000 (delete_variable_1): Likewise.
8001 * Makefile.in (varobj.o): Update dependencies.
8002
b2c2bd75
VP
80032007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8004
8005 Port from Apple's version.
8006 gdb/
8007 * varobj.c (type_changeable): Rename to...
8008 (varobj_value_is_changeable_p): ...this. Adjust all callers.
8009 (is_root_p): New function. Use it everywhere.
8010
bdfb3870
JB
80112007-01-04 Jim Blandy <jimb@codesourcery.com>
8012
8013 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
8014 then plain 'fixup'.
8015
5d15052e
JB
80162007-01-04 Joel Brobecker <brobecker@adacore.com>
8017
8018 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
8019
53103997
JB
80202007-01-04 Joel Brobecker <brobecker@adacore.com>
8021
8022 * hpread.c (hpread_type_lookup): Fix compilation failure.
8023
27fd2f50
Q
80242007-01-04 Qinwei <qinwei@sunnorth.com.cn>
8025
8026 * NEWS: New port to S+core.
8027 * MAINTAINERS (Write After Approval, Responsible Maintainers):
8028 Add myself.
8029
8030 * Makefile.in: Add dependencies for S+core files.
8031 * configure.tgt (score*, score-*-*): Add S+core target.
8032 * config/score/embed.mt: New file.
8033 * score-tdep.c: New file.
8034 * score-tdep.h: New file.
8035
a6cfbe68
JB
80362007-01-04 Joel Brobecker <brobecker@adacore.com>
8037
8038 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
8039 the appropriate type rather than a bogus void type.
8040
67cf15b7 80412007-01-04 Joel Brobecker <brobecker@adacore.com>
f7f9143b
JB
8042
8043 * ada-lang.h (ada_find_printable_frame): Remove.
8044 (ada_exception_catchpoint_p, ada_decode_exception_location)
8045 (ada_decode_assert_location): Add declaration.
8046 * ada-lang.c: Add include of annotate.h and valprint.h.
8047 (exception_catchpoint_kind): New enum.
8048 (function_name_from_pc, is_known_support_routine)
8049 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
8050 (ada_exception_name_addr_1, ada_exception_name_addr)
8051 (print_it_exception, print_one_exception, print_mention_exception)
8052 (print_it_catch_exception, print_one_catch_exception)
8053 (print_mention_catch_exception, catch_exception_breakpoint_ops)
8054 (print_it_catch_exception_unhandled)
8055 (print_one_catch_exception_unhandled)
8056 (print_mention_catch_exception_unhandled, print_it_catch_assert)
8057 (print_one_catch_assert, print_mention_catch_assert)
8058 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
8059 (ada_get_next_arg, catch_ada_exception_command_split)
8060 (ada_exception_sym_name, ada_exception_sym_name)
8061 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
8062 (ada_parse_catchpoint_condition, ada_exception_sal)
8063 (ada_decode_exception_location)
8064 (ada_decode_assert_location): New function.
8065 (catch_exception_unhandled_breakpoint_ops): New global variable.
8066 (catch_assert_breakpoint_ops): New global variable.
8067 * breakpoint.c: Add include of ada-lang.h.
8068 (print_one_breakpoint): Do not print the condition for Ada
8069 exception catchpoints.
8070 (create_ada_exception_breakpoint): New function.
8071 (catch_ada_exception_command, catch_assert_command): New function.
8072 (catch_command_1): Add support for the new "catch exception" and
8073 "catch assert" commands.
8074 (_initialize_breakpoint): Add help description for the new catch
8075 commands.
8076 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
8077 valprint.h.
8078 (breakpoint.o): Add dependency on ada-lang.h.
8079
05cfdb42
DJ
80802007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8081
8082 * coffread.c (cs_to_section): If bfd_section is found, always
8083 return its section index.
8084 (coff_symtab_read): Determine the minimal_symbol_type using the
8085 bfd_section flags.
8086
2e03ee74
DJ
80872007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8088 Daniel Jacobowitz <dan@codesourcery.com>
8089
8090 * Makefile.in (top.o): Update.
8091 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
8092 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
8093 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
8094 New.
8095 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
8096
1c63d086
MK
80972007-01-03 Mark Kettenis <kettenis@gnu.org>
8098
8099 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
8100 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
8101
d5d6fca5
DJ
81022007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8103
8104 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
8105 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
8106 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
8107 greater than or equal to zero.
8108 * m2-typeprint.c (m2_array): Likewise.
8109 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
8110 * gdbtypes.c (copy_type_recursive): Correct == typo.
8111 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
8112 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
8113 greater than zero.
8114 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
8115 (default_macro_scope): Remove unused variable.
8116 * prologue-value.h (pv_area_find_reg): Don't name an argument
8117 "register".
8118 * remote-fileio.c (remote_fio_func_map): Add missing braces.
8119 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
8120 type.
8121 (cleanup_sigint_signal_handler): Remove casts.
8122 * valprint.c (val_print): Use a volatile local for the modified
8123 argument.
8124 * varobj.c (languages): Remove extra array dimension.
8125 (varobj_create): Correct access to languages array.
8126 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
8127 missing braces.
8128 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
8129 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
8130 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
8131 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
8132 (mi_cmd_data_write_memory): Likewise.
8133 * signals/signals.c (target_signal_to_string): Cast to int before
8134 comparing.
8135 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
8136 Update all callers.
8137
0d5de010
DJ
81382007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8139
8140 * NEWS: Mention pointer to member improvements.
8141 * Makefile.in (gnu-v3-abi.o): Delete special rule.
8142 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
8143 * ada-valprint.c (ada_print_scalar): Update for new type codes.
8144 * c-typeprint.c (c_print_type): Update for new type codes.
8145 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
8146 (c_type_print_base): Likewise.
8147 (c_type_print_args): Rewrite.
8148 * c-valprint.c (c_val_print): Update for new type codes. Remove
8149 support for references to members. Treat methods like functions.
8150 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
8151 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
8152 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
8153 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
8154 (struct cp_abi_ops): Add corresponding members.
8155 * cp-valprint.c (cp_print_class_method): Delete.
8156 (cp_find_class_member): New function.
8157 (cp_print_class_member): Use it. Simplify support for bogus
8158 member pointers.
8159 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
8160 lookup_methodptr_type.
8161 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
8162 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
8163 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
8164 pointer support.
8165 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
8166 references returned by user defined operators.
8167 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
8168 (f_type_print_varspec_suffix): Remove support for member pointers.
8169 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
8170 and adjusted.
8171 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
8172 (lookup_methodptr_type): New.
8173 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
8174 (recursive_dump_type): Update for new types.
8175 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
8176 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
8177 (lookup_memberptr_type, lookup_methodptr_type)
8178 (smash_to_memberptr_type): New prototypes.
8179 (smash_to_method_type): Formatting fix.
8180 (lookup_member_type, smash_to_member_type): Delete prototypes.
8181 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
8182 Do not rely on debug information for the vptr or the method's
8183 enclosing type. Handle function descriptors for IA64.
8184 (gnuv3_virtual_fn_field): Rewrite using the new functions.
8185 (gnuv3_find_method_in, gnuv3_print_method_ptr)
8186 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
8187 (gnuv3_method_ptr_to_value): New.
8188 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
8189 * hpread.c (hpread_type_lookup): Update for new types.
8190 * infcall.c (value_arg_coerce): Likewise.
8191 * m2-typeprint.c (m2_print_type): Remove explicit support
8192 for member pointers.
8193 * m2-valprint.c (m2_val_print): Likewise.
8194 * p-typeprint.c (pascal_type_print_varspec_prefix)
8195 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
8196 * p-valprint.c (pascal_val_print): Likewise.
8197 (pascal_object_print_class_method, pascal_object_print_class_member):
8198 Delete.
8199 * p-lang.h (pascal_object_print_class_method)
8200 (pascal_object_print_class_member): Delete prototypes.
8201 * stabsread.c (read_type): Update for new types.
8202 * typeprint.c (print_type_scalar): Likewise.
8203 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
8204 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
8205 argument. Construct a pointer to member if the address of a
8206 function or data member is requested.
8207 (value_cast_pointers): Don't modify the input value.
8208 (value_cast): Adjust pointer to member handling for new types.
8209 Allow null pointer to member constants. Don't modify the input
8210 value.
8211 (value_ind): Remove pointer to member check. Handle function
8212 descriptors for function pointers.
8213 (value_struct_elt, value_find_oload_method_list, check_field):
8214 Remove pointer to member checks.
8215 * value.c (unpack_long): Allow pointers to data members.
8216 (value_from_longest): Allow member pointers.
8217 * value.h (value_aggregate_elt): Add want_address.
8218 * varobj.c (c_variable_editable): Remove check for members.
8219 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
8220 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
8221 in virtual tables.
8222 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
8223 * c-lang.h (cp_print_class_method): Delete prototype.
8224 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
8225 * mips-tdep.c (mips_gdbarch_init): Likewise.
8226 * gdbarch.c, gdbarch.h: Regenerated.
8227
d217aaed
MK
82282007-01-01 Mark Kettenis <kettenis@gnu.org>
8229
8230 * rs6000-tdep.c (rs6000_use_struct_convention)
8231 (rs6000_extract_return_value, rs6000_store_return_value)
8232 (rs6000_extract_struct_value_address): Remove.
8233 (rs6000_return_value): New function.
8234 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
8235 store_return_value, deprecated_extract_struct_value_address and
8236 deprecated_use_struct_convention. Use rs6000_return_value
8237 instead.
8238
02296b29
NR
82392007-01-02 Nick Roberts <nickrob@snap.net.nz>
8240
8241 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
8242 -display-disable, -display-enable, -display-insert and
8243 -display-list.
8244
b69733ab 82452007-01-01 Joel Brobecker <brobecker@adacore.com>
ce186b30
JB
8246
8247 * breakpoint.c (remove_breakpoint): Remove dead code.
8248
82492007-01-01 Nick Roberts <nickrob@snap.net.nz>
ab9245ed
NR
8250
8251 * varobj.c: Include block.h.
8252 (c_value_of_root): Check scope within nested statements.
8253
9f3a1602
MK
82542007-01-01 Mark Kettenis <kettenis@gnu.org>
8255
8256 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
8257 regcache_cooked_write_signed instead of
8258 deprecated_write_register_bytes.
8259
12349ccd
JB
82602007-01-01 Joel Brobecker <brobecker@adacore.com>
8261
8262 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
8263
8c48ebcf
JB
82642007-01-01 Joel Brobecker <brobecker@adacore.com>
8265
8266 Followed the Start of New Year Procedure:
8267 * ChangeLog-2006: New file, containing all the entries for 2006.
8268 * ChangeLog: Removed all 2006 entries, and changed the reference
8269 to the previous ChangeLog to point to ChangeLog 2006.
8270 * top.c (print_gdb_version): Update copyright year.
8271
154927ff
MK
82722007-01-01 Mark Kettenis <kettenis@gnu.org>
8273
8274 * Makefile.in (remote-sds.o): Remove.
8275 * remote-sds.c: Delete.
8276
8c48ebcf 8277For older changes see ChangeLog-2006.
c906108c
SS
8278\f
8279Local Variables:
8280mode: change-log
8281left-margin: 8
8282fill-column: 74
8283version-control: never
57da7796 8284coding: utf-8
c906108c 8285End: