]> Git Repo - binutils.git/blob - gdb/ChangeLog
* m32c-tdep.c (m32c_banked_register): New function.
[binutils.git] / gdb / ChangeLog
1 2006-07-13  Corinna Vinschen  <[email protected]>
2
3         * m32c-tdep.c (m32c_banked_register): New function.
4         (m32c_banked_read): Use m32c_banked_register function to evaluate
5         real register number.
6         (m32c_banked_write): Ditto.
7         (m32c_virtual_frame_pointer): New function.
8         (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call.
9
10 2006-07-13  Nathan Sidwell  <[email protected]>
11
12         * m68k-tdep.c (m68k_frame_align): New.
13         (m68k_gdbarch_init): Set frame_align here.
14
15 2006-07-13  Denis PILAT  <[email protected]>
16
17         * interps.c (interpreter_completer): Allocate one more item to the
18         'matches' list and set them all to 0 with a xcalloc.
19
20 2006-07-13  Nick Roberts  <[email protected]>
21
22         * annotate.c (annotate_frame_begin): Re-instate frame-begin
23         annotation for level 3 annotations.
24
25 2006-07-13  Paul N. Hilfinger  <[email protected]>
26             Daniel Jacobowitz  <[email protected]>
27
28         * infcall.c (value_arg_coerce): Use value_cast_pointers for
29         references.  Avoid value_cast to a reference type.  Don't silently
30         convert pointers to references.
31         * valops.c (value_cast_pointers): New, based on value_cast.
32         (value_cast): Use it.  Reject reference types.
33         (value_ref): New.
34         (typecmp): Use it.
35         * value.h (value_cast_pointers, value_ref): New prototypes.
36
37 2006-07-12  Daniel Jacobowitz  <[email protected]>
38
39         * remote.c (unpack_varlen_hex): Correct type of retval.
40         Reported by Zhigang Gong <[email protected]>.
41
42 2006-07-12  Daniel Jacobowitz  <[email protected]>
43
44         * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted
45         or missing location list information.  Suggested by Jan
46         Kratochvil <[email protected]>.
47
48 2006-07-12  Daniel Jacobowitz  <[email protected]>
49
50         * Makefile.in (arm_linux_tdep_h): New variable.
51         (arm-linux-nat.o, arm-linux-tdep.o): Update.
52         * arm-linux-nat.c: Include "arm-linux-tdep.h".
53         (typeNone, typeSingle, typeDouble, typeExtended)
54         (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11)
55         (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none)
56         (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single)
57         (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register):
58         Delete.
59         (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs):
60         Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register,
61         and collect_nwfpe_register.
62         (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use
63         new regset functions.
64         * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h".
65         (arm_apcs_32): New declaration.
66         (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset)
67         (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble)
68         (typeExtended, supply_nwfpe_register, collect_nwfpe_register)
69         (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe)
70         (arm_linux_regset_from_core_section): New.
71         (arm_linux_init_abi): Register arm_linux_regset_from_core_section.
72         * arm-linux-tdep.h: New file.
73         * arm-tdep.h (struct regset): Declare.
74         (struct gdbarch_tdep): Add gregset, fpregset members.
75         * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and
76         core-regset.o.
77         * config/arm/linux.mt (TDEPFILES): Add corelow.o.
78
79 2006-07-12  Jan Kratochvil  <[email protected]>
80
81         * infrun.c (handle_inferior_event): Fixed typos in printf.
82
83 2006-07-12  Daniel Jacobowitz  <[email protected]>
84             Nathan Sidwell  <[email protected]>
85
86         * remote.c (REMOTE_ALIGN_WRITES): New.
87         (remote_write_bytes): Align large write packets.  Remove unused
88         payload_start variable.
89
90 2006-07-12  Daniel Jacobowitz  <[email protected]>
91
92         * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv.
93         (remote_supported_packet): Remove #if 0.
94         (remote_protocol_features): Add qPart:auxv:read.
95         (remote_unescape_input): New function.
96         (readchar): Don't mask off the high bit.
97         (read_frame): Use fputstrn_filtered for packet data.
98         (getpkt_sane): Return the number of bytes read or -1.  Use
99         fputstrn_unfiltered.
100         (remote_read_qxfer): New.
101         (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV.
102         (_initialize_remote): Update packet registration.
103         * defs.h (fputstrn_filtered): New prototype.
104         * utils.c (fputstrn_filtered): New.
105         * NEWS: Mention qXfer.
106
107 2006-07-12  Daniel Jacobowitz  <[email protected]>
108
109         * target.c (target_read): Stop if target_read_partial returns 0
110         when some bytes have already been read.
111         (target_write): Likewise for target_write_partial.
112         (target_read_partial, target_write_partial): Make static.
113         (target_read_alloc): New.
114         * target.h: Doc fixes.
115         (target_read_partial, target_write_partial): Delete prototypes.
116         (target_read_alloc): New prototype.
117
118         * auxv.c (target_auxv_read): Delete.
119         (target_auxv_search, fprint_target_auxv): Use target_read_alloc.
120         * auxv.h (target_auxv_read): Delete prototype.
121         * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc.
122         * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise.
123         * linux-nat.c (linux_nat_make_corefile_notes): Likewise.
124         * procfs.c (procfs_make_note_section): Likewise.
125         * remote.c (remote_xfer_partial): Don't loop here.
126         * sparc-tdep.c (sparc_fetch_wcookie): Use target_read.
127
128 2006-07-12  Daniel Jacobowitz  <[email protected]>
129
130         * arm-linux-tdep.c: Doc fixes.
131         (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT)
132         (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT)
133         (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New
134         constants.
135         (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support
136         the new signal frame layouts.
137
138 2006-07-12  Mike Frysinger  <[email protected]>:
139             Daniel Jacobowitz  <[email protected]>
140
141         * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'.
142         * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise.
143         * gdbarch.sh: Correct comment.
144
145 2006-07-12  Daniel Jacobowitz  <[email protected]>
146
147         * MAINTAINERS: Add Alfred Szmidt for the Hurd.
148
149 2006-07-11  Mark Kettenis  <[email protected]>
150
151         * alpha-tdep.h (ALPHA_INSN_SIZE): New define.
152
153 2006-07-10  Mark Kettenis  <[email protected]>
154
155         * alphaobsd-tdep.c: New file.
156         * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a
157         handler for GDB_OSABI_OPENBSD_ELF.
158         * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c.
159         (alphaobsd-tdep.o): New target.
160         * config/alpha/obsd.mt: New file.
161         * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd.
162
163 2006-07-10  Richard Henderson  <[email protected]>
164
165         * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory.
166         * alpha-tdep.c (alpha_register_byte): Remove.
167         (alpha_extract_struct_value_address): Remove.
168         (alpha_return_value): New.
169         (alpha_return_in_memory_always): New.
170         (alpha_gdbarch_init): Set tdep->return_in_memory.  Don't call
171         set_gdbarch_deprecated_register_byte.  Do call set_gdbarch_return_value
172         instead of set_gdbarch_deprecated_use_struct_convention,
173         set_gdbarch_extract_return_value, set_gdbarch_store_return_value,
174         or set_gdbarch_deprecated_extract_struct_value_address.
175         * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from
176         alphafbsd_use_struct_convention, remove gcc_p argument.
177         (alphafbsd_init_abi): Set tdep->return_in_memory instead of
178         set_gdbarch_deprecated_use_struct_convention.
179
180 2006-07-09  Mark Kettenis  <[email protected]>
181
182         * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New
183         prototype.
184         * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle
185         a.out-style core file format here.  Make global.
186         (alphanbsd_regset_from_core_section): Remove.
187         (alphanbsd_sigtramp_offset): Make static.
188         (alphanbsd_aout_init_abi): Remove.
189         (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for
190         a.out style core files.
191         (_initialize_alphanbsd_tdep): Do not register a handler for
192         GDB_OSABI_NETBSD_AOUT.
193
194         * alphabsd-tdep.h: Tweak comments.
195         (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove.
196         * alphanbsd-tdep.c: Reorder includes.  Include "regset.h".
197         (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines.
198         (alphanbsd_supply_fpregset, alphanbsd_supply_gregset)
199         (alphanbsd_aout_supply_gregset): New functions.
200         (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset):
201         New variables.
202         (alphanbsd_regset_from_core_section)
203         (alphanbsd_aout_regset_from_core_section): New functions.
204         (fetch_core_registers, fetch_elfcore_registers): Remove functions.
205         (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables.
206         (alphanbsd_init_abi): Set regset_from_core_section.
207         (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New
208         functions.
209         (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer.
210         Use alphanbsd_aout_init_abi whre appropriate.  Don't call
211         deprecated_add_core_fns.
212         * Makefile.in (alphanbsd-tdep.o): Update dependencies.
213
214         * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg)
215         (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces.
216
217         * alphanbsd-tdep.c (alphanbsd_init_abi): Use
218         svr4_lp64_fetch_link_map_offsets instead of
219         nbsd_lp64_solib_svr4_fetch_link_map_offsets.
220
221 2006-07-06  Andrew Stubbs  <[email protected]>
222
223         * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block
224         write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type,
225         write_exp_elt_intern): Zero initialize tmp.
226
227 2006-07-05  Daniel Jacobowitz  <[email protected]>
228
229         * remote.c (remote_xfer_partial): Remove KOD support.
230         * target.h (enum target_object): Remove TARGET_OBJECT_KOD.
231         * MAINTAINERS: Move Kernel Object Display entry to past maintainers.
232         * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o):
233         Remove KOD support.
234         * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands.
235         * NEWS: Mention KOD.
236         * kod.h, kod.c, kod-cisco.c: Delete files.
237
238 2006-07-04  Daniel Jacobowitz  <[email protected]>
239
240         * remote.c (init_remote_state): Use xrealloc instead of xmalloc.
241
242 2006-07-03  Nathan J. Williams  <[email protected]>
243
244         * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
245         write_files is set.
246
247 2006-06-24  Eli Zaretskii  <[email protected]>
248
249         * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'.
250
251 2006-06-23  Daniel Jacobowitz  <[email protected]>
252
253         * arm-tdep.c (arm_register_type): Use unsigned types for registers.
254         Add special types for sp and pc.
255         * Makefile.in (arm-tdep.o): Update.
256
257 2006-06-22  Daniel Jacobowitz  <[email protected]>
258
259         * remote.c (remote_escape_output): New function.
260         (remote_write_bytes): Use remote_escape_output.
261
262 2006-06-21  Daniel Jacobowitz  <[email protected]>
263
264         * NEWS: Mention qSupported.
265         * remote.c (struct remote_state): Add explicit_packet_size.
266         (get_remote_packet_size): Check explicit_packet_size.
267         (get_memory_packet_size): Likewise.
268         (PACKET_qSupported): New enum value.
269         (struct protocol_feature, remote_supported_packet)
270         (remote_packet_size, remote_protocol_features)
271         (remote_query_supported): New.
272         (remote_open_1): Reset explicit_packet_size.  Call
273         remote_query_supported.
274         (_initialize_remote): Register qSupported.
275
276 2006-06-21  Andrew Stubbs  <[email protected]>
277
278         * cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
279
280 2006-06-20  Joel Brobecker  <[email protected]>
281
282         * GDB 6.5 released from GDB 6.5 branch.
283
284 2006-06-19  Michael Snyder  <[email protected]>
285
286         * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
287         decide how many registers it takes to pass a floating point
288         argument, what matters is the size of a floating point register
289         (not the size of a general purpose register).
290         (mips_o32_push_dummy_call): Ditto.
291
292 2006-06-19  Kazuhiro Inaoka <[email protected]>
293
294         * configure.tgt: Add gdbserver support for m32r-linux.
295
296 2006-06-18  Mark Kettenis  <[email protected]>
297
298         * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment.
299
300 2006-06-15  Daniel Jacobowitz  <[email protected]>
301
302         * infrun.c (insert_step_resume_breakpoint_at_caller): New function,
303         based on insert_step_resume_breakpoint_at_frame.
304         (handle_inferior_event): Update comments.  Use
305         insert_step_resume_breakpoint_at_caller.
306         (insert_step_resume_breakpoint_at_frame): Revise comments.
307
308 2006-06-14  Daniel Jacobowitz  <[email protected]>
309
310         * dwarf2read.c (read_unspecified_type): New function.
311         (read_type_die): Handle DW_TAG_unspecified_type.
312         (Committed by Julian Brown.)
313
314 2006-06-13  Daniel Jacobowitz  <[email protected]>
315
316         * symfile.c (load_command): Check for a changed executable before
317         "load".
318
319 2006-06-13  Fred Fish  <[email protected]>
320
321         * mips-tdep.c (mips_find_long_section): New function.
322         (mips_gdbarch_init): Use it to set long and pointer sizes.
323
324 2006-06-13  Nathan Sidwell  <[email protected]>
325
326         * remote-file.io.c (remote_fileio_func_system): Treat zero length
327         string as NULL.  Adjust for NULL pointer argument.
328         * doc/gdb.texinfo (system): Document behaviour with zero length
329         string.
330
331 2006-06-12  Daniel Jacobowitz  <[email protected]>
332
333         * remote.c (set_remote_protocol_packet_cmd)
334         (show_remote_protocol_packet_cmd): New prototypes.
335         (remote_set_cmdlist, remote_show_cmdlist): Move higher.
336         (struct packet_config): Make name and title const.
337         (add_packet_config_cmd): Remove unnecessary arguments.
338         (_initialize_remote): Update calls.
339
340 2006-06-10  Daniel Jacobowitz  <[email protected]>
341
342         * mingw-hdep.c (gdb_select): Always check for NULL fd sets
343         before calling FD_ISSET.  Correct check for exceptfds which
344         previously tested writefds.
345
346 2006-06-09  Daniel Jacobowitz  <[email protected]>
347             Julian Brown  <[email protected]>
348
349         * dwarf2read.c (partial_read_comp_unit_head): Accept version 3.
350
351 2006-06-09  Julian Brown  <[email protected]>
352
353         * MAINTAINERS (Write After Approval): Add myself.
354
355 2006-06-08  Michael Snyder  <[email protected]>
356
357         * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
358
359 2006-06-08  Nathan Sidwell  <[email protected]>
360
361         * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
362         (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number
363         conversion. Use M68K_NUM_REGS for number of regs.
364
365         * remote-fileio.c (remote_fileio_reset): New.
366         * remote-fileio.h (remote_fileio_reset): Prototype.
367         * remote.c (extended_remote_restart, remote_open_1): Call it.
368
369         * remote.c (remote_open_1): Do preopen tasks before
370         irreversably destroying state.
371
372 2006-06-08  Daniel Jacobowitz  <[email protected]>
373
374         * remote.c (struct remote_state): New type, only containing
375         buf and buf_size.
376         (remote_state): New variable.
377         (get_remote_state): New function.
378         (struct remote_arch_state): Renamed from struct remote_state.
379         Removed buf and buf_size.
380         (get_remote_arch_state): Renamed from get_remote_state.  All
381         necessary callers updated to call this function.
382         (init_remote_state): Initialize the architecture-specific state.
383         Update the target-specific state if necessary.
384         (get_remote_packet_size): New function.  All previous references
385         changed to use this accessor function.
386         (packet_reg_from_regnum, packet_reg_from_pnum): Take a
387         remote_arch_state instead of a remote_state.  All callers changed.
388         (_initialize_remote): Initialize the packet buffer here.
389
390 2006-06-06  Nathan Sidwell  <[email protected]>
391
392         * remote.c (remote_insert_watchpoint): Return -1, rather than
393         fatal error if packet is disabled.
394         (remote_remove_watchpoint, remote_insert_hw_breakpoint,
395         remote_remove_hw_breakpoint): Likewise.
396
397 2006-06-02  Nick Roberts  <[email protected]>
398
399         * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED.
400
401 2006-05-31  Michael Snyder  <[email protected]>
402
403         * mips-tdep.c: Comment tweaks.
404
405 2006-05-31  Daniel Jacobowitz  <[email protected]>
406
407         * Makefile.in (top_builddir): Update comments.
408         (INTL_DIR, INTL_SRC): Delete.
409         (INTL, INTL_DEPS, INTL_CFLAGS): Update.
410         * acinclude.m4: Include new gettext macros.
411         * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR.  Remove copied
412         CATALOGS code.
413         * aclocal.m4, configure: Regenerated.
414
415 2006-05-30  Daniel Jacobowitz  <[email protected]>
416
417         * Makefile.in (arm-linux-nat.o): Update dependencies.
418         * arm-linux-nat.c: Include "gdb_proc_service.h".
419         (PTRACE_GET_THREAD_AREA): Define.
420         (ps_get_thread_area): New function.
421
422 2006-05-28  Alexandre Oliva  <[email protected]>
423
424         * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
425         DWARF2_FRAME_REG_SAVED_VAL_OFFSET and
426         DWARF2_FRAME_REG_SAVED_VAL_EXP.
427         * dwarf2-frame.c (execute_cfa_program): Handle val_offset,
428         val_offset_sf and val_expression.
429         (dwarf2_frame_prev_register): Handle the new reg rules.
430         (dwarf2_frame_this_id): Use pc instead of function entry point.
431
432 2006-05-28  Alexandre Oliva  <[email protected]>
433
434         * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field.
435         (dwarf2_frame_sniffer): Use it.
436         (decode_frame_entry_1): Set it according to augmentation "S".
437
438 2006-05-27  Joel Brobecker  <[email protected]>
439
440         From Peter Schauer <[email protected]>
441         * m2-typeprint.c (m2_record_fields): Move variable declarations
442         to the begining of the block.
443         
444 2006-05-23  Mark Mitchell  <[email protected]>
445
446         * mt-tdep.c (mt_register_name): Correct out-of-range logic to
447         include additional registers. 
448
449         * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2,
450         Iscramb2, Qscramb2, Qchannel2.
451         (mt_register_name): Likewise.
452         (mt_copro_register_type): Describe ZI2 and ZQ2.
453
454         * mt-tdep.c (mt_gdb_regnums): Define
455         MT_COPRO_PSEUDOREG_MAC_REGNUM.
456         (mt_register_name): Use it.
457         (mt_copro_register_type): Likewise.
458         (mt_register_type): Likewise.
459         (mt_pseudo_register_read): Likewise.  Read the MAC register, not
460         the coprocessor register.
461         (mt_pseudo_register_write): Likewise.
462
463 2006-05-21  Christopher Faylor  <[email protected]>
464
465         * win32-nat.c (cygwin_exceptions): New variable.
466         (handle_exception): Treat a cygwin exception like a normal exception if
467         cygwin_exceptions is true.
468         (_initialize_win32_nat): Add "set cygwin-exceptions" handler.
469
470 2006-05-20  Gaius Mulley  <[email protected]>
471
472         * NEWS: (Improved Modula-2 language support): New section.
473
474 2006-05-19  Joel Brobecker  <[email protected]>
475
476         * configure: Regenerate using proper version of autoconf.
477
478 2006-05-19  Fred Fish  <[email protected]>
479
480         * Makefile.in: Fix spelling of 'explicitly' and 'explicit'.
481         * dwarfread.c: Fix spelling of 'unexpected'.
482         * mips-tdep.c: Fix spelling of 'possible' and 'Determine'.
483         * stack.c: Fix spelling of 'RETURN_VALUE'.
484         
485 2006-05-18  Paul Gilliam  <[email protected]
486
487         * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones.
488
489 2006-05-17  Daniel Jacobowitz  <[email protected]>
490
491         * dwarf2-frame.c: Include "value.h".
492         (read_reg): Use unpack_long and register_type.
493         * Makefile.in (dwarf2-frame.o): Update.
494
495 2006-05-17  Daniel Jacobowitz  <[email protected]>
496
497         * remote-rdp.c: Deleted.
498         * NEWS: Mention removal of remote-rdp.c.
499
500         * Makefile.in (ALLDEPFILES): Remove remote-rdp.c.
501         (remote-rdp.o): Delete.
502         * README: Remove description of remote-rdp.c.
503         * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment.
504         * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o.
505
506 2006-05-16  Daniel Jacobowitz  <[email protected]>
507
508         * ser-e7kpc.c: Include <time.h> if it is available.
509
510 2006-05-16  Joel Brobecker  <[email protected]>
511
512         * version.in (version.in): Bump version number to 6.5.50 now
513         that the gdb-6.5 branch has been created.
514         * NEWS: Create a new section for changes that are included
515         since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5"
516         section.
517
518 2006-05-16  Jim Blandy  <[email protected]>
519
520         * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted
521         the Global Maintainers' invitation to be an authorized committer
522         for the Modula-2 support.
523
524 2006-05-15  Mark Kettenis  <[email protected]>
525
526         * ppcobsd-nat.c: Include "gdb_assert.h".
527         [PT_GETFPREGS] (getfpregs_supplies): New function.
528         (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS
529         versions that have PT_GETFPREGS.
530         (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize
531         ppcobsd_fpreg_offsets.
532         * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset):
533         Declare.
534         * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New
535         variables.
536         (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets.
537         * Makefile.in (ppcobsd-nat.o): Update dependencies.
538
539 2006-05-15  Daniel Jacobowitz  <[email protected]>
540
541         * configure.ac: Use GCC_HEADER_STDINT.
542         * acinclude.m4: Include stdint.m4.
543         * Makefile.in (gdb_stdint_h): Define.
544         (distclean): Remove gdb_stdint.h.
545         (Makefile, stamp-h): Update rules to generate only the correct
546         files.
547         (gdb_stdint.h, stamp-int): New rules.
548         * config.in, configure: Regenerated.
549
550 2006-05-15  Daniel Jacobowitz  <[email protected]>
551
552         * valprint.c: Include "exceptions.h".
553         (val_print): If something goes wrong while printing, supply an
554         error message.
555
556 2006-05-15  Peter O'Gorman  <[email protected]>
557
558         * source.c (get_current_source_symtab_and_line)
559         (set_current_source_symtab_and_line): Use { 0 }.
560         * cli/cli-cmds.c (list_command): Likewise.
561
562 2006-05-14  Nick Roberts  <[email protected]>
563
564         * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands.
565         (gdbmi): Use new variable name gdb-pc-address.
566         (gdbmi-frame-handler):  Use new variable name gdb-pc-address.
567         Check that a match has been found.
568
569 2006-05-13  Gaius Mulley  <[email protected]>
570
571         * m2-lang.h: Added function extern prototypes for
572         m2_is_long_set and get_long_set_bounds.
573         * m2-typeprint.c: Complete replacement.
574         (m2_print_type): Walk the Modula-2 type tree.
575         (m2_type_name): New function.
576         (m2_range): New function.
577         (m2_typedef): New function.
578         (m2_array): New function.
579         (m2_pointer): New function.
580         (m2_ref): New function.
581         (m2_unknown): New function.
582         (m2_union): New function.
583         (m2_procedure): New function.
584         (m2_print_bounds): New function.
585         (m2_short_set): New function.
586         (m2_is_long_set): New function.
587         (m2_get_discrete_bounds): New function.
588         (m2_is_long_set_of_type): New function.
589         (m2_long_set): New function.
590         (m2_record_fields): New function.
591         (m2_enum): New function.
592         * dwarf2read.c: Modified.
593         (read_set_type): New function.
594         (process_die): Call read_set_type.
595         (read_base_type): Modifed.
596         (set_cu_language): Added Modula-2 case clause.
597         * m2-valprint.c: Complete replacement.
598         (print_function_pointer_address): New function.
599         (get_long_set_bounds): New function.
600         (m2_print_long_set): New function.
601         (print_unpacked_pointer): New function.
602         (print_variable_at_address): New function.
603         (m2_val_print): Replaced.
604         * gdb/MAINTAINERS (Write After Approval): Added
605         Gaius Mulley  <[email protected]>
606
607 2006-05-12  Mark Kettenis  <[email protected]>
608
609         * ppcnbsd-tdep.h: Update copyright year.  Include <stddef.h>
610         (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
611         (ppcnbsd_fill_fpreg): Remove prototypes.
612         (struct regset): Add forward declaration.
613         (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations.
614         * ppcnbsd-tdep.c: Update copyright year.  Include "gdbtypes.h",
615         "regset.h" and "gdb_string.h".  Don't include "breakpoint.h",
616         "value.h", target.h and nbsd-tdep.h".  Reorder includes.
617         (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET)
618         (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG)
619         (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG):
620         Remove macros.
621         (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg)
622         (ppcnbsd_fill_fpreg): Remove functions.
623         (fetch_core_registers, fetch_elfcore_registers): Remove functions.
624         (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables.
625         (ppcnbsd_reg_offsets): New variable.
626         (ppcnbsd_gregset, ppcnbsd_fpregset): New variables.
627         (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline
628         introduced in NetBSD 2.0.
629         (ppcnbsd_sigtramp): Provide complete signal trampoline.
630         (ppcnbsd2_sigtramp): New variable.
631         (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to
632         svr4_ilp32_fetch_link_map_offsets.  Set regset_from_core_section.
633         Add ppcnbs2_sigtramp unwinder.
634         (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns.
635         Initialize ppcnbsd_reg_offsets.
636         * ppcnbsd-nat.c: Update copyright year.  Reorder includes.
637         (getregs_supplies): Use regnum instead of regno.
638         (getfpregs_supplies): Likewise.
639         (ppcnbsd_fetch_inferior_registers): Likewise.  Call
640         ppc_supply_gregset and ppc_suppply_fpregset instead of
641         ppcnbsd_supply_reg and ppcnbsd_supply_fpreg
642         (ppcnbsd_store_inferior_registers): Likewise.  Call
643         ppc_collect_gregset and ppc_collect_fpregset instead of
644         ppcnbsd_fill_reg and ppcnbsd_fill_fpreg.
645         (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'.
646         (_initialize_ppcnbsd_nat): Add some whitespace.
647         * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies.
648         * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o.
649         (NAT_FILE): Remove.
650         * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o.
651
652 2006-05-11  Alfred M. Szmidt  <[email protected]>
653
654         * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments.
655
656 2006-05-11  Fred Fish  <[email protected]>
657
658         * symtab.c (skip_prologue_using_sal): Handle single line functions
659         like "foo(){}", which may optimize down to a single return inst.
660
661 2006-05-10  Steve Ellcey  <[email protected]>
662
663         * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove
664         message.
665
666 2006-05-09  Andreas Schwab  <[email protected]>
667
668         * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p.
669         (execute_cfa_program): Add parameter eh_frame_p.  Call
670         dwarf2_frame_eh_frame_regnum when true.
671         (dwarf2_frame_cache): Pass eh_frame_p from fde to
672         execute_cfa_program.
673         (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when
674         processing .eh_frame.  Copy eh_frame_p to the new fde.
675         (struct dwarf2_frame_ops): Add eh_frame_regnum.
676         (dwarf2_frame_set_eh_frame_regnum): Define.
677         (dwarf2_frame_eh_frame_regnum): Define.
678
679         * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare.
680         (dwarf2_frame_eh_frame_regnum): Declare.
681
682 2006-05-06  David S. Miller  <[email protected]>
683
684         * linux-nat.c (linux_nat_do_thread_registers): Check for
685         NULL collect_regset method.
686
687 2006-05-06  Ulrich Weigand  <[email protected]>
688
689         * s390-tdep.c (s390_collect_regset): New function.
690         (s390_gregset, s390x_gregset, s390_fpregset): Add it.
691
692 2006-05-06  Nick Roberts  <[email protected]>
693
694         * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a
695         symbol.
696
697 2006-05-05  Ulrich Weigand  <[email protected]>
698
699         * linux-nat.c (exit_lwp): Fix NULL pointer access.
700         (linux_nat_handle_extended): New parameter STOPPING.
701         (wait_lwp): Call it with STOPPING equals 1.
702         (linux_nat_wait): Call it with STOPPING equals 0.
703
704 2006-05-05  Ulrich Weigand  <[email protected]>
705
706         * linux-nat.c (linux_nat_wait): Do not short-cut reporting
707         of 'uninteresting' signals when single-stepping.
708
709 2006-05-05  Daniel Jacobowitz  <[email protected]>
710
711         * MAINTAINERS: Move NEWS to the documentation entry.
712
713 2006-05-05  David S. Miller  <[email protected]>
714
715         * linux-nat.c (linux_nat_do_thread_registers): Use the
716         regset_from_core_section infrastructure if the target
717         supports it.
718         * Makefile.in: Update dependencies.
719         * linux-thread-db.c (thread_db_store_registers): Use
720         regcache_raw_collect.
721
722 2006-05-05:  Paul Gilliam  <[email protected]>
723
724         * ppc-linux-nat.c: Clean up types for ptrace.
725         Replace (CORE_ADDR) with  (uintptr_t) to avoid the size difference
726         between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits.
727
728 2006-05-05  Daniel Jacobowitz  <[email protected]>
729
730         * remote.c (remote_disconnect): Add TARGET argument.
731         * target.c (debug_to_disconnect): Delete.
732         (update_current_target): Do not inherit to_disconnect.
733         (target_disconnect): Search for a target to implement to_disconnect.
734         (setup_target_debug): Do not reference to_disconnect.
735         * target.h (struct target_ops): Add target argument to
736         to_disconnect.
737
738 2006-05-06  Fred Fish  <[email protected]>
739
740         * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian
741         structs or unions independent of ABI register size.
742
743 2006-05-06  Fred Fish  <[email protected]>
744
745         * mips-tdep.c (mips_o64_return_value): Replace stub that always
746         returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
747
748 2006-05-05  Daniel Jacobowitz  <[email protected]>
749
750         * mi/mi-main.c (captured_mi_execute_command): Check the return
751         value of -interpreter-exec.
752
753 2006-05-03  Vladimir Prus  <[email protected]>
754
755         * varobj.c (c_value_of_variable): Ignore top-level references.
756         (Committed by Jim Blandy.)
757
758 2006-04-30  Mark Kettenis  <[email protected]>
759
760         * breakpoint.c (insert_single_step_breakpoint): Make a failure to
761         insert a single-step breakpoint an error instead of a warning.
762
763 2006-05-01  Nathan J. Williams  <[email protected]>
764
765         * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
766         arguments from void * to gdb_byte *.
767
768 2006-04-26  Michael Snyder  <[email protected]>
769
770         * linux-fork.c (_initialize_linux_fork): Rename "delete-fork"
771         command to "delete fork" (no hyphen), compatible with other
772         "delete" commands.
773         (info_forks_command): Accept a fork ID argument, for info
774         on a single fork.  Report if no matching forks.
775
776 2006-04-25  Mark Kettenis  <[email protected]>
777
778         * breakpoint.c (remove_single_step_breakpoints): Bail out early if
779         no breakpoints are inserted.
780
781         From Masaki MURANAKA <[email protected]>:
782         * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change
783         type of last argument to `gdb_byte *'
784
785 2006-04-25  Jim Blandy  <[email protected]>
786
787         Add support for 'target remote |' on MinGW.
788         * ser-mingw.c (struct pipe_state): New structure.
789         (make_pipe_state, free_pipe_state, cleanup_pipe_state)
790         (pipe_windows_open, pipe_windows_close, pipe_windows_read)
791         (pipe_windows_write, pipe_wait_handle): New functions.
792         (_initialize_ser_windows): Register a "pipe" interface based on
793         them.
794
795 2006-04-24  Daniel Jacobowitz  <[email protected]>
796
797         * ser-mingw.c: Include <conio.h>.
798         (struct ser_console_state, struct net_windows_state): Add exit_select,
799         have_stopped, thread.
800         (pipe_select_thread, console_select_thread)
801         (net_windows_select_thread): Don't create a local state copy or
802         close stop_select.  Exit on exit_select instead of stop_select.  Set
803         have_stopped.
804         (console_select_thread): Don't report control keypresses as pending
805         input.
806         (pipe_select_thread): Allow stop_select to interrupt sleeping.
807         (set_console_wait_handle): Create exit_select and have_stopped.
808         Save the thread handle.  Check _kbhit before starting a thread.
809         (ser_console_done_wait_handle): New.
810         (ser_console_close): Close new handles.  Wait for the thread to
811         exit.
812         (new_windows_select_thread): Assert that an event occurred.
813         (net_windows_wait_handle): Check for pending input before starting
814         a thread.
815         (net_windows_done_wait_handle): New.
816         (net_windows_open): Create exit_select and have_stopped.
817         Save the thread handle.
818         (net_windows_close): Close new handles.  Wait for the thread to
819         exit.
820         (_intiialize_ser_windows): Register done_wait_handle methods.
821
822         * serial.c [USE_WIN32API] (serial_done_wait_handle): New.
823         * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle.
824         [USE_WIN32API] (serial_done_wait_handle): New prototype.
825         * mingw-hdep.c (gdb_select): Use serial_done_wait_handle.
826
827 2006-04-23  Andreas Schwab  <[email protected]>
828
829         * rs6000-tdep.c: Include "reggroups.h" only once.
830         * Makefile.in (rs6000-tdep.o): Update dependencies.
831
832 2006-04-21  Frederic Riss  <[email protected]>
833
834         * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
835         compilation directory as last argument. 
836         Always pass comp_dir as second argument to start_subfile and prepend
837         dirname to the filename when necessary. 
838         Remove now superfluous search for pre-existing subfile.
839         (dwarf_decode_lines): Pass the compilation directory to
840         dwarf2_start_subfile.
841
842 2006-04-20  Michael Snyder  <[email protected]>
843
844         * 2006-03-22  Jim Blandy  <[email protected]>
845         Add support for the Renesas M32C and M16C.
846
847         * configure.tgt (m32c-*-*): New entry.
848         * config/m32c/m32c.mt: New file.
849         * m32c-tdep.c: New file.
850         * Makefile.in (elf_m32c_h): New variable.
851         (m32c-tdep.o): New rule.
852         * NEWS: Mention new target.
853         * MAINTAINERS: Designate Jim Blandy as responsible maintainer.
854
855 2006-04-20  Michael Snyder  <[email protected]>
856
857         * remote.c: Fix spelling error in comment.
858
859 2006-04-20  Daniel Jacobowitz  <[email protected]>
860
861         * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register):
862         Correct type of VALUEP.  Reported by Jean-Rene Peulve
863         <[email protected]>.
864
865 2006-04-19  Masaki Muranaka  <[email protected]>
866
867         * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h,
868         netdb.h, netinet/in.h.
869         (m32r_upload_command); Add calls WSAStartup().
870         * remote-m32r-sdi.c: On MinGW, include winsock.h instead of
871         netinet/in.h.
872
873 2006-04-18  Daniel Jacobowitz  <[email protected]>
874
875         * breakpoint.c (deprecated_read_memory_nobpt): Update to use
876         shadow_len.
877         (insert_bp_location, reattach_breakpoints, remove_breakpoint)
878         (delete_breakpoint): Update calls to changed methods.
879         (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
880         (single_step_breakpoints, insert_single_step_breakpoint)
881         (remove_single_step_breakpoints): New.
882         * breakpoint.h (struct bp_target_info): New.
883         (struct bp_location): Replace shadow_contents with
884         target_info and overlay_target_info.
885         (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint)
886         (insert_single_step_breakpoint, remove_single_step_breakpoints): New
887         prototypes.
888         * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h.
889         (memory_insert_breakpoint, memory_remove_breakpoint): Update second
890         argument.
891         * mem-break.c (default_memory_insert_breakpoint): Update.  Set
892         placed_address, placed_size, and shadow_len.
893         (default_memory_remove_breakpoint): Update.  Don't use
894         BREAKPOINT_FROM_PC.
895         (memory_insert_breakpoint, memory_remove_breakpoint): Update.
896         * target.c (update_current_target): Update prototypes for changed
897         functions.
898         (debug_to_insert_breakpoint, debug_to_remove_breakpoint)
899         (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint):
900         Update.
901         * target.h: Forward declare struct bp_target_info.
902         (struct target_ops): Use a bp_target_info argument for
903         to_insert_breakpoint, to_remove_breakpoint,
904         to_insert_hw_breakpoint, and to_remove_hw_breakpoint.
905         (target_insert_breakpoint, target_remove_breakpoint)
906         (target_insert_hw_breakpoint, target_remove_hw_breakpoint)
907         (memory_insert_breakpoint, memory_remove_breakpoint)
908         (default_memory_insert_breakpoint, default_memory_remove_breakpoint):
909         Update.
910         * config/i386/nm-i386.h: Forward declare struct bp_target_info.
911         (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update.
912         (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise.
913
914         * gdbarch.c, gdbarch.h: Regenerated.
915
916         * alpha-tdep.c (alpha_software_single_step): Use
917         insert_single_step_breakpoint and remove_single_step_breakpoints.
918         Remove unused statics.
919         * arm-tdep.c (arm_software_single_step): Likewise.  Add a note.
920         * cris-tdep.c (cris_software_single_step): Likewise.
921         * mips-tdep.c (mips_software_single_step): Likewise.
922         * rs6000-tdep.c (rs6000_software_single_step): Likewise.
923         * sparc-tdep.c (sparc_software_single_step): Likewise.
924         * wince.c (struct thread_info_struct): Remove step_prev.
925         (undoSStep): Use remove_single_step_breakpoints.
926         (wince_software_single_step): Use insert_single_step_breakpoint.
927
928         * corelow.c (ignore): Remove unneeded prototype.  Update arguments.
929         * exec.c (ignore): Likewise.
930         * sol-thread.c (ignore): Likewise.
931
932         * procfs.c (dbx_link_shadow_contents): Delete.
933         (dbx_link_bpt): New.
934         (procfs_mourn_inferior): Remove it if necessary.
935         (remove_dbx_link_breakpoint): Use it.
936         (insert_dbx_link_bpt_in_file): Set it.
937         (procfs_init_inferior): Don't update dbx_link_bpt_addr.
938         * rs6000-nat.c (exec_one_dummy_insn): Use
939         deprecated_insert_raw_breakpoint and
940         deprecated_remove_raw_breakpoint.
941         * solib-irix.c (shadow_contents, breakpoint_addr): Delete.
942         (base_breakpoint): New.
943         (disable_break): Use it.
944         (enable_break): Set it.
945
946         * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint):
947         Update.
948         * ia64-tdep.c (ia64_memory_insert_breakpoint)
949         (ia64_memory_remove_breakpoint): Likewise.
950         * m32r-tdep.c (m32r_memory_insert_breakpoint)
951         (m32r_memory_remove_breakpoint): Likewise.
952         * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
953         Likewise.  Remove unnecessary prototypes.  Use placed_address
954         and placed_size.  Removed useless read from memory.
955         * nto-procfs.c (procfs_insert_breakpoint)
956         (procfs_remove_breakpoint, procfs_insert_hw_breakpoint)
957         (procfs_remove_hw_breakpoint): Update.
958         * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
959         * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise.
960         * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
961         * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise.
962         * remote-e7000.c (e7000_insert_breakpoint)
963         (e7000_remove_breakpoint): Likewise.
964         * remote-m32r-sdi.c (m32r_insert_breakpoint)
965         (m32r_remove_breakpoint): Likewise.
966         * remote-mips.c (mips_insert_breakpoint)
967         (mips_remove_breakpoint): Likewise.
968         * remote-rdp.c (remote_rdp_insert_breakpoint)
969         (remote_rdp_remove_breakpoint): Likewise.
970         (rdp_step): Use deprecated_insert_raw_breakpoint and
971         deprecated_remove_raw_breakpoint.
972         * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint):
973         Update.
974         * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint):
975         Delete.
976         (init_gdbsim_ops): Use memory_insert_breakpoint and
977         memory_remove_breakpoint.
978         * remote-st.c (st2000_insert_breakpoint)
979         (st2000_remove_breakpoint): Update.  Remove unused
980         BREAKPOINT_FROM_PC.
981         * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
982         Update.  Use placed_address and placed_size.
983         (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise.
984
985 2006-04-12  Daniel Jacobowitz  <[email protected]>
986
987         * remote.c (extended_remote_restart): Pass the correct length
988         to getpkt.
989
990 2006-04-11  Jim Blandy  <[email protected]>
991
992         * serial.c (serial_open): Check for special cases at the front of
993         the "device" name before scanning for the ':' that would indicate
994         an IP-based connection.
995
996 2006-04-10  Christopher Faylor  <[email protected]>
997
998         * win32-nat.c (open_symbol_file_object): New function.
999         (in_dynsym_resolve_code): Ditto.
1000         (init_win32_ops): Fill in fields which ought not to be NULL.
1001
1002 2006-04-10  Christopher Faylor  <[email protected]>
1003
1004         * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything
1005         with saved context if __COPY_CONTEXT_SIZE is not defined.
1006         (handle_output_debug_string): Ditto.
1007
1008 2006-04-10  Daniel Jacobowitz  <[email protected]>
1009
1010         * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte.
1011
1012 2006-04-09  David S. Miller  <[email protected]>
1013
1014         * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2
1015         frame sniffer.
1016         * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call
1017         dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so
1018         that the latter can override.
1019         * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
1020
1021 2006-04-09  Ulrich Weigand  <[email protected]>
1022
1023         * s390-tdep.c (struct s390_prologue_data): New field 'stack'.
1024         (s390_store): Call pv_area_store to track stack slots.
1025         (s390_load): Call pv_area_fetch to track stack slots.
1026         (s390_check_for_saved): New function.
1027         (s390_analyze_prologue): Call pv_area_scan.  Allocate and free stack.
1028
1029 2006-04-09  Ulrich Weigand  <[email protected]>
1030
1031         * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h).
1032         * s390-tdep.c: Include "prologue-value.h".
1033         (struct prologue_value): Remove.
1034         (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
1035         pv_constant_last, pv_add, pv_add_constant, pv_subtract,
1036         pv_logical_and, pv_is_identical, pv_is_register): Remove.
1037         (compute_x_addr): Remove, replace by ...
1038         (s390_addr): ... this new function.
1039         (struct s390_prologue_data): Use pv_t instead of prologue_value.
1040         (s390_store, s390_load): Likewise.
1041         (s390_prologue_frame_unwind_cache): Likewise.
1042         (s390_analyze_prologue): Likewise.  Also, simplify and combine
1043         several conditional statements.
1044
1045 2006-04-08  Jim Blandy  <[email protected]>
1046
1047         * Makefile.in (COMMON_OBS): List prologue-value.o.  (Omitted from
1048         last patch.)
1049
1050 2006-04-08  David S. Miller  <[email protected]>
1051
1052         * sparc-linux-tdep.c (sparc32_linux_step_trap): New.
1053         (sparc32_linux_init_abi): Hook it into tdep->step_trap.
1054         (sparc32_linux_core_gregset,
1055         sparc32_linux_supply_core_gregset,
1056         sparc32_linux_collect_core_gregset,
1057         sparc32_linux_supply_core_fpregset,
1058         sparc32_linux_collect_core_fpregset): New.
1059         (sparc32_linux_init_abi): Register them with generic sparc
1060         core regset infrastructure.
1061         * sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
1062         (sparc64_linux_init_abi): Hook it into tdep->step_trap.
1063         (sparc64_linux_core_gregset,
1064         sparc64_linux_supply_core_gregset,
1065         sparc64_linux_collect_core_gregset,
1066         sparc64_linux_supply_core_fpregset,
1067         sparc64_linux_collect_core_fpregset): New.
1068         (sparc64_linux_init_abi): Register them with generic sparc
1069         core regset infrastructure.     
1070         * Makefile.in: Update dependencies.
1071
1072 2006-04-07  David S. Miller  <[email protected]>
1073
1074         * linux-nat.c (linux_nat_thread_alive): Handle targets that
1075         do not implement PTRACE_PEEKUSER.
1076
1077 2006-04-07  Daniel Jacobowitz  <[email protected]>
1078
1079         * remote.c (remote_wait): Convert warning to error before
1080         parsing corrupt packets.
1081
1082 2006-04-07  Andrew Stubbs  <[email protected]>
1083
1084         * cli/cli-script.c (struct user_args): Add command field.
1085         (arg_cleanup): Free command string.
1086         (setup_user_args): Copy the command line before relying on it.
1087
1088 2006-04-06  Joel Brobecker  <[email protected]>
1089
1090         * breakpoint.c (_initialize_breakpoint): Add "del" as an alias
1091         of the "delete" command.
1092
1093 2006-04-06  Randolph Chung  <[email protected]>
1094
1095         * MAINTAINERS (Patch champions): Add myself.
1096
1097 2006-04-05  Andreas Schwab  <[email protected]>
1098
1099         * Makefile.in: Update dependencies.
1100
1101 2006-04-05  David S. Miller  <[email protected]>
1102
1103         * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
1104         (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
1105         * Makefile.in (sparc-tdep.o): Update dependencies.
1106         * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
1107         window out of the correct stack frame.
1108         * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
1109         * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
1110         argument.
1111         (dwarf2_frame_default_init_reg): Likewise.
1112         (dwarf2_frame_set_init_reg): Update init_reg arg.
1113         (dwarf2_frame_init_reg): Take "next_frame" and pass it to
1114         ops->init_reg().
1115         (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
1116         * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
1117         * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
1118         * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
1119         * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
1120         * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
1121         * sparc-tdep.c (sparc32_struct_return_from_sym): New function.
1122         (sparc32_frame_cache): Call it.
1123         (sparc32_dwarf2_struct_return_p): New function.
1124         (sparc_dwarf2_frame_init_reg): Use it to determine if the function
1125         returns a structure and thus we have to indicate the return PC and
1126         NPC are 4 bytes later than usual.
1127         * sparc-linux-tdep.c (sparc32_linux_init_abi): Append
1128         dwarf2 frame sniffer.
1129         * Makefile.in (sparc-linux-tdep.o): Update dependencies.
1130         
1131 2006-04-04  David S. Miller  <[email protected]>
1132
1133         * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
1134         * config/linux64.h (NATDEPFILES): Likewise
1135         * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
1136         fill_fpregset): New.
1137         * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
1138         fill_fpregset): New.
1139         * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
1140         new includes.
1141         
1142 2006-04-04  Andreas Schwab  <[email protected]>
1143
1144         * Makefile.in (elf_common_h): Define.
1145
1146 2006-04-03  Andrew Stubbs  <[email protected]>
1147
1148         * sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
1149         (sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
1150
1151 2006-03-31  Andrew Stubbs  <[email protected]>
1152
1153         * value.h (struct internalvar): Add field 'endian'.
1154         * value.c (lookup_internalvar): Initialise endian.
1155         (value_of_internalvar): Flip the endian of built-in types if required.
1156         (set_internalvar): Set the endian.
1157         (show_convenience): Access the value through value_of_internalvar().
1158
1159 2006-03-30  Vladimir Prus  <[email protected]>
1160
1161         * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum
1162         instead of hardcoded integer literals.
1163
1164 2006-03-30  Daniel Jacobowitz  <[email protected]>
1165
1166         * cli/cli-script.c (insert_args): Handle NULL user_args.
1167
1168 2006-03-30  Daniel Jacobowitz  <[email protected]>
1169
1170         * arm-tdep.c (thumb_scan_prologue): Don't try to analyze
1171         the function at zero if we have no symbols.
1172
1173 2006-03-30  Adrien Kunysz  <[email protected]>
1174
1175         * i386-stub.c (getpacket): Fix array overflow.
1176         * m32r-stub.c (getpacket): Likewise.
1177         * m68k-stub.c (getpacket): Likewise.
1178         * sh-stub.c (getpacket): Likewise.
1179         * sparc-stub.c (getpacket): Likewise.
1180
1181 2006-03-30  Daniel Jacobowitz  <[email protected]>
1182  
1183         * frame.h (set_current_sal_from_frame): New prototype.
1184         * stack.c (set_current_sal_from_frame): Make global.
1185         * infrun.c (normal_stop): Call set_current_sal_from_frame.
1186
1187 2006-03-30  Daniel Jacobowitz  <[email protected]>
1188
1189         * linux-thread-db.c: Include "linux-nat.h".
1190         (check_for_thread_db): New function, split out from
1191         thread_db_new_objfile.  Remove dead check for active
1192         thread_db on inapplicable targets.
1193         (thread_db_new_objfile): Call check_for_thread_db.
1194         * Makefile.in (linux-thread-db.o): Update.
1195         * linux-nat.c (child_post_attach): Call check_for_thread_db.
1196         (linux_child_post_startup_inferior): Likewise.
1197         (lin_lwp_attach_lwp): Call target_post_attach instead of
1198         child_post_attach.
1199         * linux-nat.h (check_for_thread_db): New prototype.
1200
1201 2006-03-30  Daniel Jacobowitz  <[email protected]>
1202
1203         * remote.c (struct remote_state): Add BUF and BUF_SIZE.
1204         (init_remote_state): Initialize the new fields.
1205         (get_memory_packet_size): Update BUF and BUF_SIZE if necessary.
1206         (set_thread, remote_thread_alive, remote_unpack_thread_info_response)
1207         (remote_get_threadinfo, parse_threadlist_response)
1208         (remote_get_threadlist, remote_current_thread, remote_threads_info)
1209         (remote_threads_extra_info, extended_remote_restart, get_offsets)
1210         (remote_check_symbols, remote_open_1, remote_detach)
1211         (remove_vcont_probe, remote_vcont_resume, remote_resume)
1212         (remote_wait, remote_async_wait, fetch_register_using_p)
1213         (remote_fetch_registers, store_register_using_P)
1214         (remote_store_registers, check_binary_download, remote_write_bytes)
1215         (remote_read_bytes, remote_insert_breakpoint)
1216         (remote_remove_breakpoint, remote_insert_watchpoint)
1217         (remote_remove_watchpoint, remote_insert_hw_breakpoint)
1218         (remote_remove_hw_breakpoint, compare_sections_command)
1219         (remote_xfer_partial, remote_rcmd, packet_command)
1220         (remote_get_thread_local_address): Use the global incoming buffer
1221         instead of alloca or xmalloc.  Limit outgoing packets to
1222         rs->remote_packet_size and incoming packets to rs->buf_size.
1223         Update calls to getpkt and remote_send.
1224         (remote_send): Take arguments by reference.
1225         (putpkt_binary): Eliminate junkbuf.  Use skip_frame.
1226         (skip_frame): New function.
1227         (read_frame): Take arguments by reference.  Expand the packet
1228         buffer instead of issuing an error.
1229         (getpkt, getpkt_sane): Take arguments by reference.
1230         * remote.h (getpkt): Update prototype and doc.
1231         * tracepoint.c (remote_get_noisy_reply): Take arguments by
1232         reference.
1233         (target_buf): Change from array to pointer.
1234         (target_buf_size): New variable.
1235         (remote_set_transparent_ranges): Update call to getpkt.
1236         (trace_start_command, trace_stop_command, trace_status_command):
1237         Update calls to remote_get_noisy_reply.
1238         (finish_tfind_command): Take arguments by reference.
1239         (trace_find_command, trace_find_pc_command)
1240         (trace_find_tracepoint_command, trace_find_line_command):
1241         (trace_find_range_command, trace_find_outside_command): Update
1242         calls to finish_tfind_command.
1243         (_initialize_tracepoint): Initialize target_buf_size and target_buf.
1244
1245 2005-03-30  Randolph Chung  <[email protected]>
1246
1247         * hppa-linux-tdep.c: Include regset.h.
1248         (GR_REGNUM, TR_REGNUM, greg_map): New.
1249         (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New.
1250         (hppa_linux_regset, hppa_linux_fpregset): New.
1251         (hppa_linux_regset_from_core_section): New.
1252         (hppa_linux_init_abi): Set regset_from_core_section.
1253         (_initialize_hppa_linux_tdep): Register osabi handler for
1254         64-bit Linux.
1255         * Makefile.in (hppa-linux-tdep.o): Update dependencies.
1256         * config/pa/linux.mh: Stop using core-regset.o
1257
1258 2006-03-30  Randolph Chung  <[email protected]>
1259
1260         * hppa-tdep.c (hppa_find_unwind_entry_in_block): New.
1261         (hppa_frame_cache): Use new function to find unwind entry.
1262         (hppa_frame_this_id): Likewise.
1263         (hppa_frame_unwind_sniffer): Likewise.
1264
1265 2006-03-29  Daniel Jacobowitz  <[email protected]>
1266
1267         * NEWS: Mention the removal of NLM.
1268
1269 2006-03-29  Steve Ellcey  <[email protected]>
1270
1271         * Makefile.in (nlm): Remove target.
1272         * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
1273         * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
1274         * configure: Regenerate.
1275         * doc/gdb.texinfo: Remove gdbserve.nlm documentation.
1276         * nlm: Remove directory.
1277
1278 2006-03-29  Daniel Jacobowitz  <[email protected]>
1279
1280         * Makefile.in (utils.o): Update.
1281         * top.c (in_user_command): New.
1282         (command_line_input): Use input_from_terminal_p.
1283         (input_from_terminal_p): Don't check caution.  Handle
1284         stdin == NULL for Insight.
1285         * top.h (in_user_command, caution): New declarations.
1286         * utils.c: Include "top.h".
1287         (query, defaulted_query): Check caution here.  Move the call
1288         to input_from_terminal_p higher.
1289         * cli/cli-script.c (do_restore_user_call_depth): Only decrement
1290         the depth.  Update in_user_command if necessary.
1291         (execute_user_command): Don't clobber old_chain.  Set
1292         in_user_command.  Let do_restore_user_call_depth handle
1293         user_call_depth.
1294         (read_command_lines): Check whether to prompt before calling
1295         Insight hooks.
1296         * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary
1297         input_from_terminal_p check.
1298
1299 2006-03-29  Ulrich Weigand  <[email protected]>
1300
1301         * s390-nat.c (s390_insert_watchpoint): Add missing argument.
1302         (s390_remove_watchpoint): Likewise.
1303
1304 2006-03-28  Jim Blandy  <[email protected]>
1305
1306         * prologue-value.c, prologue-value.h: New files.
1307         * Makefile.in (prologue_value_h): New variable.
1308         (HFILES_NO_SRCDIR): List prologue-value.h.
1309         (SFILES): List prologue-value.c.
1310         (COMMON_OBS): List prologue-value.o.
1311         (prologue-value.o): New rule.
1312
1313 2006-03-27  Michael Snyder  <[email protected]>
1314
1315         * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call,
1316         xstormy16_pointer_to_address, xstormy16_address_to_pointer, 
1317         xstormy16_frame_prev_register): Change void* to gdb_byte*.
1318         (xstormy16_push_dummy_call): Add block-local char* val, 
1319         to avoid type conflict with outer scope variable.
1320
1321 2006-03-27  Andrew Stubbs  <[email protected]>
1322
1323         * sh-tdep.c (sh_gdbarch_init): Add missing architectures.
1324
1325 2006-03-27  Nick Roberts  <[email protected]>
1326
1327         * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero
1328         offsets for languages like Fortran.
1329
1330 2006-03-26  Randolph Chung  <[email protected]>
1331
1332         * config/pa/hppa64.mt: Use HPUX version of the tm file.
1333
1334 2006-03-25  Nick Roberts  <[email protected]>
1335
1336         * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands.
1337         Try to deal with continuation line.
1338         (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new
1339         variable names.
1340         (gdb-break-list-regexp, gdb-stack-list-frames-regexp): 
1341         Future proof against new fields being added to MI output.
1342         (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file)
1343         (gdbmi-frame-handler): Update to new variable name
1344         gdb-get-buffer-create.
1345         (gdbmi-frame-handler): Use hollow-right-triangle for all selected
1346         frames which except the innermost (where execution has stopped).
1347
1348 2006-03-24  Randolph Chung  <[email protected]>
1349
1350         * solib-som.c (link_map_start): Don't error out if there is
1351         not yet a link map.
1352
1353 2006-03-24  Daniel Jacobowitz  <[email protected]>
1354
1355         * linux-nat.c (linux_ops_saved): New.
1356         (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops)
1357         (child_mourn_inferior, child_wait, linux_nat_create_inferior)
1358         (linux_nat_fetch_registers, linux_nat_store_registers)
1359         (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete.
1360         (init_lwp_list): Don't set threaded.
1361         (add_lwp): Don't modify threaded.
1362         (delete_lwp): Don't mention non-threaded mode.
1363         (linux_nat_switch_fork): New.
1364         (linux_nat_attach): Update inferior_ptid.
1365         (linux_nat_wait): Handle num_lwps == 0 at entry.  Don't check
1366         threaded flag.
1367         (linux_nat_kill): Handle pending forks and saved forks.
1368         (linux_nat_mourn_inferior): Handle saved forks.
1369         (linux_nat_pid_to_str): Don't use the LWP form when there is
1370         only one thread.
1371         (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior.
1372         (linux_nat_add_target): New.
1373         (_initialize_linux_nat): Don't initialize the linux native target
1374         here.
1375         * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New
1376         prototypes.
1377         * linux-fork.c: Include "linux-nat.h".
1378         (add_fork): Update initial PID.
1379         (fork_load_infrun_state): Call linux_nat_switch_fork.
1380         * Makefile.in (linux-fork.o): Update.
1381
1382         * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use
1383         linux_nat_add_target instead of add_target.
1384         * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise.
1385         * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise.
1386         * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise.
1387         * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise.
1388         * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise.
1389         * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise.
1390         * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise.
1391         * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise.
1392         * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise.
1393         * s390-nat.c (_initialize_s390_nat): Likewise.
1394         * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise.
1395         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise.
1396
1397 2006-03-24  Daniel Jacobowitz  <[email protected]>
1398
1399         * linux-fork.c: Include "gdb_assert.h".
1400         (fork_load_infrun_state): Set inferior_ptid and stop_pc here.
1401         Update the register cache and selected frame also.
1402         (linux_fork_mourn_inferior): Use fork_load_infrun_state.  Return
1403         to single fork mode if necessary.
1404         (linux_fork_context): Remove bits handled by fork_load_infrun_state.
1405         * Makefile.in (linux_fork_h): New.
1406         (linux-fork.o, linux-nat.o): Update.
1407
1408 2006-03-23  Andreas Schwab  <[email protected]>
1409
1410         * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o.
1411
1412 2006-03-18  Jim Blandy  <[email protected]>
1413
1414         * symtab.h (enum address_class): Doc fix.
1415
1416 2006-03-16  Michael Snyder  <[email protected]>
1417
1418         * tracepoint.c (tracepoint_save_command): Fix typo in error msg.
1419         * target.c (push_target): Fix typo in comment.
1420         * remote.c (remote_watch_data_address): Fix typo in comment.
1421         * i386-tdep.c (i386_push_dummy_call): Fix typo in comment.
1422
1423 2006-03-15  Kevin Buettner  <[email protected]>
1424
1425         * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h):
1426         Include.
1427         (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR)
1428         (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1)
1429         (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR)
1430         (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define.
1431         (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t)
1432         (frv_elf_fpregset_t): Define types.
1433         (frv_linux_supply_gregset, frv_linux_supply_fpregset)
1434         (frv_linux_regset_from_core_section: New functions.
1435         (frv_linux_gregset, frv_linux_fpregset): New static globals.
1436         (frv_linux_init_abi): Register the `regset_from_core_section' method.
1437         * Makefile.in (frv-linux-tdep.o): Update dependencies.
1438         * solib-frv.c (frv_current_sos): Relocate main executable after
1439         loading core file.
1440         (frv_clear_solib): Clean up space associated with
1441         `main_executable_lm_info'.
1442         * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list.
1443
1444 2006-03-15  Daniel Jacobowitz  <[email protected]>
1445
1446         * Makefile.in (mips_linux_tdep_h): New.
1447         (mpis-linux-nat.o, mips-linux-tdep.o): Update.
1448         * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
1449         <sys/ptrace.h>.
1450         (have_ptrace_regsets, super_fetch_registers, super_store_registers)
1451         (mips64_linux_regsets_fetch_registers)
1452         (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
1453         (mips64_linux_store_registers): New.
1454         (_initialize_mips_linux_nat): Override to_fetch_registers and
1455         to_store_registers.
1456         * mips-linux-tdep.h: New file.
1457         * mips-linux-tdep.c: Include "mips-linux-tdep.c".
1458         (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
1459         (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
1460         (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
1461         (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
1462         (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
1463         (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
1464         (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
1465         (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
1466         (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
1467         (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
1468         (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
1469         (supply_32bit_reg): Use gdb_byte.
1470         (supply_64bit_reg): New.
1471         (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
1472         (mips_fill_fpregset, fetch_core_registers, supply_gregset)
1473         (fill_gregset, supply_fpregset): Update for renamed types.
1474         (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
1475         (mips64_fill_gregset): Make global.  Handle 32-bit register
1476         sizes.
1477         (mips64_fill_fpregset): Make global.  Use gdb_byte.  Handle
1478         FP regsets properly.
1479
1480 2006-03-15  Daniel Jacobowitz  <[email protected]>
1481
1482         * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
1483         (mips_fill_gregset): Renamed from fill_gregset.
1484         (mips_supply_fpregset): Renamed from supply_fpregset.
1485         (mips_fill_fpregset): Renamed from fill_fpregset.
1486         (fetch_core_registers): Update calls.
1487         (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
1488         functions.
1489
1490 2006-03-15  Daniel Jacobowitz  <[email protected]>
1491
1492         * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
1493
1494 2006-03-15  Daniel Jacobowitz  <[email protected]>
1495
1496         * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
1497         Correct arithmetic for 64-bit CORE_ADDR.
1498
1499 2006-03-15  Daniel Jacobowitz  <[email protected]>
1500
1501         * mips-linux-tdep.c: Include "floatformat.h".
1502         (mips_linux_init_abi): Use 128-bit long double for N32 and N64.
1503         * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long
1504         double.
1505         (print_gp_register_row): Don't print spaces before ignored
1506         or floating point registers.
1507         * Makefile.in (mips-linux-tdep.o): Update.
1508
1509 2006-03-15  Daniel Jacobowitz  <[email protected]>
1510
1511         * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
1512         for code addresses.
1513         (non_heuristic_proc_desc): Likewise.
1514
1515 2006-03-15  Daniel Jacobowitz  <[email protected]>
1516
1517         * mips-linux-nat.c: Include "gdb_proc_service.h".
1518         (PTRACE_GET_THREAD_AREA): Define.
1519         (ps_get_thread_area): New.
1520         * Makefile.in (mips-linux-nat.o): Update.
1521
1522 2006-03-13  Jim Blandy  <[email protected]>
1523
1524         * MAINTAINERS: Use my work address.
1525
1526 2006-03-09  Michael Snyder  <[email protected]>
1527
1528         * linux-nat.c (kill_inferior): Just call target_mourn_inferior
1529         instead of getting tricky for the multi-fork case.
1530         * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
1531         for each fork, and then use init_fork_list to delete them.
1532
1533 2006-03-08  Alexandre Oliva  <[email protected]>
1534
1535         * solib-svr4.c (svr4_current_sos): Move up initialization of
1536         l_addr, such that it clearly covers all cases.
1537
1538 2006-03-08  Andreas Schwab  <[email protected]>
1539
1540         * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of
1541         libunwind_frame_prev_register to use a gdb_byte buffer and
1542         extract_unsigned_integer.
1543         (ia64_libunwind_sigtramp_frame_prev_register): Likewise.
1544
1545         * libunwind-frame.c (libunwind_frame_prev_register): Change type
1546         of last argument to `gdb_byte *'
1547         * libunwind-frame.h: Adjust declaration.
1548
1549 2006-03-08  Paul Brook  <[email protected]>
1550
1551         * arm-tdep.c (arm_push_dummy_call): Remove stack alignment.
1552         (arm_frame_align): New function.
1553         (arm_gdbarch_init): Use it.
1554
1555 2006-03-03  Khem Raj <[email protected]>
1556
1557         * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte.
1558         Committed by Andrew Cagney.
1559         
1560 2006-03-02  Corinna Vinschen  <[email protected]>
1561
1562         * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint
1563         address to MDR register.
1564
1565 2006-03-01  Daniel Jacobowitz  <[email protected]>
1566
1567         * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive
1568         calls.
1569
1570 2006-03-01  Randolph Chung  <[email protected]>
1571
1572         * somread.c (som_symfile_read): Update comment and remove unneeded 
1573         use of a deprecated variable.
1574
1575 2006-03-01  Randolph Chung  <[email protected]>
1576
1577         * hppa-tdep.h (unwind_table_entry): Update field names to match HP
1578         runtime specification.
1579         * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise.
1580         (unwind_command): Likewise.
1581
1582 2006-03-01  Randolph Chung  <[email protected]>
1583
1584         * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and
1585         Pseudo_SP_Set in unwind record.
1586
1587 2006-03-01  Randolph Chung  <[email protected]>
1588
1589         * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use
1590         TDEP->is_elf to determine if we are working with a SOM binary.
1591         (null_symtab_and_line): Remove unused variable.
1592         * config/pa/hppa64.mt: Use tm-hppa.h.
1593         * config/pa/tm-hppa64.h: Remove file.
1594
1595 2006-03-01  Wu Zhou  <[email protected]>
1596
1597          * f-typeprint.c (f_type_print_base): Delete the redundant space.
1598
1599 2006-02-28  Kevin Buettner  <[email protected]>
1600
1601         * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
1602         * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h):
1603         Include.
1604         (am33_linux_sigframe_cache_init): New function.
1605         (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame
1606         descriptions.
1607         (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2)
1608         (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1)
1609         (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0)
1610         (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3)
1611         (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6)
1612         (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR)
1613         (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL)
1614         (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP)
1615         (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT):
1616         New constants.
1617         (am33_linux_init_osabi): Register signal frame unwinders.
1618
1619 2006-02-28  Kevin Buettner  <[email protected]>
1620
1621         * mn10300-tdep.c (mn10300_analyze_prologue):  Implement backtrack
1622         out of pattern match by saving relevant state.  Fix stack size
1623         adjustment bug.
1624
1625 2006-02-28  Alexandre Oliva  <[email protected]>
1626
1627         * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and
1628         l_ld_size fields.
1629         * solib-svr4.c (struct lm_info): Add l_addr field.
1630         (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR.
1631         (HAS_LM_DYNAMIC_FROM_LINK_MAP): New.
1632         (LM_DYNAMIC_FROM_LINK_MAP): New.
1633         (LM_ADDR_CHECK): New.  Use it instead of LM_ADDR.
1634         (svr4_current_sos): Initialize l_addr.  Adjust.
1635         (svr4_relocate_section_addresses): Adjust.
1636         (svr4_ilp32_fetch_link_map_offsets): Define new members.
1637         (svr4_lp64_fetch_link_map_offsets): Likewise.
1638         * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
1639         * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise.
1640         (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
1641         * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h).
1642
1643 2006-02-26  David S. Miller  <[email protected]>
1644
1645         * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o.
1646         * config/sparc/linux64.mt (TDEPFILES): Likewise.
1647
1648 2006-02-27  Alan Modra  <[email protected]>
1649
1650         * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
1651         (ppc_linux_remove_watchpoint): Likewise, and args.
1652
1653 2006-02-26  Mark Kettenis  <[email protected]>
1654
1655         * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
1656         "soft" interrupts.
1657
1658 2006-02-24  Charles Wilson  <[email protected]>
1659
1660         * gdb/defs.h: unconditionally include <fcntl.h>, and
1661         ensure that O_BINARY is defined.
1662         * gdb/solib.c(solib_open): ensure solib files are opened in
1663         binary mode.
1664         * gdb/corelow.c: Remove O_BINARY macro definition.
1665         * gdb/exec.c: Remove O_BINARY macro definition
1666         * gdb/remote-rdp.c: Remove O_BINARY macro definition
1667         * gdb/source.c: Remove O_BINARY macro definition
1668         * gdb/symfile.c: Remove O_BINARY macro definition
1669
1670 2006-02-24  Randolph Chung  <[email protected]>
1671
1672         * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize 
1673         argreg.
1674         * solib-som.c (som_solib_remove_inferior_hook): Remove unused 
1675         function.
1676
1677 2006-02-24  Wu Zhou  <[email protected]>
1678
1679         * f-exp.y: Symbol '%' is not used as the modulus operator in
1680         Fortran.  Delete this from Fortran expression.
1681         It is now used by Fortran 90 and later to access the member
1682         of derived type.  Add this into Fortran expression.
1683         * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT.
1684         Print each elements in the derived type.
1685         * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter
1686         level into the function definition to do indented printing.  And
1687         call fprintfi_filtered instead to do indented printing.
1688         (f_type_print_base): Replace fprintf_filtered with the indented
1689         version (fprintfi_filtered).
1690         (f_type_print_base): Call indented print_equivalent_f77_float_type.
1691         (f_type_print_base): Add code to handle TYPE_CODE_STRUCT.  Print
1692         the definition of the derived type.
1693
1694 2006-02-23  Daniel Jacobowitz  <[email protected]>
1695
1696         * gdb_curses.h: Provide a fallback prototype for tgetnum.
1697
1698 2006-02-23  Daniel Jacobowitz  <[email protected]>
1699
1700         * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE
1701         also.
1702         (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT.
1703         (DOUBLEST_SCAN_FORMAT): New.
1704         * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions.
1705         (processReal): Use DOUBLEST_SCAN_FORMAT.
1706         * c-exp.y (parse_number): Likewise.
1707         * jv-exp.y (parse_number): Likewise.
1708         * objc-exp.y (parse_number): Likewise.
1709         * p-exp.y (parse_number): Likewise.
1710
1711 2006-02-23  Daniel Jacobowitz  <[email protected]>
1712
1713         * event-top.c (async_do_nothing, async_disconnect)
1714         (async_stop_sig, async_float_handler): Remove duplicated
1715         prototypes.
1716         (handle_sighup): Guard prototype with SIGHUP.
1717         (async_do_nothing): Guard function and prototype with
1718         SIGQUIT || SIGHUP.
1719         (async_disconnect): Guard prototype with SIGHUP.
1720         (async_stop_sig): Guard prototype with STOP_SIGNAL.
1721
1722 2006-02-23  Daniel Jacobowitz  <[email protected]>
1723
1724         * maint.c (maintenance_dump_me): Remove unnecessary prototype.
1725
1726 2006-02-23  Daniel Jacobowitz  <[email protected]>
1727
1728         * win32-termcap.c (tputs): Return 0.
1729
1730 2006-02-21  Mark Kettenis  <[email protected]>
1731
1732         * configure.ac: Introduce ---enable-werror, which adds -Werror to
1733         the compiler command line.  Enabled by default.  Disable with
1734         --disable-werror.
1735         * configure regenerate.
1736
1737 2006-02-21  Daniel Jacobowitz  <[email protected]>
1738
1739         * elfread.c (elf_symtab_read): Skip symbols which BFD considers
1740         special.
1741
1742 2006-02-21  Andrew Stubbs  <[email protected]>
1743
1744         * defs.h (directory_switch): Add prototype.
1745         * main.c (captured_main): Use directory_switch() instead of
1746         directory_command() to add directories from the -d switch.
1747         * source.c (directory_switch): New function.
1748         (add_path): Use buildargv() to parse spaces in filenames properly.
1749         Strip multiple trailing '/' rather than just one.
1750
1751 2006-02-21  Andrew Stubbs  <[email protected]>
1752
1753         * symfile.c (add_symbol_file_command): Use buildargv(), instead of
1754         hand decoding the command line, to allow use of quotes and spaces.
1755         (_initialize_symfile): Reorganize the help message for add-symbol-file
1756         such that 'help files' shows a better message.
1757
1758 2006-02-21  Andrew Stubbs  <[email protected]>
1759
1760         * sh-tdep.c (sh_generic_show_regs): Reformat both code and output.
1761         (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise.
1762         (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise.
1763         (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise.
1764
1765 2006-02-20  Daniel Jacobowitz  <[email protected]>
1766
1767         * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN
1768         and __SIGRTMIN + 1.
1769
1770 2006-02-20  Daniel Jacobowitz  <[email protected]>
1771
1772         * remote.c: Add an enumeration for configurable remote
1773         packets.
1774         (remote_protocol_packets, set_remote_protocol_packet_cmd)
1775         (show_remote_protocol_packet_cmd): New.
1776         (remote_protocol_vcont)
1777         (set_remote_protocol_vcont_packet_cmd)
1778         (show_remote_protocol_vcont_packet_cmd)
1779         (remote_protocol_qSymbol)
1780         (set_remote_protocol_qSymbol_packet_cmd)
1781         (show_remote_protocol_qSymbol_packet_cmd)
1782         (remote_protocol_P, set_remote_protocol_P_packet_cmd)
1783         (show_remote_protocol_P_packet_cmd)
1784         (remote_protocol_Z)
1785         (set_remote_protocol_Z_software_bp_packet_cmd)
1786         (show_remote_protocol_Z_software_bp_packet_cmd)
1787         (set_remote_protocol_Z_hardware_bp_packet_cmd)
1788         (show_remote_protocol_Z_hardware_bp_packet_cmd)
1789         (set_remote_protocol_Z_write_wp_packet_cmd)
1790         (show_remote_protocol_Z_write_wp_packet_cmd)
1791         (set_remote_protocol_Z_read_wp_packet_cmd)
1792         (show_remote_protocol_Z_read_wp_packet_cmd)
1793         (set_remote_protocol_Z_access_wp_packet_cmd)
1794         (show_remote_protocol_Z_access_wp_packet_cmd)
1795         (remote_protocol_binary_download)
1796         (set_remote_protocol_binary_download_cmd)
1797         (show_remote_protocol_binary_download_cmd)
1798         (remote_protocol_qPart_auxv)
1799         (set_remote_protocol_qPart_auxv_packet_cmd)
1800         (show_remote_protocol_qPart_auxv_packet_cmd)
1801         (remote_protocol_qGetTLSAddr)
1802         (set_remote_protocol_qGetTLSAddr_packet_cmd)
1803         (show_remote_protocol_qGetTLSAddr_packet_cmd)
1804         (remote_protocol_p)
1805         (set_remote_protocol_p_packet_cmd)
1806         (show_remote_protocol_p_packet_cmd): Delete.
1807
1808         (init_all_packet_configs): Simplify.
1809         (set_remote_protocol_Z_packet_cmd)
1810         (show_remote_protocol_Z_packet_cmd)
1811         (remote_check_symbols, remote_vcont_probe, remote_vcont_resume)
1812         (remote_fetch_registers, remote_prepare_to_store)
1813         (remote_store_registers, check_binary_download)
1814         (remote_write_bytes, remote_insert_breakpoint)
1815         (remote_remove_breakpoint, remote_insert_watchpoint)
1816         (remote_remove_watchpoint, remote_insert_hw_breakpoint)
1817         (remote_remove_hw_breakpoint, remote_xfer_partial)
1818         (remote_get_thread_local_address): Update for packet array.
1819         (_initialize_remote): Likewise; also update for common
1820         set/show commands.
1821
1822 2006-02-20  Daniel Jacobowitz  <[email protected]>
1823
1824         * symfile.c (place_section): Correct retry logic.
1825
1826 2006-02-19  Christopher Faylor  <[email protected]>
1827
1828         * win32_nat.c (cygwin_load_start): New variable.
1829         (cygwin_load_end): Ditto.
1830         (have_saved_context): Ditto.
1831         (saved_context): Ditto.
1832         (max_dll_name_len): Delete obsolete variable.
1833         (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll
1834         if we are in a cygwin signal rather than a windows signal.
1835         (solib_symbols_add): Detect and store beginning and end of cygwin DLL
1836         if dll being loaded is the cygwin DLL.
1837         (register_loaded_dll): Remove calculation of max_dll_name_len.
1838         (win32_clear_solib): Ditto.
1839         (handle_load_dll): Delete obsolete variable.  Remove unneeded call to
1840         solib_add.
1841         (handle_output_debug_string): Detect and store signal information sent
1842         by Cygwin here.
1843         (handle_exception): Silently pass on errors in the cygwin DLL.  Return
1844         -1 on first pass exception.
1845         (win32_continue): Remove spurious clearing of continue_status.
1846         (get_win32_debug_event): Deal differently first chance exception.
1847
1848 2006-02-19  Randolph Chung  <[email protected]>
1849
1850         * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no
1851         unwind entry.
1852
1853 2006-02-16  Fred Fish  <[email protected]>
1854
1855         * eval.c (evaluate_subexp_standard):  For OP_TYPE, return
1856         a non lval value zero, of the appropriate type, when avoiding
1857         side effects.
1858         * typeprint.c (ptype_eval): Remove function and declaration.
1859         (ptype_command): Simplify to just a call to whatis_exp.
1860
1861 2006-02-15  Paul Brook  <[email protected]>
1862
1863         * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc):
1864         Load insn opcodes as unsigned values.
1865
1866 2006-02-14  Alexandre Oliva  <[email protected]>
1867
1868         * doublest.h (DOUBLEST): Use long double only if we can scan
1869         it in.  Undefine HAVE_LONG_DOUBLE otherwise.
1870         (DOUBLEST_FORMAT): New.
1871         * c-exp.y (parse_number): Use it.
1872         * jv-exp.y (parse_number): Likewise.
1873         * objc-exp.y (parse_number): Likewise.
1874         * p-exp.y (parse_number): Likewise.
1875         * varobj.c (free_variable): Silence type-punning warnings.
1876         * tui/tui-data.h (struct tui_list): Change type of list member.
1877         * tui/tui-data.c: Remove no-longer-needed type casts.
1878         (source_windows): Silence type-punning warnings.
1879         * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise.
1880
1881 2006-02-13  Mark Kettenis  <[email protected]>
1882
1883         Fix PR breakpoints/2080.
1884         * i386-tdep.c (struct i386_frame_cache): Add stack_align member.
1885         (i386_analyze_stack_align): New function.
1886         (i386_analyze_prologue): Use i386_analyze_stack_align.
1887         (i386_frame_cache): Deal with stack realignment.
1888
1889 2006-02-14  Nick Roberts  <[email protected]>
1890
1891         * mi/gdb-mi.el: Use more functions from gdb-ui.el.
1892         (gdb-break-list-regexp): Match "what" field if present.
1893         (gdb-stack-list-frames-regexp): Match "from" field if present.
1894         (gdb-stack-list-frames-handler): Present output like "info
1895         breakpoints" so regexps can be shared with gdb-ui
1896
1897 2006-02-10  Daniel Jacobowitz  <[email protected]>
1898
1899         * NEWS: Mention native Windows support.
1900         * Makefile.in (gdb_select_h, ser_tcp_h): New.
1901         (ALLDEPFILES): Add ser-mingw.c.
1902         (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o)
1903         (ser-tcp.o, ser-unix.o): Update.
1904         (ser-mingw.o): New rule.
1905         * configure: Regenerated.
1906         * configure.ac: Add ser-mingw.o for mingw32.
1907         * ser-mingw.c: New file.
1908         * event-loop.c: Include "gdb_select.h".
1909         (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c.
1910         * ser-base.c: Include "gdb_select.h".
1911         (ser_base_wait_for): Use gdb_select.
1912         * serial.c (serial_for_fd): New function.
1913         (serial_fdopen): Try "terminal" before "hardwire".  Initialize
1914         the allocated struct serial.
1915         (serial_wait_handle): New function.
1916         * serial.h (serial_for_fd, serial_wait_handle): New prototypes.
1917         (struct serial_ops) [USE_WIN32API]: Add wait_handle.
1918         * gdb_select.h: New file.
1919         * ser-tcp.c: Include "ser-tcp.h".  Remove unused "ser-unix.h" include.
1920         (net_close, net_read_prim, net_write_prim): Make global.
1921         (net_open): Likewise.  Pass an exception set to select.  Whitespace fix.
1922         Document why we can not use gdb_select.
1923         (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here.
1924         * ser-tcp.h: New file.
1925         * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here.
1926         (handle_sigio): Use gdb_select.
1927         (initialize_stdin_serial): New function.
1928         * terminal.h (initialize_stdin_serial): New prototype.
1929         * top.c (gdb_init): Call initialize_stdin_serial.
1930         * mingw-hdep.c (gdb_select): New function, moved from gdb_select in
1931         event-loop.c.  Add exception condition support.  Use serial_for_fd
1932         and serial_wait_handle.  Fix timeout handling.
1933         * posix-hdep.c: Include "gdb_select.h".
1934         (gdb_select): New function.
1935         * remote-st.c (connect_command): Use gdb_select.
1936         * ser-unix.c: Include "gdb_select.h".
1937         (hardwire_send_break, wait_for): Use gdb_select.
1938
1939 2006-02-10  Daniel Jacobowitz  <[email protected]>
1940
1941         * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies.
1942         (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c.
1943         * configure.ac: Add gdb_host_obs to CONFIG_OBS.  Set gdb_host_obs
1944         to posix-hdep.o by default.
1945         * configure: Regenerated.
1946         * configure.host: Document gdb_host_obs.  Add an entry for
1947         i[34567]86-*-mingw32*.
1948         * mingw-hdep.c, posix-hdep.c: New files.
1949         * utils.c (safe_strerror): Remove, moved to posix-hdep.o.
1950
1951 2006-02-10  Joel Brobecker  <[email protected]>
1952
1953         * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX.
1954         * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX.
1955         * rs6000-tdep.h: New file.
1956         * rs6000-tdep.c: Include "rs6000-tdep.h".
1957         (rs6000_gdbarch_init): Remove enabling of software single step.
1958         Will be done in the AIX-specific initialization routine.
1959         * rs6000-aix-tdep.c: New file.
1960         * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o.
1961         * Makefile.in (rs6000_tdep_h): New variable.
1962         (rs6000-tdep.o): Update dependencies.
1963         (rs6000-aix-tdep.o): New rule.
1964
1965 2006-02-10  Joel Brobecker  <[email protected]>
1966
1967         * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd
1968         instead of add_setshow_zinteger_cmd to defined the aix-thread
1969         boolean setting.
1970
1971 2006-02-10  Nick Roberts  <[email protected]>
1972
1973         * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50.
1974
1975 2006-02-09  Daniel Jacobowitz  <[email protected]>
1976
1977         * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to
1978         30 bits.  Add load_all_dies flag.
1979         (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set.
1980         Load DW_TAG_member by default.  Remove internal_error call.
1981         (find_partial_die): Reload the compilation unit if we can not find
1982         a DIE in the cache.  Call internal_error here if we still can not
1983         find the DIE.
1984
1985 2006-02-10  Nick Roberts  <[email protected]>
1986
1987         * breakpoint.c (print_one_breakpoint): Add break to case
1988         bp_catch_vfork in switch statement.
1989
1990 2006-02-08  Wu Zhou  <[email protected]>
1991
1992         * config/i386/nm-i386sol2.h: Update copyright year.
1993         * config/mips/nm-irix5.h: Ditto.
1994         * config/sparc/nm-sol2.h: Ditto.
1995         * s390-nat.c: Ditto.
1996         * ppc-linux-nat.c: Ditto.
1997
1998 2006-02-08  Wu Zhou  <[email protected]>
1999
2000         * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete.
2001         * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2002         (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2003         * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2004         (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2005         * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New.
2006         (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2007         * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New.
2008         (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete.
2009         (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and
2010         add to_region_ok_for_hw_watchpoint.
2011         * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete.
2012         (s390_region_ok_for_hw_watchpoint): New.
2013         (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint
2014         and add to_region_ok_for_hw_watchpoint.
2015         * target.c (default_region_size_ok_for_hw_watchpoint, 
2016         debug_to_region_size_ok_for_hw_watchpoint): Delete prototype.
2017         (update_current_target): Delete to_region_size_ok_for_hw_watchpoint
2018         inheritance and default_region_size_ok_for_hw_watchpoint.
2019         (default_region_ok_for_hw_watchpoint): If len is less than or equal
2020         the length of void pointer, return ok.
2021         (default_region_size_ok_for_hw_watchpoint): Delete.
2022         (debug_to_region_size_ok_for_hw_watchpoint): Delete.
2023         (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint.
2024         * target.h (struct target_ops): Delete 
2025         to_region_size_ok_for_hw_watchpoint.
2026         (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete.
2027         
2028 2006-02-08  Ben Elliston  <[email protected]>
2029             Wu Zhou  <[email protected]>
2030
2031         * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG,
2032         PTRACE_GETSIGINFO): Define.
2033         (last_stopped_data_address): New.
2034         (ppc_linux_check_watch_resources): New function.
2035         (ppc_linux_region_ok_for_hw_watchpoint): New function.
2036         (ppc_linux_insert_watchpoint): New function.
2037         (ppc_linux_remove_watchpoint): New function.
2038         (ppc_linux_stopped_data_address): New function.
2039         (ppc_linux_stopped_by_watchpoint): New function.
2040         (_initialize_ppc_linux_nat): Set the above hardware watchpoint
2041         related target vectors.
2042         * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures
2043         to have nonsteppable watchpoint.
2044         * target.c (default_region_ok_for_hw_watchpoint,
2045         debug_to_region_ok_for_hw_watchpoint): New prototypes.
2046         (update_current_target): Inherit to_region_ok_for_hw_watchpoint
2047         and set default to_region_ok_for_hw_watchpoint.
2048         (default_region_ok_for_hw_watchpoint): New function.
2049         (debug_to_region_ok_for_hw_watchpoint): New function.
2050         (setup_target_debug): Set to_region_ok_for_hw_watchpoint of 
2051         debug_target.
2052         * target.h (struct target_ops): Add a new target vector 
2053         to_region_ok_for_hw_watchpoint.
2054         (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not
2055         defined anyplace else.
2056
2057 2005-02-07  Joel Brobecker  <[email protected]>
2058         * symfile.c (add_symbol_file_command): Abort if the user forgot
2059         to provide the address when the file has been loaded.
2060
2061 2006-02-07  Daniel Jacobowitz  <[email protected]>
2062
2063         * MAINTAINERS: Update file based on maintainers survey.  Add
2064         a note to Past Maintainers.  Move unresponsive or inactive
2065         maintainers to Authorized Committers or Past Maintainers as
2066         appropriate.  Correct Jim Kingdon's email address.  Remove
2067         vacant areas of responsibility.
2068
2069 2006-02-06  Vladimir Prus  <[email protected]>
2070
2071         * breakpoint.c (print_one_breakpoint): For MI-like UI, output
2072         fullname field.
2073
2074 2006-02-03  Daniel Jacobowitz  <[email protected]>
2075
2076         * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR.
2077         * exceptions.c (exception_none, exceptions_state_mc_init)
2078         (throw_vfatal): Use GDB_NO_ERROR.
2079
2080 2006-02-02  Mark Kettenis  <[email protected]>
2081
2082         * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and
2083         r_map_size members.  Add r_version_offset, r_version_size and
2084         r_ldsomap_offset members.
2085         * solib-svr4.c (solib_svr4_r_map): Renamed from
2086         fetch_link_map_member.  Simplify using read_memory_typed_address.
2087         (solib_svr4_r_ldsomap): New function.
2088         (open_symbol_file_object): Use solib_svr_r_map.
2089         (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic
2090         linker by using solib_svr4_r_ldsomap.
2091         (svr4_ilp32_fetch_link_map_offsets)
2092         (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct
2093         link_map_offsets'.
2094         * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for
2095         changes to `struct link_map_offsets'.
2096         * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets)
2097         (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to
2098         `struct link_map_offsets'.
2099
2100 2006-02-01  Daniel Jacobowitz  <[email protected]>
2101
2102         * linux-nat.c (struct saved_ptids, threads_to_delete)
2103         (record_dead_thread, prune_lwps, find_thread_from_lwp)
2104         (exit_lwp): New.
2105         (linux_nat_resume): Call prune_lwps.
2106         (wait_lwp, linux_nat_wait): Call exit_lwp.
2107
2108 2006-02-01  Daniel Jacobowitz  <[email protected]>
2109
2110         * printcmd.c (printf_command): Make format string checking
2111         stricter.  Add separate cases for long_arg, ptr_arg, and
2112         long_double_arg.
2113         * utils.c (xstrvprintf): Improve the error message issued
2114         for a bad format string.
2115         * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE):
2116         New variables.
2117         (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove
2118         $(NO_WERROR_CFLAGS).
2119         (printcmd.o): Likewise.  Use $(GDB_WARN_CFLAGS_NO_FORMAT) and
2120         enable -Werror.
2121
2122 2006-02-01  Daniel Jacobowitz  <[email protected]>
2123
2124         * Makefile.in (remote.o): Update.
2125         * remote.c (show_packet_config_cmd): Shorten messages.
2126         (remote_set_cmdlist, remote_show_cmdlist): Make file-static.
2127         (show_remote_cmd): Iterate.
2128         (_initialize_remote): Remove remote_set_cmdlist,
2129         remote_show_cmdlist.
2130
2131 2006-02-01  Daniel Jacobowitz  <[email protected]>
2132
2133         * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update.
2134         * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add
2135         prototypes.
2136         * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC.
2137         (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to...
2138         * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate):
2139         ...here.
2140         * gdbtypes.c: Include "hashtab.h".
2141         (build_gdbtypes): Remove extra prototype.
2142         (struct type_pair, type_pair_hash, type_pair_eq)
2143         (create_copied_types_hash, copy_type_recursive): New.
2144         * gdbtypes.h: Include "hashtab.h".
2145         (TYPE_ZALLOC): New.
2146         (create_copied_types_hash, copy_type_recursive): New prototypes.
2147         * objfiles.c (free_objfile): Call preserve_values.
2148         * symfile.c (reread_symbols): Likewise.
2149         (clear_symtab_users): Remove calls to clear_value_history and
2150         clear_internalvars.
2151         * value.c (clear_value_history, clear_internalvars): Removed.
2152         (preserve_one_value, preserve_values): New functions.
2153         * value.h (clear_value_history, clear_internalvars): Removed.
2154         (preserve_values): New prototype.
2155
2156         * tracepoint.c (_initialize_tracepoint): Do not initialize convenience
2157         variables here.
2158
2159 2006-01-29  Mark Kettenis  <[email protected]>
2160
2161         * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL.
2162         Fixes PR tdep/2075.
2163
2164 2006-01-27  Joel Brobecker  <[email protected]>
2165
2166         * MAINTAINERS: Use a consistent email address for brobecker.
2167
2168 2006-01-27  Joel Brobecker  <[email protected]>
2169
2170         * infcmd.c (post_create_inferior): Fix copy/paste error introduced
2171         in the previous change.
2172
2173 2006-01-24  Daniel Jacobowitz  <[email protected]>
2174
2175         PR gdb/1914
2176         * fork-child.c (fork_inferior): Don't call
2177         solib_create_inferior_hook.
2178         * infcmd.c (post_create_inferior): Call solib_add,
2179         solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs.
2180         (attach_command): Don't call solib_add or
2181         re_enable_breakpoints_in_shlibs.  Call post_create_inferior
2182         instead.
2183         * remote.c (remote_open_1): Don't call solib_create_inferior_hook
2184         or observer_notify_inferior_created.  Call post_create_inferior
2185         instead.
2186         * corelow.c: Don't include "observer.h".
2187         (solib_add_stub): Deleted.
2188         (core_open): Don't call observer_notify_inferior_created or
2189         solib_add_stub.  Call post_create_inferior instead.
2190         * inf-ptrace.c: Don't include "observer.h".
2191         (inf_ptrace_attach): Don't call observer_notify_inferior_created.
2192         * inf-ttrace.c: Don't include "observer.h".
2193         (inf_ttrace_attach): Don't call observer_notify_inferior_created.
2194         * inferior.h (solib_create_inferior_hook): Remove redundant
2195         prototype.
2196         * inftarg.c: Don't include "observer.h".
2197         (child_attach): Don't call observer_notify_inferior_created.
2198         * Makefile.in: Update dependencies.
2199
2200 2006-01-24  Daniel Jacobowitz  <[email protected]>
2201
2202         * infcmd.c: Include "observer.h".
2203         (post_create_inferior): New function.
2204         (run_command_1): Call it.  Also call proceed.
2205         * inferior.h (post_create_inferior): New prototype.
2206         * Makefile.in (infcmd.o): Update.
2207
2208         * gnu-nat.c (gnu_create_inferior): Don't call proceed.
2209         * go32-nat.c (go32_create_inferior): Likewise.
2210         * nto-procfs.c (procfs_create_inferior): Likewise.
2211         * procfs.c (procfs_create_inferior): Likewise.
2212         * remote-sim.c (gdbsim_create_inferior): Likewise.
2213         * remote.c (extended_remote_create_inferior)
2214         (extended_remote_async_create_inferior): Likewise.
2215         * win32-nat.c (win32_create_inferior): Likewise.
2216         * wince.c (child_create_inferior): Likewise.
2217
2218         * monitor.c (monitor_create_inferior): Don't call proceed.
2219         Set the PC manually.
2220         * ocd.c (ocd_create_inferior): Likewise.
2221         * remote-e7000.c (e7000_create_inferior): Likewise.
2222         * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
2223         * remote-mips.c (mips_create_inferior): Likewise.
2224         * remote-rdp.c (remote_rdp_create_inferior): Likewise.
2225         * remote-sds.c (sds_create_inferior): Likewise.
2226         * remote-st.c (st2000_create_inferior): Likewise.
2227
2228         * inf-ptrace.c (inf_ptrace_create_inferior): Don't call
2229         proceed or observer_notify_inferior_created.
2230         * inf-ttrace.c (inf_ttrace_create_inferior): Likewise.
2231         * inftarg.c (child_create_inferior): Likewise.
2232
2233 2006-01-24  Daniel Jacobowitz  <[email protected]>
2234
2235         * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
2236         after mourning the inferior.
2237
2238 2006-01-24  Jim Blandy  <[email protected]>
2239
2240         * valarith.c (binop_user_defined_p): Handle refs to typedefs.
2241
2242 2006-01-24  Fred Fish  <[email protected]>
2243
2244         * parse.c (source.h): Include.
2245         (parse_exp_in_context):  Use static source context if no
2246         other context found.
2247
2248 2006-01-23  Andrew Stubbs  <[email protected]>
2249
2250         * sh-tdep.c: Include reggroups.h.
2251         (sh_register_reggroup_p): New function.
2252         (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p.
2253         * Makefile.in (sh-tdep.o): Add dependency on reggroups.h.
2254
2255 2006-01-23  Andrew Stubbs  <[email protected]>
2256
2257         * cli/cli-cmds.c: Include fcntl.h.
2258         (source_command): Use the GDB search path to find script files.
2259
2260 2006-01-22  Daniel Jacobowitz  <[email protected]>
2261
2262         PR tdep/2029
2263         Suggested by Till Straumann <[email protected]>:
2264         * rs6000-tdep.c (skip_prologue): Update check for later mtlr
2265         instructions.  Handle PIC bcl.
2266
2267 2006-01-22  Daniel Jacobowitz  <[email protected]>
2268
2269         * config/djgpp/README: Typo fix.
2270         * config/djgpp/fnchange.lst: Update.
2271
2272 2006-01-22  Mark Kettenis  <[email protected]>
2273
2274         * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member.
2275         (sparc_address_from_register): New prototype.
2276         (sparcnbsd_step_trap): New prototype.
2277         * sparc-tdep.c (sparc_address_from_register): Make globally
2278         visible.
2279         (sparc_analyze_control_transfer): Change prototype to accept
2280         `struct gdbarch *' as first argument.  Allow for optional hnadling
2281         for trap instructions.
2282         (sparc_step_trap): New function.
2283         (sparc_software_single_step): Adjust call to
2284         sparc_analyze_control_trabsfer.
2285         (sparc32_gdbarch_init): Initialize TDEP->step_trap.
2286         * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function.
2287         (sparc32nbsd_init_abi): Set TDEP->step_trap.
2288         * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap.
2289         * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap.
2290
2291         * sparc-tdep.c (sparc32_return_value): Convert to use
2292         RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of
2293         RETURN_VALUE_STRUCT_CONVENTION.
2294         (sparc32_extract_struct_value_address): Remove.
2295
2296 2006-01-21  Daniel Jacobowitz  <[email protected]>
2297
2298         * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address)
2299         (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte.
2300
2301 2006-01-21  Daniel Jacobowitz  <[email protected]>
2302
2303         * solib.c (info_sharedlibrary_command): Avoid internal_error.
2304
2305 2006-01-21  Mark Kettenis  <[email protected]>
2306
2307         * i386-tdep.c (i386_mxcsr_type): New variable.
2308         (i386_init_types): Initialize i386_mxcsr_type.
2309         (i386_register_type): Return i386_mxcsr_type for %mxcsr.
2310         * i386-tdep.c (i386_mxcsr_type): New extern.
2311         * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for
2312         %mxcsr.
2313
2314 2006-01-20  Mark Mitchell  <[email protected]>
2315
2316         * Makefile.in (remote-rdi.o): Remove.
2317         (rdi-share/libangsd.a): Likewise.
2318         * README: Don't mention remote-rdi.c.
2319         * NEWS: Mention removal of rdi-share.
2320         * configure.ac: Don't configure rdi-share subdirectory.
2321         * remote-rdi.c: Remove.
2322         * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o.
2323         (TDEPLIBS): Remove rdi-share/libangsd.a.
2324         * rdi-share/Makefile.am: Remove.
2325         * rdi-share/Makefile.in: Likewise.
2326         * rdi-share/README.CYGNUS: Likewise.
2327         * rdi-share/aclocal.m4: Likewise.
2328         * rdi-share/adp.h: Likewise.
2329         * rdi-share/adperr.h: Likewise.
2330         * rdi-share/angel.h: Likewise.
2331         * rdi-share/angel_bytesex.c: Likewise.
2332         * rdi-share/angel_bytesex.h: Likewise.
2333         * rdi-share/angel_endian.h: Likewise.
2334         * rdi-share/ardi.c: Likewise.
2335         * rdi-share/ardi.h: Likewise.
2336         * rdi-share/armdbg.h: Likewise.
2337         * rdi-share/buffers.h: Likewise.
2338         * rdi-share/chandefs.h: Likewise.
2339         * rdi-share/channels.h: Likewise.
2340         * rdi-share/chanpriv.h: Likewise.
2341         * rdi-share/configure: Likewise.
2342         * rdi-share/configure.in: Likewise.
2343         * rdi-share/crc.c: Likewise.
2344         * rdi-share/crc.h: Likewise.
2345         * rdi-share/dbg_conf.h: Likewise.
2346         * rdi-share/dbg_cp.h: Likewise.
2347         * rdi-share/dbg_hif.h: Likewise.
2348         * rdi-share/dbg_rdi.h: Likewise.
2349         * rdi-share/devclnt.h: Likewise.
2350         * rdi-share/devices.h: Likewise.
2351         * rdi-share/devsw.c: Likewise.
2352         * rdi-share/devsw.h: Likewise.
2353         * rdi-share/drivers.c: Likewise.
2354         * rdi-share/drivers.h: Likewise.
2355         * rdi-share/etherdrv.c: Likewise.
2356         * rdi-share/ethernet.h: Likewise.
2357         * rdi-share/host.h: Likewise.
2358         * rdi-share/hostchan.c: Likewise.
2359         * rdi-share/hostchan.h: Likewise.
2360         * rdi-share/hsys.c: Likewise.
2361         * rdi-share/hsys.h: Likewise.
2362         * rdi-share/logging.c: Likewise.
2363         * rdi-share/logging.h: Likewise.
2364         * rdi-share/msgbuild.c: Likewise.
2365         * rdi-share/msgbuild.h: Likewise.
2366         * rdi-share/params.c: Likewise.
2367         * rdi-share/params.h: Likewise.
2368         * rdi-share/rx.c: Likewise.
2369         * rdi-share/rxtx.h: Likewise.
2370         * rdi-share/serdrv.c: Likewise.
2371         * rdi-share/serpardr.c: Likewise.
2372         * rdi-share/sys.h: Likewise.
2373         * rdi-share/tx.c: Likewise.
2374         * rdi-share/unixcomm.c: Likewise.
2375         * rdi-share/unixcomm.h: Likewise.
2376
2377 2006-01-21  Mark Kettenis  <[email protected]>
2378
2379         * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register):
2380         Change type of last argument to `gdb_byte *'.
2381
2382 2006-01-20  Mark Kettenis  <[email protected]>
2383
2384         * hppa-tdep.h (hppa_in_solib_call_trampoline)
2385         (hppa_skip_trampoline_code): New prototypes.
2386         * hppa-tdep.c (struct insn_pattern): New.
2387         (hppa_long_branch_stub, hppa_long_branch_pic_stub)
2388         (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved
2389         here from hppa-linux-tdep.c
2390         (HPPA_MAX_INSN_PATTERN_LEN): New define.
2391         (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall)
2392         (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New
2393         functions based on functions removed from hppa-linux-tdep.c.
2394         * hppa-linux-tdep.c (hppa_long_branch_stub)
2395         (hppa_long_branch_pic_stub, hppa_import_stub)
2396         (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c.
2397         (insns_match_pattern_relaxed, hppa_linux_in_dyncall)
2398         (hppa_linux_in_solib_call_trampoline)
2399         (hppa_linux_skip_trampoline_code): Removed.
2400         (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to
2401         hppa_in_solib_call_trampoline and skip_trampoline_code to
2402         hppa_skip_trampoline_code.
2403         * hppabsd-tdep.c (hppabsd_init_abi): Set
2404         TDEP->in_solib_call_trampoline and skip_trampoline_code.
2405
2406 2006-01-20  Jim Blandy  <[email protected]>
2407
2408         * MAINTAINERS: Change my E-mail address.
2409
2410         * configure.ac: Add -Wno-pointer-sign to list of build warnings.
2411         * configure: Regenerated.
2412
2413 2006-01-20  Daniel Jacobowitz  <[email protected]>
2414
2415         * MAINTAINERS: Overhaul.
2416
2417 2006-01-18  Mark Kettenis  <[email protected]>
2418
2419         Based on a previous patch form Michal Ludvig:
2420         * amd64-tdep.c (amd64_sse_type): Remove.
2421         (amd64_register_info): Use i386_eflags_type and i386_sse_type
2422         where appropriate.
2423         (AMD64_NUM_REGS): Use ARRAY_SIZE.
2424         (amd64_register_type): Remove code to build amd_sse_type.
2425         * i386-tdep.c (i386_eflag_type): New variable.
2426         (i386_mmx_type, i386_sse_type): Make global.
2427         (i386_init_types): New function.
2428         (i386_build_mmx_type, i386_build_sse_type): Remove functions.
2429         (i386_register_type): Return i386_eflag_type, i386_sse_type and
2430         i386_mmx_type when appropriate.
2431         (_initialize_i386_tdep): Call i386_init_types.
2432         * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type):
2433         Declare extern.
2434
2435         Based on a previous patch form Michal Ludvig:
2436         * gdbtypes.c (append_flags_type_flag, init_flags_type): New
2437         functions.
2438         (is_integral_type, rank_one_type, recursive_dump_type): Add
2439         support for TYPE_CODE_FLAGS.
2440         * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS.
2441         (append_flags_type_field, init_flags_type): New prototypes.
2442         * ada-valprint.c (ada_val_print_1): Add support for
2443         TYPE_CODE_FLAGS.
2444         * c-valprint.c (c_val_print): Likewise.
2445         * f-valprint.c (f_val_print): Likewise.
2446         * p-valprint.c (pascal_val_print): Likewise.
2447         * valprint.c (val_print_type_code_flags): New function.
2448         * valprint.h (val_print_type_code_flags): New prototype.
2449         * value.c (unpack_long, value_from_longest): Add support for
2450         TYPE_CODE_FLAGS.
2451
2452 2006-01-17  Christopher Faylor  <[email protected]>
2453
2454         * MAINTAINERS: Very belatedly remove myself from from the list of
2455         people caught up in the paper trail.
2456
2457 2006-01-17  Jim Blandy  <[email protected]>
2458
2459         * symtab.h (struct general_symbol_info): Use gdb_byte for
2460         value.bytes.
2461         * stabsread.c (define_symbol): Use gdb_byte for the buffer holding
2462         a floating-point constant's value.
2463         * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer
2464         to char *.
2465         * findvar.c (read_var_value): Eliminate needless temporary.
2466
2467         * dwarf2-frame.c (dwarf2_read_section): Update forward declaration
2468         to match prior change to dwarf2_read_section's type.
2469
2470 2006-01-16  Paul Gilliam  <[email protected]>
2471
2472         * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define.
2473         * rs6000-tdep.c (insn_changes_sp_or_jumps)
2474         (rs6000_in_function_epilogue_p): New functions.
2475         (rs6000_gdbarch_init): Set in_function_epilogue_p.
2476
2477 2006-01-17  Jim Blandy  <[email protected]>
2478
2479         * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head)
2480         (struct line_header, struct partial_die_info, struct dwarf_block):
2481         Use gdb_byte for members that refer to Dwarf section contents.
2482         (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines,
2483         dwarf_decode_macros, load_comp_unit, load_partial_dies,
2484         locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev,
2485         read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes,
2486         read_8_bytes, read_address, read_attribute, read_attribute_value,
2487         read_comp_unit, read_comp_unit_head, read_die_and_children,
2488         read_die_and_siblings, read_full_die, read_indirect_string,
2489         read_initial_length, read_n_bytes, read_offset, read_partial_die,
2490         read_signed_leb128, read_string, read_unsigned_leb128,
2491         skip_children, skip_leb128, skip_one_die): Same.
2492
2493 2006-01-17  Daniel Jacobowitz  <[email protected]>
2494
2495         * complaints.c (stop_whining): Make signed.
2496         * linux-thread-db.c (thread_db_store_registers): Use gdb_byte.
2497
2498 2006-01-17  Daniel Jacobowitz  <[email protected]>
2499
2500         * dwarf2read.c, remote-fileio.c, remote.h: Update copyright
2501         notices.
2502
2503 2006-01-17  Daniel Jacobowitz  <[email protected]>
2504
2505         * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length)
2506         (read_offset): Change BYTES_READ argument to unsigned int.
2507         (dwarf2_build_psymtabs_easy, read_comp_unit_head)
2508         (create_all_comp_units, dwarf2_get_pc_bounds)
2509         (dwarf_decode_line_header, var_decode_location)
2510         (dwarf_decode_macros): Change local BYTES_READ variables to
2511         unsigned int.
2512         (read_indirect_string): Remove obsolete cast.
2513
2514 2006-01-17  Daniel Jacobowitz  <[email protected]>
2515
2516         * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte
2517         argument.
2518         (remote_fileio_func_open, remote_fileio_func_rename)
2519         (remote_fileio_func_unlink, remote_fileio_func_stat)
2520         (remote_fileio_func_fstat, remote_fileio_func_gettimeofday)
2521         (remote_fileio_func_system): Cast the arguments to
2522         remote_read_bytes and remote_write_bytes.
2523         (remote_fileio_func_read, remote_fileio_func_write): Use a
2524         gdb_byte buffer.
2525         * remote.h (remote_read_bytes, remote_write_bytes): Update
2526         prototypes.
2527         * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument.
2528         (threadref_to_int): Replace bogus char * cast.
2529         (remote_unpack_thread_info_response): Use int for tag.
2530         (remote_threads_extra_info, remote_check_symbols): Cast string
2531         arguments to hex2bin.
2532         (remote_wait): Use a char buffer for packets and a gdb_byte
2533         buffer for registers.
2534         (remote_async_wait): Likewise.
2535         (remote_prepare_to_store, store_register_using_P)
2536         (remote_store_registers): Use gdb_byte buffers.
2537         (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer
2538         for MYADDR and char buffers for strings.
2539         (remote_xfer_partial): Add casts for string operations on READBUF.
2540         (remote_rcmd): Cast strings passed to bin2hex.
2541
2542 2006-01-16  Mark Mitchell  <[email protected]>
2543
2544         * aclocal.m4: Regenerate.
2545
2546 2006-01-16  Nathan Sidwell  <[email protected]>
2547
2548         * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY,
2549         MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2,
2550         MT_COPRO_PSEUDOREG_REGS members.  Adjust MT_NUM_PSEUDO_REGS.
2551         (mt_register_name): Lazily synthesize name for coprocessor pseudo
2552         array registers.
2553         (mt_copro_register_type): New. Broken out of ...
2554         (mt_register_type): ... here.  Use it.  Deal with coprocessor
2555         pseudo array.
2556         (mt_select_coprocessor): New.
2557         (mt_pseudo_register_read, mt_pseudo_register_write): Deal with
2558         coprocessor pseudo array.
2559
2560 2006-01-16  Andrew Stubbs  <[email protected]>
2561
2562         * breakpoint.c (insert_breakpoints): Check that a thread exists
2563         before inserting thread specific breakpoints.
2564
2565 2006-01-15  Mark Kettenis  <[email protected]>
2566
2567         * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous
2568         commit.
2569
2570         * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint.
2571         * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove.
2572         * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove.
2573         * config/alpha/nm-nbsd.h: Remove file.
2574         * config/alpha/nm-fbsd.h: Remove file
2575         * config/alpha/nbsd.mh (NAT_FILE): Remove.
2576         * config/alpha/fbsd.mh (NAT_FILE): Remove.
2577
2578 2006-01-15  Daniel Jacobowitz  <[email protected]>
2579
2580         * macroexp.c (expand): Initialize argc.
2581         * stabsread.c (read_type): Handle errors from read_args.
2582         (read_args): Return NULL for errors.
2583
2584 2006-01-15  Mark Kettenis  <[email protected]>
2585
2586         * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of
2587         strcmp to compare string to a byte buffer.
2588
2589 2006-01-15  Daniel Jacobowitz  <[email protected]>
2590
2591         * printcmd.c (output_command): Always initialize fmt.size.
2592         (printf_command): Use gdb_byte.
2593         * symfile.c (separate_debug_file_exists): Use gdb_byte.
2594         (load_section_callback, read_target_long_array): Likewise.
2595         (simple_read_overlay_table, simple_read_overlay_region_table)
2596         (simple_overlay_update_1): Correct calls to read_target_long_array.
2597         * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *.
2598         Also change local pointers.
2599         (val_print_string): Use gdb_byte.
2600
2601 2006-01-15  Mark Kettenis  <[email protected]>
2602
2603         * alphafbsd-tdep.c: Include "solib-svr4.h".
2604         (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to
2605         svr4_lp64_fetch_link_map_offsets.
2606         * Makefile.in (alphafbsd-tdep.o): Update dependencies.
2607         * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and
2608         solib-svr4.o.
2609         * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
2610         and solib-legacy.o.
2611         * config/alpha/nm-fbsd.h: Don't include "solib.h".
2612
2613 2006-01-15  Daniel Jacobowitz  <[email protected]>
2614
2615         * source.c (_initialize_source): Use add_setshow_integer_cmd.
2616
2617 2006-01-15  Daniel Jacobowitz  <[email protected]>
2618
2619         * linux-fork.c (delete_fork_command, detach_fork_command): Use
2620         PIDGET.
2621
2622 2006-01-15  Mark Kettenis  <[email protected]>
2623
2624         * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets):
2625         Remove.
2626         (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2627         svr4_ilp32_fetch_link_map_offsets.
2628         * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove
2629         function.
2630         (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
2631         svr4_ilp32_fetch_link_map_offsets.
2632         * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets)
2633         (mips64_linux_svr4_fetch_link_map_offsets): Remove functions.
2634         (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2635         svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
2636         where appropriate.
2637         * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets):
2638         Simply call svr4_ilp32_fetch_link_map_offsets.
2639         (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call
2640         svr4_lp64_fetch_link_map_offsets.
2641         * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove
2642         function.
2643         (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
2644         svr4_ilp32_fetch_link_map_offsets.
2645         * s390-tdep.c (s390_svr4_fetch_link_map_offsets)
2646         (s390x_svr4_fetch_link_map_offsets): Remove functions.
2647         (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to
2648         svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets
2649         where appropriate.
2650
2651 2006-01-15  Mark Kettenis  <[email protected]>
2652
2653         * arm-tdep.c (arm_return_value): Change type of readbuf and
2654         writebuf arguments to `gdb_byte *'.
2655
2656         * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h".
2657         * Makefile.in (s390-tdep.o): Update dependencies.
2658
2659 2006-01-14  Mark Kettenis  <[email protected]>
2660
2661         * sol2-tdep.h. sol2-tdep.c: New files.
2662         * amd64-sol2-tdep.c: Include "sol2-tdep.h".
2663         (amd64_sol2_init_abi): Set skip_solib_resolver.
2664         * i386-sol2-tdep.c: Include "sol2-tdep.h".
2665         (i386_sol2_init_abi): Set skip_solib_resolver.
2666         * sparc-sol2-tdep.c: Include "sol2-tdep.h".
2667         (sparc32_sol2_init_abi): Set skip_solib_resolver.
2668         * sparc64-sol2-tdep.c: Include "sol2-tdep.h".
2669         (sparc64_sol2_init_abi): Set skip_solib_resolver.
2670         * Makefile.in (sol2_tdep_h): New variable.
2671         (ALLDEPFILES): Add sol2-tdep.c.
2672         (sol2-tdep.o): New target.
2673         (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o)
2674         (sparc64-sol2-tdep.o): Update dependencies
2675         * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o.
2676         * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
2677         * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o.
2678         * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o.
2679
2680         * hppa-linux-tdep.c: Fix copyright indentation.
2681
2682         * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM.
2683         * hppabsd-nat.c (hppabsd_fpregset_supplies_p)
2684         (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New
2685         functions.
2686         (hppabsd_fetch_registers, hppabsd_store_registers): Handle
2687         floating-point registers.
2688
2689 2006-01-13  Mark Mitchell  <[email protected]>
2690
2691         * event-loop.c (gdb_select): Detect file descriptors that have
2692         been closed.
2693
2694 2006-01-13  Mark Kettenis  <[email protected]>
2695
2696         * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
2697         and long_double_format accordingly.
2698
2699 2006-01-12  Paul N. Hilfinger <[email protected]>
2700
2701         * ada-exp.y (yyerror): Change message to ignore the argument, avoiding
2702         translation problems.
2703         * ada-lang.c (ada_value_struct_elt): Change interface and handling
2704         of errors to avoid translation problem (and less than optimal error
2705         messages).
2706         (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp):
2707         Use new interface to ada_value_struct_elt.
2708         * ada_lang.h (ada_value_struct_elt): Update declaration to new 
2709         interface.
2710         
2711         * ChangeLog: remove reference to ada-tasks.c from entry of
2712         2006-01-07.
2713         
2714 2006-01-11  Mark Kettenis  <[email protected]>
2715
2716         * remote.c (get_memory_packet_size, set_thread) 
2717         (remote_unpack_thread_info_response, remote_get_threadinfo) 
2718         (parse_threadlist_response, remote_get_threadlist) 
2719         (remote_current_thread, remote_threads_info) 
2720         (remote_threads_extra_info, extended_remote_restart, get_offsets) 
2721         (remote_check_symbols, remote_open_1, remote_detach) 
2722         (remote_async_wait, remote_fetch_registers) 
2723         (remote_store_registers, check_binary_download, putpkt_binary) 
2724         (remote_insert_breakpoint, remote_insert_watchpoint) 
2725         (remote_remove_watchpoint, remote_insert_hw_breakpoint) 
2726         (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) 
2727         (packet_command): Remove redundant parenthesis.
2728
2729 2006-01-10  Mark Kettenis  <[email protected]>
2730
2731         * corefile.c (read_memory_integer, read_memory_unsigned_integer)
2732         (read_memory_typed_address, write_memory)
2733         (write_memory_unsigned_integer, write_memory_signed_integer): Use
2734         gdb_byte where appropriate.
2735
2736         * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
2737         'gdb_byte *'.
2738
2739         * target.h (target_read_memory_partial, target_write_memory_partial):
2740         Change second argument to 'gdb_byte *'.
2741         * target.c (target_xfer_memory_partial): Change third argument to
2742         'gdb_byte *'.
2743         (target_read_memory_partial, target_write_memory_partial): Change
2744         second argument to 'gdb_byte *'.
2745
2746         * linespec.c (decode_objc): Make i1 and i2 unsigned.
2747         (find_method): Set values.sals to NULL.
2748
2749 2006-01-09  Mark Kettenis  <[email protected]>
2750
2751         * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead
2752         of 'char *' in cast.
2753
2754 2006-01-07  Paul N. Hilfinger <[email protected]>
2755
2756         * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup.
2757         * ada-lang.c: I18n markup.  
2758         Editorial: change "can not" => "cannot" throughout.
2759
2760 2006-01-07  Mark Kettenis  <[email protected]>
2761
2762         * Makefile.in: Sort dependencies.
2763
2764 2006-01-07  Eli Zaretskii  <[email protected]>
2765
2766         * top.c (control_level): Remove unused variable.
2767
2768 2006-01-06  Fred Fish  <[email protected]>
2769
2770         * objfiles.c (source.h): Include.
2771         (free_objfile): Update comment about clear_symtab_users().
2772         (free_objfile): Check all symtabs of objfile being freed and if
2773         one of them is the current source symtab, call
2774         clear_current_source_symtab_and_line().
2775
2776 2006-01-04  Michael Snyder  <[email protected]>
2777
2778         Checkpoint/Restart for Linux.
2779         * linux-nat.c: Add support for debugging multiple forks.
2780         Add #include for linux-fork.h (interface spec).
2781         (super_mourn_inferior): New function pointer.
2782         (child_mourn_inferior): New function / target method.
2783         (linux_target): Claim to_mourn_inferior method pointer.
2784         (child_follow_fork): Call interface to linux-fork, conditionally
2785         add new fork processes to list of debugged processes.
2786         (kill_inferior): Use interface to linux-fork to kill
2787         multiple processes.
2788
2789         * linux-fork.h: New file.
2790         * linux-fork.c: New file.  Support for debugging multiple forks
2791         of the same program.  Support for checkpoint and restart commands.
2792
2793         * infrun.c (nullify_last_target_wait_ptid): New function.
2794
2795         * Makefile.in: Add linux-fork.
2796         * config/*/linux.mh: Add linux-fork.
2797         * NEWS: Mention new functionality.
2798
2799 2006-01-02  Paul Hilfinger  <[email protected]>
2800
2801         * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): 
2802         Change uses of "illegal" to "invalid".
2803         
2804 2006-01-02  Paul N. Hilfinger  <[email protected]>
2805
2806         * ada-exp.y: Considerable reorganization to move functionality
2807         from ada-lex.l to here, where it is logically more appropriate.
2808         The original reason, however, was to prevent premature name
2809         lookups for selector names in record aggregates.
2810         (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns
2811         NAME for all of these.
2812         (VAR): New artificial token to clarify precedence rules.
2813         (OTHERS): New lexeme.
2814         (empty_stoken): New symbol.
2815         (%union): Remove ssym, voidval.
2816         (%type): Remove <voidval> type declarations.
2817         (syntax definitions): Add aggregates.
2818         Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING.
2819         Rename some non-terminals to be closer to reference manual usage.
2820         Tighten up expression syntax to disallow certain non-Ada 
2821         constructions such as X and then Y or else Z.
2822         (ada_parse): Remove initialization of left_block_context.
2823         (write_var_from_name): Remove.
2824         (write_var_or_type): New function, containing previous code from
2825         defunct write_var_from_name and name_lookup.
2826         (block_lookup): New function, moved from ada-lex.l
2827         (select_possible_type_sym): New function, factored out of
2828         name_lookup, which used to be in ada-lex.l.
2829         (find_primitive_type): Ditto.
2830         (chop_selector): Ditto.
2831         (write_ambiguous_var): New function, factored out of defunct
2832         write_var_from_name.
2833         (write_selectors): New function.
2834         (write_name_assoc): New function.
2835         (write_exp_op_with_string): New function.
2836
2837         * ada-lex.l (processId): Change interface to return stoken.
2838         (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove.
2839         (block_lookup, name_lookup): Remove.  Functionality moved to
2840         ada-exp.y.
2841         (state IN_STRING): Remove.
2842         (rules): Handle string escapes in processString.
2843         Add 'others' token.
2844         Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in
2845         yylval.sval (as simple strings).
2846         All name look-ups now handled in ada-exp.y.
2847         Introduce "::" (COLONCOLON) token and return as separate token.
2848         (processId): Change return convention.  Comment.
2849         Leave leading "'" in place.
2850         (processString): New function.
2851         (find_dot_all): Add note to comment.
2852         Fix problem that allowed match only at the end.
2853
2854         * ada-lang.c: Introduce aggregates.
2855         (find_struct_field): Add new parameter to count fields skipped, and
2856         allow other output parameters to be NULL.
2857         (value_tag_from_contents_and_address, ada_value_struct_elt): Use 
2858         new find_struct_field.
2859         (ada_index_struct_field, assign_aggregate, ada_is_array_type)
2860         (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field)
2861         (num_component_specs, assign_component, assign_aggregate):
2862         (aggregate_assign_from_choices,aggregate_assign_positional)
2863         (aggregate_assign_others,add_component_interval):
2864         New functions.
2865         (ada_evaluate_subexp): Declare.
2866         Add aggregate-related operators.
2867         (ada_forward_operator_length): Declare.
2868         (resolve_subexp): Add cases for new aggregate operators and OP_NAME.
2869         Consolidate Ada operators, using ada_forward_operator_length.
2870         (ada_search_struct_field): Search in forward order.
2871         (ADA_OPERATORS): Add new aggregate operators.
2872         (ada_operator_length, ada_op_name, ada_forward_operator_length)
2873         (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate 
2874         operators and OP_NAME.
2875         (ada_type_of_array): Use longest_to_int.
2876         (value_assign_to_component): New function.
2877         (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body):
2878         Add OP_NAME case.
2879         (ada_forward_operator_length, ada_dump_subexp_body):
2880         Add OP_STRING case.
2881
2882         * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS,
2883         OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL.
2884
2885 2006-01-02  Paul N. Hilfinger  <[email protected]>
2886
2887         * ada-lang.c (process_raise_exception_name): Remove extraneous 
2888         definition from unsubmitted code.
2889
2890         (is_lower_alphanum): New function.
2891         (ada_decode):  Add support for decoding protected object subprograms
2892         and entries, and of entities declared inside protected object
2893         subprograms. 
2894         Also add missing handling for__{DIGITS}+ suffixes.
2895         Allow '$<digits>' as valid overloading suffix.
2896         (is_name_suffix): Add handling for protected type entriy suffixes.
2897         Also add support for protected type subprogram suffixes, but keep
2898         it commented out for now, as there is an ambiguity between these
2899         entities and other internally generated entities.
2900         Allow '$<digits>' as valid overloading suffix.
2901         (is_valid_name_for_wild_match): New function.
2902         (wild_match): Add an exra level of verification of the entity name
2903         before declaring it a match for the given pattern.
2904
2905         (ada_type_of_array, ada_evaluate_subexp): Use more proper 
2906         longest_to_int rather than cast.
2907
2908         (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment.
2909
2910         (ada_coerce_to_simple_array): Call check_size to make sure
2911         that the object size is reasonable.
2912
2913         (ada_value_primitive_packed_val):  Use correct location in target 
2914         buffer for extracting packed record fields that are themselves records.
2915
2916         (add_defn_to_vec): Do not try to replace a stub type by its full
2917         type. Avoids a potential infinite loop.
2918         
2919         (ada_lookup_symbol): Move return incorrectly placed return statement, 
2920         causing a loop that should be scanning all object files to only 
2921         scan the first one.
2922
2923         (ada_tag_name_2): New function.
2924         (ada_tag_name_1): If no 'tsd' field found in the dispatching table,
2925         use alternative representation.
2926
2927         (ada_find_renaming_symbol): Strip the function name suffix when 
2928         computing the XR type name.
2929
2930         (ada_to_fixed_type): Try determining the tag only if we have the
2931         object's address.
2932         (to_fixed_array_type): Add comments.
2933
2934         (ada_check_typedef): Replace expression checking whether the given
2935         type is a stub or not by a "call" to TYPE_STUB. Clearer and more
2936         consistent.
2937         
2938         * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow
2939         '$' in addition to '.' for runtime auxiliary function name suffixes.
2940         See changes to ada_decode above.
2941
2942         (struct task_control_block): Add field called_task.  (This change is
2943         to keep synchronized with our local sources; it does not affect the
2944         public version yet.)
2945
2946         * ada-typeprint.c (ada_print_type): Use int_string for printing
2947         modulus of modular type.
2948         
2949         (print_range): Trivial editorial comment fix.
2950
2951         * ada-valprint.c (ada_emit_char): Use normal Ada syntax for 
2952         double quote in string.
2953
2954 2006-01-01  Joel Brobecker  <[email protected]>
2955
2956         * top.c: Add 2006 to list of copyright years in file header.
2957
2958 2006-01-01  Joel Brobecker  <[email protected]>
2959
2960         * top.c (print_gdb_version): Update copyright year to 2006.
2961
2962 2006-01-01  Roger Sayle  <[email protected]>
2963             Elena Zannoni <[email protected]>
2964
2965         PR symtab/1651
2966         * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab
2967         for NULL before assigning this_symtab_psymtab->objfile to objfile.
2968         (scan_xcoff_symtab): Initialize next_symbol_text_func.
2969         (Committed by Jim Blandy)
2970
2971 For older changes see ChangeLog-2005.
2972 \f
2973 Local Variables:
2974 mode: change-log
2975 left-margin: 8
2976 fill-column: 74
2977 version-control: never
2978 End:
This page took 0.201005 seconds and 4 git commands to generate.