Replace abort() with internal_error().
[binutils-gdb.git] / gdb / ChangeLog
1 2001-03-20 Andrew Cagney <ac131313@redhat.com>
2
3 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
4 with internal_error.
5
6 2001-03-20 Jim Blandy <jimb@redhat.com>
7
8 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
9 than asking for sym_class's type; that's circuitous. Remove
10 sym_class, since the last use of it is gone.
11
12 2001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
13
14 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
15 Correct the order of calls to ui_out_field_string and
16 ui_out_list_begin when bs->old_val is NULL.
17
18 2001-03-19 Kevin Buettner <kevinb@redhat.com>
19
20 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
21 * configure: Regenerate.
22 * config.in: Regenerate.
23 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
24
25 2001-03-19 Kevin Buettner <kevinb@redhat.com>
26
27 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
28 same line to avoid problems with Unixware 7's make when building
29 a cross debugger.
30
31 2001-03-19 Andrew Cagney <ac131313@redhat.com>
32
33 * defs.h (malloc): Move declaration from here.
34 * utils.c (malloc): To here.
35 * config/pa/xm-hppah.h (malloc): Delete declaration.
36
37 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
38 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
39 (hpread_quick_traverse): Ditto.
40 * infttrace.c (create_thread_info): Ditto.
41 (kill_inferior): Ditto.
42 * gnu-nat.c (make_inf): Ditto, and don't check return value.
43 * procfs.c (proc_update_threads): Ditto.
44 * valprint.c (print_decimal_chars): Ditto.
45 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
46 malloc and sprintf.
47 * remote-rdp.c (rdp_set_command_line): Ditto.
48
49 2001-03-19 Andrew Cagney <ac131313@redhat.com>
50
51 * defs.h (realloc): Move declaration from here.
52 * utils.c (realloc): To here.
53 * config/pa/xm-hppah.h (realloc): Delete declaration.
54 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
55 * symfile.c (add_filename_language): Ditto.
56 * event-loop.c (create_file_handler): Ditto.
57
58 2001-03-19 Andrew Cagney <ac131313@redhat.com>
59
60 * defs.h (free): Move declaration from here.
61 * utils.c (free): To here.
62 (xfree): Document as the only call to free().
63 * config/pa/xm-hppah.h (free): Delete declaration.
64
65 2001-03-19 Kevin Buettner <kevinb@redhat.com>
66
67 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
68 this list.
69
70 2001-03-19 Andrew Cagney <ac131313@redhat.com>
71
72 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
73 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
74 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
75
76 2001-03-19 Andrew Cagney <ac131313@redhat.com>
77
78 * TODO: List known problems with TUI.
79
80 2001-03-19 Andrew Cagney <ac131313@redhat.com>
81
82 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
83 gdb.hp).
84
85 2001-03-19 Andrew Cagney <ac131313@redhat.com>
86
87 * remote.c (remote_cisco_section_offsets): Do not cast result from
88 bfd_get_section_name.
89 (compare_sections_command): Ditto.
90 (remote_cisco_section_offsets): Make ``p'' a const pointer.
91 (compare_sections_command): Ditto for ``sectname''.
92
93 2001-03-19 Andrew Cagney <ac131313@redhat.com>
94
95 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
96 * valops.c (hand_function_call): Simplify computation of the
97 address of the pushed argument.
98
99 2001-03-17 Andrew Cagney <ac131313@redhat.com>
100
101 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
102 Code copied from c-exp.y.
103
104 2001-03-18 Kevin Buettner <kevinb@redhat.com>
105
106 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
107 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
108 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
109 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
110 of the Solaris procfs testing section. Instead, group with...
111 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
112 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
113 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
114 * configure: Regenerate.
115 * config.in: Regenerate.
116
117 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
118 new configure macros to choose which (if any) code to
119 compile in. Added code to explicitly handle *BSD systems;
120 these systems were previously handled only through macro
121 redefinition. Also, due to the way the autoconf tests are set
122 up, this function will no longer return a non-zero value when
123 GDB is configured as a cross debugger. I.e, cross debuggers
124 will no longer be able to "accidentally" get the host system's
125 link map offsets.
126
127 2001-03-18 Kevin Buettner <kevinb@redhat.com>
128
129 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
130 line to avoid build problem on NetBSD 1.4.
131
132 2001-03-17 Michael Chastain <chastain@redhat.com>
133
134 * win32-nat.c (child_attach): check args for NULL before passing
135 to strtoul. This fixes PR gdb/43.
136
137 2001-03-17 Mark Kettenis <kettenis@gnu.org>
138
139 * i387-nat.h: Doc Fix.
140
141 * i386-tdep.c: Fix formatting.
142 (i386_get_frame_setup, i386_follow_jump, codestream_read,
143 codestream_seek, codestream_fill, skip_trampoline_code,
144 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
145 prototypoes.
146
147 2001-03-17 Mark Kettenis <kettenis@gnu.org>
148
149 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
150 no longer used. Also remove associated FIXME.
151
152 2001-03-16 Andrew Cagney <ac131313@redhat.com>
153
154 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
155 not generate macro wrappers for multi-arch functions or
156 predicates.
157 (class_is_info_p, class_is_predicate_p): Update.
158 (class_is_function_p, class_is_variable_p): Ditto.
159 (class_is_multiarch_p): New class function.
160
161 2001-03-16 J.T. Conklin <jtc@redback.com>
162
163 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
164 h8300_frame_args_address from frame_args_address.
165 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
166 from frame_locals_address.
167 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
168 from print_register_hook.
169 (h8300_frame_args_address): Declare.
170 (h8300_frame_find_saved_regs): Declare.
171 (h8300_frame_locals_address): Declare.
172 (h8300_frame_saved_pc): Declare.
173 (h8300_pop_frame): Declare.
174 (h8300_print_register_hook): Declare.
175 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
176 (h8300_frame_args_address): Renamed from frame_args_address.
177 (h8300_frame_locals_address): Renamed from frame_locals_address.
178 (h8300_pop_frame): Renamed from pop_frame.
179 (h8300_print_register_hook): Renamed from print_register_hook.
180
181 2001-03-16 Kevin Buettner <kevinb@redhat.com>
182
183 * solib-svr4.c (bfd_lookup_symbol): Change type of
184 ``storage_needed'' from unsigned int to long in order to
185 match return type of bfd_get_symtab_upper_bound() and
186 bfd_get_dynamic_symtab_upper_bound().
187 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
188 REASONABLE_LIMIT hack which had been added to work around this
189 problem.
190
191 2001-03-15 Kevin Buettner <kevinb@redhat.com>
192
193 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
194 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
195 to free() with calls to xfree().
196 (bfd_lookup_symbol): Eliminate use of PTR.
197 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
198
199 2001-03-15 Martin Hunt <hunt@redhat.com>
200
201 * linespec.c (decode_line_1): Remove trailing quote
202 when parsing double quotes.
203
204 2001-03-15 Kevin Buettner <kevinb@redhat.com>
205
206 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
207 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
208 argument in the to_xfer_memory calls.
209
210 2001-03-15 Andrew Cagney <ac131313@redhat.com>
211
212 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
213 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
214
215 2001-03-15 Andrew Cagney <ac131313@redhat.com>
216
217 * wince.c (child_xfer_memory): Add attrib parameter.
218 * symm-nat.c (child_xfer_memory): Ditto.
219 * mac-nat.c (child_xfer_memory): Ditto.
220 * infttrace.c (child_xfer_memory): Ditto.
221 * procfs.c (procfs_xfer_memory): Ditto.
222 * lin-thread.c (thread_db_xfer_memory): Ditto.
223 * gnu-nat.c (gnu_xfer_memory): Ditto.
224
225 2001-03-14 Andrew Cagney <ac131313@redhat.com>
226
227 * NEWS: Mention that Harris/CXUX m88k is obsolete.
228
229 2001-03-13 Andrew Cagney <ac131313@redhat.com>
230
231 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
232 to regcache functions.
233 * config/m68k/tm-m68k.h: Ditto.
234 * config/i386/tm-i386v.h: Ditto.
235 * config/mcore/tm-mcore.h: Ditto.
236 * config/m88k/tm-m88k.h: Ditto.
237 * config/m68k/tm-news.h: Ditto.
238 * config/m68k/tm-linux.h: Ditto.
239 * config/m68k/tm-delta68.h: Ditto.
240 * config/m68k/nm-sun3.h: Ditto.
241 * config/m32r/tm-m32r.h: Ditto.
242 * config/i386/tm-symmetry.h: Ditto.
243 * config/i386/tm-sun386.h: Ditto.
244 * config/i386/tm-i386.h: Ditto.
245 * config/i386/nm-symmetry.h: Ditto.
246 * config/i386/nm-sun386.h: Ditto.
247 * config/i386/nm-ptx4.h: Ditto.
248 * config/i386/nm-i386mach.h: Ditto.
249 * config/h8500/tm-h8500.h: Ditto.
250 * config/h8300/tm-h8300.h: Ditto.
251 * config/fr30/tm-fr30.h: Ditto.
252 * config/d30v/tm-d30v.h: Ditto.
253 * config/arm/tm-arm.h: Ditto.
254 * config/arc/tm-arc.h: Ditto.
255 * config/alpha/tm-alpha.h: Ditto.
256 * config/a29k/tm-vx29k.h: Ditto.
257 * config/a29k/tm-a29k.h: Ditto.
258 * config/w65/tm-w65.h: Ditto.
259 * config/vax/tm-vax.h: Ditto.
260 * config/v850/tm-v850.h: Ditto.
261 * config/tic80/tm-tic80.h: Ditto.
262 * config/sparc/tm-sparclite.h: Ditto.
263 * config/sparc/tm-sparclet.h: Ditto.
264 * config/sparc/tm-sparc.h: Ditto.
265 * config/sparc/nm-sun4sol2.h: Ditto.
266 * config/sparc/nm-sun4os4.h: Ditto.
267 * config/sparc/nm-nbsd.h: Ditto.
268 * config/powerpc/nm-solaris.h: Ditto.
269 * config/pa/tm-hppao.h: Ditto.
270 * config/pa/tm-hppa.h: Ditto.
271 * config/pa/nm-hppab.h: Ditto.
272 * config/ns32k/tm-umax.h: Ditto.
273 * config/ns32k/tm-merlin.h: Ditto.
274 * config/nm-m3.h: Ditto.
275 * config/nm-gnu.h: Ditto.
276
277 2001-03-14 Andrew Cagney <ac131313@redhat.com>
278
279 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
280 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
281 Specify an m88k target. Include sample GAWK script to generate
282 target list. Delete non-existant romp target.
283 * TODO (GDB 5.1 - Cleanups): Update.
284
285 2001-03-14 Keith Seitz <keiths@cygnus.com>
286
287 * linespec.c (decode_line_1): Skip argptr over a leading
288 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
289
290 2001-03-14 Kevin Buettner <kevinb@redhat.com>
291
292 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
293
294 2001-03-13 Andrew Cagney <ac131313@redhat.com>
295
296 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
297 * m3-nat.c: Ditto.
298 * p-lang.h: Ditto.
299 * printcmd.c (printf_command): Ditto.
300 * ch-exp.c (match_integer_literal): Ditto.
301 * scm-tags.h: Ditto.
302 * ser-go32.c: Ditto.
303 * hppa-tdep.c (unwind_command): Ditto.
304 * defs.h (volatile): Delete macro definition. Assume __STDC__.
305 * remote-adapt.c (volatile): Ditto.
306 * remote-eb.c (volatile): Ditto.
307 * remote-mm.c (volatile): Ditto.
308 * defs.h (alloca): Assume __STDC__, declare returning void *.
309
310 2001-03-08 Andrew Cagney <ac131313@redhat.com>
311
312 * inferior.h (ARCH_NUM_REGS): Delete definition.
313 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
314 * regcache.c (registers_changed): Ditto.
315 (registers_fetched): Ditto.
316 * infptrace.c (fetch_inferior_registers): Ditto.
317 (store_inferior_registers): Ditto.
318 * infcmd.c (do_registers_info): Ditto.
319 (registers_info): Ditto.
320 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
321 (old_store_inferior_registers): Ditto.
322 * gdbserver/low-linux.c (register_addr): Ditto.
323 * gdbserver/low-hppabsd.c (register_addr): Ditto.
324 * core-aout.c: Don't include "inferior.h".
325 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
326 (register_addr): Ditto.
327
328 2001-03-13 Fernando Nasser <fnasser@redhat.com>
329
330 From Steven Johnson <sjohnson@neurizon.net>
331 * cli/cli-script.c (define_command): Fix setting of post hooks.
332
333 2001-03-13 Mark Kettenis <kettenis@gnu.org>
334
335 * i386-linux-tdep.c: Fix formatting and clarify comments.
336 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
337 where appropriate.
338
339 2001-03-12 Andrew Cagney <ac131313@redhat.com>
340
341 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
342 (proc_update_sc): Use gdb_assert instead of assert.
343 (proc_abort): Ditto.
344 (inf_set_step_thread): Ditto.
345 (gnu_wait): Ditto.
346 (S_exception_raise_request): Ditto.
347 (gnu_terminal_init_inferior): Ditto.
348
349 2001-03-09 Kevin Buettner <kevinb@redhat.com>
350
351 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
352 (solib-legacy.o): New makefile target.
353 * solib-legacy.c: New file.
354 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
355 (default_svr4_fetch_link_map_offsets): Delete.
356 (set_solib_svr4_fetch_link_map_offsets): Declare.
357 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
358 * solib-svr4.c (elf/common.h): Include.
359 (link.h): Only include for SunOS shared library support.
360 (_SYSCALL32): Don't define.
361 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
362 (default_svr4_fetch_link_map_offsets): Made static; added forward
363 declaration.
364 (fetch_link_map_offsets): New static global.
365 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
366 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
367 of what used to be in this function now reside in
368 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
369 (open_symbol_file_object): Fix declaration in SunOS section
370 of the code.
371 (set_solib_svr4_fetch_link_map_offsets): New extern function.
372 (init_fetch_link_map_offsets): New static function.
373 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
374 under multiarch control.
375
376 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
377 list.
378 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
379 * config/arm/linux.mt (TDEPFILES): Likewise.
380 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
381 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
382 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
383 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
384 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
385 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
386 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
387 * config/i386/linux.mt (TDEPFILES): Likewise.
388 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
389 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
390 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
391 * config/i386/ptx4.mh (XDEPFILES): Likewise.
392 * config/i386/sun386.mt (TDEPFILES): Likewise.
393 * config/ia64/linux.mt (TDEPFILES): Likewise.
394 * config/m68k/linux.mt (TDEPFILES): Likewise.
395 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
396 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
397 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
398 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
399 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
400 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
401 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
402 * config/powerpc/linux.mt (TDEPFILES): Likewise.
403 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
404 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
405 * config/sh/linux.mt (TDEPFILES): Likewise.
406 * config/sparc/linux.mt (TDEPFILES): Likewise.
407 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
408 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
409 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
410 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
411 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
412
413 2001-03-09 Kevin Buettner <kevinb@redhat.com>
414
415 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
416
417 2001-03-09 Andrew Cagney <ac131313@redhat.com>
418
419 * MAINTAINERS (Write After Approval): Update Philip Blundell.
420
421 2001-03-09 Keith Seitz <keiths@cygnus.com>
422
423 * MAINTAINERS: Add myself to write after approval list.
424
425 2001-03-09 Mark Kettenis <kettenis@gnu.org>
426
427 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
428 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
429
430 2001-03-08 Andrew Cagney <ac131313@redhat.com>
431
432 * configure.host (m88*-harris-cxux*): Mark as obsolete.
433 * configure.tgt: Ditto.
434 * config/m88k/xm-cxux.h: Ditto.
435 * config/m88k/tm-cxux.h: Ditto.
436 * config/m88k/nm-cxux.h: Ditto.
437 * config/m88k/cxux.mt: Ditto.
438 * config/m88k/cxux.mh: Ditto.
439
440 2001-03-08 Andrew Cagney <ac131313@redhat.com>
441
442 * Makefile.in: Delete rules for obsolete files.
443
444 Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
445
446 * stack.c (parse_frame_specification): For one argument case,
447 handle the situation where the argument is an integer, not an
448 address -- arguably the most common case. This matters on
449 targets where pointers and addresses are different.
450
451 2001-03-08 Andrew Cagney <ac131313@redhat.com>
452
453 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
454 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
455 general.
456
457 2001-03-07 Andrew Cagney <ac131313@redhat.com>
458
459 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
460 with SID on Solaris 8.
461
462 2001-03-07 Mark Kettenis <kettenis@gnu.org>
463
464 * defs.h: Provide prototypes for floatformat_is_negative,
465 floatformat_is_nan and floatformat_mantissa.
466 * utils.c: Include "gdb_assert.h".
467 (floatformat_is_negative): New function.
468 (floatformat_is_nan): New function.
469 (floatformat_mantissa): New function.
470 * valprint.c: Include "floatformat.h".
471 (print_floating): Get rid of the Linux-specific
472 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
473 help these new functions. Print NaN's in a format conforming to
474 ISO C99.
475
476 2001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
477
478 * top.c (init_main): Make `set history file name' complete on file
479 names.
480
481 2001-03-06 J.T. Conklin <jtc@redback.com>
482
483 * Makefile.in (LINTFLAGS): Update to contain all of the macros
484 which define include paths used when compiling.
485
486 * util.c (savestring, msavestring): Change type of length argument.
487 * defs.h (savestring, msavestring): Update to match.
488
489 * symtab.h (decode_line_1): Removed declaration.
490
491 * symfile.c (#include <assert.h>): Removed.
492
493 * arch-utils.c (#include <ctype.h>): Removed.
494 * c-typeprint.c: Likewise.
495 * dbxread.c: Likewise.
496 * gdbtypes.c: Likewise.
497 * target.c: Likewise.
498 * os9kread.c: Likewise.
499
500 * c-valprint.c (#include "demangle.h"): Removed.
501 * ch-typeprint.c: Likewise.
502 * eval.c: Likewise.
503 * f-typeprint.c: Likewise.
504 * f-valprint.c: Likewise.
505 * m2-typeprint.c: Likewise.
506 * typeprint.c: Likewise.
507 * p-typeprint.c: Likewise.
508 * valarith.c: Likewise.
509 * valprint.c: Likewise.
510
511 * m2-typeprint.c (#include "gdb_string.h"): Removed.
512 * nlmread.c: Likewise.
513
514 * mdebugread.c (#include "gdb-stabs.h"): Removed.
515 * minsyms.c: Likewise.
516 * mipsread.c: Likewise.
517 * nlmread.c: Likewise.
518
519 * m2-typeprint.c (#include "obstack.h"): Removed.
520 * m2-valprint.c: Likewise.
521
522 * event-loop.c (#include <setjmp.h>): Removed.
523
524 2001-03-06 Stan Shebs <shebs@apple.com>
525
526 * MAINTAINERS: Remove self from specific maintenance domains
527 (macos, gdbserver, documentation, testsuite).
528
529 2001-03-06 Kevin Buettner <kevinb@redhat.com>
530
531 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
532 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
533 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
534 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
535 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
536 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
537 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
538 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
539 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
540 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
541 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
542 coff-solib.h, coffread.c, command.h, complaints.c,
543 complaints.h, completer.c, completer.h,
544 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
545 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
546 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
547 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
548 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
549 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
550 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
551 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
552 config/arm/nm-linux.h, config/arm/tm-arm.h,
553 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
554 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
555 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
556 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
557 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
558 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
559 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
560 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
561 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
562 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
563 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
564 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
565 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
566 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
567 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
568 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
569 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
570 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
571 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
572 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
573 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
574 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
575 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
576 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
577 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
578 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
579 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
580 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
581 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
582 config/i960/tm-i960.h, config/i960/tm-mon960.h,
583 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
584 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
585 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
586 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
587 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
588 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
589 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
590 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
591 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
592 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
593 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
594 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
595 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
596 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
597 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
598 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
599 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
600 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
601 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
602 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
603 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
604 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
605 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
606 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
607 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
608 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
609 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
610 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
611 config/mips/nm-irix5.h, config/mips/nm-mips.h,
612 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
613 config/mips/tm-embed.h, config/mips/tm-embed64.h,
614 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
615 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
616 config/mips/tm-mips.h, config/mips/tm-mips64.h,
617 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
618 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
619 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
620 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
621 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
622 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
623 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
624 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
625 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
626 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
627 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
628 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
629 config/nm-sysv4.h, config/none/nm-none.h,
630 config/none/tm-none.h, config/none/xm-none.h,
631 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
632 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
633 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
634 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
635 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
636 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
637 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
638 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
639 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
640 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
641 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
642 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
643 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
644 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
645 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
646 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
647 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
648 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
649 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
650 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
651 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
652 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
653 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
654 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
655 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
656 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
657 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
658 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
659 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
660 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
661 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
662 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
663 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
664 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
665 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
666 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
667 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
668 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
669 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
670 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
671 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
672 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
673 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
674 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
675 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
676 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
677 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
678 gdbserver/low-sim.c, gdbserver/low-sparc.c,
679 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
680 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
681 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
682 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
683 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
684 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
685 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
686 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
687 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
688 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
689 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
690 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
691 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
692 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
693 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
694 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
695 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
696 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
697 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
698 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
699 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
700 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
701 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
702 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
703 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
704 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
705 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
706 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
707 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
708 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
709 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
710 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
711 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
712 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
713 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
714 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
715 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
716 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
717 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
718 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
719 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
720 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
721 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
722 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
723 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
724 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
725 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
726 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
727 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
728 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
729 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
730 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
731 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
732 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
733 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
734 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
735 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
736 notices.
737
738 2001-03-05 Kevin Buettner <kevinb@redhat.com>
739
740 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
741 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
742 macros.
743 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
744 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
745 (sys/fault.h, sys/select.h): Test for presence of these
746 header files.
747 (ia64-*-aix*): Define NEW_PROC_API for this host.
748 * configure: Regenerate.
749 * config.in: Regenerate.
750
751 * configure.host (ia64-*-aix*): New host.
752 * configure.tgt (ia64-*-aix*): New target.
753
754 2001-03-05 Andrew Cagney <ac131313@redhat.com>
755
756 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
757
758 Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
759
760 * wince.c: Change realloc to xrealloc throughout.
761 (handle_load_dll): Use void * rather than PTR in argument.
762
763 2001-03-04 Andrew Cagney <ac131313@redhat.com>
764
765 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
766 * ocd.c (ocd_xfer_memory): Ditto.
767 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
768 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
769 buildable with ,-Werror.
770
771 * Makefile.in (symfile_h): Define.
772 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
773 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
774 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
775 ,-Werror.
776
777 * dsrec.c (make_srec): Fix internal_error fmt arg.
778 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
779
780 2001-03-03 Kevin Buettner <kevinb@redhat.com>
781
782 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
783 as an lvalue.
784
785 2001-03-02 Andrew Cagney <ac131313@redhat.com>
786
787 * MAINTAINERS (paper trail): Update.
788
789 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
790
791 2001-03-02 Andrew Cagney <ac131313@redhat.com>
792
793 From 2001-03-01 Tom Rix <trix@redhat.com>:
794 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
795 parameter to mn10200_analyze_prologue.
796
797 * config/mn10200/tm-mn10200.h: Include "regcache.h".
798 * MAINTAINERS: Document that mn10200-elf target is buildable.
799
800 2001-03-02 Kevin Buettner <kevinb@redhat.com>
801
802 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
803 from here...
804 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
805 (MONTEREY): Don't define.
806 (AIX5): Define.
807
808 2001-03-02 Matt Hiller <hiller@redhat.com>
809
810 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
811
812 2001-03-02 Kevin Buettner <kevinb@redhat.com>
813
814 * sparc-nat.c (sparc-nat.c): Don't include self.
815
816 2001-03-01 J.T. Conklin <jtc@redback.com>
817
818 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
819 if __CYGWIN32__ is set from here.
820 * config/i386/xm-cygwin.h: To here.
821 * config/powerpc/xm-cygwin.h: To here.
822
823 * i386-stub.c (handle_exception): Use 'T' response packet.
824
825 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
826
827 * m32r-tdep.c: Fix cut and paste error in comment.
828
829 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
830
831 * symtab.c (print_msymbol_info): Print addresses by portable method
832 longest_local_hex_string_custom. Allow for 64-bit addresses.
833
834 2001-03-01 J.T. Conklin <jtc@redback.com>
835
836 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
837 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
838 (MIN_OF_TYPE): Likewise.
839
840 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
841
842 2001-03-01 Andrew Cagney <ac131313@redhat.com>
843
844 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
845 * os9kread.c (os9k_process_one_symbol): Add assert to detect
846 ``loses if sizeof (char *) > sizeof (int)''.
847
848 2001-03-01 Andrew Cagney <ac131313@redhat.com>
849
850 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
851
852 2001-03-01 Andrew Cagney <ac131313@redhat.com>
853
854 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
855 lists.
856 (mi-main.o): Ditto.
857
858 2001-03-01 Andrew Cagney <ac131313@redhat.com>
859
860 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
861 dependency lists.
862
863 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
864
865 * printcmd.c (print_address_numeric): Update comments to refer
866 to sizeof addr, not sizeof pointer.
867 (x_command): Remove needless whitespace (shorten long line).
868
869 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
870 (read_memory_nobpt): Ditto.
871 (ep_is_catchpoint): Ditto.
872 (ep_is_shlib_catchpoint): Ditto.
873 (ep_is_exception_catchpoint): Ditto.
874 (describe_other_breakpoints): Ditto.
875
876 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
877
878 * regcache.h (register_valid): Fix comment documenting valid
879 states.
880
881 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
882
883 From Steven Johnson:
884 * regcache.h: New file.
885
886 * value.h (read_register_bytes, read_register_gen)
887 (write_register_gen, write_register_bytes)
888 (read_register, read_register_pid)
889 (read_signed_register, read_signed_register_pid)
890 (write_register, write_register_pid)
891 (register_cached, set_register_cached)
892 (register_changed, register_buffer)
893 (registers_changed, supply_register): Move declaration from here.
894 * regcache.h: To here.
895 * gdbcore.h (registers_fetched): Ditto.
896 * inferior.h (registers, registers_valid): Ditto.
897
898 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
899 generic_target_write_pc, write_pc_pid, write_pc,
900 generic_target_read_sp, read_sp, generic_target_write_sp,
901 write_sp, generic_target_read_fp, read_fp,
902 generic_target_write_fp, write_fp): Add note that these functions
903 will be moved from this file.
904
905 * a29k-tdep.c: Include "regcache.h".
906 * a68v-nat.c: Ditto.
907 * abug-rom.c: Ditto.
908 * alpha-nat.c: Ditto.
909 * alpha-tdep.c: Ditto.
910 * alphabsd-nat.c: Ditto.
911 * arc-tdep.c: Ditto.
912 * arm-linux-nat.c: Ditto.
913 * arm-linux-tdep.c: Ditto.
914 * arm-tdep.c: Ditto.
915 * blockframe.c: Ditto.
916 * core-aout.c: Ditto.
917 * core-sol2.c: Ditto.
918 * corelow.c: Ditto.
919 * cpu32bug-rom.c: Ditto.
920 * cxux-nat.c: Ditto.
921 * d10v-tdep.c: Ditto.
922 * d30v-tdep.c: Ditto.
923 * dbug-rom.c: Ditto.
924 * dink32-rom.c: Ditto.
925 * dve3900-rom.c: Ditto.
926 * findvar.c: Ditto.
927 * fr30-tdep.c: Ditto.
928 * frame.c: Ditto.
929 * go32-nat.c: Ditto.
930 * h8300-tdep.c: Ditto.
931 * h8500-tdep.c: Ditto.
932 * hp300ux-nat.c: Ditto.
933 * hppa-tdep.c: Ditto.
934 * hppab-nat.c: Ditto.
935 * hppah-nat.c: Ditto.
936 * hppam3-nat.c: Ditto.
937 * hpux-thread.c: Ditto.
938 * i386-linux-nat.c: Ditto.
939 * i386-linux-tdep.c: Ditto.
940 * i386-tdep.c: Ditto.
941 * i386aix-nat.c: Ditto.
942 * i386b-nat.c: Ditto.
943 * i386bsd-nat.c: Ditto.
944 * i386gnu-nat.c: Ditto.
945 * i386ly-tdep.c: Ditto.
946 * i386m3-nat.c: Ditto.
947 * i386mach-nat.c: Ditto.
948 * i386nbsd-nat.c: Ditto.
949 * i386v4-nat.c: Ditto.
950 * i387-nat.c: Ditto.
951 * i387-tdep.c: Ditto.
952 * i960-tdep.c: Ditto.
953 * ia64-aix-nat.c: Ditto.
954 * ia64-linux-nat.c: Ditto.
955 * ia64-tdep.c: Ditto.
956 * infptrace.c: Ditto.
957 * infrun.c: Ditto.
958 * irix4-nat.c: Ditto.
959 * irix5-nat.c: Ditto.
960 * lin-lwp.c: Ditto.
961 * lin-thread.c: Ditto.
962 * lynx-nat.c: Ditto.
963 * m3-nat.c: Ditto.
964 * m32r-rom.c: Ditto.
965 * m32r-tdep.c: Ditto.
966 * m68hc11-tdep.c: Ditto.
967 * m68k-tdep.c: Ditto.
968 * m68klinux-nat.c: Ditto.
969 * m68knbsd-nat.c: Ditto.
970 * m68knbsd-tdep.c: Ditto.
971 * m88k-nat.c: Ditto.
972 * m88k-tdep.c: Ditto.
973 * mac-nat.c: Ditto.
974 * mcore-rom.c: Ditto.
975 * mcore-tdep.c: Ditto.
976 * mi/mi-main.c: Ditto.
977 * mips-nat.c: Ditto.
978 * mips-tdep.c: Ditto.
979 * mipsm3-nat.c: Ditto.
980 * mipsv4-nat.c: Ditto.
981 * mn10200-tdep.c: Ditto.
982 * mn10300-tdep.c: Ditto.
983 * monitor.c: Ditto.
984 * ns32km3-nat.c: Ditto.
985 * ns32knbsd-nat.c: Ditto.
986 * ocd.c: Ditto.
987 * pa64solib.c: Ditto.
988 * ppc-bdm.c: Ditto.
989 * ppc-linux-nat.c: Ditto.
990 * ppc-linux-tdep.c: Ditto.
991 * ppcbug-rom.c: Ditto.
992 * ppcnbsd-nat.c: Ditto.
993 * ptx4-nat.c: Ditto.
994 * regcache.c: Ditto.
995 * remote-adapt.c: Ditto.
996 * remote-array.c: Ditto.
997 * remote-bug.c: Ditto.
998 * remote-e7000.c: Ditto.
999 * remote-eb.c: Ditto.
1000 * remote-es.c: Ditto.
1001 * remote-est.c: Ditto.
1002 * remote-hms.c: Ditto.
1003 * remote-mips.c: Ditto.
1004 * remote-mm.c: Ditto.
1005 * remote-nindy.c: Ditto.
1006 * remote-os9k.c: Ditto.
1007 * remote-rdi.c: Ditto.
1008 * remote-rdp.c: Ditto.
1009 * remote-sds.c: Ditto.
1010 * remote-sim.c: Ditto.
1011 * remote-st.c: Ditto.
1012 * remote-udi.c: Ditto.
1013 * remote-utils.c: Ditto.
1014 * remote-vx.c: Ditto.
1015 * remote-vx29k.c: Ditto.
1016 * remote-vx68.c: Ditto.
1017 * remote-vx960.c: Ditto.
1018 * remote-vxmips.c: Ditto.
1019 * remote-vxsparc.c: Ditto.
1020 * remote.c: Ditto.
1021 * rom68k-rom.c: Ditto.
1022 * rs6000-nat.c: Ditto.
1023 * rs6000-tdep.c: Ditto.
1024 * sh-tdep.c: Ditto.
1025 * sh3-rom.c: Ditto.
1026 * sol-thread.c: Ditto.
1027 * solib-svr4.c: Ditto.
1028 * somsolib.c: Ditto.
1029 * sparc-nat.c: Ditto.
1030 * sparc-tdep.c: Ditto.
1031 * sparcl-tdep.c: Ditto.
1032 * sparclet-rom.c: Ditto.
1033 * sun3-nat.c: Ditto.
1034 * sun386-nat.c: Ditto.
1035 * symm-nat.c: Ditto.
1036 * target.c: Ditto.
1037 * thread-db.c: Ditto.
1038 * thread.c: Ditto.
1039 * tic80-tdep.c: Ditto.
1040 * tracepoint.c: Ditto.
1041 * ultra3-nat.c: Ditto.
1042 * umax-xdep.c: Ditto.
1043 * uw-thread.c: Ditto.
1044 * v850-tdep.c: Ditto.
1045 * v850ice.c: Ditto.
1046 * valops.c: Ditto.
1047 * w65-tdep.c: Ditto.
1048 * w89k-rom.c: Ditto.
1049 * win32-nat.c: Ditto.
1050 * wince.c: Ditto.
1051 * z8k-tdep.c: Ditto.
1052
1053 2001-02-28 Matt Hiller <hiller@redhat.com>
1054
1055 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
1056
1057 2001-02-27 Matt Hiller <hiller@redhat.com>
1058
1059 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
1060 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
1061 mn10300_stab_reg_to_regnum.
1062
1063 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
1064
1065 * symtab.c (search_symbols): Fix off by one error in test for
1066 error.
1067
1068 2001-02-23 Andrew Cagney <ac131313@redhat.com>
1069
1070 * config/sparc/sp64linux.mt: New file.
1071 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
1072 * configure.host: Recognize sparc64-*-linux* as a linux host.
1073
1074 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
1075 * config/sparc/tm-sp64linux.h: New file.
1076
1077 2001-02-24 Kevin Buettner <kevinb@redhat.com>
1078
1079 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
1080 with call to internal_error().
1081 * dbxread.c (process_one_symbol): Likewise.
1082 * exec.c (build_section_table, xfer_memory): Likewise.
1083 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
1084 Likewise.
1085 * hpread.c (hpread_type_translate, hpread_read_array_type)
1086 (hpread_type_lookup): Likewise.
1087 * i386-tdep.c (gdb_print_insn_i386): Likewise.
1088 * i960-tdep.c (mem): Likewise
1089 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
1090 * infptrace.c (child_resume): Likewise.
1091 * infttrace.c (_initialize_infttrace): Likewise.
1092 * language.c (binop_result_type, add_language): Likewise.
1093 * lynx-nat.c (store_inferior_registers): Likewise.
1094 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
1095 * mdebugread.c (parse_partial_symbols): Likewise.
1096 * monitor.c (monitor_printf_noecho, monitor_printf)
1097 (monitor_dump_regs): Likewise.
1098 * ocd.c (stu_put_packet): Likewise.
1099 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
1100 * remote-bug.c (bug_open): Likewise.
1101 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
1102 * remote-es.c (es1800_read_bytes): Likewise.
1103 * remote-mips.c (common_breakpoint): Likewise.
1104 * remote-rdp.c (send_rdp): Likewise.
1105 * remote-sds.c (putmessage): Likewise.
1106 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
1107 Likewise.
1108 * sparcl-tdep.c (sparclite_download): Likewise.
1109 * symtab.c (lookup_partial_symbol): Likewise.
1110 * target.c (push_target, pop_target, initialize_targets): Likewise.
1111 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
1112 Likewise.
1113 * valprint.c (print_decimal, print_longest, print_longest)
1114 (strcat_longest): Likewise.
1115 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
1116 * xmodem.c (xmodem_send_packet): Likewise.
1117 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
1118 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
1119 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
1120 (STORE_RETURN_VALUE): Likewise.
1121 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
1122 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
1123 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
1124 Likewise.
1125
1126 2001-02-23 Andrew Cagney <ac131313@redhat.com>
1127
1128 * CONTRIBUTE: Document how to cite a problem report.
1129 * TODO: Note need to replace CONTRIBUTE with generated file.
1130
1131 * CONTRIBUTE: Mention that patches do not need to include the
1132 generated files gdbarch.h and gdbarch.c.
1133
1134 2001-02-21 Andrew Cagney <ac131313@redhat.com>
1135
1136 * value.h (get_saved_register): Move from here.
1137 * frame.h: To here.
1138
1139 2001-02-21 Kevin Buettner <kevinb@redhat.com>
1140
1141 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
1142 (in_solib_dynsym_resolve_code): Add declaration.
1143 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
1144 in_solib_dynsym_resolve_code() rather than
1145 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
1146 which caused this macro to only be defined when
1147 SVR4_SHARED_LIBS is defined.
1148 * solib.c (in_solib_dynsym_resolve_code): New function.
1149 * solist.h (struct target_so_ops): Add new member
1150 in_dynsym_resolve_code.
1151 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
1152 in_svr4_dynsym_resolve_code. Also, made static.
1153 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
1154 member in aix5_so_ops.
1155 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
1156 in_svr4_dynsym_resolve_code. Also, added second version
1157 of this function which will be used when SVR4_SHARED_LIBS
1158 is not defined.
1159 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
1160 member in svr4_so_ops.
1161
1162 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
1163 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
1164 config/ia64/xm-aix.h: New files.
1165 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
1166 (ia64_aix_sigcontext_register_address): New declaration.
1167 (ia64_gdbarch_init): Provide for initialization of
1168 sigcontext_register_address member of struct tdep when
1169 on target is detected to be running AIX.
1170 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
1171 this list.
1172
1173 2001-02-20 Kevin Buettner <kevinb@redhat.com>
1174
1175 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
1176 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
1177 for thread support instead of linux-thread.o and lin-thread.o.
1178 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
1179 ATTACH_LWP): Define to use the following lin-lwp.c functions...
1180 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
1181 lin_lwp_attach_lwp): Declare.
1182
1183 2001-02-20 Andrew Cagney <ac131313@redhat.com>
1184
1185 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
1186 formatting.
1187
1188 2001-02-20 Kevin Buettner <kevinb@redhat.com>
1189
1190 * solib-aix5.c (solib-svr4.h): Remove include.
1191 (solib_break_names): Delete names which aren't actually
1192 used by AIX5.
1193 (bkpt_names): Remove.
1194 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
1195 to STREQ() with equivalent calls to strcmp().
1196 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
1197 aix5_solib_create_inferior_hook): Revise comments.
1198 (enable_break): Remove old ``bkpt_names'' code.
1199
1200 2001-02-19 Andrew Cagney <ac131313@redhat.com>
1201
1202 * Makefile.in (SFILES): Add frame.c .
1203 (COMMON_OBS): Add frame.o .
1204 (frame.o): New target.
1205
1206 * frame.c (find_saved_register):
1207 (default_get_saved_register):
1208 (get_saved_register):
1209 (read_relative_register_raw_bytes_for_frame):
1210 (read_relative_register_raw_bytes): Moved to here.
1211 * regcache.c: From here.
1212
1213 2001-02-20 Kevin Buettner <kevinb@redhat.com>
1214
1215 * solib-aix5.c: New file.
1216
1217 2001-02-20 Martin M. Hunt <hunt@redhat.com>
1218
1219 * solib.c (info_sharedlibrary_command): Don't assume pointers
1220 are the same size of long, call longest_local_hex_string_custom().
1221
1222 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
1223 extract_signed_integer() should be called instead of
1224 extract_address().
1225
1226 2001-02-20 Martin M. Hunt <hunt@redhat.com>
1227
1228 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
1229
1230 2001-02-19 Andrew Cagney <ac131313@redhat.com>
1231
1232 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
1233 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
1234 then floating point registers are 8 bytes.
1235
1236 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1237
1238 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
1239 accomodate 64-bit addresses.
1240
1241 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1242
1243 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
1244 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
1245 lookup_symbol, when trying to find a symbol with a mangled name,
1246 to avoid infinite recursion.
1247
1248 2001-02-18 Andrew Cagney <ac131313@redhat.com>
1249
1250 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
1251
1252 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
1253
1254 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
1255 (save_prologue_cache): Ditto.
1256
1257 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1258
1259 From: innadadadavida@yahoo.com:
1260 * partial-stab.h (switch): Check that pst is not null
1261 before dereferencing it.
1262
1263 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1264
1265 From Andrew Cagney <cagney@b1.cygnus.com>:
1266 * symfile.c (add_symbol_file_command): Always initialize
1267 my_cleanup using a NULL cleanup.
1268
1269 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
1270
1271 * demangle.c (demangling_style_names): New variable.
1272 (_initialize_demangler): Fill demangling_style_names with the
1273 names of known demangling styles from libiberty_demanglers[]. Use
1274 add_set_enum_cmd instead of add_set_cmd, to get completion on
1275 demangling style names.
1276
1277 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
1278 file-name completion.
1279
1280 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
1281
1282 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
1283 `solib-absolute-prefix'.
1284
1285 * tracepoint.c (_initialize_tracepoint): Ditto for
1286 `save-tracepoints'.
1287
1288 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
1289
1290 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
1291 file-name completion.
1292
1293 * infcmd.c (_initialize_infcmd): Make the following commands use
1294 the file-name completer: `tty', `args', `path', `paths', and
1295 `run'.
1296
1297 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
1298
1299 * go32-nat.c: Include i387-nat.h.
1300 (fetch_register): New function, uses some of the guts of
1301 go32_fetch_registers and calls i387_supply_register.
1302 (go32_fetch_registers): Most of the code moved into
1303 fetch_register. Use i387_supply_fsave.
1304 (store_register): Use i387_fill_fsave instead of custom code.
1305 (go32_store_registers): Use i387_fill_fsave.
1306
1307 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
1308
1309 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
1310
1311 * completer.c (gdb_completer_file_name_break_characters): Remove
1312 slash from file-name break characters.
1313 [__MSDOS__]: Special definition for DOS/Windows file names.
1314 (line_completion_function): When completing on file names, bump
1315 `p' to the first file-name constituent character of `word', before
1316 invoking the completer.
1317
1318 2001-02-17 Mark Kettenis <kettenis@gnu.org>
1319
1320 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
1321 consistently for parameter names. Fix comments accordingly.
1322 (i387_supply_register): New function.
1323 (i387_supply_fsave): Implement using i387_supply_register.
1324 * i387-nat.h: Use regnum instead of regno consistently for
1325 parameter names. Fix comments accordingly.
1326 (i387_supply_register): New prototype.
1327
1328 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1329
1330 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
1331 instead of TARGET_PTR_BIT (to support Harvard architectures).
1332
1333 2001-02-16 Andrew Cagney <ac131313@redhat.com>
1334
1335 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
1336 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
1337 argument to parameter list and to call in order to conform to
1338 to_xfer_memory field of struct target_ops.
1339
1340 2001-02-12 Michael Chastain <chastain@redhat.com>
1341
1342 * somsolib.c (som_solib_add_solib_objfile): Do not use
1343 section relocation feature of syms_from_objfile. Do my own
1344 section relocation, offsetting each section of the som by
1345 either text_addr - text_link_addr or data_start.
1346
1347 2001-02-16 Andrew Cagney <ac131313@redhat.com>
1348
1349 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
1350
1351 2001-02-16 Andrew Cagney <ac131313@redhat.com>
1352
1353 * MAINTAINERS (paper trail): Update.
1354
1355 2001-02-16 Mark Kettenis <kettenis@gnu.org>
1356
1357 * target.h (target_fetch_registers): Fix comment.
1358
1359 2001-02-15 Andrew Cagney <ac131313@redhat.com>
1360
1361 * f-exp.y: Include <ctype.h>.
1362 (parse_number): Ensure that ``i'' is always initialized.
1363
1364 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
1365
1366 * MAINTAINERS: Add myself to paper trail section.
1367
1368 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1369
1370 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
1371 * configure, config.in: Regenerate.
1372 * corelow.c: Include <sys/file.h> if present.
1373
1374 2001-02-14 Andrew Cagney <ac131313@redhat.com>
1375
1376 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
1377 declare when have SIGTTOU.
1378
1379 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
1380
1381 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
1382
1383 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
1384
1385 * MAINTAINERS: Update my email address.
1386
1387 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
1388
1389 * NEWS: Document that "info symbol" works with COFF debug info and
1390 its variants.
1391
1392 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
1393 symbols whose SYMBOL_BFD_SECTION is NULL.
1394
1395 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1396
1397 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
1398 * xcoffsolib.c (xcoff_solib_address): Renamed from
1399 pc_load_segment_name. Return NULL if address is not in a shared
1400 library. Cleanup shared library name construction, using xasprintf.
1401 Format shared library member names consistent with format in exec.c.
1402 (solib_info): Format shared library member names consistent with
1403 format in exec.c.
1404 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
1405 using xcoff_solib_address for PC_SOLIB definition.
1406 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
1407 needed.
1408
1409 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1410
1411 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
1412 with xmalloc calls and cleanups.
1413
1414 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1415
1416 * rs6000-nat.c (child_xfer_memory): Add missing parameter
1417 'struct mem_attrib *' required by 2001-01-23 change.
1418
1419 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
1420
1421 Updates to "make TAGS":
1422 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
1423 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
1424 tahoe-tdep.c.
1425 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
1426
1427 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
1428
1429 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
1430
1431 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
1432
1433 From Dean Luick <luick@cray.com>:
1434 * defs.h (continuation): Remove unused global variable.
1435
1436 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
1437
1438 * configure.tgt: Remove references to convex, pyramid, altos and
1439 tahoe.
1440 * configure.host: Ditto.
1441 * MAINTAINERS: Ditto.
1442 * NEWS: Update.
1443
1444 * tahoe-tdep.c: Delete obsolete file.
1445 * pyr-xdep.c: Ditto.
1446 * pyr-tdep.c: Ditto.
1447 * convex-tdep.c: Ditto.
1448 * convex-xdep.c: Ditto.
1449 * config/tahoe/xm-tahoe.h: Ditto.
1450 * config/tahoe/tm-tahoe.h: Ditto.
1451 * config/tahoe/tahoe.mt: Ditto.
1452 * config/tahoe/tahoe.mh: Ditto.
1453 * config/pyr/xm-pyr.h: Ditto.
1454 * config/pyr/tm-pyr.h: Ditto.
1455 * config/pyr/pyramid.mt: Ditto.
1456 * config/pyr/pyramid.mh: Ditto.
1457 * config/m68k/xm-altos.h: Ditto.
1458 * config/m68k/tm-altos.h: Ditto.
1459 * config/m68k/altos.mt: Ditto.
1460 * config/m68k/altos.mh: Ditto.
1461 * config/convex/xm-convex.h: Ditto.
1462 * config/convex/tm-convex.h: Ditto.
1463 * config/convex/convex.mt: Ditto.
1464 * config/convex/convex.mh: Ditto.
1465 * config/convex/Convex.notes: Ditto.
1466 * config/arm/xm-arm.h: Ditto.
1467 * config/arm/nm-arm.h: Ditto.
1468 * config/arm/arm.mt: Ditto.
1469 * config/arm/arm.mh: Ditto.
1470 * arm-convert.s: Ditto.
1471 * arm-xdep.c: Ditto.
1472 * altos-xdep.c: Ditto.
1473
1474 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
1475
1476 * defs.h (internal_error, internal_verror): Add __FILE__ and
1477 __LINE__ parameter.
1478 * utils.c (internal_error, internal_verror): Update.
1479
1480 * v850-tdep.c: Update calls to internal_error.
1481 * utils.c: Ditto.
1482 * ui-out.c: Ditto.
1483 * ui-file.c: Ditto.
1484 * target.h: Ditto.
1485 * symtab.h: Ditto.
1486 * symm-nat.c: Ditto.
1487 * sparc-tdep.c: Ditto.
1488 * source.c: Ditto.
1489 * serial.c: Ditto.
1490 * rs6000-tdep.c: Ditto.
1491 * rs6000-nat.c: Ditto.
1492 * remote.c: Ditto.
1493 * remote-vx.c: Ditto.
1494 * remote-sim.c: Ditto.
1495 * remote-mips.c: Ditto.
1496 * regcache.c: Ditto.
1497 * objfiles.h: Ditto.
1498 * objfiles.c: Ditto.
1499 * mn10300-tdep.c: Ditto.
1500 * mips-tdep.c: Ditto.
1501 * maint.c: Ditto.
1502 * m68k-tdep.c: Ditto.
1503 * m3-nat.c: Ditto.
1504 * language.c: Ditto.
1505 * infptrace.c: Ditto.
1506 * inferior.h: Ditto.
1507 * infcmd.c: Ditto.
1508 * ia64-tdep.c: Ditto.
1509 * i386-tdep.c: Ditto.
1510 * i386-linux-nat.c: Ditto.
1511 * hppah-nat.c: Ditto.
1512 * go32-nat.c: Ditto.
1513 * findvar.c: Ditto.
1514 * f-lang.c: Ditto.
1515 * elfread.c: Ditto.
1516 * event-loop.c: Ditto.
1517 * dwarf2read.c: Ditto.
1518 * dsrec.c: Ditto.
1519 * d30v-tdep.c: Ditto.
1520 * d10v-tdep.c: Ditto.
1521 * cli/cli-setshow.c: Ditto.
1522 * cli/cli-script.c: Ditto.
1523 * ch-exp.c: Ditto.
1524 * breakpoint.c: Ditto.
1525 * ax-gdb.c: Ditto.
1526 * arch-utils.c: Ditto.
1527 * a29k-tdep.c: Ditto.
1528 * gdb_assert.h: Ditto.
1529 * gdbarch.sh: Ditto.
1530 * gdbarch.h, gdbarch.c: Re-generate.
1531
1532 2001-02-07 Andrew Cagney <ac131313@redhat.com>
1533
1534 From Mark Kettenis <kettenis@gnu.org>:
1535 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
1536
1537 2001-02-07 Andrew Cagney <ac131313@redhat.com>
1538
1539 * remote-sim.c (dump_mem): Cleanup printf format argument.
1540 * MAINTAINERS: Update, mn10300-elf now builds.
1541
1542 2001-02-07 Mark Kettenis <kettenis@gnu.org>
1543
1544 * event-top.c: Remove duplicate #include <signal.h>.
1545
1546 2001-02-06 Andrew Cagney <ac131313@redhat.com>
1547
1548 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
1549 allocated buffer.
1550 (save_inferior_pid): Restore the PID from that tempoary
1551 buffer. Delete the buffer.
1552 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
1553
1554 2001-02-06 Andrew Cagney <ac131313@redhat.com>
1555
1556 * MAINTAINERS: Add ``The Obvious Fix Rule''.
1557
1558 2001-02-06 Andrew Cagney <ac131313@redhat.com>
1559
1560 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
1561
1562 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
1563
1564 * gdbarch.sh: Include "gdb_assert.h".
1565 (struct gdbarch): Change ``nr_data'' to unsigned.
1566 (alloc_gdbarch_data, free_gdbarch_data): New functions.
1567 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
1568 architecture vector.
1569 (struct gdbarch_data, struct gdbarch_data_registration): Move init
1570 method to gdbarch_data. Add free method, make index unsigned.
1571 (struct gdbarch_data_registry): Make nr unsigned.
1572 (register_gdbarch_data): Add free parameter. Store in
1573 gdbarch_data.
1574 (init_gdbarch_data): Use set_gdbarch_data.
1575 (set_gdbarch_data): New function.
1576
1577 * gdbarch.h, gdbarch.c: Re-generate.
1578
1579 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1580
1581 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
1582 fprintf_filtered with correct arguments.
1583
1584 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
1585 Submitted by Paul Hilfinger (hilfingr@gnat.com)
1586 and Andrei Petrov (and@genesyslab.com).
1587 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
1588 must be allocated dynamically, since these are no longer constants.
1589 * infcmd.c: Ditto.
1590 * regcache.c: Ditto.
1591 * remote.c: Ditto.
1592 * sol-thread.c: Ditto.
1593 * valops.c: Ditto.
1594 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
1595 work-around for a missing Sun header file in solaris for sparc64.
1596
1597 2001-02-04 Philip Blundell <philb@gnu.org>
1598
1599 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
1600 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
1601 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
1602 GET_THREAD_SIGNALS): Define.
1603 * arm-linux-nat.c (fill_gregset): Correct type of argument.
1604 (supply_gregset): Likewise.
1605 (fill_fpregset): Likewise.
1606 (supply_fpregset): Likewise.
1607
1608 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
1609
1610 * valops.c (value_cast): If casting a scalar to a pointer, do not
1611 issue a message about truncation unless it exceeds the length of
1612 an address, not the length of a pointer. This is because what the
1613 user gives us is an address, not a pointer, and we will ultimately
1614 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
1615 to a pointer. This allows things like "print *(int *)0x01000234"
1616 to work without generating a misleading message on a target having
1617 two byte pointers and four byte addresses.
1618
1619 2001-02-05 Christopher Faylor <cgf@cygnus.com>
1620
1621 * win32-nat.c: Change PTR to void * throughout.
1622
1623 2001-02-05 J.T. Conklin <jtc@redback.com>
1624
1625 * signals.h: Removed.
1626 * event-top.c (#include <signal.h>): Changed from signals.h.
1627 * inflow.c: Likewise.
1628 * mac-xdep.c: Likewise.
1629 * ser-pipe.c: Likewise.
1630 * ser-tcp.c: Likewise.
1631 * standalone.c: Likewise.
1632 * top.c: Likewise.
1633 * utils.c: Likewise.
1634 * Makefile.in: Removed signals.h from dependencies.
1635
1636 2001-02-05 Christopher Faylor <cgf@cygnus.com>
1637
1638 Change suggested by Dean Luick <luick@cray.com>
1639 * inferior.h (step_over_calls_kind): Remove trailing comma from
1640 last enum element.
1641 (step_over_calls): Declare as extern rather than global.
1642
1643 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1644
1645 * sh-tdep.c: Update copyright.
1646 (sh_extract_return_value): Rewrite.
1647 (sh3e_sh4_extract_return_value): New function.
1648 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
1649 version of the function for sh3e and sh4 CPUs.
1650
1651 2001-02-05 Michael Chastain <chastain@redhat.com>
1652
1653 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
1654 to conform with interface change.
1655
1656 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
1657
1658 * config/djgpp/fnchange.lst: Tweak to make consistent with the
1659 new files.
1660
1661 * config/djgpp/djconfig.sh: Use explicit absolute file name when
1662 invoking `find'.
1663
1664 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
1665 UART_FIFO_WORKS is defined. Otherwise use outportb.
1666 From Francisco Pastor <fpastor.etra-id@etra.es>
1667
1668 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
1669 with target.h's `to_xfer_memory' member.
1670
1671 2001-02-02 J.T. Conklin <jtc@redback.com>
1672
1673 * ppc-bdm.c (#include <signal.h>): Removed.
1674 * remote-array.c: Likewise.
1675 * remote-bug.c: Likewise.
1676 * remote-e7000.c: Likewise.
1677 * remote-mips.c: Likewise.
1678 * remote-os9k.c: Likewise.
1679 * remote-st.c: Likewise.
1680 * remote-udi.c: Likewise.
1681 * remote-vx29k.c: Likewise.
1682 * remote-vx68.c: Likewise.
1683 * remote-vx960.c: Likewise.
1684 * remote-vxmips.c: Likewise.
1685 * remote-vxsparc.c: Likewise.
1686
1687 2001-02-02 John Moore <jmoore@redhat.com>
1688
1689 * remote-utils.h (sr_set_device): Changed free() to xfree() where
1690 appropriate. Also changed Copyright to include 2001.
1691 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
1692 * value.h (value_free): Likewise.
1693 * gdbarch.sh (gdbarch_free): Likewise.
1694 * gdbarch.c, gdbarch.h: Regenerated.
1695
1696 2001-02-02 John Moore <jmoore@redhat.com>
1697
1698 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
1699 xfree(). Also changed Copyright to include 2001.
1700
1701 2001-02-02 J.T. Conklin <jtc@redback.com>
1702
1703 * monitor.c (#include "gdb_wait.h"): Removed.
1704 * ocd.c: Likewise.
1705 * ppc-bdm.c: Likewise.
1706 * remote-adapt.c: Likewise.
1707 * remote-array.c: Likewise.
1708 * remote-bug.c: Likewise.
1709 * remote-e7000.c: Likewise.
1710 * remote-eb.c: Likewise.
1711 * remote-es.c: Likewise.
1712 * remote-mips.c: Likewise.
1713 * remote-mm.c: Likewise.
1714 * remote-nindy.c: Likewise.
1715 * remote-os9k.c: Likewise.
1716 * remote-rdi.c: Likewise.
1717 * remote-rdp.c: Likewise.
1718 * remote-sds.c: Likewise.
1719 * remote-sim.c: Likewise.
1720 * remote-st.c: Likewise.
1721 * remote-udi.c: Likewise.
1722 * remote-vx.c: Likewise.
1723 * remote-vx29k.c: Likewise.
1724 * remote-vx68.c: Likewise.
1725 * remote-vx960.c: Likewise.
1726 * remote-vxmips.c: Likewise.
1727 * remote-vxsparc.c: Likewise.
1728 * remote.c: Likewise.
1729 * ser-pipe.c: Likewise.
1730 * ser-unix.c: Likewise.
1731 * Makefile.in: Updated dependencies.
1732
1733 2001-01-31 David Smith <dsmith@redhat.com>
1734
1735 * event-loop.c: Change inclusion of string.h to gdb_string.h and
1736 updated the copyright notice.
1737 * ser-pipe.c: Ditto.
1738 * mi/mi-cmds.c: Ditto.
1739 * mi/mi-console.c: Ditto.
1740 * mi/mi-getopt.c: Ditto.
1741 * mi/mi-parse.c: Ditto.
1742
1743 2001-01-31 David Smith <dsmith@redhat.com>
1744
1745 * MAINTAINERS: Add David Smith to Write After Approval list.
1746
1747 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
1748
1749 * cli/cli-utils.c (putchar_filtered): Move function from here.
1750 * utils.c (putchar_filtered): To here.
1751 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
1752 * defs.h (putchar_filtered): To here.
1753
1754 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
1755
1756 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
1757 AC_FUNC_VFORK macro.
1758 * config.in, configure: Re-generate.
1759
1760 * gdb_vfork.h: New file.
1761 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
1762 * fork-child.c (fork_inferior): Ditto.
1763
1764 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
1765
1766 * defs.h (strsave): Delete declaration.
1767 * utils.c (strsave): Delete definition.
1768 * TODO (strsave): Update
1769
1770 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
1771 * sparcl-tdep.c (sparclite_open): Ditto.
1772 * mips-tdep.c (mips_set_processor_type_command): Ditto.
1773 (_initialize_mips_tdep): Ditto.
1774 * solib.c (solib_open): Ditto.
1775 * symfile.c (add_filename_language): Ditto.
1776 (set_ext_lang_command): Ditto.
1777 * source.c (init_source_path): Ditto.
1778 (mod_path): Ditto.
1779 * sh3-rom.c (sh3_open): Ditto.
1780 (sh3e_open): Ditto.
1781 * serial.c (serial_open): Ditto.
1782 * remote-mips.c (common_open): Ditto.
1783 * monitor.c (monitor_open): Ditto.
1784 * m32r-rom.c (m32r_upload_command): Ditto.
1785 * infcmd.c (path_command): Ditto.
1786 * f-exp.y (parse_number): Ditto.
1787 * breakpoint.c (create_longjmp_breakpoint): Ditto.
1788 (create_thread_event_breakpoint): Ditto.
1789 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
1790 (_initialize_arc_tdep): Ditto.
1791
1792 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
1793
1794 * cli/cli-script.c (define_command): Check for a bad hook value in
1795 switch statement.
1796
1797 2001-01-30 J.T. Conklin <jtc@redback.com>
1798
1799 * configure/sh/embed.mt: New file.
1800 * configure/sh/linux.mt: New file.
1801 * configure/sh/sh.mt: Removed.
1802 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
1803 (sh-*-*): Removed.
1804
1805 2001-01-29 Michael Chastain <chastain@redhat.com>
1806
1807 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
1808 symbol comparisons in binary search.
1809
1810 2001-01-27 Christopher Faylor <cgf@cygnus.com>
1811
1812 * win32-nat.c (child_xfer_memory): Add missing argument required by
1813 2001-01-23 change.
1814
1815 2001-01-27 Mark Kettenis <kettenis@gnu.org>
1816
1817 * ui-out.c (do_list_end): New function.
1818 (make_cleanup_ui_out_list_end): New function.
1819 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1820 * stack.c (print_frame) [UI_OUT]: Call
1821 make_cleanup_ui_out_list_end to make sure we mark the end of the
1822 list if we do a non-local exit. At the end of the function,
1823 instead of calling ui_out_list_end directly, let do_cleanups
1824 handle it.
1825
1826 2001-01-26 Fernando Nasser <fnasser@redhat.com>
1827
1828 Fix double parsing of filenames passed as command line arguments
1829 to GDB (causes weird handling of escape characters).
1830 Also, remove dependencies on the CLI from libgdb.
1831 * call-cmds.h: Remove declaration of exec_file_command().
1832 * gdbcore.h: Remove declaration of exec_file_command().
1833 Add declarations for exec_open() and exec_file_clear().
1834 * symfile.h: Add declarations for symbol_file_add_main() and
1835 symbol_file_clear().
1836 * exec.c (exec_open): New function. Implements to_open for exec
1837 targets.
1838 (exec_file_clear): New function. Makes GDB forget about a previously
1839 specified executable file.
1840 (exec_file_attach): Move parsing of arguments from here ...
1841 (exec_file_command): ... to here.
1842 (init_exec_ops): Use exec_open(), not exec_file_command() to
1843 implement to_open for exec targets.
1844 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1845 with default values. Used when the file name has already been parsed.
1846 (symbol_file_clear): New function. Makes GDB forget about previously
1847 read symbols.
1848 (symbol_file_command): Call the above function instead of inline code.
1849 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1850 "call-cmds.h".
1851 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1852 instead of exec_file_command() and symbol_file_command().
1853 (captured_main): Add comment.
1854 * corefile.c: Include "symfile.h".
1855 (core_file_command): Call symbol_file_add_main() instead of
1856 symbol_file_command().
1857 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1858 * infcmd.c: Include "symfile.h".
1859 (attach_command): Call symbol_file_add_main() instead of
1860 symbol_file_command().
1861 * infrun.c: Remove comment about the inclusion of "symfile.h",
1862 not any longer appropriate.
1863 (follow_exec): Call symbol_file_add_main() instead of
1864 symbol_file_command().
1865 * remote-es.c: Include "symfile.h".
1866 (es1800_load): Call symbol_file_add_main() instead of
1867 symbol_file_command().
1868 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1869 not any longer appropriate.
1870 (vx-wait): Call symbol_file_add_main() instead of
1871 symbol_file_command().
1872 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1873 instead of symbol_file_command().
1874 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1875 symbol_file_add_main() instead of exec_file_command() and
1876 symbol_file_command().
1877 * Makefile.in: Update dependencies.
1878
1879 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1880
1881 * remote-udi.c (udi_open): Change strdup to xstrdup.
1882 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1883 Update copyright message.
1884 * varobj.c (delete_variable_1): Likewise.
1885
1886 * gdb_string.h: Remove declaration of strdup. Update copyright
1887 message.
1888 * config/xm-mpw.h: Likewise.
1889 * config/i386/xm-i386mach.h: Likewise.
1890 * config/m68k/xm-apollo68b.h: Likewise.
1891 * config/m68k/xm-hp300bsd.h: Likewise.
1892 * config/rs6000/xm-rs6000.h: Likewise.
1893 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1894 * config/vax/xm-vaxult2.h: Likewise.
1895
1896 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1897
1898 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1899
1900 2001-01-25 J.T. Conklin <jtc@redback.com>
1901
1902 * target.c (target_xfer_memory_partial): Return -1 on failure due
1903 to invalid access mode attribute.
1904
1905 2001-01-25 Christopher Faylor <cgf@cygnus.com>
1906
1907 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1908
1909 2001-01-25 Mark Kettenis <kettenis@gnu.org>
1910
1911 * config/alpha/tm-fbsd.h: Update copyright.
1912 (USE_STRUCT_CONVENTION): Define in terms of
1913 alphabsd_use_struct_convention.
1914 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1915 * alphafbsd-tdep.c: New file.
1916
1917 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1918
1919 * top.c (print_gdb_version): Update Copyright year.
1920
1921 2001-01-24 J.T. Conklin <jtc@redback.com>
1922
1923 * dcache.c (dcache_write_line): Fix typo.
1924
1925 * memattr.c (delete_mem_region): Replace free() with xfree().
1926 (mem_number): Add explicit type.
1927
1928 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1929 (rw_common): Likewise.
1930
1931 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1932
1933 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1934 for the inferior program arguments.
1935 (run_command, run_no_args_command, init_infcmd)): Use accessor
1936 functions to set the inferior program arguments.
1937 * inferior.h: Add definitions to the accessor functions above.
1938
1939 2001-01-23 Jim Blandy <jimb@redhat.com>
1940
1941 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1942 Implement these correctly, using make_cv_type.
1943
1944 2001-01-23 J.T. Conklin <jtc@redback.com>
1945
1946 * exec.c (xfer_memory): Add attrib argument.
1947 * infptrace.c (child_xfer_memory): Likewise.
1948 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1949 * monitor.c (monitor_xfer_memory): Likewise.
1950 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1951 * remote-array.c (array_xfer_memory): Likewise.
1952 * remote-bug.c (bug_xfer_memory): Likewise.
1953 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1954 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1955 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1956 * remote-mips.c (mips_xfer_memory): Likewise.
1957 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1958 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1959 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1960 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1961 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1962 * remote-sds.c (sds_xfer_memory): Likewise.
1963 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1964 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1965 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1966 * remote-vx.c (vx_xfer_memory): Likewise.
1967 * remote.c (remote_xfer_memory): Likewise.
1968 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1969 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1970 * thread-db.c (thread_db_xfer_memory): Likewise.
1971
1972 * target.h (#include "memattr.h"): Added.
1973 (target_ops.to_xfer_memory): Add attrib argument.
1974
1975 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1976 * dcache.h (set_dcache_state): Removed declaration.
1977 * dcache.c (set_dcache_state): Removed definition
1978
1979 * dcache.c: Update module comment, as dcache is now enabled and
1980 disabled with memory region attributes instead of by the global
1981 variable "remotecache". Add comment describing the interaction
1982 between dcache and memory region attributes.
1983 (dcache_xfer_memory): Add comment describing benefits of moving
1984 cache writeback to a higher level.
1985 (dcache_struct): Removed cache_has_stuff field. This was used to
1986 record whether the cache had been accessed in order to invalidate
1987 it when it was disabled. However, this is not needed because the
1988 cache is write through and the code that enables, disables, and
1989 deletes memory regions invalidate the cache. Add comment which
1990 suggests that we could be more selective and only invalidate those
1991 cache lines containing data from those memory regions.
1992 (dcache_invalidate): Updated.
1993 (dcache_xfer_memory): Updated.
1994
1995 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1996 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1997 perform a uncached transfer if dcache_enabled_p was clear. This
1998 function is now only called if caching is enabled for the memory
1999 region.
2000 (dcache_info): Always print cache info.
2001
2002 * target.c (do_xfer_memory): Add attrib argument.
2003 (target_xfer_memory, target_xfer_memory_partial): Break transfer
2004 into chunks defined by memory regions, pass region attributes to
2005 do_xfer_memory().
2006 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
2007
2008 * Makefile.in (SFILES): Add memattr.c.
2009 (COMMON_OBS): Add memattr.o.
2010 (dcache.o): Add target.h to dependencies.
2011 * memattr.c: New file.
2012 * memattr.h: Likewise.
2013
2014 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
2015 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
2016 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
2017 * gdbserver/low-sim.c (#include "defs.h"): Removed.
2018 (mygeneric_load): Rename from generic_load.
2019
2020 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
2021 (#include "defs.h"): Removed.
2022 (inferior_pid, perror_with_name): Remove declarations.
2023 * gdbserver/low-linux.c: Likewise.
2024 * gdbserver/low-nbsd.c: Likewise.
2025 * gdbserver/low-sparc.c: Likewise.
2026 * gdbserver/low-sun3.c: Likewise.
2027
2028 * i386-stub.c: Re-indent.
2029 * m68k-stub.c: Re-indent.
2030
2031 2001-01-22 Nicholas Duffek <nsd@redhat.com>
2032
2033 * gdbarch.sh (PARM_BOUNDARY): Define.
2034 * gdbarch.c: Regenerate.
2035 * gdbarch.h: Regenerate.
2036
2037 2001-01-22 J.T. Conklin <jtc@redback.com>
2038
2039 * ns32k-tdep.c: #include "frame.h"
2040 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
2041 appears to have been inadvertantly removed sometime in May 1999.
2042
2043 * Revert 2000-11-09 changes where shared library objects were
2044 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
2045 we'd like to be able to debug dynamically linked executables,
2046 this makes it impossible to build a cross debugger on a many
2047 hosts.
2048
2049 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
2050 * config/i386/nbsdelf.mt: Likewise.
2051 * config/m68k/nbsd.mt: Likewise.
2052 * config/ns32k/nbsd.mt: Likewise.
2053 * config/powerpc/nbsd.mt: Likewise.
2054 * config/sparc/nbsd.mt: Likewise.
2055 * config/sparc/nbsdelf.mt: Likewise.
2056 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
2057 * config/i386/nbsdelf.mh: Likewise.
2058 * config/m68k/nbsd.mh: Likewise.
2059 * config/ns32k/nbsd.mh: Likewise.
2060 * config/powerpc/nbsd.mh: Likewise.
2061 * config/sparc/nbsd.mh: Likewise.
2062
2063 2001-01-19 Jason Merrill <jason@redhat.com>
2064
2065 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
2066 (process_one_symbol): Likewise.
2067 * dwarfread.c (handle_producer): Likewise.
2068
2069 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
2070
2071 * configure.in (build_warnings): Disable -Wuninitialized until GDB
2072 compiles with -Wuninitialized,-Werror.
2073 * configure: Regenerate.
2074
2075 * MAINTAINERS: Add list of buildable targets.
2076
2077 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
2078
2079 * defs.h (STRCMP): Delete macro.
2080
2081 * objfiles.c (objfile_relocate): Replace STRCMP with call to
2082 strcmp.
2083 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
2084 * symfile.c (compare_symbols): Ditto.
2085 * standalone.c (open): Ditto.
2086 * remote-es.c (verify_break): Ditto.
2087 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
2088
2089 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
2090
2091 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
2092
2093 * varobj.c (FREEIF): Delete macro.
2094 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
2095 call.
2096
2097 2001-01-18 Nick Clifton <nickc@redhat.com>
2098
2099 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
2100 (arc_print_insn): No bfd available, so pass NULL to
2101 arc_get_disassembler.
2102
2103 2001-01-09 James Ingham <jingham@inghji.apple.com>
2104
2105 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
2106 a mangled symbol rather than recursing into lookup_symbol, since
2107 this will just re-unmangle the name & call lookup_symbol_aux -
2108 leading to an infinite recursion.
2109
2110 2001-01-18 Mark Kettenis <kettenis@gnu.org>
2111
2112 * infcmd.c (print_return_value): Restore another space lost by
2113 switch to UIOUT. ``$NN='' should be ``$NN =''.
2114
2115 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
2116
2117 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
2118 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
2119 definition in parenthesis.
2120
2121 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
2122
2123 From 2000-10-27 Mark Salter <msalter@redhat.com>:
2124 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
2125 packet.
2126 (remote_insert_hw_breakpoint): Ditto.
2127
2128 2001-01-17 J.T. Conklin <jtc@redback.com>
2129
2130 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
2131 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
2132 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
2133 * m68knbsd-tdep.c: New file.
2134
2135 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
2136
2137 * m68knbsd-nat.c: #include gdbcore.h.
2138
2139 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
2140
2141 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
2142
2143 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
2144
2145 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
2146 goes away -- just return false (ie. not stopped by watchpoint).
2147 * source.c (openp): Fix typo in comment.
2148
2149 2001-01-12 Nicholas Duffek <nsd@redhat.com>
2150
2151 * blockframe.c (generic_get_saved_register): Spelling fix.
2152 * frame.h (FRAME_FP): Spelling fix.
2153
2154 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
2155
2156 * infcmd.c (print_return_value): Restore space lost by switch to
2157 UIOUT. ``$NN='' should be ``$NN =''.
2158
2159 2001-01-08 Nicholas Duffek <nsd@redhat.com>
2160
2161 * regcache.c (set_register_cached, register_buffer,
2162 real_register, pseudo_register fetch_register, store_register):
2163 New functions.
2164 (register_changed, read_relative_register_raw_bytes_for_frame,
2165 registers_changed, registers_fetched, read_register_bytes,
2166 read_register_gen, write_register_gen, read_register,
2167 read_signed_register, write_register, supply_register): Replace
2168 register_valid[] with register_cached() and
2169 set_register_cached().
2170 (read_register_bytes, read_register_gen, write_register_gen,
2171 read_register, read_signed_register, write_register,
2172 supply_register): Replace registers[] with register_buffer().
2173 (read_register_bytes, read_register_gen, read_register,
2174 read_signed_register): Call fetch_register().
2175 (write_register_gen, write_register): Call real_register() and
2176 store_register().
2177 (write_register_bytes): Call store_register().
2178 * value.h (set_register_cached, register_buffer): Prototype.
2179 * remote.c (remote_fetch_registers): Allocate regs[] with a
2180 run-time size. Replace register_valid[] with
2181 set_register_cached().
2182 (store_register_using_P, remote_store_registers): Replace
2183 registers[] with register_buffer().
2184
2185 2001-01-08 Nicholas Duffek <nsd@redhat.com>
2186
2187 * regcache.c: Change "write-back" comment to "write-through".
2188 Change "regno" to "regnum".
2189 (read_register, read_signed_register): Remove "raw" from return
2190 value description.
2191 (supply_register): Spelling fix.
2192 * value.h: Change "regno" to "regnum".
2193
2194 2001-01-08 Fernando Nasser <fnasser@redhat.com>
2195
2196 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
2197 to be installed.
2198
2199 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
2200
2201 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
2202
2203 2001-01-04 Nicholas Duffek <nsd@redhat.com>
2204
2205 * valops.c (VALUE_SUBSTRING_START): Delete.
2206
2207 2001-01-04 Nicholas Duffek <nsd@redhat.com>
2208
2209 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
2210 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
2211 (cli_utils_h): New variable.
2212 (cli/cli-utils.o): New rule.
2213 * cli/cli-utils.c: New file.
2214 * cli/cli-utils.h: New file.
2215
2216 2001-01-04 Nicholas Duffek <nsd@redhat.com>
2217
2218 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
2219 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
2220
2221 2001-01-03 J.T. Conklin <jtc@redback.com>
2222
2223 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
2224 comment.
2225
2226 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
2227
2228 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
2229 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
2230 non-float types.
2231 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
2232 Update copyright notice.
2233
2234 For older changes see ChangeLog-2000
2235 \f
2236 Local Variables:
2237 mode: change-log
2238 left-margin: 8
2239 fill-column: 74
2240 version-control: never
2241 End: