Fix C++ overload support, see through references
[external/binutils.git] / gdb / ChangeLog
1 2000-03-10  Daniel Berlin  <dan@cgsoftware.com>
2         Fix C++ overloading, add support for seeing through references.
3
4         * defs.h (STREQ_IW): add STREQ_IW, like STREQ, except it's
5         whitespace insensitive
6
7         * valops.c (find_overload_match): Handle STABS overloading for
8         C++.
9         (find_overload_match): Look in right place for function arguments
10         in the debug info.
11         (find_overload_match): Rather than giving up when we have >1
12         perfect match, just choose one, especially since the
13         recommendation GDB gives ("disambiguate it by specifying function
14         signature"), is basically impossible.
15         (check_field_in): STREQ->STREQ_IW
16         (search_struct_field): STREQ->STREQ_IW
17         (find_method_list): STREQ->STREQ_IW
18
19         * gdbtypes.c (rank_one_type): Add ability to see through
20         references.
21         (rank_one_type): strcmp->strcmp_iw, because the whitespace could
22         be different.
23         (rank_function): Rank function properly (was doing it wrong
24         before, comparing the wrong parts of the arrays)
25         (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
26
27         * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
28         associated with converting a non-reference to a reference.
29
30
31 Fri Mar 10 11:44:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
32
33         * MAINTAINERS: Devolve responsibility for domain maintenance.
34
35 2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
36
37         * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
38
39 2000-02-25  Scott Bambrough <scottb@netwinder.org>
40
41         * gdb.base/long_long.exp: Correct test suite failure when printing
42         a long long value as a double on ARM platforms.
43
44 Thu Mar  9 14:21:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
45
46         * MAINTAINERS (Core): Anthony Green is the Java - including
47         testsuite - maintainer.  Reformat testsuite and language support
48         sections
49
50 2000-03-08  Mark Kettenis  <kettenis@gnu.org>
51
52         * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
53         * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
54         i386_linux_saved_pc_after_call.
55
56 2000-03-06  Jim Blandy  <jimb@redhat.com>
57
58         From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
59
60         * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
61         (compact_minimal_symbols): Added `objfile' argument.
62         Put symbols in the objfile's hash table.
63         (install_minimal_symbols): Put symbols in the objfile's demangled
64         hash table.
65         (lookup_minimal_symbol): Use hash table to find symbol in
66         objfile.
67         (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
68         functions.
69         (prim_record_minimal_symbol_and_info): Initialize the
70         hash link fields of the new minimal symbol.
71         * symtab.h (struct minimal_symbol): New fields `hash_next',
72         `demangled_hash_next'.
73         (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
74         * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
75         (struct objfile): New fields `msymbol_hash',
76         `msymbol_demangled_hash'.
77
78 2000-03-06  Jim Blandy  <jimb@redhat.com>
79
80         * solib.c (first_link_map_member): Doc fix.
81
82 2000-03-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
83
84         From  Eli Zaretskii  <eliz@is.elta.co.il>:
85
86         * event-loop.c (poll_timers): Don't compare delta.tv_sec with
87         zero, since time_t might be unsigned.
88
89 2000-03-06  Mark Kettenis  <kettenis@gnu.org>
90
91         * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
92         in *FPREGSETP.
93         (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
94
95 2000-03-05  Mark Kettenis  <kettenis@gnu.org>
96
97         Allow GDB to run on Linux 2.0 again.
98         * config.in: Add HAVE_PTRACE_GETREGS.
99         * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
100         * configure: Regenerated.
101         * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
102         CANNOT_STORE_REGISTER): New defines.
103         * i386-linux-nat.c (have_ptrace_getregs): New variable.
104         (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
105         old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
106         store_register, old_store_inferior_registers): Copied over from
107         `inptrace.c' as a temporary measure.
108         (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
109         Conditionalize on HAVE_PTRACE_GETREGS.  Define stubs if
110         HAVE_PTRACE_GETREGS isn't defined.
111         (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
112         with EIO.
113         (fetch_inferior_registers, store_inferior_registers): Fall back on
114         the method use in `infptrace.c' (by calling
115         old_fetch_inferior_registers and old_store_inferior_registers) if
116         `have_ptrace_getregs' isn't set.
117
118 2000-03-05  Mark Kettenis  <kettenis@gnu.org>
119
120         * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
121         of gregset_t and fpregset_t.  Those are the only names that are
122         guaranteed to specify the right types for all supported Linux
123         systems out there.
124         Various doc fixes and gratitious local variable renames, all in an
125         attempt to stress similarities between the code and unify the
126         terminology used.  Use ISO-C all over.
127         (regmap): Remove trailing comma.
128         (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
129         (convert_to_gregset): Make static.  Remove GDB_REGS argument.  It
130         is unnecessary and wasn't used anyway.  All callers changed.
131         (convert_to_fpregset, convert_to_xfpregset): Likewise.
132         (fetch_regs, store_regs): Remove unused variable `regno'.
133         (fill_fpregs): If REGNO is not -1, only update the specified
134         register.
135         (fetch_core_registers): Renamed from
136         i386_linux_fetch_core_registers.  There is no need for a unique
137         name since the function is static anyway.
138         (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
139         since it is more descriptive.
140
141 Sun Mar  5 19:40:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
142
143         * MAINTAINERS (readline/): Expand to include host maintainers.
144
145 2000-03-04  Mark Kettenis  <kettenis@gnu.org>
146
147         Fix support for Linux/i386 signal trampolines.  The old approach
148         didn't work for Linux 2.2 and beyond, and didn't work with recent
149         versions of the GNU C library.
150         * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
151         LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
152         (linux_rt_sigtramp_code): New variable.
153         (LINUX_RT_SIGTRAMP_LEN): New define.
154         (i386_linux_rt_sigtramp_start): New function.  Detect start of
155         signal trampolines for RT signals.
156         (i386_linux_sigtramp): Removed.
157         (i386_linux_in_sigtramp): New function.
158         (i386_linux_sigcontext_addr): New function.  Recognize the names
159         of the signal tranmpolines used by recent versions of the GNU C
160         library, and add support for RT signals.
161         (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):  New
162         defines.  Moved here from config/i386/tm-linux.h.
163         (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
164         Reimplement in terms of i386_linux_sigcontext_addr.
165         * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
166         (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
167         Moved to i386-tdep.c.
168         (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
169
170 Sat Mar  4 19:38:11 2000  Andrew Cagney  <cagney@b1.cygnus.com>
171
172         By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
173         * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
174
175 Sat Mar  4 17:23:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
176
177         * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
178         sim directory.
179
180 Sat Mar  4 16:19:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
181
182         * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
183         ``Blanket Write Privs'' maintainers.
184
185 Sat Mar  4 15:58:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
186
187         From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
188         * language.c (longest_local_hex_string_custom): Don't compile
189         'long long' section if host doesn't have 'long long'.
190
191 Sat Mar  4 15:45:38 2000  Andrew Cagney  <cagney@b1.cygnus.com>
192
193         * language.c (longest_raw_hex_string): Comment out.  Appears
194         unused.
195
196 Sat Mar  4 13:02:09 2000  Andrew Cagney  <cagney@b1.cygnus.com>
197
198         * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
199         "mmalloc.h" which means using PTRs.
200         (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
201
202 Sat Mar  4 11:49:21 2000  Andrew Cagney  <cagney@b1.cygnus.com>
203
204         * defs.h (store_address, store_unsigned_integer, store_address):
205         Replace PTR with void* in delcaration.
206         * findvar.c (extract_signed_integer, extract_unsigned_integer,
207         extract_long_unsigned_integer, extract_address,
208         store_signed_integer, store_unsigned_integer, store_address):
209         Convert definition to ISO-C.  Replace PTR with void*.
210
211 Sat Mar  4 10:57:25 2000  Andrew Cagney  <cagney@b1.cygnus.com>
212
213         * defs.h (make_cleanup_func): Document as deprecated.
214         (make_cleanup_ftype): New typedef.  Make signature consistent with
215         other function typedefs.  Document as not be used out side of
216         make_cleanup code. Use in make_cleanup declarations.
217         (null_cleanup): Replace PTR with void*.
218
219         * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
220         make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
221         null_cleanup): Change K&R definition to ISO-C using void* and
222         make_cleanup_fytpe.
223         (discard_my_cleanups): Don't cast argument to free.
224
225 2000-03-03  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
226
227         * defs.h (struct continuation_arg): Change type of field 'data'
228         from PTR to void *.
229
230         * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
231
232         * event-top.c: Ditto.
233
234 Fri Mar  3 15:39:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
235
236         * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
237         configure.
238         (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
239         SUBDIR_GDBTK_ALL): Define.
240         (all-gdbtk, clean-gdbtk): New targets.
241         (all): Add CONFIG_ALL as dependency.
242         (clean): Add CONFIG_CLEAN as dependency.
243
244         * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
245         (LN_S): Define.  Delete GDBtk's link code.
246
247 Fri Mar  3 13:12:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
248
249         * configure.in (ENABLE_GDBTK): Delete variable.
250         (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
251         * Makefile.in: Update.
252         * configure: Regenerate
253
254 2000-03-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
255
256         * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
257         NATDEPFILES list.
258
259 2000-03-02  Mark Kettenis  <kettenis@gnu.org>
260
261         * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
262         Override definitions to include the normal FPU registers.
263         (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
264         REGISTER_CONVERT_TO_RAW): Removed.  The default definitions are
265         fine for AIX/i386.
266         (i387_to_double, double_to_i387): Remove prototypes.
267
268 2000-03-02  Kevin Buettner  <kevinb@redhat.com>
269
270         * findvar.c (extract_floating, store_floating): Use target
271         floating point type sizes rather host sizes to determine
272         which conversion needs to be done.
273
274 2000-03-02  Nick Duffek  <nsd@cygnus.com>
275
276         * uw-thread.c: Apply GNU conventions to comment formatting.
277         (deactivate_uw_thread): Call remove_thread_event_breakpoints().
278         (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
279         call to deactivate_uw_thread().
280
281 Thu Mar  2 09:04:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
282
283         * MAINTAINERS: Daniel Berlin is C++ maintainer.
284
285 Thu Mar  2 08:55:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>
286
287         * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
288         a joint GNU/Linux/x86 maintainer.  Nick Duffeck and Robert Lipe
289         share SCO/Unixware.  Nick Duffek and Peter Schauer share
290         Solaris/x86.
291
292 Wed Mar  1 22:12:35 2000  Andrew Cagney  <cagney@b1.cygnus.com>
293
294         From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
295         * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
296         * remote-rdi.c (arm_rdi_close): Ditto.
297
298 Wed Mar  1 19:31:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
299
300         * CONTRIBUTE (configure.in): Note that patches to configure are
301         not needed.
302
303 2000-03-01  Mark Kettenis  <kettenis@gnu.org>
304
305         * MAINTAINERS: Correct my own mail address.
306
307 Wed Mar  1 11:26:07 2000  Andrew Cagney  <cagney@b1.cygnus.com>
308
309         * MAINTAINERS: Document people with paperwork pending.
310
311 Wed Mar  1 00:49:06 2000  Andrew Cagney  <cagney@b1.cygnus.com>
312
313         From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
314         Make NEW_PROC_ABI interface functional on Solaris x86.
315         * sol-thread.c (ps_lgetLDT): Rewrite to use new
316         procfs_find_LDT_entry function from procfs.c, mostly copied from
317         lin-thread.c.
318         * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
319         needed.
320
321 Wed Mar  1 00:34:55 2000  Andrew Cagney  <cagney@b1.cygnus.com>
322
323         From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
324         * config/i386/tm-i386sol2.h (MERGEPID): Define.
325
326 Wed Mar  1 00:06:19 2000  Andrew Cagney  <cagney@b1.cygnus.com>
327
328         From 1999-08-13 J.T. Conklin <jtc@redback.com>:
329         * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
330         FRAME_FIND_SAVED_REGS.
331         (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
332         * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
333         Update.
334
335 Tue Feb 29 23:56:41 2000  Andrew Cagney  <cagney@b1.cygnus.com>
336
337         From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
338         * objfiles.c (open_mapped_file):  Fix obsolete references to `mapped'
339         parameter.
340
341 Tue Feb 29 18:47:58 2000  Andrew Cagney  <cagney@b1.cygnus.com>
342
343         From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
344         * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
345         (top level): Add prototypes for go32_* functions.
346         * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
347         (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
348         Override definitions from tm-i386.h.
349         (REGISTER_VIRTUAL_TYPE): Remove macro definition.
350         * i386-tdep.c (i386_extract_return_value)
351         [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
352         to the list of targets which return FP values in FP registers.
353
354         * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
355         that this function be re-implemented using multi-arch.
356
357 Tue Feb 29 18:40:08 2000  Andrew Cagney  <cagney@b1.cygnus.com>
358
359         From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
360         * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
361         and ScreenRows.
362         * ser-go32.c: Include string.h, for prototype of strncasecmp.
363         (dpmi_regs, dpmi_sregs): Remove unused variables.
364         (dos_flush_input): Return a value, to prevent compiler warning.
365         * expprint.c (dump_prefix_expression): Use %ld in format and cast
366         sizeof(union exp_element) to long, to prevent GCC from complaining
367         about format/argument mismatch.
368         (dump_postfix_expression): Likewise.
369
370 Tue Feb 29 18:09:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
371
372         * arm-tdep.c: Include <ctype.h>.
373
374 Tue Feb 29 17:33:49 2000  Andrew Cagney  <cagney@b1.cygnus.com>
375
376         From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
377         * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
378         that the target's stack was valid.
379
380 Tue Feb 29 15:14:56 2000  Andrew Cagney  <cagney@b1.cygnus.com>
381
382         From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
383         * dwarf2read.c (read_address): Read 16-bits addresses.
384
385 2000-02-28  Scott Bambrough <scottb@netwinder.org>
386
387         * arm-linux-nat.c (fetch_nw_fpe_*):
388         Renamed to fetch_nwfpe_* to use the same naming convention
389         as in the Linux kernel.  Modified prototype to get rid of
390         unused parameters.
391         (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
392         naming convention as in the Linux kernel.  Fixed calls to
393         fetch_nwfpe_*.
394         (store_fpregs): Fixed calls to store_nwfpe_*.  Removed
395         unused variable.
396
397 Mon Feb 28 18:24:32 2000  Andrew Cagney  <cagney@b1.cygnus.com>
398
399         * MAINTAINERS: Transfer d30v maintainership to David Taylor.
400
401 2000-02-28  Christopher Faylor  <cgf@cygnus.com>
402
403         * win32-nat.c: Remove unneeded header.
404         * wince.c: Ditto.
405
406 Mon Feb 28 13:34:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
407
408         * wince.c: Include "gdb_wait.h" and not "wait.h".
409
410 Mon Feb 28 10:58:45 2000  Andrew Cagney  <cagney@b1.cygnus.com>
411
412         * MAINTAINERS: Mention mmalloc.  Expand Host/Native and
413         Target/Architecture maintainers descriptions.
414
415 2000-02-26  Mark Kettenis  <kettenis@gnu.org>
416
417         * gnu-nat.c: Include "gdbthread.h".  Include <hurd.h>.
418         Reorder headers a bit.  Overall cleanup and minor reformatting.
419         (MIG_SERVER_DIED): Remove define.
420         (proc_update_sc): Add braces to silence compiler warning.
421         (proc_steal_exc_port): Initialize err to zero.
422         (make_proc): Add braces to silence compiler warning.
423         (inf_validate_task_sc): Add cast to silence compiler warning.
424         (inf_set_traced): Reorganize a bit to silence compiler warning.
425         (inf_validate_procs): Use mach_msg_type_number_t for all thread
426         numbers and add braces to silence compiler warning.
427         (gnu_wait): Add prototypes for server functions and add braces to
428         silence compiler warnings.
429         (S_exception_raise_request): Pass subcode to inf_debug call.
430         (gnu_write_inferior): Remove unused variable `protection_changed'.
431         (gnu_xfer_memory): Remove unused variable `result'.
432         (set_sig_thread_cmd): Remove unused varible `tid'.
433         (set_signals_cmd): Remve unused variable `trace'.
434         (add_task_commands): Provide complete prototype.  Reformat help
435         strings a bit to make sure the first line is a full sentence.
436         Call info_port_rights_cmd instead of info_send_rights_cmd for the
437         "info port-rights" command.
438         (add_thread_commands): Provide complete prototype.  Make static.
439         Reformat help strings a bit to make sure the first line is a full
440         sentence.
441         (_initialize_gnu_nat): Provide complete prototype.
442
443 2000-02-26  Mark Kettenis  <kettenis@gnu.org>
444
445         Make cross-compilation for the Hurd more friendly.
446         From Jeff Bailey <jbailey@gnu.org>:
447         * configure.in: Use AC_CHECK_TOOL to find MiG.
448         * Makefile.in (MIG): New variable.
449         * config/i386/i386gnu.mh (MIG): Remove.
450         * configure: Regenerated.
451
452 2000-02-26  Kevin Buettner  <kevinb@redhat.com>
453
454         * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
455         comment explaining motivation behind this function and why
456         the generic facilities won't work for this platform.
457         * rs6000-tdep.c (skip_prologue): Always test to make sure
458         that an instruction is read successfully from the target's
459         memory.  Introduce notion of instructions which may appear in
460         the prologue, but may not end the prologue.  Added explicit
461         check for nop instruction.  Use memset() to zero the frame
462         data instead of assignment from a statically allocated,
463         uninitialized structure.
464
465 Sat Feb 26 17:15:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
466
467         * MAINTAINERS: Chris Faylor is responsible for all MS Windows
468         systems.  Note that Jim Blandy as maintainer for ``tracing
469         bytecode stuff''
470
471 2000-02-25  Fernando Nasser  <fnasser@cygnus.com>
472
473         From: Thomas Zenker <thz@Lennartz-electronic.DE>
474         * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
475         NetBSD...) sys_errlist should not be declared in hsys.c.
476         NEED_SYSERRLIST is set already by configure, so we can use it.
477         * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
478         posix compliant and we should not work with the old compatibility
479         stuff.  Because of that I undef BSD in case of FBSD etc and include
480         sys/ioctl to get the flags.
481         * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
482         for exclusive use.
483
484 2000-02-24  Kevin Buettner  <kevinb@redhat.com>
485
486         * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
487         of return structure in r3 if necessary.
488         (ppc_linux_memory_remove_breakpoints): New function.
489         * rs6000-tdep.c (skip_prologue): Make sure that the cases
490         for storing either cr or lr to the stack only handle those
491         cases.  (I.e, don't let these cases match 0x00000000 which is
492         found found in the shared library trampoline prior to the
493         loading of the shared library.)
494         * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
495         Declare.
496         (MEMORY_REMOVE_BREAKPOINT): Define.
497
498 Wed Feb 23 23:27:48 2000  Andrew Cagney  <cagney@behemoth.cygnus.com>
499
500         * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
501
502 Thu Feb 24 18:42:15 2000  Andrew Cagney  <cagney@b1.cygnus.com>
503
504         * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
505         $(SUBDIR_*_INSTALL) when so configured.
506         * configure: Regenerate.
507
508         * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
509         configure.
510         (install-only): Add dependency on $(CONFIG_INSTALL).  Delete code
511         installing GDBtk.
512         (uninstall): Add dependency on $(CONFIG_UNINSTALL).
513         (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
514         SUBDIR_GDBTK_INSTALL): Define.
515         (install-gdbtk): New target.
516
517 Thu Feb 24 18:19:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
518
519         * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
520         * configure: Regenerate.
521
522 2000-02-24  Christopher Faylor  <cgf@cygnus.com>
523
524         * configure.tgt: Add arm, mips, sh wince targets.
525         * config/arm/tm-wince.h: New file.
526         * config/arm/wince.mt: New file.
527         * config/sh/tm-wince.h: New file.
528         * config/sh/wince.mt: New file.
529         * config/mips/tm-wince.h: New file.
530         * config/mips/wince.mt: New file.
531         * wince.c: New file.
532         * wince-stub.c: New file.
533         * wince-stub.h: New file.
534         * sh-tdep.c: Use correct register names for Windows CE.
535
536 Wed Feb 23 19:01:45 EST 2000  Nicholas Duffek <nsd@cygnus.com>
537
538         * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
539         (error_return, quit_return): Merge into catch_return pointer.
540         (return_to_top_level): Update comment.  Longjmp to *catch_errors,
541         and communicate reason to catch_errors via setjmp return value.
542         (catch_errors): Always catch both quit and error, and if a catch
543         wasn't requested by caller, throw it to the next catch_error.
544         Replace dual longjmp buffer memcpy with single pointer change.
545         Add FIXME for possibly adding new interface to tell caller what
546         event was caught.  Add extensive comments.
547         * defs.h (enum return_reason): Reserve 0 for use as initial
548         setjmp() return value.
549         (RETURN_MASK): New public macro to generate RETURN_MASK_* from
550         enum return_reason.
551         (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
552
553 2000-02-23  Fernando Nasser  <fnasser@cygnus.com>
554
555         * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
556         * valops.c (_initialize_valops): Add command "set unwindonsignal".
557         (hand_function_call): Test for unwind_on_signal and act accordingly.
558
559 Wed Feb 23 12:58:46 2000  Andrew Cagney  <cagney@b1.cygnus.com>
560
561         * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
562         Match ../include/dis-asm.h change.
563         * gdbarch.h: Regenerate.
564         * corefile.c (dis_asm_read_memory): Update.
565
566 Mon Feb 21 13:57:27 2000  Andrew Cagney  <cagney@b1.cygnus.com>
567
568         * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
569         (ENABLE_CFLAGS): Move initialization to start of file.
570         (enable-gdbmi): Add new configure option --enable-gdbmi.  When
571         selected and an ${srcdir}/mi directory is present enable MI
572         interface.
573
574         * configure: Regenerate.
575
576         * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
577         SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
578         (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
579         CONFIG_LDFLAGS): New macros.  Initialized by autoconf via
580         @CONFIG...@.
581         (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
582         INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
583
584         * mi: New directory. MI interface to GDB.
585
586         * defs.h (interpreter_p): Declare when UI_OUT.
587         * top.c (gdb_init): When interpreter_p, check that the interpreter
588         was recognized by one of the linked in interpreters.
589         * main.c (interpreter_p): Define.
590         (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
591         * event-top.c (display_gdb_prompt): When interpreter_p, assume
592         interpreter displays prompt.
593
594         * breakpoint.c (print_it_typical, watchpoint_check,
595         print_one_breakpoint, mention): When MI include additional
596         target status information.
597         * infrun.c (print_stop_reason, normal_stop): Ditto.
598
599 2000-02-22  Jim Blandy  <jimb@redhat.com>
600
601         * gdbarch.sh: Make the `default' field really default to zero, as
602         documented.
603
604         Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
605         * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
606         more function-like.
607         (default_coerce_float_to_double, standard_coerce_float_to_double):
608         New functions.
609         (value_arg_coerce): Adjust for new definition.
610         * value.h (default_coerce_float_to_double,
611         standard_coerce_float_to_double): New declarations for the above.
612         * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
613         * gdbarch.c, gdbarch.h: Regenerated.
614         * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
615         tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
616         definitions.
617         * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
618         function here.
619         (mips_gdbarch_init): Install that as our coerce_float_to_double
620         function.
621
622 2000-02-22  Kevin Buettner  <kevinb@redhat.com>
623
624         * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
625         type.
626         * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
627         forward declaration.
628
629         * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
630         where the next frame is a signal handler caller.
631
632         * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
633         undef.
634         (tm-linux.h): Include.
635         (tm-sysv4.h): Don't include (directly).  config/tm-linux.h will
636         include this file for us.
637         (REALTIME_LO, REALTIME_HI): Don't define.  These are defined by
638         config/tm-linux.h for us.
639         (SOFUN_ADDRESS_MAYBE_MISSING): Define.
640
641 2000-02-21  Kevin Buettner  <kevinb@redhat.com>
642
643         * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
644         (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
645         * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
646         and like targets.
647
648         * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
649         config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
650         * config/powerpc/xm-linux.h: Substantially revised for native
651         port.
652         * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
653         (NATDEPFILES): Update list to reflect the fact that we can
654         now debug natively.
655
656         * rs6000-tdep.c, config/rs6000/tm-rs6000.h
657         (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
658         Renamed; The former names were lacking the rs6000_ prefix.
659         * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
660         instead of rs6000_frame_chain.
661         (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
662         of rs6000_frameless_function_invocation.
663
664 2000-02-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
665
666         From Philippe De Muyter  <phdm@macqel.be>
667
668         * event-loop.c (handle_file_event): In case of poll, enable
669         printing of informational message if an error/exception is
670         detected on the file descriptor.
671
672 2000-02-21  Jim Kingdon  <kingdon@redhat.com>
673
674         * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
675
676 Mon Feb 21 12:50:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
677
678         * buildsym.c: Include "language.h" and "expression.h" for
679         longest_local_hex_string_custom.
680
681 Mon Feb 21 11:17:18 2000  Andrew Cagney  <cagney@b1.cygnus.com>
682
683         * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
684         * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
685         Cagney <cagney@b1.cygnus.com>.
686
687 Mon Feb 21 11:03:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
688
689         * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
690         nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
691         Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
692         to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
693         Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
694         Kingdon.
695         * MAINTAINERS: Add Nick Clifton to write after approval list.
696
697 Mon Feb 21 10:30:39 2000  Andrew Cagney  <cagney@b1.cygnus.com>
698
699         * MAINTAINERS: Add note on multiple maintainers.
700
701 2000-02-19  Philippe De Muyter  <phdm@macqel.be>
702
703         * cli-out.c (cli_table_header): Type of parameter `alignment' is
704         `enum ui_align', not `int'.
705         (cli_field_string, cli_field_skip): Likewise.
706
707 2000-02-18  Jim Blandy  <jimb@redhat.com>
708
709         From Jimmy Guo <guo@cup.hp.com>:
710         * buildsym.h (add_free_pendings): Declare.
711         * buildsym.c (add_free_pendings): New function.
712         (make_blockvector): 32x64 fix using longest_local_hex_string().
713         (start_subfile): initialize variable 'subfile'.
714
715 2000-02-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
716
717         * remote.c (remote_async_detach): Use target_mourn_inferior(), to
718         make sure that all is cleaned up after we disconnect from the
719         target.
720         (remote_detach): Ditto.
721
722 2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
723
724         From Rodney Brown  <RodneyBrown@pmsc.com>
725         * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
726         potentially harming mistake.
727
728 2000-02-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
729
730         * arm-tdep.c: Use header file instead of extern declarations for
731         the {get,set}_arm_regname* functions.
732
733 2000-02-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
734
735         * configure.in: Replaces obsolete gdbtk-variable.c with
736         gdbtk-varobj.c.
737         * configure: Regenerate.
738         * Makefile.in: Remove obsolete/extraneous references to
739         gdbtk-var* files.
740
741 2000-02-16  Mark Kettenis  <kettenis@gnu.org>
742
743         * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
744         the conversion of the signal number.  TARGET_SIGNAL_REALTIME_33 is
745         33 by definition, whereas REALTIME_LO might be 32 on systems that
746         have SIG32 such as Linux.  Make sure that the signal number
747         returned is within the range specified by REALTIME_LO and
748         REALTIME_HI.
749
750 2000-02-16  Mark Kettenis  <kettenis@gnu.org>
751
752         * configure: Regenerated.
753
754 2000-02-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
755
756         * arm-tdep.c (set_disassembly_flavor, arm_othernames,
757         _initialize_arm_tdep): Allows the user to choose between any of
758         the flavors available for the disassembly to be used in the "info
759         reg" command and elsewhere in gdb.  It prevents having to maintain
760         this information in two places by using the data kept in the
761         opcodes directory.
762
763 2000-02-09  Mark Kettenis  <kettenis@gnu.org>
764
765         * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
766         prfpregset_t in <sys/procfs.h>.
767         * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
768         HAVE_PRFPREGSET_T.
769         * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
770         prgregset_t and prfpregset_t if they are not already present.
771
772 Wed Feb 16 19:00:02 2000  Andrew Cagney  <cagney@b1.cygnus.com>
773
774         From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
775         * procfs.c: Define MERGEPID if not defined. For osf4.0e.
776
777 2000-02-15  Jason Molenda  (jsm@bugshack.cygnus.com)
778
779         * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
780         'do-doc'.
781
782 2000-02-15  Kevin Buettner  <kevinb@redhat.com>
783
784         Changes for AIX 4.3:
785         * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
786         to correct value for generic dummy frames.  When using
787         generic dummy frames, don't attempt to write TOC value or
788         function to call into the call dummy.
789         (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
790         code to also handle the PowerOpen ABI.
791         (ppc_push_return_address): Enable for all ports.
792         * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
793         PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
794         CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
795         CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
796         provided by generic RS6000 definitions so that call dummies
797         are implemented using generic dummy frames instead.
798
799         * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
800         prior to changing the stack pointer via ptrace().  Also, ignore
801         attempts to store to undefined registers that are less than
802         NUM_REGS.
803
804         * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
805         frame from 436 to 448 to account for alignment padding.
806         (rs6000_push_arguments): Obtain actual register size instead
807         of assuming the register is 4 bytes long.  [There's still
808         more work to be done to totally remove the 4 byte assumption,
809         however.]  Make sure the stack is 16 byte aligned as required
810         by the PowerOpen ABI.  Also, make sure that small structures
811         passed in registers are properly aligned within the register.
812
813 2000-02-15  Jesper Skov  <jskov@cygnus.co.uk>
814
815         Patch applied by Kevin Buettner <kevinb@redhat.com>
816
817         * rs6000-tdep.c (skip_prologue): skip copying of argument
818         registers to local variable registers.
819
820 2000-02-14  Jim Kingdon  <kingdon@redhat.com>
821
822         * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale.  A
823         sym->section->index number is not a SECT_OFF_* code.
824
825 Tue Feb 15 12:07:30 2000  Andrew Cagney  <cagney@b1.cygnus.com>
826
827         * MAINTAINERS (write after approval): Add H.J. Lu.
828
829 2000-02-14  Nick Clifton  <nickc@cygnus.com>
830
831         * sh-tdep.c: Remove extraneous code.
832
833 2000-02-14  Amit S. Kale  <akale@veritas.com>
834
835         * elfread.c (elf_symtab_read): Move the use of sym to after where
836         it is set.
837         Checked in by Jim Kingdon  <kingdon@redhat.com>
838
839 Mon Feb 14 15:39:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
840
841         * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
842
843 Mon Feb 14 15:20:26 2000  Andrew Cagney  <cagney@b1.cygnus.com>
844
845         From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
846         * dwarf2read.c: (die_is_declaration): New fn.
847         (read_structure_scope): Use it.
848
849         * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
850
851 2000-02-10  J.T. Conklin  <jtc@redback.com>
852
853         * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
854         * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
855         configdirs.
856         * gdbserver/low-nbsd.c: New file.
857
858         * gdbserver/Makefile.in: convert to autoconf.
859         * gdbserver/configure.in: likewise.
860         * gdbserver/configure: generate.
861
862 Sun Feb 13 11:21:00 2000  Andrew Cagney  <cagney@b1.cygnus.com>
863
864         * CONTRIBUTE: New file.  How to contribute to GDB.
865
866 Sun Feb 13 10:34:48 2000  Andrew Cagney  <cagney@b1.cygnus.com>
867
868         * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners.  Add Kevin
869         Buettner to powerpc maintainers.  Make Kevin Buettner the
870         GNU/LINUX PPC native maintainer.  Add J.T. Conklin, Jim Kingdon
871         and Jason Molenda to write after aproval list.
872
873 Sun Feb 13 10:18:44 2000  Andrew Cagney  <cagney@b1.cygnus.com>
874
875         * MAINTAINERS: Reformat.  Separate into check-in categories.
876
877 Sat Feb 12 01:08:21 EST 2000  Nicholas Duffek <nsd@cygnus.com>
878
879         * uw-thread.c: Remove __FUNCTION__ GNUism.
880
881 2000-01-17  Amit S. Kale  <akale@veritas.com>
882
883         * elfread.c (elf_symtab_read): Use offset for the section in which a
884         symbol resides, instead of .text section for calculating address of a
885         symbol.
886         Checked in by Jim Kingdon  <kingdon@redhat.com>
887
888 2000-02-10  Mark Kettenis  <kettenis@gnu.org>
889
890         * gnu-nat.c: Remove hackery to include <bits/waitflags.h>.  It is
891         no longer necessary now we have gdb_wait.h.
892
893 2000-02-09  Mark Kettenis  <kettenis@gnu.org>
894
895         * gnu-nat.c (proc_string): Make global.
896         (do_mach_notify_dead_name): Suppress dead name notifications if we
897         know that the task is dead.
898
899 1999-12-13  Mark Kettenis  <kettenis@gnu.org>
900
901         * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
902         instead of directly from the kernel.  Add some hackery to make
903         sure that the info isn't influenced by suspension of the task in
904         the proc server itself.
905
906 2000-02-10  Jim Kingdon  <kingdon@redhat.com>
907
908         * defs.h (MERGEPID): Added.  Patch submitted by Andrew Hobson and
909         approved by Michael Snyder.
910
911 2000-02-09  Mark Kettenis  <kettenis@gnu.org>
912
913         * linux-thread.c: Include defs.h before gdb_wait.h.
914
915 Wed Feb  9 18:59:16 2000  Andrew Cagney  <cagney@b1.cygnus.com>
916
917         * Makefile.in (wait_h): Delete macro.  Update all dependencies
918         specifying gdb_wait.h instead.
919
920         * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
921         remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
922         remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
923         convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
924         remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
925         remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
926         remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
927         ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
928         infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
929         fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
930         or <sys/wait.h>.
931         * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
932
933         * gdb_wait.h: New file.  Based on ../include/wait.h. Include
934         <sys/wait.h> or <wait.h> and then define any missing WIF macros.
935
936 Wed Feb  9 01:14:54 2000  Andrew Cagney  <cagney@amy.cygnus.com>
937
938         * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
939         * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
940         (d10v_stack_align): Declare.
941         * d10v-tdep.c (d10v_stack_align): Define.
942
943 1999-08-23  J.T. Conklin  <jtc@redback.com>
944
945         * top.c (remote_timeout): Change default to 2.  Add comment
946         explaining history of changes to the default value.
947         * remote.c (_initialize_remote): Remove code that adds set/
948         show remotetimeout, as that's also done in top.c
949
950 1999-10-18  J.T. Conklin  <jtc@redback.com>
951
952         * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
953         Return E01 instead of P01 when 'P' command fails.
954
955 2000-02-05  J.T. Conklin  <jtc@redback.com>
956
957         * remote.c (putpkt_binary): Handle NAK from target stub.
958
959 2000-02-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
960
961         * configure.in: Remove the addition of sol-thread.c to the
962         CONFIG_INITS list. This caused problems with init.c, because
963         sol-thread.c would be grepped twice for _initialize_* functions.
964         * configure: Ditto.
965         * Makefile.in: Add FIXME for init.c.
966
967 2000-02-07  Jim Kingdon  <kingdon@redhat.com>
968
969         Clean up compiler warnings:
970         * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
971         stack.c, valprint.c: Change variables to unsigned.
972         * bcache.c: Rearrange to avoid warnings about variables not being set.
973         * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
974         rather than declaring print_max and repeat_count_threashold
975         ourselves (incorrectly).
976         * valprint.h: Do declare repeat_count_threashold.
977         * ch-exp.c: Use default case for internal error.
978         * findvar.c: Don't omit argument type.
979         * symtab.c: Remove unused variable.
980
981 2000-02-04  Jim Blandy  <jimb@redhat.com>
982
983         * c-typeprint.c (remove_qualifiers): New function.
984         (c_type_print_base): Use it to remove qualifiers from C++
985         qualified names, not strrchr.
986
987         * c-typeprint.c (c_type_print_base): Recognize type conversion
988         operators by calling is_type_conversion_operator.
989         (is_type_conversion_operator): New function.
990
991 2000-02-04  Nick Clifton  <nickc@cygnus.com>
992
993         * config/arm/tm-arm.h (LOWEST_PC): Define.
994
995 2000-02-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
996
997         * infrun.c (resume): Make just one call to target_resume(), instead
998         of four: set up correct parameters in all the cases ahead of time,
999         and do call at the end.
1000
1001 2000-02-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1002
1003         * config/powerpc/tm-ppc-eabi.h: Define
1004         SOFUN_ADDRESS_MAYBE_MISSING.
1005
1006 2000-02-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1007
1008         * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
1009         frames (revisited).
1010
1011 Fri Feb  4 22:42:36 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1012
1013         * Makefile.in (INIT_FILES): Append CONFIG_INITS
1014         * configure.in (CONFIG_INIT): Initialize.
1015         (links): Link srcdir/gdbtk/library to gdbtcl2.
1016         * gdbtcl2: Moved to gdbtk/library.
1017         ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
1018         gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
1019         gdbtk.h: Moved to gdbtk/generic.
1020
1021 2000-02-03  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1022
1023         * printcmd.c (build_address_symbolic): New function. Returns all
1024         the parts that are necessary to print an address in a symbolic
1025         form.
1026         (print_address_symbolic): Split into a printing part and an
1027         information building part, build_address_symbolic().
1028
1029         * defs.h (build_address_symbolic): Export.
1030
1031 2000-02-03  Jim Blandy  <jimb@redhat.com>
1032
1033         * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
1034         opcode.
1035
1036 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1037
1038         * arm-tdep.c (arm_push_arguments): Fix passing of floating point
1039         arguments on dummy frames.
1040
1041 2000-02-02  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1042
1043         * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
1044         (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
1045
1046 2000-02-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1047
1048         * remote.c (getpkt_sane): New function. It is the old getpkt(),
1049         which now returns a timeout indication.
1050         (getpkt): New function. Wrapper for getpkt_sane(), so that return
1051         value can still be ignored.
1052
1053 Tue Feb  1 18:47:31 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1054
1055         * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
1056         UI_OUT.
1057
1058 Tue Feb  1 00:17:12 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1059
1060         * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c.  Rename
1061         ``struct gdb_file'' to ``struct ui_file''.  Delete typedef
1062         GDB_FILE.
1063
1064         * Makefile.in: Update.
1065
1066         * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
1067         c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
1068         ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
1069         cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
1070         expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
1071         frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
1072         gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
1073         jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
1074         m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
1075         printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
1076         remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
1077         ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
1078         serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
1079         target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
1080         utils.c, v850ice.c, valprint.c, valprint.h, value.h,
1081         config/pa/tm-hppa.h: Update.
1082         * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
1083
1084 2000-01-31  Jason Molenda  (jsm@bugshack.cygnus.com)
1085
1086         * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
1087         config/i386/i386dgux.mh, config/i386/i386sol2.mh,
1088         config/i386/i386v4.mh, config/i386/i386v42mp.mh,
1089         config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
1090         config/m88k/delta88v4.mh, config/mips/irix4.mh,
1091         config/mips/irix5.mh, config/mips/mipsv4.mh,
1092         config/powerpc/solaris.mh (NATDEPFILES): Change references to
1093         proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
1094         proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
1095
1096 Mon Jan 31 17:14:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1097
1098         * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
1099
1100         * main.c (captured_main): Only use the legacy tui_file code when
1101         linking in older code such as the TUI.
1102
1103         * gdb-file.h, gdb-file.c: New files.
1104         * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
1105         null_file_isatty, null_file_rewind, null_file_put,
1106         null_file_flush, null_file_write, null_file_fputs,
1107         null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
1108         gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
1109         set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
1110         set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
1111         set_gdb_file_data, struct accumulated_gdb_file,
1112         do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
1113         mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
1114         mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
1115         stdio_file_delete, stdio_file_flush, stdio_file_write,
1116         stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
1117         Moved to gdb-file.h and gdb-file.c.
1118         * utils.c (enum streamtype, struct tui_stream, tui_file_new,
1119         tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
1120         tui_file_rewind, tui_file_put, tui_file_fputs,
1121         tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
1122         fputs_unfiltered_hook):
1123         Moved to tui/tui-file.c and tui/tui-file.h.
1124
1125         * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
1126         (tui-file.o, gdb-file.o): Add dependencies.
1127         (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
1128         * main.c: #include tui/tui-file.h.
1129
1130 2000-01-28  Fred Fish  <fnf@cygnus.com>
1131
1132         * findvar.c (value_from_register): Special case handling of D10V
1133         pointer values fetched from registers.
1134
1135 2000-01-28  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1136
1137         * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
1138         support for new style thumb prologues.
1139
1140 2000-01-28  Nick Clifton  <nickc@redhat.com>
1141
1142         * arm-tdep.c: Remove extraneous dash at start of strings
1143         introduced in previous delta.
1144
1145 2000-01-27  Nick Clifton  <nickc@redhat.com>
1146
1147         * arm-tdep.c: Replace uses of arm_toggle_renames() with
1148         parse_arm_disassembler_option().
1149
1150 2000-01-27  Jim Blandy  <jimb@cygnus.com>
1151
1152         * symtab.c (decode_line_1): Don't let commas that are within
1153         quotes or parenthesis terminate the line spec.  Don't use pp when
1154         removing the final double quote of a double-quoted string.  Don't
1155         forget to skip the opening double quote.  I have no clue whether
1156         this change is correct; probably we've just moved this function
1157         from one buggy place to another buggy place, and never came within
1158         an outhouse whiff of correctness.
1159         (find_toplevel_char): New function.
1160
1161 2000-01-27  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1162
1163         * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
1164         passing the pointer to a thumb function as an argument.
1165
1166 2000-01-27  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1167
1168         * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
1169         are reinserted for another run.
1170
1171 2000-01-27  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1172
1173         * cli-out.c (cli_filed_string): Test for NULL string.
1174
1175 2000-01-27  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1176
1177         * infcmd.c (run_stack_dummy): Account for a random signal stopping
1178         the inferior as well as breakpoints being hit while performing an
1179         inferior function call.
1180         * valops.c (hand_function_call): Ditto.
1181
1182 2000-01-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1183
1184         From  Mark Kettenis  <kettenis@gnu.org>
1185
1186         * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
1187         i386_REGS_SEGS_STATE.
1188         (HAVE_I387_REGS): Define.
1189         (FLOAT_INFO): Remove.
1190         * i386gnu-nat.c: Almost completely rewritten to use new i386
1191         register layout and `float info' implementation.
1192         * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
1193         Move prototypes from here.
1194         * gnu-nat.h: To here.
1195
1196 2000-01-24  Kevin Buettner  <kevinb@redhat.com>
1197
1198         * utils.c (get_field, put_field): Fix buffer underruns and
1199         overruns.  Also, handle case where total_len is not evenly
1200         divisible by 8.
1201         (getfield): Make sure zeroing of unwanted bits occurs even
1202         when bit field to extract does not straddle two or more
1203         bytes.
1204
1205 2000-01-23   Christopher Faylor  <cgf@cygnus.com>
1206
1207         * defs.h: Add gdb_thread_select declaration.
1208
1209 2000-01-23  Kevin Buettner  <kevinb@redhat.com>
1210
1211         * linux-thread.c (_initialize_linuxthreads): Make sure that
1212         linuxthreads_block_mask does not block SIGCHLD.
1213
1214 2000-01-20  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1215
1216         * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
1217         text so that new lines work properly.
1218
1219 2000-01-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1220
1221         * proc-utils.h: New file. Export functions from proc-*.c.
1222
1223         * proc_api.c: Rename to:
1224         * proc-api.c: New file. Add include of proc-utils.h.
1225
1226         * proc_events.c: Rename to:
1227         * proc-events.c: New file.
1228
1229         * proc_flags.c: Rename to:
1230         * proc-flags.c: New file.
1231
1232         * proc_why.c: Rename to:
1233         * proc-why.c: New file. Add include of proc-utils.h.
1234
1235         * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
1236         ctype.h, proc-utils.h.
1237         (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
1238         (open_procinfo_files): Conditionalize local variable tmp, to avoid
1239         compiler warnings.
1240         (proc_iterate_over_mappings): Conditionalize local vars mapfd and
1241         pathname.
1242         (procfs_wait): Adjust format in some printf_filetered calls to
1243         avoid compiler warnings.
1244         (make_signal_thread_runnable): Ifdef 0. The calls to this function
1245         are also ifdef'd 0 .
1246         (procfs_resume): Add parentheses around '&&' operation.
1247         (procfs_set_exec_trap): Remove unused variable.
1248         (info_proc_cmd): Add braces to avoid ambiguous else clause.
1249
1250         * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
1251         proc-why.o): Update dependencies.
1252
1253         * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
1254         proc-*.o.
1255
1256 2000-01-17  Jason Molenda  (jsm@bugshack.cygnus.com)
1257
1258         * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
1259         Fix from Robert Lipe <robertl@sco.com>.
1260         * configure: Regenerated.
1261
1262 2000-01-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1263
1264         * stack.c (print_frame_info_base): Break up into the frame info
1265         (location) printing part and the rest (source line printing).
1266         (print_frame): New function. Take care of printing the location
1267         information.
1268         Update copyright.
1269
1270         * infrun.c (normal_stop): Use enum values rather than integers for the
1271         source_flag to be passed to show_and_print_stack_frame().
1272         Update copyright.
1273
1274         * frame.h (print_what): New enum for 'source' argument to
1275         print_frame_info_base(). Use this instead of obscure numbers.
1276         Update copyright.
1277
1278 Sun Jan 16 17:58:00 2000  David Taylor  <taylor@texas.cygnus.com>
1279
1280         * event-top.c (stdin_event_handler): call quit_command rather than
1281         exit -- run cleanups, give target code a chance to say goodbye to
1282         the target.  Fixes bug where the inferior processes were left
1283         around on Solaris (and probably elsewhere) by the testsuite.
1284
1285 2000-01-14  Mark Salter  <msalter@cygnus.com>
1286
1287         * v850-tdep.c (v850_target_architecture_hook): Setup correct
1288         machine id for disassembly.
1289
1290 2000-01-13  Jim Blandy  <jimb@cygnus.com>
1291
1292         * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
1293         convert_to_regset, when regno indicates a specific register.
1294
1295 Thu Jan 13 23:34:17 EST 2000  Nicholas Duffek <nsd@cygnus.com>
1296
1297         * uw-thread.c: Document libthread.so debugging interface.  Minor
1298         comment and formatting tweaks.
1299         (DEBUG): #define as 0 instead of 1.
1300         (CALL_BASE): Include function name in error msg.
1301         (libthread_stub): Adjust inferior_pid after thread exit.
1302         (uw_thread_create_inferior): Deactivate uw_thread_ops before
1303         asking procfs_ops to create inferior.
1304         (libthread_init): Don't return nonlocally on error.
1305
1306 2000-01-12  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1307
1308         * rdi-share/ardi.c (negotiate_params): Fix initialization of static
1309         variable.
1310
1311 2000-01-12  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1312
1313         * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
1314         both sides are on the same state.
1315
1316 2000-01-12  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1317
1318         * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
1319         115200 (minor syntax mistake).
1320
1321 2000-01-12  Jim Blandy  <jimb@cygnus.com>
1322
1323         * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
1324         this here, to go along with the definitions of PIDGET and TIDGET.
1325
1326 2000-01-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1327
1328         * thread.c (do_captured_thread_select): New function. Switch
1329         current thread, safely from within catch_errors().
1330         (gdb_thread_select): New function. Switch threads safely.
1331         (thread_command): Use gdb_thread_select().
1332         Include ui-out.h.
1333         (do_captured_list_thread_ids): New function.
1334         (gdb_list_thread_ids): New function.
1335
1336         * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
1337
1338 2000-01-11  Christopher Faylor <cgf@cygnus.com>
1339
1340         * configure.in: Avoid linking -limagehlp unless it's a native build.
1341         * configure: Regenerate.
1342         * thread.cc (add_thread): Clear private data pointer here or suffer
1343         strange behavior when it is checked for NULL later.
1344
1345 2000-01-09  Christopher Faylor  <cgf@cygnus.com>
1346
1347         * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
1348         * configure.in: Add an additional library to cygwin link.
1349         * configure: Regenerate.
1350
1351         Patch from Egor Duda <deo@logos-m.ru>:
1352         * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
1353         type.
1354
1355 2000-01-07  Michael Snyder  <msnyder@cleaver.cygnus.com>
1356
1357         * uw-thread.c: New file to support UnixWare user-mode threads:
1358         contributed by Nickolas Duffek  <nsd@cygnus.com>.
1359         * target.h (struct target_ops): New vector, to_extra_thread_info,
1360         allows back-ends to give extra details in info thread display.
1361         (target_extra_thread_info): define new macro.
1362         (target_find_new_threads): simplify macro.  Cleanup comments.
1363         * target.c (to_extra_thread_info): default and inherit new vector.
1364         (cleanup_target): eliminate PARAMS, break up long lines,
1365         provide default definition for to_extra_thread_info, and
1366         to_find_new_threads.  Default to_thread_alive and to_query
1367         to return_zero, not target_ignore (they each return int not void).
1368         (debug_to_find_new_threads): new debug entry.
1369         (setup_target_debug): add debug_to_find_new_threads.
1370         * gdbthread.h: export struct thread_info, find_thread_pid, and
1371         iterate_over_threads.  Add comments.  Eliminate PARAMS.  Update
1372         copyright.  Add new private data pointer for use by target back-ends.
1373         * thread.c (struct thread_info): move definition to gdbthread.h.
1374         (find_thread_pid): new exported function for thread lookup.
1375         (iterate_over_threads): new exported function for applying
1376         arbitrary operations to threads.  Update copyright to 2000.
1377         (info_threads_command): use new target_extra_thread_info vector
1378         to display extra information about each thread (if implemented).
1379         * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
1380         Add defines for PIDGET, etc.
1381         * config/i386/tm-i386sol2.h: ditto.
1382         * config/sparc/tm-sun4sol2.h: ditto.
1383         * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
1384         * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
1385         if -lpthread and -lpthreads fail.
1386
1387         * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
1388         (proc_flags): combine flags that UnixWare splits into two locations.
1389         (proc_modify_flag): add support for PR_KLC (kill on last close).
1390         (proc_[un]set_kill_on_last_close): new functions.
1391
1392 2000-01-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1393
1394         * infrun.c (normal_stop): Print out thread id when we stop.
1395
1396 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1397
1398         * remote.c (remote_open_1): Fix message so it does not imply a
1399         specific syntax for serial ports, as it is OS dependent.
1400         (remote_async_open_1): Ibid.
1401         (init_remote_ops): Ibid.
1402
1403 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1404
1405         * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
1406         "set remotebaud" command (if set) when no speed is specified on
1407         the "target rdi" command.
1408
1409 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1410
1411         * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
1412         115200.
1413         (baud_options[]): Ibid.
1414
1415 2000-01-06  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1416
1417         * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
1418         used by each operating system.
1419
1420 2000-01-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1421
1422         * breakpoint.c (until_break_command): Add an argument for the
1423         continuation, the beginning of the cleanups set up by this
1424         command.
1425         (until_break_command_continuation): Do cleanups until the one
1426         passed in as argument instead of doing all of them.
1427
1428         * infcmd.c (finish_command_continuation): Expect a new argument,
1429         which indicates up to where to do cleanups. Update calls to
1430         do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
1431         (finish_command): Add another argument for the continuation: the
1432         starting cleanup for this command.
1433
1434 2000-01-05  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1435
1436         From Grant Edwards <grante@visi.com> (original patch from Thomas
1437         Zenker ):
1438         * rdi-share/ardi.c: Allow interruption of interruptible
1439         targets with a <CNTL-C>.
1440
1441 2000-01-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1442
1443         * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
1444         to control port to accommodate some versions of Angel.
1445
1446 2000-01-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1447
1448         * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
1449         Add interpretation for C Support Library packets.
1450
1451 2000-01-04  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1452
1453         * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
1454         is now being modified.
1455         * rdi-share/devsw.h: Adjust declaration of the above funtion.
1456
1457 For older changes see ChangeLog-99
1458 \f
1459 Local Variables:
1460 mode: change-log
1461 left-margin: 8
1462 fill-column: 74
1463 version-control: never
1464 End: