gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ab5c9f60
DJ
12006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
2
3 * eval.c (evaluate_subexp_for_address): Don't incorrectly discard
4 calls to C++ operator*.
5
725a826f
DJ
62006-07-24 Roger Sayle <roger@eyesopen.com>
7 Daniel Jacobowitz <dan@codesourcery.com>
8
9 * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char.
10 (gdb_int64_bytes): Likewise.
11 (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes
12 as first argument to extract_unsigned_integer to silence compiler
13 warnings.
14
72dca2f5
FR
152006-07-24 Frederic Riss <frederic.riss@st.com>
16
17 * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero
18 field.
19 (dwarf2_locate_sections): Initialize
20 dwarf2_per_objfile->has_section_at_zero.
21 (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero
22 instead of HAS_RELOC test.
23 (read_partial_die): Ditto.
24
4c42eaff
DJ
252006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
26
27 * corefile.c (reopen_exec_file): Only check for an open exec file.
28 Use exec_file_attach.
29 * exec.c (exec_open): Make static.
30 (exec_file_command): Don't use target_preopen. Query directly about
31 changing the file.
32 * gdbcore.h (exec_open): Remove prototype.
33
342006-07-24 Frederic Riss <frederic.riss@st.com>
b05e64e5
FR
35
36 * regcache.c (struct regcache): Make register_valid_p a signed char
37 array.
38
3f64f7b1
DJ
392006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com>
40 Daniel Jacobowitz <dan@codesourcery.com>
41
42 * linux-thread-db.c (thread_db_wait): Remove libthread_db
43 after exec events.
44
6aec2e11
DJ
452006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
46
47 * NEWS: Mention Windows cross debugging support.
48
83eba059
DJ
492006-07-23 Daniel Jacobowitz <dan@codesourcery.com>
50
51 * linux-nat.c (linux_nat_add_target): Remove extern.
52 * linux-nat.h (thread_db_init): New prototype.
53
b80864fb
DJ
542006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
55
56 * configure.tgt: Build gdbserver for Cygwin and mingw32.
57
66a79c16
DJ
582006-07-22 Daniel Jacobowitz <dan@codesourcery.com>
59
60 * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete.
61 * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h.
62 * config/i386/tm-cygwin.h: Delete file.
63
fc5261f2
MK
642006-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
65
66 * infrun.c (handle_inferior_event): Typo.
67
16026cd7
AS
682006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
69
70 * cli/cli-cmds.c (source_verbose, trace_commands): New variables.
71 (source_script): New function.
72 (source_verbose_cleanup): New function.
73 (source_command): Move old contents to source_script.
74 Make function static. Parse -v option and call source_script.
75 (init_cli_cmds): Update source command help.
76 Add 'set trace-commands' command.
77 * cli/cli-script.c (command_next_depth): New static variable.
78 (suppress_next_print_command_trace): New static variable.
79 (reset_command_nest_depth): New function.
80 (print_command_trace): New function.
81 (execute_control_command): Split the continue_control and break_control
82 cases, add calls to print_command_trace and count the nest depth.
83 (while_command): Set suppress_next_print_command_trace.
84 (if_command): Likewise.
85 * top.c (execute_command): Call print_command_trace.
86 * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables.
87 (source_command): Change to source_script.
88 * main.c (captued_main): Use source_script instead of source_command.
89 * top.h (source_command): Change to source_script.
90 * event-top.c (display_gdb_prompt): Call reset_command_nest_depth.
91 * cli/cli-script.h (print_command_trace): Export.
92 (reset_command_nest_depth): Likewise.
93
16963cb6
DJ
942006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
95
96 * eval.c (evaluate_struct_tuple): Skip static fields.
97
6b26d61a
MK
982006-07-19 Mark Kettenis <kettenis@gnu.org>
99
6ea0ec3f
MK
100 * alphaobsd-tdep.c: Include "obsd-tdep.h".
101 (alphaobsd_init_abi): Set skip_solib_resolver.
102 * Makefile.in (alphaobsd-tdep.o): Update dependencies.
103 * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o.
104
6b26d61a
MK
105 * arm-tdep.c (arm_gdbarch_init): Get default floating-point model
106 from ELF flags for binaries produced by the GNU toolchain.
107
86cc68a8
NS
1082006-07-18 Nathan Sidwell <nathan@codesourcery.com>
109
110 * remote-fileio.c (remote_fileio_func_rename): Reorder to process
111 input buffer before reading memory.
112 (remote_fileio_func_stat): Likewise.
113
29e8a844
DJ
1142006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
115
116 * blockframe.c (find_pc_partial_function): Use the minimal symbol
117 size to control the cache entry, if available.
118 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal
119 symbols with zero and non-zero sizes differently.
120
28b17333
DJ
1212006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
122
123 * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p)
124 (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info)
125 (thread_db_fetch_registers, thread_db_store_registers)
126 (thread_db_thread_alive, thread_db_state_str): Delete.
127 (thread_db_load): Don't look up regset functions.
128 (thread_db_pid_to_str): Simplify.
129 (thread_db_extra_thread_info): New.
130 (init_thread_db_ops): Do not set to_fetch_registers,
131 to_store_registers, or to_thread_alive. Set to_extra_thread_info.
132 * Makefile.in: Remove linux-thread-db.o rule.
133
e3ac4a1e
MK
1342006-07-18 Mark Kettenis <kettenis@gnu.org>
135
136 * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h".
137 (armobsd_sigframe_init): New function.
138 (armobsd_sigframe): New variable.
139 (armobsd_init_abi): Prepend armobsd_sigframe unwinder.
140 * Makefile.in (armobsd-tdep.o): Update dependencies.
141
08ae6d95
DJ
1422006-07-18 Denis PILAT <denis.pilat@st.com>
143
144 * monitor.c: Remove unused prototypes.
145
6962ad99
VP
1462006-07-18 Vladimir Prus <vladimir@codesourcery.com>
147
148 * target.c (tcomplain): Mark with ATTR_NORETURN.
149
0152ebd7
VP
150 * defs.h (print_transfer_performance): Improve comments.
151
aa88762a
MK
1522006-07-17 Mark Kettenis <kettenis@gnu.org>
153
675dcf4f
MK
154 * printcmd.c: Coding style fixes: add missing spaces in comments
155 and wrapping long lines.
156 (delete_display, enable_display_command, disable_display_command)
157 (printf_command, display_info, undisplay_command, free_display)
158 (display_command, x_command, address_info, set_command)
159 (inspect_command, call_command, print_command, print_command_1)
160 (validate_format, print_formatted, decode_format, sym_format):
161 Remove prototypes.
162 (x_command): Make static.
163 (printf_command): Convert error into internal consistency check.
164 (address_info): Avoid assignment within function call.
165 (printf_command): Avoid redundant cast.
166 * tracepoint.c (x_command): Remove extern prototype.
167
aa88762a
MK
168 * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver.
169 * Makefile.in (armobsd-tdep.o): Update dependencies.
170 * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o.
171
1cd566a4
MK
1722006-07-16 Mark Kettenis <kettenis@gnu.org>
173
a58dc200
MK
174 * armobsd-tdep.c: New file.
175 * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c.
176 (armobsd-tdep.o): New dependency.
177 * config/arm/obsd.mt: New file.
178 * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd.
179
d7b7af6f 180 * gdbarch.sh (deprecated_saved_pc_after_call): Delete.
a4bc5cf9 181 * gdbarch.h, gdbarch.c: Re-generate.
d7b7af6f 182
1cd566a4
MK
183 * arm-tdep.c (arm_saved_pc_after_call): Delete.
184 (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call.
185
96ffcb62
AS
1862006-07-16 Alfred M. Szmidt <ams@gnu.org>
187
188 * gnu-nat.c: Undefine _process_user_ before including
189 <hurd/process_request.h>.
190 (gnu_resume): Supply missing argument to error().
191 (gnu_read_inferior): Add extra parenthesis around arithmetic
192 expression to silence warnings from GCC.
193 (gnu_write_inferior): Likewise.
194 (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'.
195
424f3115
MK
1962006-07-16 Mark Kettenis <kettenis@gnu.org>
197
198 * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use
199 svr4_ilp_fetch_link_map_offsets.
200
a4ab4a25
MK
2012006-07-15 Mark Kettenis <kettenis@gnu.org>
202
203 * armnbsd-tdep.c: Don't include "nbsd-tdep.h".
204 * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
205 (DEPRECATED_TM_FILE): Remove.
206 * Makefile.in (armnbsd-tdep.o): Update dependencies.
207
cd24f626
JB
2082006-07-14 Joel Brobecker <brobecker@adacore.com>
209
210 * PROBLEMS: Document threads/2137.
211
06d65a1d
MK
2122006-07-13 Mark Kettenis <kettenis@gnu.org>
213
214 * config/alpha/tm-nbsd.h: Remove file.
215 * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove.
216
4844f454
CV
2172006-07-13 Corinna Vinschen <vinschen@redhat.com>
218
219 * mips-tdep.c (mips_integer_to_address): Simplify be calling
220 extract_signed_integer directly. Fix comment.
221
7830cb4f
CV
2222006-07-13 Corinna Vinschen <vinschen@redhat.com>
223
224 * m32c-tdep.c (m32c_banked_register): New function.
225 (m32c_banked_read): Use m32c_banked_register function to evaluate
226 real register number.
227 (m32c_banked_write): Ditto.
228 (m32c_virtual_frame_pointer): New function.
229 (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
230
9bb47d95
NS
2312006-07-13 Nathan Sidwell <nathan@codesourcery.com>
232
233 * m68k-tdep.c (m68k_frame_align): New.
234 (m68k_gdbarch_init): Set frame_align here.
235
9af2a054
AS
2362006-07-13 Denis PILAT <denis.pilat@st.com>
237
238 * interps.c (interpreter_completer): Allocate one more item to the
239 'matches' list and set them all to 0 with a xcalloc.
240
79ee37bc
NR
2412006-07-13 Nick Roberts <nickrob@snap.net.nz>
242
243 * annotate.c (annotate_frame_begin): Re-instate frame-begin
244 annotation for level 3 annotations.
245
fb933624
DJ
2462006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
247 Daniel Jacobowitz <dan@codesourcery.com>
248
249 * infcall.c (value_arg_coerce): Use value_cast_pointers for
250 references. Avoid value_cast to a reference type. Don't silently
251 convert pointers to references.
252 * valops.c (value_cast_pointers): New, based on value_cast.
253 (value_cast): Use it. Reject reference types.
254 (value_ref): New.
255 (typecmp): Use it.
256 * value.h (value_cast_pointers, value_ref): New prototypes.
257
d49c44d5
DJ
2582006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
259
260 * remote.c (unpack_varlen_hex): Correct type of retval.
261 Reported by Zhigang Gong <zhigang.gong@gmail.com>.
262
99bcc461
DJ
2632006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
264
265 * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
266 or missing location list information. Suggested by Jan
267 Kratochvil <lace@jankratochvil.net>.
268
cb587d83
DJ
2692006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
270
271 * Makefile.in (arm_linux_tdep_h): New variable.
272 (arm-linux-nat.o, arm-linux-tdep.o): Update.
273 * arm-linux-nat.c: Include "arm-linux-tdep.h".
274 (typeNone, typeSingle, typeDouble, typeExtended)
275 (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
276 (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
277 (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
278 (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
279 Delete.
280 (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
281 Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
282 and collect_nwfpe_register.
283 (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
284 new regset functions.
285 * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
286 (arm_apcs_32): New declaration.
287 (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
288 (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
289 (typeExtended, supply_nwfpe_register, collect_nwfpe_register)
290 (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
291 (arm_linux_regset_from_core_section): New.
292 (arm_linux_init_abi): Register arm_linux_regset_from_core_section.
293 * arm-linux-tdep.h: New file.
294 * arm-tdep.h (struct regset): Declare.
295 (struct gdbarch_tdep): Add gregset, fpregset members.
296 * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
297 core-regset.o.
298 * config/arm/linux.mt (TDEPFILES): Add corelow.o.
299
8802d8ed
DJ
3002006-07-12 Jan Kratochvil <lace@jankratochvil.net>
301
302 * infrun.c (handle_inferior_event): Fixed typos in printf.
303
6765f3e5
DJ
3042006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
305 Nathan Sidwell <nathan@codesourcery.com>
306
307 * remote.c (REMOTE_ALIGN_WRITES): New.
308 (remote_write_bytes): Align large write packets. Remove unused
309 payload_start variable.
310
0876f84a
DJ
3112006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
312
313 * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
314 (remote_supported_packet): Remove #if 0.
315 (remote_protocol_features): Add qPart:auxv:read.
316 (remote_unescape_input): New function.
317 (readchar): Don't mask off the high bit.
318 (read_frame): Use fputstrn_filtered for packet data.
319 (getpkt_sane): Return the number of bytes read or -1. Use
320 fputstrn_unfiltered.
321 (remote_read_qxfer): New.
322 (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
323 (_initialize_remote): Update packet registration.
324 * defs.h (fputstrn_filtered): New prototype.
325 * utils.c (fputstrn_filtered): New.
326 * NEWS: Mention qXfer.
327
13547ab6
DJ
3282006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
329
330 * target.c (target_read): Stop if target_read_partial returns 0
331 when some bytes have already been read.
332 (target_write): Likewise for target_write_partial.
333 (target_read_partial, target_write_partial): Make static.
334 (target_read_alloc): New.
335 * target.h: Doc fixes.
336 (target_read_partial, target_write_partial): Delete prototypes.
337 (target_read_alloc): New prototype.
338
339 * auxv.c (target_auxv_read): Delete.
340 (target_auxv_search, fprint_target_auxv): Use target_read_alloc.
341 * auxv.h (target_auxv_read): Delete prototype.
342 * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
343 * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
344 * linux-nat.c (linux_nat_make_corefile_notes): Likewise.
345 * procfs.c (procfs_make_note_section): Likewise.
346 * remote.c (remote_xfer_partial): Don't loop here.
347 * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
348
edfb1a26
DJ
3492006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
350
351 * arm-linux-tdep.c: Doc fixes.
352 (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
353 (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
354 (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
355 constants.
356 (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
357 the new signal frame layouts.
358
6e2c7fa1
DJ
3592006-07-12 Mike Frysinger <vapier@gentoo.org>:
360 Daniel Jacobowitz <dan@codesourcery.com>
361
362 * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
363 * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
364 * gdbarch.sh: Correct comment.
365
e0f2823e
DJ
3662006-07-12 Daniel Jacobowitz <dan@codesourcery.com>
367
368 * MAINTAINERS: Add Alfred Szmidt for the Hurd.
369
24c41760
MK
3702006-07-11 Mark Kettenis <kettenis@gnu.org>
371
372 * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
373
8a112c90
MK
3742006-07-10 Mark Kettenis <kettenis@gnu.org>
375
376 * alphaobsd-tdep.c: New file.
377 * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
378 handler for GDB_OSABI_OPENBSD_ELF.
379 * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
380 (alphaobsd-tdep.o): New target.
381 * config/alpha/obsd.mt: New file.
382 * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
383
9823e921
RH
3842006-07-10 Richard Henderson <rth@redhat.com>
385
386 * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
387 * alpha-tdep.c (alpha_register_byte): Remove.
388 (alpha_extract_struct_value_address): Remove.
389 (alpha_return_value): New.
390 (alpha_return_in_memory_always): New.
391 (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call
392 set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value
393 instead of set_gdbarch_deprecated_use_struct_convention,
394 set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
395 or set_gdbarch_deprecated_extract_struct_value_address.
396 * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
397 alphafbsd_use_struct_convention, remove gcc_p argument.
398 (alphafbsd_init_abi): Set tdep->return_in_memory instead of
399 set_gdbarch_deprecated_use_struct_convention.
400
789f3b5f
MK
4012006-07-09 Mark Kettenis <kettenis@gnu.org>
402
b0ca8573
MK
403 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
404 prototype.
405 * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
406 a.out-style core file format here. Make global.
407 (alphanbsd_regset_from_core_section): Remove.
408 (alphanbsd_sigtramp_offset): Make static.
409 (alphanbsd_aout_init_abi): Remove.
410 (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
411 a.out style core files.
412 (_initialize_alphanbsd_tdep): Do not register a handler for
413 GDB_OSABI_NETBSD_AOUT.
414
3beabdb2 415 * alphabsd-tdep.h: Tweak comments.
3b03cc43 416 (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
3beabdb2
MK
417 * alphanbsd-tdep.c: Reorder includes. Include "regset.h".
418 (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
419 (alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
420 (alphanbsd_aout_supply_gregset): New functions.
421 (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
422 New variables.
423 (alphanbsd_regset_from_core_section)
424 (alphanbsd_aout_regset_from_core_section): New functions.
425 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
426 (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
427 (alphanbsd_init_abi): Set regset_from_core_section.
428 (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
429 functions.
430 (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
431 Use alphanbsd_aout_init_abi whre appropriate. Don't call
432 deprecated_add_core_fns.
433 * Makefile.in (alphanbsd-tdep.o): Update dependencies.
434
8fe7c54b
MK
435 * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
436 (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
437
789f3b5f
MK
438 * alphanbsd-tdep.c (alphanbsd_init_abi): Use
439 svr4_lp64_fetch_link_map_offsets instead of
440 nbsd_lp64_solib_svr4_fetch_link_map_offsets.
441
09153d55
AS
4422006-07-06 Andrew Stubbs <andrew.stubbs@st.com>
443
444 * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
445 write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
446 write_exp_elt_intern): Zero initialize tmp.
447
2ec3381a
DJ
4482006-07-05 Daniel Jacobowitz <dan@codesourcery.com>
449
450 * remote.c (remote_xfer_partial): Remove KOD support.
451 * target.h (enum target_object): Remove TARGET_OBJECT_KOD.
452 * MAINTAINERS: Move Kernel Object Display entry to past maintainers.
071d802b
MK
453 * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o):
454 Remove KOD support.
2ec3381a
DJ
455 * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
456 * NEWS: Mention KOD.
457 * kod.h, kod.c, kod-cisco.c: Delete files.
458
7fca722e
DJ
4592006-07-04 Daniel Jacobowitz <dan@codesourcery.com>
460
461 * remote.c (init_remote_state): Use xrealloc instead of xmalloc.
462
4a35b02a
NW
4632006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
464
465 * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
466 write_files is set.
467
a6f0780a
EZ
4682006-06-24 Eli Zaretskii <eliz@gnu.org>
469
470 * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
471
e4c16157
DJ
4722006-06-23 Daniel Jacobowitz <dan@codesourcery.com>
473
474 * arm-tdep.c (arm_register_type): Use unsigned types for registers.
475 Add special types for sp and pc.
476 * Makefile.in (arm-tdep.o): Update.
477
a31ea83d
DJ
4782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
479
480 * remote.c (remote_escape_output): New function.
481 (remote_write_bytes): Use remote_escape_output.
482
be2a5f71
DJ
4832006-06-21 Daniel Jacobowitz <dan@codesourcery.com>
484
485 * NEWS: Mention qSupported.
486 * remote.c (struct remote_state): Add explicit_packet_size.
487 (get_remote_packet_size): Check explicit_packet_size.
488 (get_memory_packet_size): Likewise.
489 (PACKET_qSupported): New enum value.
490 (struct protocol_feature, remote_supported_packet)
491 (remote_packet_size, remote_protocol_features)
492 (remote_query_supported): New.
493 (remote_open_1): Reset explicit_packet_size. Call
494 remote_query_supported.
495 (_initialize_remote): Register qSupported.
496
42b575e5
AS
4972006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
498
499 * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
500
9ae03986
JB
5012006-06-20 Joel Brobecker <brobecker@adacore.com>
502
503 * GDB 6.5 released from GDB 6.5 branch.
504
8b07f6d8
MS
5052006-06-19 Michael Snyder <msnyder@redhat.com>
506
507 * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
508 decide how many registers it takes to pass a floating point
509 argument, what matters is the size of a floating point register
510 (not the size of a general purpose register).
511 (mips_o32_push_dummy_call): Ditto.
512
ec5a4d75
KI
5132006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
514
515 * configure.tgt: Add gdbserver support for m32r-linux.
516
8d3239d5
MK
5172006-06-18 Mark Kettenis <kettenis@gnu.org>
518
519 * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
520
14e60db5
DJ
5212006-06-15 Daniel Jacobowitz <dan@codesourcery.com>
522
523 * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
524 based on insert_step_resume_breakpoint_at_frame.
525 (handle_inferior_event): Update comments. Use
526 insert_step_resume_breakpoint_at_caller.
527 (insert_step_resume_breakpoint_at_frame): Revise comments.
528
81a17f79
JB
5292006-06-14 Daniel Jacobowitz <dan@codesourcery.com>
530
531 * dwarf2read.c (read_unspecified_type): New function.
532 (read_type_die): Handle DW_TAG_unspecified_type.
533 (Committed by Julian Brown.)
534
6490cafe
DJ
5352006-06-13 Daniel Jacobowitz <dan@codesourcery.com>
536
537 * symfile.c (load_command): Check for a changed executable before
538 "load".
539
22e47e37
FF
5402006-06-13 Fred Fish <fnf@specifix.com>
541
542 * mips-tdep.c (mips_find_long_section): New function.
543 (mips_gdbarch_init): Use it to set long and pointer sizes.
544
5600ea19
NS
5452006-06-13 Nathan Sidwell <nathan@codesourcery.com>
546
547 * remote-file.io.c (remote_fileio_func_system): Treat zero length
548 string as NULL. Adjust for NULL pointer argument.
549 * doc/gdb.texinfo (system): Document behaviour with zero length
550 string.
551
bb572ddd
DJ
5522006-06-12 Daniel Jacobowitz <dan@codesourcery.com>
553
554 * remote.c (set_remote_protocol_packet_cmd)
555 (show_remote_protocol_packet_cmd): New prototypes.
556 (remote_set_cmdlist, remote_show_cmdlist): Move higher.
557 (struct packet_config): Make name and title const.
558 (add_packet_config_cmd): Remove unnecessary arguments.
559 (_initialize_remote): Update calls.
560
98739726
DJ
5612006-06-10 Daniel Jacobowitz <dan@codesourcery.com>
562
563 * mingw-hdep.c (gdb_select): Always check for NULL fd sets
564 before calling FD_ISSET. Correct check for exceptfds which
565 previously tested writefds.
566
2b949cb6
JB
5672006-06-09 Daniel Jacobowitz <dan@codesourcery.com>
568 Julian Brown <julian@codesourcery.com>
569
4a9d57ab 570 * dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
2b949cb6 571
5b031165
JB
5722006-06-09 Julian Brown <julian@codesourcery.com>
573
574 * MAINTAINERS (Write After Approval): Add myself.
575
b2d6f210
MS
5762006-06-08 Michael Snyder <msnyder@redhat.com>
577
578 * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
579
1dd41f16
NS
5802006-06-08 Nathan Sidwell <nathan@codesourcery.com>
581
6dd0fba6
NS
582 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
583 (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
584 conversion. Use M68K_NUM_REGS for number of regs.
585
ad9a8f3f
NS
586 * remote-fileio.c (remote_fileio_reset): New.
587 * remote-fileio.h (remote_fileio_reset): Prototype.
588 * remote.c (extended_remote_restart, remote_open_1): Call it.
589
590 * remote.c (remote_open_1): Do preopen tasks before
1dd41f16
NS
591 irreversably destroying state.
592
ea9c271d
DJ
5932006-06-08 Daniel Jacobowitz <dan@codesourcery.com>
594
719abd53 595 * remote.c (struct remote_state): New type, only containing
ea9c271d
DJ
596 buf and buf_size.
597 (remote_state): New variable.
598 (get_remote_state): New function.
599 (struct remote_arch_state): Renamed from struct remote_state.
600 Removed buf and buf_size.
601 (get_remote_arch_state): Renamed from get_remote_state. All
602 necessary callers updated to call this function.
603 (init_remote_state): Initialize the architecture-specific state.
604 Update the target-specific state if necessary.
605 (get_remote_packet_size): New function. All previous references
606 changed to use this accessor function.
607 (packet_reg_from_regnum, packet_reg_from_pnum): Take a
608 remote_arch_state instead of a remote_state. All callers changed.
609 (_initialize_remote): Initialize the packet buffer here.
610
5cffb350
NS
6112006-06-06 Nathan Sidwell <nathan@codesourcery.com>
612
ea9c271d 613 * remote.c (remote_insert_watchpoint): Return -1, rather than
5cffb350
NS
614 fatal error if packet is disabled.
615 (remote_remove_watchpoint, remote_insert_hw_breakpoint,
616 remote_remove_hw_breakpoint): Likewise.
617
8a786d82
NR
6182006-06-02 Nick Roberts <nickrob@snap.net.nz>
619
620 * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
621
f49e4e6d
MS
6222006-05-31 Michael Snyder <msnyder@redhat.com>
623
624 * mips-tdep.c: Comment tweaks.
625
20e95c23
DJ
6262006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
627
628 * Makefile.in (top_builddir): Update comments.
629 (INTL_DIR, INTL_SRC): Delete.
630 (INTL, INTL_DEPS, INTL_CFLAGS): Update.
631 * acinclude.m4: Include new gettext macros.
632 * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. Remove copied
633 CATALOGS code.
634 * aclocal.m4, configure: Regenerated.
635
9308fc88
DJ
6362006-05-30 Daniel Jacobowitz <dan@codesourcery.com>
637
638 * Makefile.in (arm-linux-nat.o): Update dependencies.
639 * arm-linux-nat.c: Include "gdb_proc_service.h".
640 (PTRACE_GET_THREAD_AREA): Define.
641 (ps_get_thread_area): New function.
642
46ea248b
AO
6432006-05-28 Alexandre Oliva <aoliva@redhat.com>
644
645 * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
646 DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
647 DWARF2_FRAME_REG_SAVED_VAL_EXP.
648 * dwarf2-frame.c (execute_cfa_program): Handle val_offset,
649 val_offset_sf and val_expression.
650 (dwarf2_frame_prev_register): Handle the new reg rules.
651 (dwarf2_frame_this_id): Use pc instead of function entry point.
652
56c987f6
AO
6532006-05-28 Alexandre Oliva <aoliva@redhat.com>
654
655 * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
656 (dwarf2_frame_sniffer): Use it.
657 (decode_frame_entry_1): Set it according to augmentation "S".
658
5648af48
JB
6592006-05-27 Joel Brobecker <brobecker@adacore.com>
660
661 From Peter Schauer <peterschauer@gmx.net>
662 * m2-typeprint.c (m2_record_fields): Move variable declarations
663 to the begining of the block.
664
03a73f77
MM
6652006-05-23 Mark Mitchell <mark@codesourcery.com>
666
667 * mt-tdep.c (mt_register_name): Correct out-of-range logic to
668 include additional registers.
669
670 * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
671 Iscramb2, Qscramb2, Qchannel2.
672 (mt_register_name): Likewise.
673 (mt_copro_register_type): Describe ZI2 and ZQ2.
674
675 * mt-tdep.c (mt_gdb_regnums): Define
676 MT_COPRO_PSEUDOREG_MAC_REGNUM.
677 (mt_register_name): Use it.
678 (mt_copro_register_type): Likewise.
679 (mt_register_type): Likewise.
680 (mt_pseudo_register_read): Likewise. Read the MAC register, not
681 the coprocessor register.
682 (mt_pseudo_register_write): Likewise.
683
2b3c8945
CF
6842006-05-21 Christopher Faylor <cgf@timesys.com>
685
686 * win32-nat.c (cygwin_exceptions): New variable.
687 (handle_exception): Treat a cygwin exception like a normal exception if
688 cygwin_exceptions is true.
689 (_initialize_win32_nat): Add "set cygwin-exceptions" handler.
690
f79daebb
GM
6912006-05-20 Gaius Mulley <gaius@glam.ac.uk>
692
693 * NEWS: (Improved Modula-2 language support): New section.
694
b4e70030
JB
6952006-05-19 Joel Brobecker <brobecker@adacore.com>
696
697 * configure: Regenerate using proper version of autoconf.
698
a1f5b845
FF
6992006-05-19 Fred Fish <fnf@specifix.com>
700
701 * Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
702 * dwarfread.c: Fix spelling of 'unexpected'.
703 * mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
704 * stack.c: Fix spelling of 'RETURN_VALUE'.
705
82d03102
PG
7062006-05-18 Paul Gilliam <pgilliam@us.ibm.com
707
708 * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
709
f2da6b3a
DJ
7102006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
711
712 * dwarf2-frame.c: Include "value.h".
713 (read_reg): Use unpack_long and register_type.
714 * Makefile.in (dwarf2-frame.o): Update.
715
1f5befc1
DJ
7162006-05-17 Daniel Jacobowitz <dan@codesourcery.com>
717
718 * remote-rdp.c: Deleted.
719 * NEWS: Mention removal of remote-rdp.c.
720
721 * Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
722 (remote-rdp.o): Delete.
723 * README: Remove description of remote-rdp.c.
724 * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
725 * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
726
cd96dfc9
DJ
7272006-05-16 Daniel Jacobowitz <dan@codesourcery.com>
728
729 * ser-e7kpc.c: Include <time.h> if it is available.
730
7312006-05-16 Joel Brobecker <brobecker@adacore.com>
e374b601
JB
732
733 * version.in (version.in): Bump version number to 6.5.50 now
734 that the gdb-6.5 branch has been created.
735 * NEWS: Create a new section for changes that are included
736 since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
737 section.
738
13942a42
JB
7392006-05-16 Jim Blandy <jimb@codesourcery.com>
740
741 * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
742 the Global Maintainers' invitation to be an authorized committer
743 for the Modula-2 support.
744
8599da2d
MK
7452006-05-15 Mark Kettenis <kettenis@gnu.org>
746
747 * ppcobsd-nat.c: Include "gdb_assert.h".
748 [PT_GETFPREGS] (getfpregs_supplies): New function.
749 (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
750 versions that have PT_GETFPREGS.
751 (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
752 ppcobsd_fpreg_offsets.
753 * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
754 Declare.
755 * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
756 variables.
757 (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
758 * Makefile.in (ppcobsd-nat.o): Update dependencies.
759
4e8d927d
DJ
7602006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
761
762 * configure.ac: Use GCC_HEADER_STDINT.
763 * acinclude.m4: Include stdint.m4.
764 * Makefile.in (gdb_stdint_h): Define.
765 (distclean): Remove gdb_stdint.h.
766 (Makefile, stamp-h): Update rules to generate only the correct
767 files.
768 (gdb_stdint.h, stamp-int): New rules.
769 * config.in, configure: Regenerated.
770
19ca80ba
DJ
7712006-05-15 Daniel Jacobowitz <dan@codesourcery.com>
772
773 * valprint.c: Include "exceptions.h".
774 (val_print): If something goes wrong while printing, supply an
775 error message.
776
245c7f48
DJ
7772006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
778
779 * source.c (get_current_source_symtab_and_line)
780 (set_current_source_symtab_and_line): Use { 0 }.
781 * cli/cli-cmds.c (list_command): Likewise.
782
53b33aeb
NR
7832006-05-14 Nick Roberts <nickrob@snap.net.nz>
784
785 * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands.
786 (gdbmi): Use new variable name gdb-pc-address.
787 (gdbmi-frame-handler): Use new variable name gdb-pc-address.
788 Check that a match has been found.
789
d3d3c7e6 7902006-05-13 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 791
d3d3c7e6 792 * m2-lang.h: Added function extern prototypes for
229582b7 793 m2_is_long_set and get_long_set_bounds.
d3d3c7e6
GM
794 * m2-typeprint.c: Complete replacement.
795 (m2_print_type): Walk the Modula-2 type tree.
796 (m2_type_name): New function.
797 (m2_range): New function.
798 (m2_typedef): New function.
799 (m2_array): New function.
800 (m2_pointer): New function.
801 (m2_ref): New function.
802 (m2_unknown): New function.
803 (m2_union): New function.
804 (m2_procedure): New function.
805 (m2_print_bounds): New function.
806 (m2_short_set): New function.
807 (m2_is_long_set): New function.
808 (m2_get_discrete_bounds): New function.
809 (m2_is_long_set_of_type): New function.
810 (m2_long_set): New function.
811 (m2_record_fields): New function.
812 (m2_enum): New function.
1c547afb 813 * dwarf2read.c: Modified.
d3d3c7e6
GM
814 (read_set_type): New function.
815 (process_die): Call read_set_type.
1c547afb 816 (read_base_type): Modifed.
d3d3c7e6 817 (set_cu_language): Added Modula-2 case clause.
1c547afb 818 * m2-valprint.c: Complete replacement.
d3d3c7e6
GM
819 (print_function_pointer_address): New function.
820 (get_long_set_bounds): New function.
821 (m2_print_long_set): New function.
822 (print_unpacked_pointer): New function.
823 (print_variable_at_address): New function.
824 (m2_val_print): Replaced.
825 * gdb/MAINTAINERS (Write After Approval): Added
826 Gaius Mulley <gaius@glam.ac.uk>
72019c9c 827
def18405
MK
8282006-05-12 Mark Kettenis <kettenis@gnu.org>
829
830 * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h>
831 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
832 (ppcnbsd_fill_fpreg): Remove prototypes.
833 (struct regset): Add forward declaration.
834 (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
835 * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h",
836 "regset.h" and "gdb_string.h". Don't include "breakpoint.h",
837 "value.h", target.h and nbsd-tdep.h". Reorder includes.
838 (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
839 (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
840 (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
841 Remove macros.
842 (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
843 (ppcnbsd_fill_fpreg): Remove functions.
844 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
845 (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
846 (ppcnbsd_reg_offsets): New variable.
847 (ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
848 (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
849 introduced in NetBSD 2.0.
850 (ppcnbsd_sigtramp): Provide complete signal trampoline.
851 (ppcnbsd2_sigtramp): New variable.
852 (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
853 svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section.
854 Add ppcnbs2_sigtramp unwinder.
855 (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
856 Initialize ppcnbsd_reg_offsets.
857 * ppcnbsd-nat.c: Update copyright year. Reorder includes.
858 (getregs_supplies): Use regnum instead of regno.
859 (getfpregs_supplies): Likewise.
860 (ppcnbsd_fetch_inferior_registers): Likewise. Call
861 ppc_supply_gregset and ppc_suppply_fpregset instead of
862 ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
863 (ppcnbsd_store_inferior_registers): Likewise. Call
864 ppc_collect_gregset and ppc_collect_fpregset instead of
865 ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
866 (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
867 (_initialize_ppcnbsd_nat): Add some whitespace.
868 * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
869 * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
870 (NAT_FILE): Remove.
871 * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
872
c4c50d37
DJ
8732006-05-11 Alfred M. Szmidt <ams@gnu.org>
874
875 * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
876
576c2025
FF
8772006-05-11 Fred Fish <fnf@specifix.com>
878
879 * symtab.c (skip_prologue_using_sal): Handle single line functions
880 like "foo(){}", which may optimize down to a single return inst.
881
ba906c08
SE
8822006-05-10 Steve Ellcey <sje@cup.hp.com>
883
884 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
885 message.
886
4bf8967c
AS
8872006-05-09 Andreas Schwab <schwab@suse.de>
888
889 * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
890 (execute_cfa_program): Add parameter eh_frame_p. Call
891 dwarf2_frame_eh_frame_regnum when true.
892 (dwarf2_frame_cache): Pass eh_frame_p from fde to
893 execute_cfa_program.
894 (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
895 processing .eh_frame. Copy eh_frame_p to the new fde.
896 (struct dwarf2_frame_ops): Add eh_frame_regnum.
897 (dwarf2_frame_set_eh_frame_regnum): Define.
898 (dwarf2_frame_eh_frame_regnum): Define.
899
900 * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
901 (dwarf2_frame_eh_frame_regnum): Declare.
902
55e969c1
DM
9032006-05-06 David S. Miller <davem@sunset.davemloft.net>
904
905 * linux-nat.c (linux_nat_do_thread_registers): Check for
906 NULL collect_regset method.
907
92f38ec2
UW
9082006-05-06 Ulrich Weigand <uweigand@de.ibm.com>
909
910 * s390-tdep.c (s390_collect_regset): New function.
911 (s390_gregset, s390x_gregset, s390_fpregset): Add it.
912
6fed56b4
NR
9132006-05-06 Nick Roberts <nickrob@snap.net.nz>
914
915 * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a
916 symbol.
917
6fc19103
UW
9182006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
919
920 * linux-nat.c (exit_lwp): Fix NULL pointer access.
921 (linux_nat_handle_extended): New parameter STOPPING.
922 (wait_lwp): Call it with STOPPING equals 1.
923 (linux_nat_wait): Call it with STOPPING equals 0.
924
d539ed7e
UW
9252006-05-05 Ulrich Weigand <uweigand@de.ibm.com>
926
927 * linux-nat.c (linux_nat_wait): Do not short-cut reporting
928 of 'uninteresting' signals when single-stepping.
929
49101e1c
DJ
9302006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
931
932 * MAINTAINERS: Move NEWS to the documentation entry.
933
4f844a66
DM
9342006-05-05 David S. Miller <davem@sunset.davemloft.net>
935
936 * linux-nat.c (linux_nat_do_thread_registers): Use the
937 regset_from_core_section infrastructure if the target
938 supports it.
939 * Makefile.in: Update dependencies.
bcc98f88
DM
940 * linux-thread-db.c (thread_db_store_registers): Use
941 regcache_raw_collect.
4f844a66 942
411cb3f9
PG
9432006-05-05: Paul Gilliam <pgilliam@us.ibm.com>
944
945 * ppc-linux-nat.c: Clean up types for ptrace.
946 Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference
947 between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
948
597320e7
DJ
9492006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
950
951 * remote.c (remote_disconnect): Add TARGET argument.
952 * target.c (debug_to_disconnect): Delete.
953 (update_current_target): Do not inherit to_disconnect.
954 (target_disconnect): Search for a target to implement to_disconnect.
955 (setup_target_debug): Do not reference to_disconnect.
956 * target.h (struct target_ops): Add target argument to
957 to_disconnect.
958
401835eb
FF
9592006-05-06 Fred Fish <fnf@specifix.com>
960
961 * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
962 structs or unions independent of ABI register size.
963
7a076fd2
FF
9642006-05-06 Fred Fish <fnf@specifix.com>
965
966 * mips-tdep.c (mips_o64_return_value): Replace stub that always
967 returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
968
eec01795
DJ
9692006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
970
971 * mi/mi-main.c (captured_mi_execute_command): Check the return
972 value of -interpreter-exec.
973
14b3d9c9
JB
9742006-05-03 Vladimir Prus <ghost@cs.msu.su>
975
411cb3f9
PG
976 * varobj.c (c_value_of_variable): Ignore top-level references.
977 (Committed by Jim Blandy.)
14b3d9c9 978
1893a4c0
MK
9792006-04-30 Mark Kettenis <kettenis@gnu.org>
980
981 * breakpoint.c (insert_single_step_breakpoint): Make a failure to
982 insert a single-step breakpoint an error instead of a warning.
983
21f79b33
NW
9842006-05-01 Nathan J. Williams <nathanw@wasabisystems.com>
985
986 * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
987 arguments from void * to gdb_byte *.
988
b8db102d
MS
9892006-04-26 Michael Snyder <msnyder@redhat.com>
990
991 * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
992 command to "delete fork" (no hyphen), compatible with other
993 "delete" commands.
994 (info_forks_command): Accept a fork ID argument, for info
995 on a single fork. Report if no matching forks.
996
bc0c849e
MK
9972006-04-25 Mark Kettenis <kettenis@gnu.org>
998
1893a4c0
MK
999 * breakpoint.c (remove_single_step_breakpoints): Bail out early if
1000 no breakpoints are inserted.
1001
bc0c849e
MK
1002 From Masaki MURANAKA <monaka@monami-software.com>:
1003 * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
1004 type of last argument to `gdb_byte *'
1005
5f1fb6dc
JB
10062006-04-25 Jim Blandy <jimb@codesourcery.com>
1007
1008 Add support for 'target remote |' on MinGW.
1009 * ser-mingw.c (struct pipe_state): New structure.
1010 (make_pipe_state, free_pipe_state, cleanup_pipe_state)
1011 (pipe_windows_open, pipe_windows_close, pipe_windows_read)
1012 (pipe_windows_write, pipe_wait_handle): New functions.
1013 (_initialize_ser_windows): Register a "pipe" interface based on
1014 them.
1015
c3e2b812
DJ
10162006-04-24 Daniel Jacobowitz <dan@codesourcery.com>
1017
1018 * ser-mingw.c: Include <conio.h>.
1019 (struct ser_console_state, struct net_windows_state): Add exit_select,
1020 have_stopped, thread.
1021 (pipe_select_thread, console_select_thread)
1022 (net_windows_select_thread): Don't create a local state copy or
1023 close stop_select. Exit on exit_select instead of stop_select. Set
1024 have_stopped.
1025 (console_select_thread): Don't report control keypresses as pending
1026 input.
1027 (pipe_select_thread): Allow stop_select to interrupt sleeping.
1028 (set_console_wait_handle): Create exit_select and have_stopped.
1029 Save the thread handle. Check _kbhit before starting a thread.
1030 (ser_console_done_wait_handle): New.
1031 (ser_console_close): Close new handles. Wait for the thread to
1032 exit.
1033 (new_windows_select_thread): Assert that an event occurred.
1034 (net_windows_wait_handle): Check for pending input before starting
1035 a thread.
1036 (net_windows_done_wait_handle): New.
1037 (net_windows_open): Create exit_select and have_stopped.
1038 Save the thread handle.
1039 (net_windows_close): Close new handles. Wait for the thread to
1040 exit.
1041 (_intiialize_ser_windows): Register done_wait_handle methods.
1042
1043 * serial.c [USE_WIN32API] (serial_done_wait_handle): New.
1044 * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
1045 [USE_WIN32API] (serial_done_wait_handle): New prototype.
1046 * mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
1047
b8eb021a
AS
10482006-04-23 Andreas Schwab <schwab@suse.de>
1049
1050 * rs6000-tdep.c: Include "reggroups.h" only once.
1051 * Makefile.in (rs6000-tdep.o): Update dependencies.
1052
4f1520fb
FR
10532006-04-21 Frederic Riss <frederic.riss@st.com>
1054
1055 * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
1056 compilation directory as last argument.
1057 Always pass comp_dir as second argument to start_subfile and prepend
1058 dirname to the filename when necessary.
1059 Remove now superfluous search for pre-existing subfile.
1060 (dwarf_decode_lines): Pass the compilation directory to
1061 dwarf2_start_subfile.
1062
0271fba4
MS
10632006-04-20 Michael Snyder <msnyder@redhat.com>
1064
1065 * 2006-03-22 Jim Blandy <jimb@redhat.com>
1066 Add support for the Renesas M32C and M16C.
1067
1068 * configure.tgt (m32c-*-*): New entry.
1069 * config/m32c/m32c.mt: New file.
1070 * m32c-tdep.c: New file.
1071 * Makefile.in (elf_m32c_h): New variable.
1072 (m32c-tdep.o): New rule.
1073 * NEWS: Mention new target.
1074 * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
1075
cfde0993
MS
10762006-04-20 Michael Snyder <msnyder@redhat.com>
1077
1078 * remote.c: Fix spelling error in comment.
1079
cba5fab9
DJ
10802006-04-20 Daniel Jacobowitz <dan@codesourcery.com>
1081
1082 * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
1083 Correct type of VALUEP. Reported by Jean-Rene Peulve
1084 <jr.peulve@wanadoo.fr>.
1085
cbba9205
KI
10862006-04-19 Masaki Muranaka <monaka@monami-software.com>
1087
1088 * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
1089 netdb.h, netinet/in.h.
1090 (m32r_upload_command); Add calls WSAStartup().
1091 * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
1092 netinet/in.h.
1093
8181d85f
DJ
10942006-04-18 Daniel Jacobowitz <dan@codesourcery.com>
1095
1096 * breakpoint.c (deprecated_read_memory_nobpt): Update to use
1097 shadow_len.
1098 (insert_bp_location, reattach_breakpoints, remove_breakpoint)
1099 (delete_breakpoint): Update calls to changed methods.
1100 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
1101 (single_step_breakpoints, insert_single_step_breakpoint)
1102 (remove_single_step_breakpoints): New.
1103 * breakpoint.h (struct bp_target_info): New.
1104 (struct bp_location): Replace shadow_contents with
1105 target_info and overlay_target_info.
1106 (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
1107 (insert_single_step_breakpoint, remove_single_step_breakpoints): New
1108 prototypes.
1109 * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
1110 (memory_insert_breakpoint, memory_remove_breakpoint): Update second
1111 argument.
1112 * mem-break.c (default_memory_insert_breakpoint): Update. Set
1113 placed_address, placed_size, and shadow_len.
1114 (default_memory_remove_breakpoint): Update. Don't use
1115 BREAKPOINT_FROM_PC.
1116 (memory_insert_breakpoint, memory_remove_breakpoint): Update.
1117 * target.c (update_current_target): Update prototypes for changed
1118 functions.
1119 (debug_to_insert_breakpoint, debug_to_remove_breakpoint)
1120 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
1121 Update.
1122 * target.h: Forward declare struct bp_target_info.
1123 (struct target_ops): Use a bp_target_info argument for
1124 to_insert_breakpoint, to_remove_breakpoint,
1125 to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
1126 (target_insert_breakpoint, target_remove_breakpoint)
1127 (target_insert_hw_breakpoint, target_remove_hw_breakpoint)
1128 (memory_insert_breakpoint, memory_remove_breakpoint)
1129 (default_memory_insert_breakpoint, default_memory_remove_breakpoint):
1130 Update.
1131 * config/i386/nm-i386.h: Forward declare struct bp_target_info.
1132 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
1133 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
1134
1135 * gdbarch.c, gdbarch.h: Regenerated.
1136
1137 * alpha-tdep.c (alpha_software_single_step): Use
1138 insert_single_step_breakpoint and remove_single_step_breakpoints.
1139 Remove unused statics.
1140 * arm-tdep.c (arm_software_single_step): Likewise. Add a note.
1141 * cris-tdep.c (cris_software_single_step): Likewise.
1142 * mips-tdep.c (mips_software_single_step): Likewise.
1143 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
1144 * sparc-tdep.c (sparc_software_single_step): Likewise.
1145 * wince.c (struct thread_info_struct): Remove step_prev.
1146 (undoSStep): Use remove_single_step_breakpoints.
1147 (wince_software_single_step): Use insert_single_step_breakpoint.
1148
1149 * corelow.c (ignore): Remove unneeded prototype. Update arguments.
1150 * exec.c (ignore): Likewise.
1151 * sol-thread.c (ignore): Likewise.
1152
1153 * procfs.c (dbx_link_shadow_contents): Delete.
1154 (dbx_link_bpt): New.
1155 (procfs_mourn_inferior): Remove it if necessary.
1156 (remove_dbx_link_breakpoint): Use it.
1157 (insert_dbx_link_bpt_in_file): Set it.
1158 (procfs_init_inferior): Don't update dbx_link_bpt_addr.
1159 * rs6000-nat.c (exec_one_dummy_insn): Use
1160 deprecated_insert_raw_breakpoint and
1161 deprecated_remove_raw_breakpoint.
1162 * solib-irix.c (shadow_contents, breakpoint_addr): Delete.
1163 (base_breakpoint): New.
1164 (disable_break): Use it.
1165 (enable_break): Set it.
1166
1167 * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
1168 Update.
1169 * ia64-tdep.c (ia64_memory_insert_breakpoint)
1170 (ia64_memory_remove_breakpoint): Likewise.
1171 * m32r-tdep.c (m32r_memory_insert_breakpoint)
1172 (m32r_memory_remove_breakpoint): Likewise.
1173 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
1174 Likewise. Remove unnecessary prototypes. Use placed_address
1175 and placed_size. Removed useless read from memory.
1176 * nto-procfs.c (procfs_insert_breakpoint)
1177 (procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
1178 (procfs_remove_hw_breakpoint): Update.
1179 * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
1180 * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
1181 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1182 * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
1183 * remote-e7000.c (e7000_insert_breakpoint)
1184 (e7000_remove_breakpoint): Likewise.
1185 * remote-m32r-sdi.c (m32r_insert_breakpoint)
1186 (m32r_remove_breakpoint): Likewise.
1187 * remote-mips.c (mips_insert_breakpoint)
1188 (mips_remove_breakpoint): Likewise.
1189 * remote-rdp.c (remote_rdp_insert_breakpoint)
1190 (remote_rdp_remove_breakpoint): Likewise.
1191 (rdp_step): Use deprecated_insert_raw_breakpoint and
1192 deprecated_remove_raw_breakpoint.
1193 * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
1194 Update.
1195 * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
1196 Delete.
1197 (init_gdbsim_ops): Use memory_insert_breakpoint and
1198 memory_remove_breakpoint.
1199 * remote-st.c (st2000_insert_breakpoint)
1200 (st2000_remove_breakpoint): Update. Remove unused
1201 BREAKPOINT_FROM_PC.
1202 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
1203 Update. Use placed_address and placed_size.
1204 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
1205
01d3a6ce
DJ
12062006-04-12 Daniel Jacobowitz <dan@codesourcery.com>
1207
1208 * remote.c (extended_remote_restart): Pass the correct length
1209 to getpkt.
1210
2821caf1
JB
12112006-04-11 Jim Blandy <jimb@codesourcery.com>
1212
1213 * serial.c (serial_open): Check for special cases at the front of
1214 the "device" name before scanning for the ':' that would indicate
1215 an IP-based connection.
1216
02c5aecd
CF
12172006-04-10 Christopher Faylor <cgf@timesys.com>
1218
1219 * win32-nat.c (open_symbol_file_object): New function.
1220 (in_dynsym_resolve_code): Ditto.
1221 (init_win32_ops): Fill in fields which ought not to be NULL.
1222
cb832706
CF
12232006-04-10 Christopher Faylor <cgf@timesys.com>
1224
1225 * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
1226 with saved context if __COPY_CONTEXT_SIZE is not defined.
1227 (handle_output_debug_string): Ditto.
1228
03926e1f
DJ
12292006-04-10 Daniel Jacobowitz <dan@codesourcery.com>
1230
1231 * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
1232
b2a0b9b2
DM
12332006-04-09 David S. Miller <davem@sunset.davemloft.net>
1234
1235 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
1236 frame sniffer.
1237 * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
1238 dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
1239 that the latter can override.
1240 * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
1241
ee1b3323
UW
12422006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
1243
1244 * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
1245 (s390_store): Call pv_area_store to track stack slots.
1246 (s390_load): Call pv_area_fetch to track stack slots.
1247 (s390_check_for_saved): New function.
1248 (s390_analyze_prologue): Call pv_area_scan. Allocate and free stack.
1249
3fc46200
UW
12502006-04-09 Ulrich Weigand <uweigand@de.ibm.com>
1251
1252 * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
1253 * s390-tdep.c: Include "prologue-value.h".
1254 (struct prologue_value): Remove.
1255 (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
1256 pv_constant_last, pv_add, pv_add_constant, pv_subtract,
1257 pv_logical_and, pv_is_identical, pv_is_register): Remove.
1258 (compute_x_addr): Remove, replace by ...
1259 (s390_addr): ... this new function.
1260 (struct s390_prologue_data): Use pv_t instead of prologue_value.
1261 (s390_store, s390_load): Likewise.
1262 (s390_prologue_frame_unwind_cache): Likewise.
1263 (s390_analyze_prologue): Likewise. Also, simplify and combine
1264 several conditional statements.
1265
d750b939
JB
12662006-04-08 Jim Blandy <jimb@codesourcery.com>
1267
1268 * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from
1269 last patch.)
1270
0b4294d3
DM
12712006-04-08 David S. Miller <davem@sunset.davemloft.net>
1272
1273 * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
1274 (sparc32_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
1275 (sparc32_linux_core_gregset,
1276 sparc32_linux_supply_core_gregset,
1277 sparc32_linux_collect_core_gregset,
1278 sparc32_linux_supply_core_fpregset,
1279 sparc32_linux_collect_core_fpregset): New.
1280 (sparc32_linux_init_abi): Register them with generic sparc
1281 core regset infrastructure.
0b4294d3
DM
1282 * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
1283 (sparc64_linux_init_abi): Hook it into tdep->step_trap.
07c5f590
DM
1284 (sparc64_linux_core_gregset,
1285 sparc64_linux_supply_core_gregset,
1286 sparc64_linux_collect_core_gregset,
1287 sparc64_linux_supply_core_fpregset,
1288 sparc64_linux_collect_core_fpregset): New.
1289 (sparc64_linux_init_abi): Register them with generic sparc
1290 core regset infrastructure.
0b4294d3
DM
1291 * Makefile.in: Update dependencies.
1292
9c0dd46b
DM
12932006-04-07 David S. Miller <davem@sunset.davemloft.net>
1294
1295 * linux-nat.c (linux_nat_thread_alive): Handle targets that
1296 do not implement PTRACE_PEEKUSER.
1297
670aa98f
DJ
12982006-04-07 Daniel Jacobowitz <dan@codesourcery.com>
1299
1300 * remote.c (remote_wait): Convert warning to error before
1301 parsing corrupt packets.
1302
e28493f2
AS
13032006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
1304
1305 * cli/cli-script.c (struct user_args): Add command field.
1306 (arg_cleanup): Free command string.
1307 (setup_user_args): Copy the command line before relying on it.
1308
7f198e01
JB
13092006-04-06 Joel Brobecker <brobecker@adacore.com>
1310
1311 * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
1312 of the "delete" command.
1313
c9f7217e
RC
13142006-04-06 Randolph Chung <tausq@debian.org>
1315
1316 * MAINTAINERS (Patch champions): Add myself.
1317
d993720d
AS
13182006-04-05 Andreas Schwab <schwab@suse.de>
1319
1320 * Makefile.in: Update dependencies.
1321
f5a9b87d
DM
13222006-04-05 David S. Miller <davem@sunset.davemloft.net>
1323
1324 * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
1325 (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
1326 * Makefile.in (sparc-tdep.o): Update dependencies.
80f9e3aa
DM
1327 * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
1328 window out of the correct stack frame.
1329 * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
aff37fc1
DM
1330 * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
1331 argument.
1332 (dwarf2_frame_default_init_reg): Likewise.
1333 (dwarf2_frame_set_init_reg): Update init_reg arg.
1334 (dwarf2_frame_init_reg): Take "next_frame" and pass it to
1335 ops->init_reg().
1336 (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
1337 * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
1338 * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
1339 * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
1340 * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
1341 * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
1342 * sparc-tdep.c (sparc32_struct_return_from_sym): New function.
1343 (sparc32_frame_cache): Call it.
1344 (sparc32_dwarf2_struct_return_p): New function.
1345 (sparc_dwarf2_frame_init_reg): Use it to determine if the function
1346 returns a structure and thus we have to indicate the return PC and
1347 NPC are 4 bytes later than usual.
faea95b1
DM
1348 * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
1349 dwarf2 frame sniffer.
1350 * Makefile.in (sparc-linux-tdep.o): Update dependencies.
f5a9b87d 1351
75e192e6
DM
13522006-04-04 David S. Miller <davem@davemloft.net>
1353
1354 * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
1355 * config/linux64.h (NATDEPFILES): Likewise
1356 * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
1357 fill_fpregset): New.
1358 * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
1359 fill_fpregset): New.
0a59b3af
DM
1360 * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
1361 new includes.
1362
dbcd679b
AS
13632006-04-04 Andreas Schwab <schwab@suse.de>
1364
1365 * Makefile.in (elf_common_h): Define.
1366
357d3800
AS
13672006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
1368
1369 * sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
1370 (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
1371
d3c139e9
AS
13722006-03-31 Andrew Stubbs <andrew.stubbs@st.com>
1373
1374 * value.h (struct internalvar): Add field 'endian'.
1375 * value.c (lookup_internalvar): Initialise endian.
1376 (value_of_internalvar): Flip the endian of built-in types if required.
1377 (set_internalvar): Set the endian.
1378 (show_convenience): Access the value through value_of_internalvar().
1379
bb858e6a
DJ
13802006-03-30 Vladimir Prus <ghost@cs.msu.su>
1381
1382 * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
1383 instead of hardcoded integer literals.
1384
61d9b92f
DJ
13852006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1386
1387 * cli/cli-script.c (insert_args): Handle NULL user_args.
1388
f7060f85
DJ
13892006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1390
1391 * arm-tdep.c (thumb_scan_prologue): Don't try to analyze
1392 the function at zero if we have no symbols.
1393
295bf0ff
DJ
13942006-03-30 Adrien Kunysz <a_kunysz@yahoo.com>
1395
1396 * i386-stub.c (getpacket): Fix array overflow.
1397 * m32r-stub.c (getpacket): Likewise.
1398 * m68k-stub.c (getpacket): Likewise.
1399 * sh-stub.c (getpacket): Likewise.
1400 * sparc-stub.c (getpacket): Likewise.
1401
7abfe014
DJ
14022006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1403
1404 * frame.h (set_current_sal_from_frame): New prototype.
1405 * stack.c (set_current_sal_from_frame): Make global.
1406 * infrun.c (normal_stop): Call set_current_sal_from_frame.
1407
0ec9a092
DJ
14082006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1409
1410 * linux-thread-db.c: Include "linux-nat.h".
1411 (check_for_thread_db): New function, split out from
1412 thread_db_new_objfile. Remove dead check for active
1413 thread_db on inapplicable targets.
1414 (thread_db_new_objfile): Call check_for_thread_db.
1415 * Makefile.in (linux-thread-db.o): Update.
1416 * linux-nat.c (child_post_attach): Call check_for_thread_db.
1417 (linux_child_post_startup_inferior): Likewise.
1418 (lin_lwp_attach_lwp): Call target_post_attach instead of
1419 child_post_attach.
1420 * linux-nat.h (check_for_thread_db): New prototype.
1421
6d820c5c
DJ
14222006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
1423
1424 * remote.c (struct remote_state): Add BUF and BUF_SIZE.
1425 (init_remote_state): Initialize the new fields.
1426 (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
1427 (set_thread, remote_thread_alive, remote_unpack_thread_info_response)
1428 (remote_get_threadinfo, parse_threadlist_response)
1429 (remote_get_threadlist, remote_current_thread, remote_threads_info)
1430 (remote_threads_extra_info, extended_remote_restart, get_offsets)
1431 (remote_check_symbols, remote_open_1, remote_detach)
1432 (remove_vcont_probe, remote_vcont_resume, remote_resume)
1433 (remote_wait, remote_async_wait, fetch_register_using_p)
1434 (remote_fetch_registers, store_register_using_P)
1435 (remote_store_registers, check_binary_download, remote_write_bytes)
1436 (remote_read_bytes, remote_insert_breakpoint)
1437 (remote_remove_breakpoint, remote_insert_watchpoint)
1438 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
1439 (remote_remove_hw_breakpoint, compare_sections_command)
1440 (remote_xfer_partial, remote_rcmd, packet_command)
1441 (remote_get_thread_local_address): Use the global incoming buffer
1442 instead of alloca or xmalloc. Limit outgoing packets to
1443 rs->remote_packet_size and incoming packets to rs->buf_size.
1444 Update calls to getpkt and remote_send.
1445 (remote_send): Take arguments by reference.
1446 (putpkt_binary): Eliminate junkbuf. Use skip_frame.
1447 (skip_frame): New function.
1448 (read_frame): Take arguments by reference. Expand the packet
1449 buffer instead of issuing an error.
1450 (getpkt, getpkt_sane): Take arguments by reference.
1451 * remote.h (getpkt): Update prototype and doc.
1452 * tracepoint.c (remote_get_noisy_reply): Take arguments by
1453 reference.
1454 (target_buf): Change from array to pointer.
1455 (target_buf_size): New variable.
1456 (remote_set_transparent_ranges): Update call to getpkt.
1457 (trace_start_command, trace_stop_command, trace_status_command):
1458 Update calls to remote_get_noisy_reply.
1459 (finish_tfind_command): Take arguments by reference.
1460 (trace_find_command, trace_find_pc_command)
1461 (trace_find_tracepoint_command, trace_find_line_command):
1462 (trace_find_range_command, trace_find_outside_command): Update
1463 calls to finish_tfind_command.
1464 (_initialize_tracepoint): Initialize target_buf_size and target_buf.
1465
3d8dcac6
RC
14662005-03-30 Randolph Chung <tausq@debian.org>
1467
1468 * hppa-linux-tdep.c: Include regset.h.
1469 (GR_REGNUM, TR_REGNUM, greg_map): New.
1470 (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
1471 (hppa_linux_regset, hppa_linux_fpregset): New.
1472 (hppa_linux_regset_from_core_section): New.
1473 (hppa_linux_init_abi): Set regset_from_core_section.
1474 (_initialize_hppa_linux_tdep): Register osabi handler for
1475 64-bit Linux.
1476 * Makefile.in (hppa-linux-tdep.o): Update dependencies.
1477 * config/pa/linux.mh: Stop using core-regset.o
1478
29d375ac
RC
14792006-03-30 Randolph Chung <tausq@debian.org>
1480
1481 * hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
1482 (hppa_frame_cache): Use new function to find unwind entry.
1483 (hppa_frame_this_id): Likewise.
1484 (hppa_frame_unwind_sniffer): Likewise.
1485
f4267320
DJ
14862006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1487
1488 * NEWS: Mention the removal of NLM.
1489
14902006-03-29 Steve Ellcey <sje@cup.hp.com>
1491
1492 * Makefile.in (nlm): Remove target.
1493 * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
1494 * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
1495 * configure: Regenerate.
1496 * doc/gdb.texinfo: Remove gdbserve.nlm documentation.
1497 * nlm: Remove directory.
1498
698ba934
DJ
14992006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
1500
1501 * Makefile.in (utils.o): Update.
1502 * top.c (in_user_command): New.
1503 (command_line_input): Use input_from_terminal_p.
1504 (input_from_terminal_p): Don't check caution. Handle
1505 stdin == NULL for Insight.
1506 * top.h (in_user_command, caution): New declarations.
1507 * utils.c: Include "top.h".
1508 (query, defaulted_query): Check caution here. Move the call
1509 to input_from_terminal_p higher.
1510 * cli/cli-script.c (do_restore_user_call_depth): Only decrement
1511 the depth. Update in_user_command if necessary.
1512 (execute_user_command): Don't clobber old_chain. Set
1513 in_user_command. Let do_restore_user_call_depth handle
1514 user_call_depth.
1515 (read_command_lines): Check whether to prompt before calling
1516 Insight hooks.
1517 * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
1518 input_from_terminal_p check.
1519
2f00de94
UW
15202006-03-29 Ulrich Weigand <uweigand@de.ibm.com>
1521
1522 * s390-nat.c (s390_insert_watchpoint): Add missing argument.
1523 (s390_remove_watchpoint): Likewise.
1524
7d30c22d
JB
15252006-03-28 Jim Blandy <jimb@codesourcery.com>
1526
1527 * prologue-value.c, prologue-value.h: New files.
1528 * Makefile.in (prologue_value_h): New variable.
1529 (HFILES_NO_SRCDIR): List prologue-value.h.
1530 (SFILES): List prologue-value.c.
1531 (COMMON_OBS): List prologue-value.o.
1532 (prologue-value.o): New rule.
1533
05c6a9a1
MS
15342006-03-27 Michael Snyder <msnyder@redhat.com>
1535
1536 * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
1537 xstormy16_pointer_to_address, xstormy16_address_to_pointer,
1538 xstormy16_frame_prev_register): Change void* to gdb_byte*.
1539 (xstormy16_push_dummy_call): Add block-local char* val,
1540 to avoid type conflict with outer scope variable.
1541
4e6cbc38
AS
15422006-03-27 Andrew Stubbs <andrew.stubbs@st.com>
1543
1544 * sh-tdep.c (sh_gdbarch_init): Add missing architectures.
1545
75483fbe
NR
15462006-03-27 Nick Roberts <nickrob@snap.net.nz>
1547
1548 * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero
1549 offsets for languages like Fortran.
1550
97ce3a05
RC
15512006-03-26 Randolph Chung <tausq@debian.org>
1552
1553 * config/pa/hppa64.mt: Use HPUX version of the tm file.
1554
be85b69f
NR
15552006-03-25 Nick Roberts <nickrob@snap.net.nz>
1556
1557 * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands.
1558 Try to deal with continuation line.
1559 (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
1560 variable names.
1561 (gdb-break-list-regexp, gdb-stack-list-frames-regexp):
1562 Future proof against new fields being added to MI output.
1563 (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
1564 (gdbmi-frame-handler): Update to new variable name
1565 gdb-get-buffer-create.
1566 (gdbmi-frame-handler): Use hollow-right-triangle for all selected
1567 frames which except the innermost (where execution has stopped).
1568
7fc4b1a1
RC
15692006-03-24 Randolph Chung <tausq@debian.org>
1570
1571 * solib-som.c (link_map_start): Don't error out if there is
1572 not yet a link map.
1573
f973ed9c
DJ
15742006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1575
1576 * linux-nat.c (linux_ops_saved): New.
1577 (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
1578 (child_mourn_inferior, child_wait, linux_nat_create_inferior)
1579 (linux_nat_fetch_registers, linux_nat_store_registers)
1580 (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
1581 (init_lwp_list): Don't set threaded.
1582 (add_lwp): Don't modify threaded.
1583 (delete_lwp): Don't mention non-threaded mode.
1584 (linux_nat_switch_fork): New.
1585 (linux_nat_attach): Update inferior_ptid.
1586 (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check
1587 threaded flag.
1588 (linux_nat_kill): Handle pending forks and saved forks.
1589 (linux_nat_mourn_inferior): Handle saved forks.
1590 (linux_nat_pid_to_str): Don't use the LWP form when there is
1591 only one thread.
1592 (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
1593 (linux_nat_add_target): New.
1594 (_initialize_linux_nat): Don't initialize the linux native target
1595 here.
1596 * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
1597 prototypes.
1598 * linux-fork.c: Include "linux-nat.h".
1599 (add_fork): Update initial PID.
1600 (fork_load_infrun_state): Call linux_nat_switch_fork.
1601 * Makefile.in (linux-fork.o): Update.
1602
1603 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
1604 linux_nat_add_target instead of add_target.
1605 * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
1606 * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
1607 * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
1608 * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
1609 * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
1610 * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
1611 * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
1612 * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
1613 * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
1614 * s390-nat.c (_initialize_s390_nat): Likewise.
1615 * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
1616 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
1617
791b663b
DJ
16182006-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1619
1620 * linux-fork.c: Include "gdb_assert.h".
1621 (fork_load_infrun_state): Set inferior_ptid and stop_pc here.
1622 Update the register cache and selected frame also.
1623 (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return
1624 to single fork mode if necessary.
1625 (linux_fork_context): Remove bits handled by fork_load_infrun_state.
1626 * Makefile.in (linux_fork_h): New.
1627 (linux-fork.o, linux-nat.o): Update.
1628
d311d956
AS
16292006-03-23 Andreas Schwab <schwab@suse.de>
1630
1631 * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
1632
a849c9ab
JB
16332006-03-18 Jim Blandy <jimb@codesourcery.com>
1634
1635 * symtab.h (enum address_class): Doc fix.
1636
cf913f37
MS
16372006-03-16 Michael Snyder <msnyder@redhat.com>
1638
712e3020 1639 * tracepoint.c (tracepoint_save_command): Fix typo in error msg.
88c231eb 1640 * target.c (push_target): Fix typo in comment.
94e08568 1641 * remote.c (remote_watch_data_address): Fix typo in comment.
cf913f37
MS
1642 * i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
1643
7c699b81
KB
16442006-03-15 Kevin Buettner <kevinb@redhat.com>
1645
1646 * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h):
1647 Include.
1648 (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR)
1649 (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1)
1650 (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR)
1651 (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define.
1652 (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t)
1653 (frv_elf_fpregset_t): Define types.
1654 (frv_linux_supply_gregset, frv_linux_supply_fpregset)
1655 (frv_linux_regset_from_core_section: New functions.
1656 (frv_linux_gregset, frv_linux_fpregset): New static globals.
1657 (frv_linux_init_abi): Register the `regset_from_core_section' method.
1658 * Makefile.in (frv-linux-tdep.o): Update dependencies.
1659 * solib-frv.c (frv_current_sos): Relocate main executable after
1660 loading core file.
1661 (frv_clear_solib): Clean up space associated with
1662 `main_executable_lm_info'.
1663 * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list.
1664
d37eb719
DJ
16652006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1666
1667 * Makefile.in (mips_linux_tdep_h): New.
1668 (mpis-linux-nat.o, mips-linux-tdep.o): Update.
1669 * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
1670 <sys/ptrace.h>.
1671 (have_ptrace_regsets, super_fetch_registers, super_store_registers)
1672 (mips64_linux_regsets_fetch_registers)
1673 (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
1674 (mips64_linux_store_registers): New.
1675 (_initialize_mips_linux_nat): Override to_fetch_registers and
1676 to_store_registers.
1677 * mips-linux-tdep.h: New file.
1678 * mips-linux-tdep.c: Include "mips-linux-tdep.c".
1679 (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
1680 (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
1681 (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
1682 (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
1683 (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
1684 (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
1685 (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
1686 (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
1687 (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
1688 (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
1689 (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
1690 (supply_32bit_reg): Use gdb_byte.
1691 (supply_64bit_reg): New.
1692 (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
1693 (mips_fill_fpregset, fetch_core_registers, supply_gregset)
1694 (fill_gregset, supply_fpregset): Update for renamed types.
1695 (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
1696 (mips64_fill_gregset): Make global. Handle 32-bit register
1697 sizes.
1698 (mips64_fill_fpregset): Make global. Use gdb_byte. Handle
1699 FP regsets properly.
1700
9f62d0e2
DJ
17012006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1702
1703 * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
1704 (mips_fill_gregset): Renamed from fill_gregset.
1705 (mips_supply_fpregset): Renamed from supply_fpregset.
1706 (mips_fill_fpregset): Renamed from fill_fpregset.
1707 (fetch_core_registers): Update calls.
1708 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
1709 functions.
1710
26c53e50
DJ
17112006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1712
1713 * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
1714
5b652102
DJ
17152006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1716
1717 * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
1718 Correct arithmetic for 64-bit CORE_ADDR.
1719
d05f6826
DJ
17202006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1721
1722 * mips-linux-tdep.c: Include "floatformat.h".
1723 (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
0a407ead
DJ
1724 * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long
1725 double.
d05f6826
DJ
1726 (print_gp_register_row): Don't print spaces before ignored
1727 or floating point registers.
6367c6b1 1728 * Makefile.in (mips-linux-tdep.o): Update.
d05f6826 1729
3e5af19e
DJ
17302006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1731
1732 * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
1733 for code addresses.
1734 (non_heuristic_proc_desc): Likewise.
1735
dc60ece8
DJ
17362006-03-15 Daniel Jacobowitz <dan@codesourcery.com>
1737
1738 * mips-linux-nat.c: Include "gdb_proc_service.h".
1739 (PTRACE_GET_THREAD_AREA): Define.
1740 (ps_get_thread_area): New.
1741 * Makefile.in (mips-linux-nat.o): Update.
1742
2f83030f
JB
17432006-03-13 Jim Blandy <jimb@codesourcery.com>
1744
1745 * MAINTAINERS: Use my work address.
1746
56aac7e8 17472006-03-09 Michael Snyder <msnyder@redhat.com>
a9877905 1748
56aac7e8
MS
1749 * linux-nat.c (kill_inferior): Just call target_mourn_inferior
1750 instead of getting tricky for the multi-fork case.
1751 * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
1752 for each fork, and then use init_fork_list to delete them.
a9877905 1753
831004b7
AO
17542006-03-08 Alexandre Oliva <aoliva@redhat.com>
1755
1756 * solib-svr4.c (svr4_current_sos): Move up initialization of
1757 l_addr, such that it clearly covers all cases.
1758
f1b4b38e
AS
17592006-03-08 Andreas Schwab <schwab@suse.de>
1760
1761 * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of
1762 libunwind_frame_prev_register to use a gdb_byte buffer and
1763 extract_unsigned_integer.
1764 (ia64_libunwind_sigtramp_frame_prev_register): Likewise.
1765
1766 * libunwind-frame.c (libunwind_frame_prev_register): Change type
1767 of last argument to `gdb_byte *'
1768 * libunwind-frame.h: Adjust declaration.
1769
f53f0d0b
PB
17702006-03-08 Paul Brook <paul@codesourcery.com>
1771
1772 * arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
1773 (arm_frame_align): New function.
1774 (arm_gdbarch_init): Use it.
1775
b67fd56f
AC
17762006-03-03 Khem Raj <khem@mvista.com>
1777
1778 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
1779 Committed by Andrew Cagney.
1780
a64ae7e0
CV
17812006-03-02 Corinna Vinschen <vinschen@redhat.com>
1782
1783 * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
1784 address to MDR register.
1785
9733fc94
DJ
17862006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1787
1788 * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
1789 calls.
1790
4897bfb9
RC
17912006-03-01 Randolph Chung <tausq@debian.org>
1792
1793 * somread.c (som_symfile_read): Update comment and remove unneeded
1794 use of a deprecated variable.
1795
6fcecea0
RC
17962006-03-01 Randolph Chung <tausq@debian.org>
1797
1798 * hppa-tdep.h (unwind_table_entry): Update field names to match HP
1799 runtime specification.
1800 * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
1801 (unwind_command): Likewise.
1802
46acf081
RC
18032006-03-01 Randolph Chung <tausq@debian.org>
1804
1805 * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
1806 Pseudo_SP_Set in unwind record.
1807
477e69e8
RC
18082006-03-01 Randolph Chung <tausq@debian.org>
1809
1810 * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
1811 TDEP->is_elf to determine if we are working with a SOM binary.
1812 (null_symtab_and_line): Remove unused variable.
1813 * config/pa/hppa64.mt: Use tm-hppa.h.
1814 * config/pa/tm-hppa64.h: Remove file.
1815
848359ac
WZ
18162006-03-01 Wu Zhou <woodzltc@cn.ibm.com>
1817
1818 * f-typeprint.c (f_type_print_base): Delete the redundant space.
1819
f9ec92b6
KB
18202006-02-28 Kevin Buettner <kevinb@redhat.com>
1821
1822 * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
1823 * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h):
1824 Include.
1825 (am33_linux_sigframe_cache_init): New function.
1826 (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame
1827 descriptions.
1828 (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2)
1829 (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1)
1830 (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0)
1831 (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3)
1832 (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6)
1833 (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR)
1834 (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL)
1835 (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP)
1836 (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT):
1837 New constants.
1838 (am33_linux_init_osabi): Register signal frame unwinders.
1839
e92e42f5
KB
18402006-02-28 Kevin Buettner <kevinb@redhat.com>
1841
1842 * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack
1843 out of pattern match by saving relevant state. Fix stack size
1844 adjustment bug.
1845
cc10cae3
AO
18462006-02-28 Alexandre Oliva <aoliva@redhat.com>
1847
1848 * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
1849 l_ld_size fields.
1850 * solib-svr4.c (struct lm_info): Add l_addr field.
1851 (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
1852 (HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
1853 (LM_DYNAMIC_FROM_LINK_MAP): New.
1854 (LM_ADDR_CHECK): New. Use it instead of LM_ADDR.
1855 (svr4_current_sos): Initialize l_addr. Adjust.
1856 (svr4_relocate_section_addresses): Adjust.
1857 (svr4_ilp32_fetch_link_map_offsets): Define new members.
1858 (svr4_lp64_fetch_link_map_offsets): Likewise.
1859 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
1860 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
1861 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
1862 * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
1863
691342f9
DM
18642006-02-26 David S. Miller <davem@sunset.davemloft.net>
1865
1866 * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
1867 * config/sparc/linux64.mt (TDEPFILES): Likewise.
1868
2c387241
AM
18692006-02-27 Alan Modra <amodra@bigpond.net.au>
1870
1871 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
1872 (ppc_linux_remove_watchpoint): Likewise, and args.
1873
3597fb82
MK
18742006-02-26 Mark Kettenis <kettenis@gnu.org>
1875
1876 * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
1877 "soft" interrupts.
1878
637d6690
CW
18792006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm>
1880
1881 * gdb/defs.h: unconditionally include <fcntl.h>, and
1882 ensure that O_BINARY is defined.
1883 * gdb/solib.c(solib_open): ensure solib files are opened in
1884 binary mode.
1885 * gdb/corelow.c: Remove O_BINARY macro definition.
1886 * gdb/exec.c: Remove O_BINARY macro definition
1887 * gdb/remote-rdp.c: Remove O_BINARY macro definition
1888 * gdb/source.c: Remove O_BINARY macro definition
1889 * gdb/symfile.c: Remove O_BINARY macro definition
1890
9846e541
RC
18912006-02-24 Randolph Chung <tausq@debian.org>
1892
1893 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize
1894 argreg.
1895 * solib-som.c (som_solib_remove_inferior_hook): Remove unused
1896 function.
1897
2a5e440c
WZ
18982006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
1899
1900 * f-exp.y: Symbol '%' is not used as the modulus operator in
1901 Fortran. Delete this from Fortran expression.
1902 It is now used by Fortran 90 and later to access the member
1903 of derived type. Add this into Fortran expression.
1904 * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
1905 Print each elements in the derived type.
1906 * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
1907 level into the function definition to do indented printing. And
1908 call fprintfi_filtered instead to do indented printing.
1909 (f_type_print_base): Replace fprintf_filtered with the indented
1910 version (fprintfi_filtered).
1911 (f_type_print_base): Call indented print_equivalent_f77_float_type.
1912 (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print
1913 the definition of the derived type.
1914
92128691
DJ
19152006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1916
1917 * gdb_curses.h: Provide a fallback prototype for tgetnum.
1918
a6205f53
DJ
19192006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1920
1921 * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
1922 also.
1923 (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
1924 (DOUBLEST_SCAN_FORMAT): New.
1925 * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
1926 (processReal): Use DOUBLEST_SCAN_FORMAT.
1927 * c-exp.y (parse_number): Likewise.
1928 * jv-exp.y (parse_number): Likewise.
1929 * objc-exp.y (parse_number): Likewise.
1930 * p-exp.y (parse_number): Likewise.
1931
0f0b8dcd
DJ
19322006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1933
1934 * event-top.c (async_do_nothing, async_disconnect)
1935 (async_stop_sig, async_float_handler): Remove duplicated
1936 prototypes.
1937 (handle_sighup): Guard prototype with SIGHUP.
1938 (async_do_nothing): Guard function and prototype with
1939 SIGQUIT || SIGHUP.
1940 (async_disconnect): Guard prototype with SIGHUP.
1941 (async_stop_sig): Guard prototype with STOP_SIGNAL.
1942
4e91d01c
DJ
19432006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1944
1945 * maint.c (maintenance_dump_me): Remove unnecessary prototype.
1946
1e0600be
DJ
19472006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
1948
1949 * win32-termcap.c (tputs): Return 0.
1950
094a342e
MK
19512006-02-21 Mark Kettenis <kettenis@gnu.org>
1952
1953 * configure.ac: Introduce ---enable-werror, which adds -Werror to
1954 the compiler command line. Enabled by default. Disable with
1955 --disable-werror.
1956 * configure regenerate.
1957
74763737
DJ
19582006-02-21 Daniel Jacobowitz <dan@codesourcery.com>
1959
1960 * elfread.c (elf_symtab_read): Skip symbols which BFD considers
1961 special.
1962
13d35ae5
AS
19632006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1964
1965 * defs.h (directory_switch): Add prototype.
1966 * main.c (captured_main): Use directory_switch() instead of
1967 directory_command() to add directories from the -d switch.
1968 * source.c (directory_switch): New function.
1969 (add_path): Use buildargv() to parse spaces in filenames properly.
1970 Strip multiple trailing '/' rather than just one.
1971
5b96932b
AS
19722006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1973
1974 * symfile.c (add_symbol_file_command): Use buildargv(), instead of
1975 hand decoding the command line, to allow use of quotes and spaces.
1976 (_initialize_symfile): Reorganize the help message for add-symbol-file
1977 such that 'help files' shows a better message.
1978
a6b0a3f3
AS
19792006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
1980
1981 * sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
1982 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
1983 (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
1984 (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
1985
17fbb0bd
DJ
19862006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
1987
1988 * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
1989 and __SIGRTMIN + 1.
1990
444abaca
DJ
19912006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
1992
1993 * remote.c: Add an enumeration for configurable remote
1994 packets.
1995 (remote_protocol_packets, set_remote_protocol_packet_cmd)
1996 (show_remote_protocol_packet_cmd): New.
1997 (remote_protocol_vcont)
1998 (set_remote_protocol_vcont_packet_cmd)
1999 (show_remote_protocol_vcont_packet_cmd)
2000 (remote_protocol_qSymbol)
2001 (set_remote_protocol_qSymbol_packet_cmd)
2002 (show_remote_protocol_qSymbol_packet_cmd)
2003 (remote_protocol_P, set_remote_protocol_P_packet_cmd)
2004 (show_remote_protocol_P_packet_cmd)
2005 (remote_protocol_Z)
2006 (set_remote_protocol_Z_software_bp_packet_cmd)
2007 (show_remote_protocol_Z_software_bp_packet_cmd)
2008 (set_remote_protocol_Z_hardware_bp_packet_cmd)
2009 (show_remote_protocol_Z_hardware_bp_packet_cmd)
2010 (set_remote_protocol_Z_write_wp_packet_cmd)
2011 (show_remote_protocol_Z_write_wp_packet_cmd)
2012 (set_remote_protocol_Z_read_wp_packet_cmd)
2013 (show_remote_protocol_Z_read_wp_packet_cmd)
2014 (set_remote_protocol_Z_access_wp_packet_cmd)
2015 (show_remote_protocol_Z_access_wp_packet_cmd)
2016 (remote_protocol_binary_download)
2017 (set_remote_protocol_binary_download_cmd)
2018 (show_remote_protocol_binary_download_cmd)
2019 (remote_protocol_qPart_auxv)
2020 (set_remote_protocol_qPart_auxv_packet_cmd)
2021 (show_remote_protocol_qPart_auxv_packet_cmd)
2022 (remote_protocol_qGetTLSAddr)
2023 (set_remote_protocol_qGetTLSAddr_packet_cmd)
2024 (show_remote_protocol_qGetTLSAddr_packet_cmd)
2025 (remote_protocol_p)
2026 (set_remote_protocol_p_packet_cmd)
2027 (show_remote_protocol_p_packet_cmd): Delete.
2028
2029 (init_all_packet_configs): Simplify.
2030 (set_remote_protocol_Z_packet_cmd)
2031 (show_remote_protocol_Z_packet_cmd)
2032 (remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
2033 (remote_fetch_registers, remote_prepare_to_store)
2034 (remote_store_registers, check_binary_download)
2035 (remote_write_bytes, remote_insert_breakpoint)
2036 (remote_remove_breakpoint, remote_insert_watchpoint)
2037 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
2038 (remote_remove_hw_breakpoint, remote_xfer_partial)
2039 (remote_get_thread_local_address): Update for packet array.
2040 (_initialize_remote): Likewise; also update for common
2041 set/show commands.
2042
3bd72c6f
DJ
20432006-02-20 Daniel Jacobowitz <dan@codesourcery.com>
2044
2045 * symfile.c (place_section): Correct retry logic.
2046
a244bdca
CF
20472006-02-19 Christopher Faylor <cgf@timesys.com>
2048
2049 * win32_nat.c (cygwin_load_start): New variable.
2050 (cygwin_load_end): Ditto.
2051 (have_saved_context): Ditto.
2052 (saved_context): Ditto.
2053 (max_dll_name_len): Delete obsolete variable.
2054 (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll
2055 if we are in a cygwin signal rather than a windows signal.
2056 (solib_symbols_add): Detect and store beginning and end of cygwin DLL
2057 if dll being loaded is the cygwin DLL.
2058 (register_loaded_dll): Remove calculation of max_dll_name_len.
2059 (win32_clear_solib): Ditto.
2060 (handle_load_dll): Delete obsolete variable. Remove unneeded call to
2061 solib_add.
2062 (handle_output_debug_string): Detect and store signal information sent
2063 by Cygwin here.
2064 (handle_exception): Silently pass on errors in the cygwin DLL. Return
2065 -1 on first pass exception.
2066 (win32_continue): Remove spurious clearing of continue_status.
2067 (get_win32_debug_event): Deal differently first chance exception.
2068
806e23c0
RC
20692006-02-19 Randolph Chung <tausq@debian.org>
2070
2071 * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
2072 unwind entry.
2073
d843c49c
FF
20742006-02-16 Fred Fish <fnf@specifix.com>
2075
2076 * eval.c (evaluate_subexp_standard): For OP_TYPE, return
2077 a non lval value zero, of the appropriate type, when avoiding
2078 side effects.
2079 * typeprint.c (ptype_eval): Remove function and declaration.
2080 (ptype_command): Simplify to just a call to whatis_exp.
2081
1c5bada0
PB
20822006-02-15 Paul Brook <paul@codesourcery.com>
2083
2084 * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
2085 Load insn opcodes as unsigned values.
2086
96c1eda2
AO
20872006-02-14 Alexandre Oliva <aoliva@redhat.com>
2088
2089 * doublest.h (DOUBLEST): Use long double only if we can scan
2090 it in. Undefine HAVE_LONG_DOUBLE otherwise.
2091 (DOUBLEST_FORMAT): New.
2092 * c-exp.y (parse_number): Use it.
2093 * jv-exp.y (parse_number): Likewise.
2094 * objc-exp.y (parse_number): Likewise.
2095 * p-exp.y (parse_number): Likewise.
2096 * varobj.c (free_variable): Silence type-punning warnings.
2097 * tui/tui-data.h (struct tui_list): Change type of list member.
2098 * tui/tui-data.c: Remove no-longer-needed type casts.
2099 (source_windows): Silence type-punning warnings.
2100 * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
2101
92dd43fa
MK
21022006-02-13 Mark Kettenis <kettenis@gnu.org>
2103
2104 Fix PR breakpoints/2080.
2105 * i386-tdep.c (struct i386_frame_cache): Add stack_align member.
2106 (i386_analyze_stack_align): New function.
2107 (i386_analyze_prologue): Use i386_analyze_stack_align.
2108 (i386_frame_cache): Deal with stack realignment.
2109
7314787a
NR
21102006-02-14 Nick Roberts <nickrob@snap.net.nz>
2111
2112 * mi/gdb-mi.el: Use more functions from gdb-ui.el.
2113 (gdb-break-list-regexp): Match "what" field if present.
be85b69f 2114 (gdb-stack-list-frames-regexp): Match "from" field if present.
7314787a
NR
2115 (gdb-stack-list-frames-handler): Present output like "info
2116 breakpoints" so regexps can be shared with gdb-ui
2117
0ea3f30e
DJ
21182006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
2119
2120 * NEWS: Mention native Windows support.
2121 * Makefile.in (gdb_select_h, ser_tcp_h): New.
2122 (ALLDEPFILES): Add ser-mingw.c.
2123 (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
2124 (ser-tcp.o, ser-unix.o): Update.
2125 (ser-mingw.o): New rule.
2126 * configure: Regenerated.
2127 * configure.ac: Add ser-mingw.o for mingw32.
2128 * ser-mingw.c: New file.
2129 * event-loop.c: Include "gdb_select.h".
2130 (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
2131 * ser-base.c: Include "gdb_select.h".
2132 (ser_base_wait_for): Use gdb_select.
2133 * serial.c (serial_for_fd): New function.
2134 (serial_fdopen): Try "terminal" before "hardwire". Initialize
2135 the allocated struct serial.
2136 (serial_wait_handle): New function.
2137 * serial.h (serial_for_fd, serial_wait_handle): New prototypes.
2138 (struct serial_ops) [USE_WIN32API]: Add wait_handle.
2139 * gdb_select.h: New file.
2140 * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include.
2141 (net_close, net_read_prim, net_write_prim): Make global.
2142 (net_open): Likewise. Pass an exception set to select. Whitespace fix.
2143 Document why we can not use gdb_select.
2144 (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
2145 * ser-tcp.h: New file.
2146 * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
2147 (handle_sigio): Use gdb_select.
2148 (initialize_stdin_serial): New function.
2149 * terminal.h (initialize_stdin_serial): New prototype.
2150 * top.c (gdb_init): Call initialize_stdin_serial.
2151 * mingw-hdep.c (gdb_select): New function, moved from gdb_select in
2152 event-loop.c. Add exception condition support. Use serial_for_fd
2153 and serial_wait_handle. Fix timeout handling.
2154 * posix-hdep.c: Include "gdb_select.h".
2155 (gdb_select): New function.
2156 * remote-st.c (connect_command): Use gdb_select.
2157 * ser-unix.c: Include "gdb_select.h".
2158 (hardwire_send_break, wait_for): Use gdb_select.
2159
121ce6e5
DJ
21602006-02-10 Daniel Jacobowitz <dan@codesourcery.com>
2161
2162 * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
2163 (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
2164 * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs
2165 to posix-hdep.o by default.
2166 * configure: Regenerated.
2167 * configure.host: Document gdb_host_obs. Add an entry for
2168 i[34567]86-*-mingw32*.
2169 * mingw-hdep.c, posix-hdep.c: New files.
2170 * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
2171
1f82754b
JB
21722006-02-10 Joel Brobecker <brobecker@adacore.com>
2173
2174 * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
2175 * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX.
2176 * rs6000-tdep.h: New file.
2177 * rs6000-tdep.c: Include "rs6000-tdep.h".
2178 (rs6000_gdbarch_init): Remove enabling of software single step.
2179 Will be done in the AIX-specific initialization routine.
2180 * rs6000-aix-tdep.c: New file.
2181 * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o.
2182 * Makefile.in (rs6000_tdep_h): New variable.
2183 (rs6000-tdep.o): Update dependencies.
2184 (rs6000-aix-tdep.o): New rule.
2185
577b7047
JB
21862006-02-10 Joel Brobecker <brobecker@adacore.com>
2187
2188 * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
2189 instead of add_setshow_zinteger_cmd to defined the aix-thread
2190 boolean setting.
2191
ff800d76
NR
21922006-02-10 Nick Roberts <nickrob@snap.net.nz>
2193
2194 * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
2195
5afb4e99
DJ
21962006-02-09 Daniel Jacobowitz <dan@codesourcery.com>
2197
2198 * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to
2199 30 bits. Add load_all_dies flag.
2200 (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set.
2201 Load DW_TAG_member by default. Remove internal_error call.
2202 (find_partial_die): Reload the compilation unit if we can not find
2203 a DIE in the cache. Call internal_error here if we still can not
2204 find the DIE.
2205
a832795c
NR
22062006-02-10 Nick Roberts <nickrob@snap.net.nz>
2207
2208 * breakpoint.c (print_one_breakpoint): Add break to case
2209 bp_catch_vfork in switch statement.
2210
c9dd6fef
WZ
22112006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
2212
2213 * config/i386/nm-i386sol2.h: Update copyright year.
2214 * config/mips/nm-irix5.h: Ditto.
2215 * config/sparc/nm-sol2.h: Ditto.
2216 * s390-nat.c: Ditto.
2217 * ppc-linux-nat.c: Ditto.
2218
2a3cdf79
WZ
22192006-02-08 Wu Zhou <woodzltc@cn.ibm.com>
2220
2221 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete.
2222 * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2223 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2224 * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2225 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2226 * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2227 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2228 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New.
2229 (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete.
2230 (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and
2231 add to_region_ok_for_hw_watchpoint.
2232 * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete.
2233 (s390_region_ok_for_hw_watchpoint): New.
2234 (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint
2235 and add to_region_ok_for_hw_watchpoint.
2236 * target.c (default_region_size_ok_for_hw_watchpoint,
2237 debug_to_region_size_ok_for_hw_watchpoint): Delete prototype.
2238 (update_current_target): Delete to_region_size_ok_for_hw_watchpoint
2239 inheritance and default_region_size_ok_for_hw_watchpoint.
2240 (default_region_ok_for_hw_watchpoint): If len is less than or equal
2241 the length of void pointer, return ok.
2242 (default_region_size_ok_for_hw_watchpoint): Delete.
2243 (debug_to_region_size_ok_for_hw_watchpoint): Delete.
2244 (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint.
2245 * target.h (struct target_ops): Delete
2246 to_region_size_ok_for_hw_watchpoint.
2247 (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2248
e0d24f8d
WZ
22492006-02-08 Ben Elliston <bje@au1.ibm.com>
2250 Wu Zhou <woodzltc@cn.ibm.com>
2251
2252 * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG,
2253 PTRACE_GETSIGINFO): Define.
2254 (last_stopped_data_address): New.
2255 (ppc_linux_check_watch_resources): New function.
2256 (ppc_linux_region_ok_for_hw_watchpoint): New function.
2257 (ppc_linux_insert_watchpoint): New function.
2258 (ppc_linux_remove_watchpoint): New function.
2259 (ppc_linux_stopped_data_address): New function.
2260 (ppc_linux_stopped_by_watchpoint): New function.
2261 (_initialize_ppc_linux_nat): Set the above hardware watchpoint
2262 related target vectors.
2263 * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures
2264 to have nonsteppable watchpoint.
2265 * target.c (default_region_ok_for_hw_watchpoint,
2266 debug_to_region_ok_for_hw_watchpoint): New prototypes.
2267 (update_current_target): Inherit to_region_ok_for_hw_watchpoint
2268 and set default to_region_ok_for_hw_watchpoint.
2269 (default_region_ok_for_hw_watchpoint): New function.
2270 (debug_to_region_ok_for_hw_watchpoint): New function.
2271 (setup_target_debug): Set to_region_ok_for_hw_watchpoint of
2272 debug_target.
2273 * target.h (struct target_ops): Add a new target vector
2274 to_region_ok_for_hw_watchpoint.
2275 (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not
2276 defined anyplace else.
927890d0 2277
e0d24f8d 22782005-02-07 Joel Brobecker <brobecker@adacore.com>
927890d0
JB
2279 * symfile.c (add_symbol_file_command): Abort if the user forgot
2280 to provide the address when the file has been loaded.
2281
f4d408c6
DJ
22822006-02-07 Daniel Jacobowitz <dan@codesourcery.com>
2283
2284 * MAINTAINERS: Update file based on maintainers survey. Add
2285 a note to Past Maintainers. Move unresponsive or inactive
2286 maintainers to Authorized Committers or Past Maintainers as
2287 appropriate. Correct Jim Kingdon's email address. Remove
2288 vacant areas of responsibility.
2289
38fcd64c
DJ
22902006-02-06 Vladimir Prus <ghost@cs.msu.su>
2291
2292 * breakpoint.c (print_one_breakpoint): For MI-like UI, output
2293 fullname field.
2294
7b871fab
DJ
22952006-02-03 Daniel Jacobowitz <dan@codesourcery.com>
2296
2297 * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
2298 * exceptions.c (exception_none, exceptions_state_mc_init)
2299 (throw_vfatal): Use GDB_NO_ERROR.
2300
e4cd0d6a
MK
23012006-02-02 Mark Kettenis <kettenis@gnu.org>
2302
2303 * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
2304 r_map_size members. Add r_version_offset, r_version_size and
2305 r_ldsomap_offset members.
2306 * solib-svr4.c (solib_svr4_r_map): Renamed from
2307 fetch_link_map_member. Simplify using read_memory_typed_address.
2308 (solib_svr4_r_ldsomap): New function.
2309 (open_symbol_file_object): Use solib_svr_r_map.
2310 (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
2311 linker by using solib_svr4_r_ldsomap.
2312 (svr4_ilp32_fetch_link_map_offsets)
2313 (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
2314 link_map_offsets'.
2315 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
2316 changes to `struct link_map_offsets'.
2317 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
2318 (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
2319 `struct link_map_offsets'.
2320
e26af52f
DJ
23212006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2322
2323 * linux-nat.c (struct saved_ptids, threads_to_delete)
2324 (record_dead_thread, prune_lwps, find_thread_from_lwp)
2325 (exit_lwp): New.
2326 (linux_nat_resume): Call prune_lwps.
2327 (wait_lwp, linux_nat_wait): Call exit_lwp.
2328
46e9880c
DJ
23292006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2330
2331 * printcmd.c (printf_command): Make format string checking
2332 stricter. Add separate cases for long_arg, ptr_arg, and
2333 long_double_arg.
2334 * utils.c (xstrvprintf): Improve the error message issued
2335 for a bad format string.
2336 * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
2337 New variables.
2338 (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
2339 $(NO_WERROR_CFLAGS).
2340 (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
2341 enable -Werror.
2342
37a105a1
DJ
23432006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2344
2345 * Makefile.in (remote.o): Update.
2346 * remote.c (show_packet_config_cmd): Shorten messages.
2347 (remote_set_cmdlist, remote_show_cmdlist): Make file-static.
2348 (show_remote_cmd): Iterate.
2349 (_initialize_remote): Remove remote_set_cmdlist,
2350 remote_show_cmdlist.
2351
ae5a43e0
DJ
23522006-02-01 Daniel Jacobowitz <dan@codesourcery.com>
2353
2354 * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
2355 * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
2356 prototypes.
2357 * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
2358 (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
2359 * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
2360 ...here.
2361 * gdbtypes.c: Include "hashtab.h".
2362 (build_gdbtypes): Remove extra prototype.
2363 (struct type_pair, type_pair_hash, type_pair_eq)
2364 (create_copied_types_hash, copy_type_recursive): New.
2365 * gdbtypes.h: Include "hashtab.h".
2366 (TYPE_ZALLOC): New.
2367 (create_copied_types_hash, copy_type_recursive): New prototypes.
2368 * objfiles.c (free_objfile): Call preserve_values.
2369 * symfile.c (reread_symbols): Likewise.
2370 (clear_symtab_users): Remove calls to clear_value_history and
2371 clear_internalvars.
2372 * value.c (clear_value_history, clear_internalvars): Removed.
2373 (preserve_one_value, preserve_values): New functions.
2374 * value.h (clear_value_history, clear_internalvars): Removed.
2375 (preserve_values): New prototype.
2376
2377 * tracepoint.c (_initialize_tracepoint): Do not initialize convenience
2378 variables here.
2379
b929c77f
MK
23802006-01-29 Mark Kettenis <kettenis@gnu.org>
2381
2382 * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
2383 Fixes PR tdep/2075.
2384
1581f359
JB
23852006-01-27 Joel Brobecker <brobecker@adacore.com>
2386
2387 * MAINTAINERS: Use a consistent email address for brobecker.
2388
37706b70
JB
23892006-01-27 Joel Brobecker <brobecker@adacore.com>
2390
2391 * infcmd.c (post_create_inferior): Fix copy/paste error introduced
2392 in the previous change.
2393
9353355f
DJ
23942006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
2395
2396 PR gdb/1914
2397 * fork-child.c (fork_inferior): Don't call
2398 solib_create_inferior_hook.
2399 * infcmd.c (post_create_inferior): Call solib_add,
2400 solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
2401 (attach_command): Don't call solib_add or
2402 re_enable_breakpoints_in_shlibs. Call post_create_inferior
2403 instead.
2404 * remote.c (remote_open_1): Don't call solib_create_inferior_hook
2405 or observer_notify_inferior_created. Call post_create_inferior
2406 instead.
2407 * corelow.c: Don't include "observer.h".
2408 (solib_add_stub): Deleted.
2409 (core_open): Don't call observer_notify_inferior_created or
2410 solib_add_stub. Call post_create_inferior instead.
2411 * inf-ptrace.c: Don't include "observer.h".
2412 (inf_ptrace_attach): Don't call observer_notify_inferior_created.
2413 * inf-ttrace.c: Don't include "observer.h".
2414 (inf_ttrace_attach): Don't call observer_notify_inferior_created.
2415 * inferior.h (solib_create_inferior_hook): Remove redundant
2416 prototype.
2417 * inftarg.c: Don't include "observer.h".
2418 (child_attach): Don't call observer_notify_inferior_created.
2419 * Makefile.in: Update dependencies.
2420
281b533b
DJ
24212006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
2422
2423 * infcmd.c: Include "observer.h".
2424 (post_create_inferior): New function.
2425 (run_command_1): Call it. Also call proceed.
2426 * inferior.h (post_create_inferior): New prototype.
2427 * Makefile.in (infcmd.o): Update.
2428
2429 * gnu-nat.c (gnu_create_inferior): Don't call proceed.
2430 * go32-nat.c (go32_create_inferior): Likewise.
2431 * nto-procfs.c (procfs_create_inferior): Likewise.
2432 * procfs.c (procfs_create_inferior): Likewise.
2433 * remote-sim.c (gdbsim_create_inferior): Likewise.
2434 * remote.c (extended_remote_create_inferior)
2435 (extended_remote_async_create_inferior): Likewise.
2436 * win32-nat.c (win32_create_inferior): Likewise.
2437 * wince.c (child_create_inferior): Likewise.
2438
2439 * monitor.c (monitor_create_inferior): Don't call proceed.
2440 Set the PC manually.
2441 * ocd.c (ocd_create_inferior): Likewise.
2442 * remote-e7000.c (e7000_create_inferior): Likewise.
2443 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2444 * remote-mips.c (mips_create_inferior): Likewise.
2445 * remote-rdp.c (remote_rdp_create_inferior): Likewise.
2446 * remote-sds.c (sds_create_inferior): Likewise.
2447 * remote-st.c (st2000_create_inferior): Likewise.
2448
2449 * inf-ptrace.c (inf_ptrace_create_inferior): Don't call
2450 proceed or observer_notify_inferior_created.
2451 * inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
2452 * inftarg.c (child_create_inferior): Likewise.
2453
e23fc6de
DJ
24542006-01-24 Daniel Jacobowitz <dan@codesourcery.com>
2455
2456 * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
2457 after mourning the inferior.
2458
13d6656b
JB
24592006-01-24 Jim Blandy <jimb@redhat.com>
2460
2461 * valarith.c (binop_user_defined_p): Handle refs to typedefs.
2462
59f92a09
FF
24632006-01-24 Fred Fish <fnf@specifix.com>
2464
2465 * parse.c (source.h): Include.
2466 (parse_exp_in_context): Use static source context if no
2467 other context found.
2468
dda63807
AS
24692006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
2470
2471 * sh-tdep.c: Include reggroups.h.
2472 (sh_register_reggroup_p): New function.
2473 (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
2474 * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
2475
4b505b12
AS
24762006-01-23 Andrew Stubbs <andrew.stubbs@st.com>
2477
2478 * cli/cli-cmds.c: Include fcntl.h.
2479 (source_command): Use the GDB search path to find script files.
2480
721d14ba
DJ
24812006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
2482
2483 PR tdep/2029
2484 Suggested by Till Straumann <strauman@slac.stanford.edu>:
2485 * rs6000-tdep.c (skip_prologue): Update check for later mtlr
2486 instructions. Handle PIC bcl.
2487
3d64d617
DJ
24882006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
2489
2490 * config/djgpp/README: Typo fix.
2491 * config/djgpp/fnchange.lst: Update.
2492
0a8f48b9
MK
24932006-01-22 Mark Kettenis <kettenis@gnu.org>
2494
c893be75
MK
2495 * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
2496 (sparc_address_from_register): New prototype.
2497 (sparcnbsd_step_trap): New prototype.
2498 * sparc-tdep.c (sparc_address_from_register): Make globally
2499 visible.
2500 (sparc_analyze_control_transfer): Change prototype to accept
2501 `struct gdbarch *' as first argument. Allow for optional hnadling
2502 for trap instructions.
2503 (sparc_step_trap): New function.
2504 (sparc_software_single_step): Adjust call to
2505 sparc_analyze_control_trabsfer.
2506 (sparc32_gdbarch_init): Initialize TDEP->step_trap.
2507 * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
2508 (sparc32nbsd_init_abi): Set TDEP->step_trap.
2509 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
2510 * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
2511
0a8f48b9
MK
2512 * sparc-tdep.c (sparc32_return_value): Convert to use
2513 RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
2514 RETURN_VALUE_STRUCT_CONVENTION.
2515 (sparc32_extract_struct_value_address): Remove.
2516
1f3a99d5
DJ
25172006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
2518
2519 * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
2520 (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
2521
84eb3c4f
DJ
25222006-01-21 Daniel Jacobowitz <dan@codesourcery.com>
2523
2524 * solib.c (info_sharedlibrary_command): Avoid internal_error.
2525
878d9193
MK
25262006-01-21 Mark Kettenis <kettenis@gnu.org>
2527
2528 * i386-tdep.c (i386_mxcsr_type): New variable.
2529 (i386_init_types): Initialize i386_mxcsr_type.
2530 (i386_register_type): Return i386_mxcsr_type for %mxcsr.
2531 * i386-tdep.c (i386_mxcsr_type): New extern.
2532 * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
2533 %mxcsr.
2534
acab6ab2
MM
25352006-01-20 Mark Mitchell <mark@codesourcery.com>
2536
2537 * Makefile.in (remote-rdi.o): Remove.
2538 (rdi-share/libangsd.a): Likewise.
2539 * README: Don't mention remote-rdi.c.
2540 * NEWS: Mention removal of rdi-share.
2541 * configure.ac: Don't configure rdi-share subdirectory.
2542 * remote-rdi.c: Remove.
2543 * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
2544 (TDEPLIBS): Remove rdi-share/libangsd.a.
2545 * rdi-share/Makefile.am: Remove.
2546 * rdi-share/Makefile.in: Likewise.
2547 * rdi-share/README.CYGNUS: Likewise.
2548 * rdi-share/aclocal.m4: Likewise.
2549 * rdi-share/adp.h: Likewise.
2550 * rdi-share/adperr.h: Likewise.
2551 * rdi-share/angel.h: Likewise.
2552 * rdi-share/angel_bytesex.c: Likewise.
2553 * rdi-share/angel_bytesex.h: Likewise.
2554 * rdi-share/angel_endian.h: Likewise.
2555 * rdi-share/ardi.c: Likewise.
2556 * rdi-share/ardi.h: Likewise.
2557 * rdi-share/armdbg.h: Likewise.
2558 * rdi-share/buffers.h: Likewise.
2559 * rdi-share/chandefs.h: Likewise.
2560 * rdi-share/channels.h: Likewise.
2561 * rdi-share/chanpriv.h: Likewise.
2562 * rdi-share/configure: Likewise.
2563 * rdi-share/configure.in: Likewise.
2564 * rdi-share/crc.c: Likewise.
2565 * rdi-share/crc.h: Likewise.
2566 * rdi-share/dbg_conf.h: Likewise.
2567 * rdi-share/dbg_cp.h: Likewise.
2568 * rdi-share/dbg_hif.h: Likewise.
2569 * rdi-share/dbg_rdi.h: Likewise.
2570 * rdi-share/devclnt.h: Likewise.
2571 * rdi-share/devices.h: Likewise.
2572 * rdi-share/devsw.c: Likewise.
2573 * rdi-share/devsw.h: Likewise.
2574 * rdi-share/drivers.c: Likewise.
2575 * rdi-share/drivers.h: Likewise.
2576 * rdi-share/etherdrv.c: Likewise.
2577 * rdi-share/ethernet.h: Likewise.
2578 * rdi-share/host.h: Likewise.
2579 * rdi-share/hostchan.c: Likewise.
2580 * rdi-share/hostchan.h: Likewise.
2581 * rdi-share/hsys.c: Likewise.
2582 * rdi-share/hsys.h: Likewise.
2583 * rdi-share/logging.c: Likewise.
2584 * rdi-share/logging.h: Likewise.
2585 * rdi-share/msgbuild.c: Likewise.
2586 * rdi-share/msgbuild.h: Likewise.
2587 * rdi-share/params.c: Likewise.
2588 * rdi-share/params.h: Likewise.
2589 * rdi-share/rx.c: Likewise.
2590 * rdi-share/rxtx.h: Likewise.
2591 * rdi-share/serdrv.c: Likewise.
2592 * rdi-share/serpardr.c: Likewise.
2593 * rdi-share/sys.h: Likewise.
2594 * rdi-share/tx.c: Likewise.
2595 * rdi-share/unixcomm.c: Likewise.
2596 * rdi-share/unixcomm.h: Likewise.
2597
4577207e
MK
25982006-01-21 Mark Kettenis <kettenis@gnu.org>
2599
2600 * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
2601 Change type of last argument to `gdb_byte *'.
2602
34f55018
MK
26032006-01-20 Mark Kettenis <kettenis@gnu.org>
2604
2605 * hppa-tdep.h (hppa_in_solib_call_trampoline)
2606 (hppa_skip_trampoline_code): New prototypes.
2607 * hppa-tdep.c (struct insn_pattern): New.
2608 (hppa_long_branch_stub, hppa_long_branch_pic_stub)
2609 (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
2610 here from hppa-linux-tdep.c
2611 (HPPA_MAX_INSN_PATTERN_LEN): New define.
2612 (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
2613 (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
2614 functions based on functions removed from hppa-linux-tdep.c.
2615 * hppa-linux-tdep.c (hppa_long_branch_stub)
2616 (hppa_long_branch_pic_stub, hppa_import_stub)
2617 (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
2618 (insns_match_pattern_relaxed, hppa_linux_in_dyncall)
2619 (hppa_linux_in_solib_call_trampoline)
2620 (hppa_linux_skip_trampoline_code): Removed.
2621 (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
2622 hppa_in_solib_call_trampoline and skip_trampoline_code to
2623 hppa_skip_trampoline_code.
2624 * hppabsd-tdep.c (hppabsd_init_abi): Set
2625 TDEP->in_solib_call_trampoline and skip_trampoline_code.
2626
7be93b9e
JB
26272006-01-20 Jim Blandy <jimb@redhat.com>
2628
f408839d
JB
2629 * MAINTAINERS: Change my E-mail address.
2630
7be93b9e
JB
2631 * configure.ac: Add -Wno-pointer-sign to list of build warnings.
2632 * configure: Regenerated.
2633
b2a74f99
DJ
26342006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
2635
2636 * MAINTAINERS: Overhaul.
2637
4f2aea11
MK
26382006-01-18 Mark Kettenis <kettenis@gnu.org>
2639
5ae96ec1
MK
2640 Based on a previous patch form Michal Ludvig:
2641 * amd64-tdep.c (amd64_sse_type): Remove.
2642 (amd64_register_info): Use i386_eflags_type and i386_sse_type
2643 where appropriate.
2644 (AMD64_NUM_REGS): Use ARRAY_SIZE.
2645 (amd64_register_type): Remove code to build amd_sse_type.
2646 * i386-tdep.c (i386_eflag_type): New variable.
2647 (i386_mmx_type, i386_sse_type): Make global.
2648 (i386_init_types): New function.
2649 (i386_build_mmx_type, i386_build_sse_type): Remove functions.
2650 (i386_register_type): Return i386_eflag_type, i386_sse_type and
2651 i386_mmx_type when appropriate.
2652 (_initialize_i386_tdep): Call i386_init_types.
2653 * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
2654 Declare extern.
2655
4f2aea11
MK
2656 Based on a previous patch form Michal Ludvig:
2657 * gdbtypes.c (append_flags_type_flag, init_flags_type): New
2658 functions.
2659 (is_integral_type, rank_one_type, recursive_dump_type): Add
2660 support for TYPE_CODE_FLAGS.
2661 * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
2662 (append_flags_type_field, init_flags_type): New prototypes.
2663 * ada-valprint.c (ada_val_print_1): Add support for
2664 TYPE_CODE_FLAGS.
2665 * c-valprint.c (c_val_print): Likewise.
2666 * f-valprint.c (f_val_print): Likewise.
2667 * p-valprint.c (pascal_val_print): Likewise.
2668 * valprint.c (val_print_type_code_flags): New function.
2669 * valprint.h (val_print_type_code_flags): New prototype.
2670 * value.c (unpack_long, value_from_longest): Add support for
2671 TYPE_CODE_FLAGS.
2672
4cdb5adf
CF
26732006-01-17 Christopher Faylor <cgf@timesys.com>
2674
2675 * MAINTAINERS: Very belatedly remove myself from from the list of
2676 people caught up in the paper trail.
2677
1193688d
JB
26782006-01-17 Jim Blandy <jimb@redhat.com>
2679
4e38b386
JB
2680 * symtab.h (struct general_symbol_info): Use gdb_byte for
2681 value.bytes.
2682 * stabsread.c (define_symbol): Use gdb_byte for the buffer holding
2683 a floating-point constant's value.
2684 * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
2685 to char *.
2686 * findvar.c (read_var_value): Eliminate needless temporary.
2687
1193688d
JB
2688 * dwarf2-frame.c (dwarf2_read_section): Update forward declaration
2689 to match prior change to dwarf2_read_section's type.
2690
0d1243d9
PG
26912006-01-16 Paul Gilliam <pgilliam@us.ibm.com>
2692
2693 * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
2694 * rs6000-tdep.c (insn_changes_sp_or_jumps)
2695 (rs6000_in_function_epilogue_p): New functions.
2696 (rs6000_gdbarch_init): Set in_function_epilogue_p.
2697
fe1b8b76
JB
26982006-01-17 Jim Blandy <jimb@redhat.com>
2699
2700 * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
2701 (struct line_header, struct partial_die_info, struct dwarf_block):
2702 Use gdb_byte for members that refer to Dwarf section contents.
2703 (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
2704 dwarf_decode_macros, load_comp_unit, load_partial_dies,
2705 locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
2706 read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
2707 read_8_bytes, read_address, read_attribute, read_attribute_value,
2708 read_comp_unit, read_comp_unit_head, read_die_and_children,
2709 read_die_and_siblings, read_full_die, read_indirect_string,
2710 read_initial_length, read_n_bytes, read_offset, read_partial_die,
2711 read_signed_leb128, read_string, read_unsigned_leb128,
2712 skip_children, skip_leb128, skip_one_die): Same.
2713
a0841d7a
DJ
27142006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
2715
2716 * complaints.c (stop_whining): Make signed.
2717 * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
2718
939b2b42
DJ
27192006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
2720
2721 * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
2722 notices.
2723
891d2f0b
DJ
27242006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
2725
2726 * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
2727 (read_offset): Change BYTES_READ argument to unsigned int.
2728 (dwarf2_build_psymtabs_easy, read_comp_unit_head)
2729 (create_all_comp_units, dwarf2_get_pc_bounds)
2730 (dwarf_decode_line_header, var_decode_location)
2731 (dwarf_decode_macros): Change local BYTES_READ variables to
2732 unsigned int.
2733 (read_indirect_string): Remove obsolete cast.
2734
cfd77fa1
DJ
27352006-01-17 Daniel Jacobowitz <dan@codesourcery.com>
2736
2737 * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
2738 argument.
2739 (remote_fileio_func_open, remote_fileio_func_rename)
2740 (remote_fileio_func_unlink, remote_fileio_func_stat)
2741 (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
2742 (remote_fileio_func_system): Cast the arguments to
2743 remote_read_bytes and remote_write_bytes.
2744 (remote_fileio_func_read, remote_fileio_func_write): Use a
2745 gdb_byte buffer.
2746 * remote.h (remote_read_bytes, remote_write_bytes): Update
2747 prototypes.
2748 * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
2749 (threadref_to_int): Replace bogus char * cast.
2750 (remote_unpack_thread_info_response): Use int for tag.
2751 (remote_threads_extra_info, remote_check_symbols): Cast string
2752 arguments to hex2bin.
2753 (remote_wait): Use a char buffer for packets and a gdb_byte
2754 buffer for registers.
2755 (remote_async_wait): Likewise.
2756 (remote_prepare_to_store, store_register_using_P)
2757 (remote_store_registers): Use gdb_byte buffers.
2758 (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
2759 for MYADDR and char buffers for strings.
2760 (remote_xfer_partial): Add casts for string operations on READBUF.
2761 (remote_rcmd): Cast strings passed to bin2hex.
2762
60bf0650
MM
27632006-01-16 Mark Mitchell <mark@codesourcery.com>
2764
2765 * aclocal.m4: Regenerate.
2766
60e81fcc
NS
27672006-01-16 Nathan Sidwell <nathan@codesourcery.com>
2768
2769 * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
2770 MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
2771 MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS.
2772 (mt_register_name): Lazily synthesize name for coprocessor pseudo
2773 array registers.
2774 (mt_copro_register_type): New. Broken out of ...
2775 (mt_register_type): ... here. Use it. Deal with coprocessor
2776 pseudo array.
2777 (mt_select_coprocessor): New.
2778 (mt_pseudo_register_read, mt_pseudo_register_write): Deal with
2779 coprocessor pseudo array.
2780
f365de73
AS
27812006-01-16 Andrew Stubbs <andrew.stubbs@st.com>
2782
2783 * breakpoint.c (insert_breakpoints): Check that a thread exists
2784 before inserting thread specific breakpoints.
2785
9d519230
MK
27862006-01-15 Mark Kettenis <kettenis@gnu.org>
2787
6062517a
MK
2788 * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
2789 commit.
2790
9d519230
MK
2791 * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
2792 * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
2793 * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
2794 * config/alpha/nm-nbsd.h: Remove file.
2795 * config/alpha/nm-fbsd.h: Remove file
2796 * config/alpha/nbsd.mh (NAT_FILE): Remove.
2797 * config/alpha/fbsd.mh (NAT_FILE): Remove.
2798
0a029df5
DJ
27992006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2800
2801 * macroexp.c (expand): Initialize argc.
2802 * stabsread.c (read_type): Handle errors from read_args.
2803 (read_args): Return NULL for errors.
2804
1731e543
MK
28052006-01-15 Mark Kettenis <kettenis@gnu.org>
2806
2807 * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of
2808 strcmp to compare string to a byte buffer.
2809
777ea8f1
DJ
28102006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2811
2812 * printcmd.c (output_command): Always initialize fmt.size.
2813 (printf_command): Use gdb_byte.
2814 * symfile.c (separate_debug_file_exists): Use gdb_byte.
2815 (load_section_callback, read_target_long_array): Likewise.
2816 (simple_read_overlay_table, simple_read_overlay_region_table)
2817 (simple_overlay_update_1): Correct calls to read_target_long_array.
2818 * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *.
2819 Also change local pointers.
2820 (val_print_string): Use gdb_byte.
2821
4b17b389
MK
28222006-01-15 Mark Kettenis <kettenis@gnu.org>
2823
2824 * alphafbsd-tdep.c: Include "solib-svr4.h".
2825 (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
2826 svr4_lp64_fetch_link_map_offsets.
2827 * Makefile.in (alphafbsd-tdep.o): Update dependencies.
2828 * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and
2829 solib-svr4.o.
2830 * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
2831 and solib-legacy.o.
2832 * config/alpha/nm-fbsd.h: Don't include "solib.h".
2833
bd4109fb
DJ
28342006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2835
2836 * source.c (_initialize_source): Use add_setshow_integer_cmd.
2837
1dce6535
DJ
28382006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
2839
2840 * linux-fork.c (delete_fork_command, detach_fork_command): Use
2841 PIDGET.
2842
76a9d10f
MK
28432006-01-15 Mark Kettenis <kettenis@gnu.org>
2844
2845 * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):
2846 Remove.
2847 (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2848 svr4_ilp32_fetch_link_map_offsets.
2849 * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove
2850 function.
2851 (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
2852 svr4_ilp32_fetch_link_map_offsets.
2853 * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets)
2854 (mips64_linux_svr4_fetch_link_map_offsets): Remove functions.
2855 (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2856 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
2857 where appropriate.
2858 * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets):
2859 Simply call svr4_ilp32_fetch_link_map_offsets.
2860 (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call
2861 svr4_lp64_fetch_link_map_offsets.
2862 * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove
2863 function.
2864 (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2865 svr4_ilp32_fetch_link_map_offsets.
2866 * s390-tdep.c (s390_svr4_fetch_link_map_offsets)
2867 (s390x_svr4_fetch_link_map_offsets): Remove functions.
2868 (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
2869 svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
2870 where appropriate.
2871
469db033
MK
28722006-01-15 Mark Kettenis <kettenis@gnu.org>
2873
25224166
MK
2874 * arm-tdep.c (arm_return_value): Change type of readbuf and
2875 writebuf arguments to `gdb_byte *'.
2876
469db033
MK
2877 * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
2878 * Makefile.in (s390-tdep.o): Update dependencies.
2879
4dd7c9f6
MK
28802006-01-14 Mark Kettenis <kettenis@gnu.org>
2881
081bf9da
MK
2882 * sol2-tdep.h. sol2-tdep.c: New files.
2883 * amd64-sol2-tdep.c: Include "sol2-tdep.h".
2884 (amd64_sol2_init_abi): Set skip_solib_resolver.
2885 * i386-sol2-tdep.c: Include "sol2-tdep.h".
2886 (i386_sol2_init_abi): Set skip_solib_resolver.
2887 * sparc-sol2-tdep.c: Include "sol2-tdep.h".
2888 (sparc32_sol2_init_abi): Set skip_solib_resolver.
2889 * sparc64-sol2-tdep.c: Include "sol2-tdep.h".
2890 (sparc64_sol2_init_abi): Set skip_solib_resolver.
2891 * Makefile.in (sol2_tdep_h): New variable.
2892 (ALLDEPFILES): Add sol2-tdep.c.
2893 (sol2-tdep.o): New target.
2894 (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o)
2895 (sparc64-sol2-tdep.o): Update dependencies
2896 * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o.
2897 * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
2898 * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o.
2899 * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
2900
c0f96416
MK
2901 * hppa-linux-tdep.c: Fix copyright indentation.
2902
4dd7c9f6
MK
2903 * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
2904 * hppabsd-nat.c (hppabsd_fpregset_supplies_p)
2905 (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
2906 functions.
2907 (hppabsd_fetch_registers, hppabsd_store_registers): Handle
2908 floating-point registers.
2909
6da86618
MM
29102006-01-13 Mark Mitchell <mark@codesourcery.com>
2911
2912 * event-loop.c (gdb_select): Detect file descriptors that have
2913 been closed.
2914
ed944ce7
MK
29152006-01-13 Mark Kettenis <kettenis@gnu.org>
2916
2917 * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
2918 and long_double_format accordingly.
2919
03ee6b2e
PH
29202006-01-12 Paul N. Hilfinger <hilfinger@adacore.com>
2921
2922 * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
2923 translation problems.
2924 * ada-lang.c (ada_value_struct_elt): Change interface and handling
2925 of errors to avoid translation problem (and less than optimal error
2926 messages).
2927 (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp):
2928 Use new interface to ada_value_struct_elt.
2929 * ada_lang.h (ada_value_struct_elt): Update declaration to new
2930 interface.
2931
2932 * ChangeLog: remove reference to ada-tasks.c from entry of
2933 2006-01-07.
2934
24b06219
MK
29352006-01-11 Mark Kettenis <kettenis@gnu.org>
2936
2937 * remote.c (get_memory_packet_size, set_thread)
2938 (remote_unpack_thread_info_response, remote_get_threadinfo)
2939 (parse_threadlist_response, remote_get_threadlist)
2940 (remote_current_thread, remote_threads_info)
2941 (remote_threads_extra_info, extended_remote_restart, get_offsets)
2942 (remote_check_symbols, remote_open_1, remote_detach)
2943 (remote_async_wait, remote_fetch_registers)
2944 (remote_store_registers, check_binary_download, putpkt_binary)
2945 (remote_insert_breakpoint, remote_insert_watchpoint)
2946 (remote_remove_watchpoint, remote_insert_hw_breakpoint)
2947 (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd)
2948 (packet_command): Remove redundant parenthesis.
2949
15550d6b
MK
29502006-01-10 Mark Kettenis <kettenis@gnu.org>
2951
dfb65433
MK
2952 * corefile.c (read_memory_integer, read_memory_unsigned_integer)
2953 (read_memory_typed_address, write_memory)
2954 (write_memory_unsigned_integer, write_memory_signed_integer): Use
2955 gdb_byte where appropriate.
2956
508416a1
MK
2957 * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
2958 'gdb_byte *'.
2959
f6519ebc
MK
2960 * target.h (target_read_memory_partial, target_write_memory_partial):
2961 Change second argument to 'gdb_byte *'.
2962 * target.c (target_xfer_memory_partial): Change third argument to
2963 'gdb_byte *'.
2964 (target_read_memory_partial, target_write_memory_partial): Change
2965 second argument to 'gdb_byte *'.
2966
15550d6b
MK
2967 * linespec.c (decode_objc): Make i1 and i2 unsigned.
2968 (find_method): Set values.sals to NULL.
2969
d7a30af7
MK
29702006-01-09 Mark Kettenis <kettenis@gnu.org>
2971
2972 * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
2973 of 'char *' in cast.
2974
e1d5a0d2
PH
29752006-01-07 Paul N. Hilfinger <hilfinger@adacore.com>
2976
2977 * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
03ee6b2e 2978 * ada-lang.c: I18n markup.
e1d5a0d2
PH
2979 Editorial: change "can not" => "cannot" throughout.
2980
790124be
MK
29812006-01-07 Mark Kettenis <kettenis@gnu.org>
2982
2983 * Makefile.in: Sort dependencies.
2984
3c481fdc
EZ
29852006-01-07 Eli Zaretskii <eliz@gnu.org>
2986
2987 * top.c (control_level): Remove unused variable.
2988
cb5d864f
FF
29892006-01-06 Fred Fish <fnf@specifix.com>
2990
2991 * objfiles.c (source.h): Include.
2992 (free_objfile): Update comment about clear_symtab_users().
2993 (free_objfile): Check all symtabs of objfile being freed and if
2994 one of them is the current source symtab, call
2995 clear_current_source_symtab_and_line().
2996
ac264b3b
MS
29972006-01-04 Michael Snyder <msnyder@redhat.com>
2998
2999 Checkpoint/Restart for Linux.
3000 * linux-nat.c: Add support for debugging multiple forks.
3001 Add #include for linux-fork.h (interface spec).
3002 (super_mourn_inferior): New function pointer.
3003 (child_mourn_inferior): New function / target method.
3004 (linux_target): Claim to_mourn_inferior method pointer.
3005 (child_follow_fork): Call interface to linux-fork, conditionally
3006 add new fork processes to list of debugged processes.
3007 (kill_inferior): Use interface to linux-fork to kill
3008 multiple processes.
3009
3010 * linux-fork.h: New file.
3011 * linux-fork.c: New file. Support for debugging multiple forks
3012 of the same program. Support for checkpoint and restart commands.
3013
3014 * infrun.c (nullify_last_target_wait_ptid): New function.
3015
3016 * Makefile.in: Add linux-fork.
3017 * config/*/linux.mh: Add linux-fork.
3018 * NEWS: Mention new functionality.
3019
f98ce7c2
PH
30202006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com>
3021
3022 * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc):
3023 Change uses of "illegal" to "invalid".
3024
52ce6436
PH
30252006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
3026
3027 * ada-exp.y: Considerable reorganization to move functionality
3028 from ada-lex.l to here, where it is logically more appropriate.
3029 The original reason, however, was to prevent premature name
3030 lookups for selector names in record aggregates.
3031 (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
3032 NAME for all of these.
3033 (VAR): New artificial token to clarify precedence rules.
3034 (OTHERS): New lexeme.
3035 (empty_stoken): New symbol.
3036 (%union): Remove ssym, voidval.
3037 (%type): Remove <voidval> type declarations.
3038 (syntax definitions): Add aggregates.
3039 Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
3040 Rename some non-terminals to be closer to reference manual usage.
3041 Tighten up expression syntax to disallow certain non-Ada
3042 constructions such as X and then Y or else Z.
3043 (ada_parse): Remove initialization of left_block_context.
3044 (write_var_from_name): Remove.
3045 (write_var_or_type): New function, containing previous code from
3046 defunct write_var_from_name and name_lookup.
3047 (block_lookup): New function, moved from ada-lex.l
3048 (select_possible_type_sym): New function, factored out of
3049 name_lookup, which used to be in ada-lex.l.
3050 (find_primitive_type): Ditto.
3051 (chop_selector): Ditto.
3052 (write_ambiguous_var): New function, factored out of defunct
3053 write_var_from_name.
3054 (write_selectors): New function.
3055 (write_name_assoc): New function.
3056 (write_exp_op_with_string): New function.
3057
3058 * ada-lex.l (processId): Change interface to return stoken.
3059 (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
3060 (block_lookup, name_lookup): Remove. Functionality moved to
3061 ada-exp.y.
3062 (state IN_STRING): Remove.
3063 (rules): Handle string escapes in processString.
3064 Add 'others' token.
3065 Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
3066 yylval.sval (as simple strings).
3067 All name look-ups now handled in ada-exp.y.
3068 Introduce "::" (COLONCOLON) token and return as separate token.
3069 (processId): Change return convention. Comment.
3070 Leave leading "'" in place.
3071 (processString): New function.
3072 (find_dot_all): Add note to comment.
3073 Fix problem that allowed match only at the end.
3074
3075 * ada-lang.c: Introduce aggregates.
3076 (find_struct_field): Add new parameter to count fields skipped, and
3077 allow other output parameters to be NULL.
3078 (value_tag_from_contents_and_address, ada_value_struct_elt): Use
3079 new find_struct_field.
3080 (ada_index_struct_field, assign_aggregate, ada_is_array_type)
3081 (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
3082 (num_component_specs, assign_component, assign_aggregate):
3083 (aggregate_assign_from_choices,aggregate_assign_positional)
3084 (aggregate_assign_others,add_component_interval):
3085 New functions.
3086 (ada_evaluate_subexp): Declare.
3087 Add aggregate-related operators.
3088 (ada_forward_operator_length): Declare.
3089 (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
3090 Consolidate Ada operators, using ada_forward_operator_length.
3091 (ada_search_struct_field): Search in forward order.
3092 (ADA_OPERATORS): Add new aggregate operators.
3093 (ada_operator_length, ada_op_name, ada_forward_operator_length)
3094 (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate
3095 operators and OP_NAME.
3096 (ada_type_of_array): Use longest_to_int.
3097 (value_assign_to_component): New function.
3098 (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
3099 Add OP_NAME case.
3100 (ada_forward_operator_length, ada_dump_subexp_body):
3101 Add OP_STRING case.
3102
3103 * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
3104 OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
3105
529cad9c
PH
31062006-01-02 Paul N. Hilfinger <hilfinger@adacore.com>
3107
3108 * ada-lang.c (process_raise_exception_name): Remove extraneous
3109 definition from unsubmitted code.
3110
3111 (is_lower_alphanum): New function.
3112 (ada_decode): Add support for decoding protected object subprograms
3113 and entries, and of entities declared inside protected object
3114 subprograms.
3115 Also add missing handling for__{DIGITS}+ suffixes.
3116 Allow '$<digits>' as valid overloading suffix.
3117 (is_name_suffix): Add handling for protected type entriy suffixes.
3118 Also add support for protected type subprogram suffixes, but keep
3119 it commented out for now, as there is an ambiguity between these
3120 entities and other internally generated entities.
3121 Allow '$<digits>' as valid overloading suffix.
3122 (is_valid_name_for_wild_match): New function.
3123 (wild_match): Add an exra level of verification of the entity name
3124 before declaring it a match for the given pattern.
3125
3126 (ada_type_of_array, ada_evaluate_subexp): Use more proper
3127 longest_to_int rather than cast.
3128
3129 (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
3130
3131 (ada_coerce_to_simple_array): Call check_size to make sure
3132 that the object size is reasonable.
3133
3134 (ada_value_primitive_packed_val): Use correct location in target
3135 buffer for extracting packed record fields that are themselves records.
3136
3137 (add_defn_to_vec): Do not try to replace a stub type by its full
3138 type. Avoids a potential infinite loop.
3139
3140 (ada_lookup_symbol): Move return incorrectly placed return statement,
3141 causing a loop that should be scanning all object files to only
3142 scan the first one.
3143
3144 (ada_tag_name_2): New function.
3145 (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
3146 use alternative representation.
3147
3148 (ada_find_renaming_symbol): Strip the function name suffix when
3149 computing the XR type name.
3150
3151 (ada_to_fixed_type): Try determining the tag only if we have the
3152 object's address.
3153 (to_fixed_array_type): Add comments.
3154
3155 (ada_check_typedef): Replace expression checking whether the given
3156 type is a stub or not by a "call" to TYPE_STUB. Clearer and more
3157 consistent.
3158
3159 * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
3160 '$' in addition to '.' for runtime auxiliary function name suffixes.
3161 See changes to ada_decode above.
3162
3163 (struct task_control_block): Add field called_task. (This change is
3164 to keep synchronized with our local sources; it does not affect the
3165 public version yet.)
3166
3167 * ada-typeprint.c (ada_print_type): Use int_string for printing
3168 modulus of modular type.
3169
3170 (print_range): Trivial editorial comment fix.
3171
3172 * ada-valprint.c (ada_emit_char): Use normal Ada syntax for
3173 double quote in string.
3174
9b799fe6
JB
31752006-01-01 Joel Brobecker <brobecker@adacore.com>
3176
3177 * top.c: Add 2006 to list of copyright years in file header.
3178
0bee0712
JB
31792006-01-01 Joel Brobecker <brobecker@adacore.com>
3180
3181 * top.c (print_gdb_version): Update copyright year to 2006.
3182
13c763f4
JB
31832006-01-01 Roger Sayle <roger@eyesopen.com>
3184 Elena Zannoni <ezannoni@redhat.com>
3185
3186 PR symtab/1651
3187 * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
3188 for NULL before assigning this_symtab_psymtab->objfile to objfile.
3189 (scan_xcoff_symtab): Initialize next_symbol_text_func.
3190 (Committed by Jim Blandy)
3191
e50f0da1 3192For older changes see ChangeLog-2005.
c906108c
SS
3193\f
3194Local Variables:
3195mode: change-log
3196left-margin: 8
3197fill-column: 74
3198version-control: never
3199End:
This page took 0.861668 seconds and 4 git commands to generate.