Fix typo in which sparc-nat.c was changed to include itself.
[binutils-gdb.git] / gdb / ChangeLog
1 2001-03-02 Kevin Buettner <kevinb@redhat.com>
2
3 * sparc-nat.c (sparc-nat.c): Don't include.
4
5 2001-03-01 J.T. Conklin <jtc@redback.com>
6
7 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
8 if __CYGWIN32__ is set from here.
9 * config/i386/xm-cygwin.h: To here.
10 * config/powerpc/xm-cygwin.h: To here.
11
12 * i386-stub.c (handle_exception): Use 'T' response packet.
13
14 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
15
16 * m32r-tdep.c: Fix cut and paste error in comment.
17
18 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
19
20 * symtab.c (print_msymbol_info): Print addresses by portable method
21 longest_local_hex_string_custom. Allow for 64-bit addresses.
22
23 2001-03-01 J.T. Conklin <jtc@redback.com>
24
25 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
26 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
27 (MIN_OF_TYPE): Likewise.
28
29 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
30
31 2001-03-01 Andrew Cagney <ac131313@redhat.com>
32
33 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
34 * os9kread.c (os9k_process_one_symbol): Add assert to detect
35 ``loses if sizeof (char *) > sizeof (int)''.
36
37 2001-03-01 Andrew Cagney <ac131313@redhat.com>
38
39 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
40
41 2001-03-01 Andrew Cagney <ac131313@redhat.com>
42
43 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
44 lists.
45 (mi-main.o): Ditto.
46
47 2001-03-01 Andrew Cagney <ac131313@redhat.com>
48
49 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
50 dependency lists.
51
52 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
53
54 * printcmd.c (print_address_numeric): Update comments to refer
55 to sizeof addr, not sizeof pointer.
56 (x_command): Remove needless whitespace (shorten long line).
57
58 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
59 (read_memory_nobpt): Ditto.
60 (ep_is_catchpoint): Ditto.
61 (ep_is_shlib_catchpoint): Ditto.
62 (ep_is_exception_catchpoint): Ditto.
63 (describe_other_breakpoints): Ditto.
64
65 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
66
67 * regcache.h (register_valid): Fix comment documenting valid
68 states.
69
70 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
71
72 From Steven Johnson:
73 * regcache.h: New file.
74
75 * value.h (read_register_bytes, read_register_gen)
76 (write_register_gen, write_register_bytes)
77 (read_register, read_register_pid)
78 (read_signed_register, read_signed_register_pid)
79 (write_register, write_register_pid)
80 (register_cached, set_register_cached)
81 (register_changed, register_buffer)
82 (registers_changed, supply_register): Move declaration from here.
83 * regcache.h: To here.
84 * gdbcore.h (registers_fetched): Ditto.
85 * inferior.h (registers, registers_valid): Ditto.
86
87 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
88 generic_target_write_pc, write_pc_pid, write_pc,
89 generic_target_read_sp, read_sp, generic_target_write_sp,
90 write_sp, generic_target_read_fp, read_fp,
91 generic_target_write_fp, write_fp): Add note that these functions
92 will be moved from this file.
93
94 * a29k-tdep.c: Include "regcache.h".
95 * a68v-nat.c: Ditto.
96 * abug-rom.c: Ditto.
97 * alpha-nat.c: Ditto.
98 * alpha-tdep.c: Ditto.
99 * alphabsd-nat.c: Ditto.
100 * arc-tdep.c: Ditto.
101 * arm-linux-nat.c: Ditto.
102 * arm-linux-tdep.c: Ditto.
103 * arm-tdep.c: Ditto.
104 * blockframe.c: Ditto.
105 * core-aout.c: Ditto.
106 * core-sol2.c: Ditto.
107 * corelow.c: Ditto.
108 * cpu32bug-rom.c: Ditto.
109 * cxux-nat.c: Ditto.
110 * d10v-tdep.c: Ditto.
111 * d30v-tdep.c: Ditto.
112 * dbug-rom.c: Ditto.
113 * dink32-rom.c: Ditto.
114 * dve3900-rom.c: Ditto.
115 * findvar.c: Ditto.
116 * fr30-tdep.c: Ditto.
117 * frame.c: Ditto.
118 * go32-nat.c: Ditto.
119 * h8300-tdep.c: Ditto.
120 * h8500-tdep.c: Ditto.
121 * hp300ux-nat.c: Ditto.
122 * hppa-tdep.c: Ditto.
123 * hppab-nat.c: Ditto.
124 * hppah-nat.c: Ditto.
125 * hppam3-nat.c: Ditto.
126 * hpux-thread.c: Ditto.
127 * i386-linux-nat.c: Ditto.
128 * i386-linux-tdep.c: Ditto.
129 * i386-tdep.c: Ditto.
130 * i386aix-nat.c: Ditto.
131 * i386b-nat.c: Ditto.
132 * i386bsd-nat.c: Ditto.
133 * i386gnu-nat.c: Ditto.
134 * i386ly-tdep.c: Ditto.
135 * i386m3-nat.c: Ditto.
136 * i386mach-nat.c: Ditto.
137 * i386nbsd-nat.c: Ditto.
138 * i386v4-nat.c: Ditto.
139 * i387-nat.c: Ditto.
140 * i387-tdep.c: Ditto.
141 * i960-tdep.c: Ditto.
142 * ia64-aix-nat.c: Ditto.
143 * ia64-linux-nat.c: Ditto.
144 * ia64-tdep.c: Ditto.
145 * infptrace.c: Ditto.
146 * infrun.c: Ditto.
147 * irix4-nat.c: Ditto.
148 * irix5-nat.c: Ditto.
149 * lin-lwp.c: Ditto.
150 * lin-thread.c: Ditto.
151 * lynx-nat.c: Ditto.
152 * m3-nat.c: Ditto.
153 * m32r-rom.c: Ditto.
154 * m32r-tdep.c: Ditto.
155 * m68hc11-tdep.c: Ditto.
156 * m68k-tdep.c: Ditto.
157 * m68klinux-nat.c: Ditto.
158 * m68knbsd-nat.c: Ditto.
159 * m68knbsd-tdep.c: Ditto.
160 * m88k-nat.c: Ditto.
161 * m88k-tdep.c: Ditto.
162 * mac-nat.c: Ditto.
163 * mcore-rom.c: Ditto.
164 * mcore-tdep.c: Ditto.
165 * mi/mi-main.c: Ditto.
166 * mips-nat.c: Ditto.
167 * mips-tdep.c: Ditto.
168 * mipsm3-nat.c: Ditto.
169 * mipsv4-nat.c: Ditto.
170 * mn10200-tdep.c: Ditto.
171 * mn10300-tdep.c: Ditto.
172 * monitor.c: Ditto.
173 * ns32km3-nat.c: Ditto.
174 * ns32knbsd-nat.c: Ditto.
175 * ocd.c: Ditto.
176 * pa64solib.c: Ditto.
177 * ppc-bdm.c: Ditto.
178 * ppc-linux-nat.c: Ditto.
179 * ppc-linux-tdep.c: Ditto.
180 * ppcbug-rom.c: Ditto.
181 * ppcnbsd-nat.c: Ditto.
182 * ptx4-nat.c: Ditto.
183 * regcache.c: Ditto.
184 * remote-adapt.c: Ditto.
185 * remote-array.c: Ditto.
186 * remote-bug.c: Ditto.
187 * remote-e7000.c: Ditto.
188 * remote-eb.c: Ditto.
189 * remote-es.c: Ditto.
190 * remote-est.c: Ditto.
191 * remote-hms.c: Ditto.
192 * remote-mips.c: Ditto.
193 * remote-mm.c: Ditto.
194 * remote-nindy.c: Ditto.
195 * remote-os9k.c: Ditto.
196 * remote-rdi.c: Ditto.
197 * remote-rdp.c: Ditto.
198 * remote-sds.c: Ditto.
199 * remote-sim.c: Ditto.
200 * remote-st.c: Ditto.
201 * remote-udi.c: Ditto.
202 * remote-utils.c: Ditto.
203 * remote-vx.c: Ditto.
204 * remote-vx29k.c: Ditto.
205 * remote-vx68.c: Ditto.
206 * remote-vx960.c: Ditto.
207 * remote-vxmips.c: Ditto.
208 * remote-vxsparc.c: Ditto.
209 * remote.c: Ditto.
210 * rom68k-rom.c: Ditto.
211 * rs6000-nat.c: Ditto.
212 * rs6000-tdep.c: Ditto.
213 * sh-tdep.c: Ditto.
214 * sh3-rom.c: Ditto.
215 * sol-thread.c: Ditto.
216 * solib-svr4.c: Ditto.
217 * somsolib.c: Ditto.
218 * sparc-nat.c: Ditto.
219 * sparc-tdep.c: Ditto.
220 * sparcl-tdep.c: Ditto.
221 * sparclet-rom.c: Ditto.
222 * sun3-nat.c: Ditto.
223 * sun386-nat.c: Ditto.
224 * symm-nat.c: Ditto.
225 * target.c: Ditto.
226 * thread-db.c: Ditto.
227 * thread.c: Ditto.
228 * tic80-tdep.c: Ditto.
229 * tracepoint.c: Ditto.
230 * ultra3-nat.c: Ditto.
231 * umax-xdep.c: Ditto.
232 * uw-thread.c: Ditto.
233 * v850-tdep.c: Ditto.
234 * v850ice.c: Ditto.
235 * valops.c: Ditto.
236 * w65-tdep.c: Ditto.
237 * w89k-rom.c: Ditto.
238 * win32-nat.c: Ditto.
239 * wince.c: Ditto.
240 * z8k-tdep.c: Ditto.
241
242 2001-02-28 Matt Hiller <hiller@redhat.com>
243
244 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
245
246 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
247
248 * symtab.c (search_symbols): Fix off by one error in test for
249 error.
250
251 2001-02-23 Andrew Cagney <ac131313@redhat.com>
252
253 * config/sparc/sp64linux.mt: New file.
254 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
255 * configure.host: Recognize sparc64-*-linux* as a linux host.
256
257 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
258 * config/sparc/tm-sp64linux.h: New file.
259
260 2001-02-24 Kevin Buettner <kevinb@redhat.com>
261
262 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
263 with call to internal_error().
264 * dbxread.c (process_one_symbol): Likewise.
265 * exec.c (build_section_table, xfer_memory): Likewise.
266 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
267 Likewise.
268 * hpread.c (hpread_type_translate, hpread_read_array_type)
269 (hpread_type_lookup): Likewise.
270 * i386-tdep.c (gdb_print_insn_i386): Likewise.
271 * i960-tdep.c (mem): Likewise
272 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
273 * infptrace.c (child_resume): Likewise.
274 * infttrace.c (_initialize_infttrace): Likewise.
275 * language.c (binop_result_type, add_language): Likewise.
276 * lynx-nat.c (store_inferior_registers): Likewise.
277 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
278 * mdebugread.c (parse_partial_symbols): Likewise.
279 * monitor.c (monitor_printf_noecho, monitor_printf)
280 (monitor_dump_regs): Likewise.
281 * ocd.c (stu_put_packet): Likewise.
282 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
283 * remote-bug.c (bug_open): Likewise.
284 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
285 * remote-es.c (es1800_read_bytes): Likewise.
286 * remote-mips.c (common_breakpoint): Likewise.
287 * remote-rdp.c (send_rdp): Likewise.
288 * remote-sds.c (putmessage): Likewise.
289 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
290 Likewise.
291 * sparcl-tdep.c (sparclite_download): Likewise.
292 * symtab.c (lookup_partial_symbol): Likewise.
293 * target.c (push_target, pop_target, initialize_targets): Likewise.
294 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
295 Likewise.
296 * valprint.c (print_decimal, print_longest, print_longest)
297 (strcat_longest): Likewise.
298 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
299 * xmodem.c (xmodem_send_packet): Likewise.
300 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
301 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
302 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
303 (STORE_RETURN_VALUE): Likewise.
304 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
305 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
306 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
307 Likewise.
308
309 2001-02-23 Andrew Cagney <ac131313@redhat.com>
310
311 * CONTRIBUTE: Document how to cite a problem report.
312 * TODO: Note need to replace CONTRIBUTE with generated file.
313
314 * CONTRIBUTE: Mention that patches do not need to include the
315 generated files gdbarch.h and gdbarch.c.
316
317 2001-02-21 Andrew Cagney <ac131313@redhat.com>
318
319 * value.h (get_saved_register): Move from here.
320 * frame.h: To here.
321
322 2001-02-21 Kevin Buettner <kevinb@redhat.com>
323
324 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
325 (in_solib_dynsym_resolve_code): Add declaration.
326 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
327 in_solib_dynsym_resolve_code() rather than
328 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
329 which caused this macro to only be defined when
330 SVR4_SHARED_LIBS is defined.
331 * solib.c (in_solib_dynsym_resolve_code): New function.
332 * solist.h (struct target_so_ops): Add new member
333 in_dynsym_resolve_code.
334 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
335 in_svr4_dynsym_resolve_code. Also, made static.
336 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
337 member in aix5_so_ops.
338 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
339 in_svr4_dynsym_resolve_code. Also, added second version
340 of this function which will be used when SVR4_SHARED_LIBS
341 is not defined.
342 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
343 member in svr4_so_ops.
344
345 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
346 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
347 config/ia64/xm-aix.h: New files.
348 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
349 (ia64_aix_sigcontext_register_address): New declaration.
350 (ia64_gdbarch_init): Provide for initialization of
351 sigcontext_register_address member of struct tdep when
352 on target is detected to be running AIX.
353 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
354 this list.
355
356 2001-02-20 Kevin Buettner <kevinb@redhat.com>
357
358 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
359 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
360 for thread support instead of linux-thread.o and lin-thread.o.
361 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
362 ATTACH_LWP): Define to use the following lin-lwp.c functions...
363 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
364 lin_lwp_attach_lwp): Declare.
365
366 2001-02-20 Andrew Cagney <ac131313@redhat.com>
367
368 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
369 formatting.
370
371 2001-02-20 Kevin Buettner <kevinb@redhat.com>
372
373 * solib-aix5.c (solib-svr4.h): Remove include.
374 (solib_break_names): Delete names which aren't actually
375 used by AIX5.
376 (bkpt_names): Remove.
377 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
378 to STREQ() with equivalent calls to strcmp().
379 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
380 aix5_solib_create_inferior_hook): Revise comments.
381 (enable_break): Remove old ``bkpt_names'' code.
382
383 2001-02-19 Andrew Cagney <ac131313@redhat.com>
384
385 * Makefile.in (SFILES): Add frame.c .
386 (COMMON_OBS): Add frame.o .
387 (frame.o): New target.
388
389 * frame.c (find_saved_register):
390 (default_get_saved_register):
391 (get_saved_register):
392 (read_relative_register_raw_bytes_for_frame):
393 (read_relative_register_raw_bytes): Moved to here.
394 * regcache.c: From here.
395
396 2001-02-20 Kevin Buettner <kevinb@redhat.com>
397
398 * solib-aix5.c: New file.
399
400 2001-02-20 Martin M. Hunt <hunt@redhat.com>
401
402 * solib.c (info_sharedlibrary_command): Don't assume pointers
403 are the same size of long, call longest_local_hex_string_custom().
404
405 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
406 extract_signed_integer() should be called instead of
407 extract_address().
408
409 2001-02-20 Martin M. Hunt <hunt@redhat.com>
410
411 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
412
413 2001-02-19 Andrew Cagney <ac131313@redhat.com>
414
415 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
416 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
417 then floating point registers are 8 bytes.
418
419 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
420
421 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
422 accomodate 64-bit addresses.
423
424 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
425
426 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
427 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
428 lookup_symbol, when trying to find a symbol with a mangled name,
429 to avoid infinite recursion.
430
431 2001-02-18 Andrew Cagney <ac131313@redhat.com>
432
433 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
434
435 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
436
437 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
438 (save_prologue_cache): Ditto.
439
440 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
441
442 From: innadadadavida@yahoo.com:
443 * partial-stab.h (switch): Check that pst is not null
444 before dereferencing it.
445
446 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
447
448 From Andrew Cagney <cagney@b1.cygnus.com>:
449 * symfile.c (add_symbol_file_command): Always initialize
450 my_cleanup using a NULL cleanup.
451
452 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
453
454 * demangle.c (demangling_style_names): New variable.
455 (_initialize_demangler): Fill demangling_style_names with the
456 names of known demangling styles from libiberty_demanglers[]. Use
457 add_set_enum_cmd instead of add_set_cmd, to get completion on
458 demangling style names.
459
460 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
461 file-name completion.
462
463 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
464
465 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
466 `solib-absolute-prefix'.
467
468 * tracepoint.c (_initialize_tracepoint): Ditto for
469 `save-tracepoints'.
470
471 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
472
473 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
474 file-name completion.
475
476 * infcmd.c (_initialize_infcmd): Make the following commands use
477 the file-name completer: `tty', `args', `path', `paths', and
478 `run'.
479
480 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
481
482 * go32-nat.c: Include i387-nat.h.
483 (fetch_register): New function, uses some of the guts of
484 go32_fetch_registers and calls i387_supply_register.
485 (go32_fetch_registers): Most of the code moved into
486 fetch_register. Use i387_supply_fsave.
487 (store_register): Use i387_fill_fsave instead of custom code.
488 (go32_store_registers): Use i387_fill_fsave.
489
490 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
491
492 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
493
494 * completer.c (gdb_completer_file_name_break_characters): Remove
495 slash from file-name break characters.
496 [__MSDOS__]: Special definition for DOS/Windows file names.
497 (line_completion_function): When completing on file names, bump
498 `p' to the first file-name constituent character of `word', before
499 invoking the completer.
500
501 2001-02-17 Mark Kettenis <kettenis@gnu.org>
502
503 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
504 consistently for parameter names. Fix comments accordingly.
505 (i387_supply_register): New function.
506 (i387_supply_fsave): Implement using i387_supply_register.
507 * i387-nat.h: Use regnum instead of regno consistently for
508 parameter names. Fix comments accordingly.
509 (i387_supply_register): New prototype.
510
511 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
512
513 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
514 instead of TARGET_PTR_BIT (to support Harvard architectures).
515
516 2001-02-16 Andrew Cagney <ac131313@redhat.com>
517
518 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
519 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
520 argument to parameter list and to call in order to conform to
521 to_xfer_memory field of struct target_ops.
522
523 2001-02-12 Michael Chastain <chastain@redhat.com>
524
525 * somsolib.c (som_solib_add_solib_objfile): Do not use
526 section relocation feature of syms_from_objfile. Do my own
527 section relocation, offsetting each section of the som by
528 either text_addr - text_link_addr or data_start.
529
530 2001-02-16 Andrew Cagney <ac131313@redhat.com>
531
532 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
533
534 2001-02-16 Andrew Cagney <ac131313@redhat.com>
535
536 * MAINTAINERS (paper trail): Update.
537
538 2001-02-16 Mark Kettenis <kettenis@gnu.org>
539
540 * target.h (target_fetch_registers): Fix comment.
541
542 2001-02-15 Andrew Cagney <ac131313@redhat.com>
543
544 * f-exp.y: Include <ctype.h>.
545 (parse_number): Ensure that ``i'' is always initialized.
546
547 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
548
549 * MAINTAINERS: Add myself to paper trail section.
550
551 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
552
553 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
554 * configure, config.in: Regenerate.
555 * corelow.c: Include <sys/file.h> if present.
556
557 2001-02-14 Andrew Cagney <ac131313@redhat.com>
558
559 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
560 declare when have SIGTTOU.
561
562 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
563
564 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
565
566 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
567
568 * MAINTAINERS: Update my email address.
569
570 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
571
572 * NEWS: Document that "info symbol" works with COFF debug info and
573 its variants.
574
575 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
576 symbols whose SYMBOL_BFD_SECTION is NULL.
577
578 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
579
580 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
581 * xcoffsolib.c (xcoff_solib_address): Renamed from
582 pc_load_segment_name. Return NULL if address is not in a shared
583 library. Cleanup shared library name construction, using xasprintf.
584 Format shared library member names consistent with format in exec.c.
585 (solib_info): Format shared library member names consistent with
586 format in exec.c.
587 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
588 using xcoff_solib_address for PC_SOLIB definition.
589 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
590 needed.
591
592 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
593
594 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
595 with xmalloc calls and cleanups.
596
597 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
598
599 * rs6000-nat.c (child_xfer_memory): Add missing parameter
600 'struct mem_attrib *' required by 2001-01-23 change.
601
602 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
603
604 Updates to "make TAGS":
605 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
606 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
607 tahoe-tdep.c.
608 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
609
610 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
611
612 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
613
614 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
615
616 From Dean Luick <luick@cray.com>:
617 * defs.h (continuation): Remove unused global variable.
618
619 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
620
621 * configure.tgt: Remove references to convex, pyramid, altos and
622 tahoe.
623 * configure.host: Ditto.
624 * MAINTAINERS: Ditto.
625 * NEWS: Update.
626
627 * tahoe-tdep.c: Delete obsolete file.
628 * pyr-xdep.c: Ditto.
629 * pyr-tdep.c: Ditto.
630 * convex-tdep.c: Ditto.
631 * convex-xdep.c: Ditto.
632 * config/tahoe/xm-tahoe.h: Ditto.
633 * config/tahoe/tm-tahoe.h: Ditto.
634 * config/tahoe/tahoe.mt: Ditto.
635 * config/tahoe/tahoe.mh: Ditto.
636 * config/pyr/xm-pyr.h: Ditto.
637 * config/pyr/tm-pyr.h: Ditto.
638 * config/pyr/pyramid.mt: Ditto.
639 * config/pyr/pyramid.mh: Ditto.
640 * config/m68k/xm-altos.h: Ditto.
641 * config/m68k/tm-altos.h: Ditto.
642 * config/m68k/altos.mt: Ditto.
643 * config/m68k/altos.mh: Ditto.
644 * config/convex/xm-convex.h: Ditto.
645 * config/convex/tm-convex.h: Ditto.
646 * config/convex/convex.mt: Ditto.
647 * config/convex/convex.mh: Ditto.
648 * config/convex/Convex.notes: Ditto.
649 * config/arm/xm-arm.h: Ditto.
650 * config/arm/nm-arm.h: Ditto.
651 * config/arm/arm.mt: Ditto.
652 * config/arm/arm.mh: Ditto.
653 * arm-convert.s: Ditto.
654 * arm-xdep.c: Ditto.
655 * altos-xdep.c: Ditto.
656
657 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
658
659 * defs.h (internal_error, internal_verror): Add __FILE__ and
660 __LINE__ parameter.
661 * utils.c (internal_error, internal_verror): Update.
662
663 * v850-tdep.c: Update calls to internal_error.
664 * utils.c: Ditto.
665 * ui-out.c: Ditto.
666 * ui-file.c: Ditto.
667 * target.h: Ditto.
668 * symtab.h: Ditto.
669 * symm-nat.c: Ditto.
670 * sparc-tdep.c: Ditto.
671 * source.c: Ditto.
672 * serial.c: Ditto.
673 * rs6000-tdep.c: Ditto.
674 * rs6000-nat.c: Ditto.
675 * remote.c: Ditto.
676 * remote-vx.c: Ditto.
677 * remote-sim.c: Ditto.
678 * remote-mips.c: Ditto.
679 * regcache.c: Ditto.
680 * objfiles.h: Ditto.
681 * objfiles.c: Ditto.
682 * mn10300-tdep.c: Ditto.
683 * mips-tdep.c: Ditto.
684 * maint.c: Ditto.
685 * m68k-tdep.c: Ditto.
686 * m3-nat.c: Ditto.
687 * language.c: Ditto.
688 * infptrace.c: Ditto.
689 * inferior.h: Ditto.
690 * infcmd.c: Ditto.
691 * ia64-tdep.c: Ditto.
692 * i386-tdep.c: Ditto.
693 * i386-linux-nat.c: Ditto.
694 * hppah-nat.c: Ditto.
695 * go32-nat.c: Ditto.
696 * findvar.c: Ditto.
697 * f-lang.c: Ditto.
698 * elfread.c: Ditto.
699 * event-loop.c: Ditto.
700 * dwarf2read.c: Ditto.
701 * dsrec.c: Ditto.
702 * d30v-tdep.c: Ditto.
703 * d10v-tdep.c: Ditto.
704 * cli/cli-setshow.c: Ditto.
705 * cli/cli-script.c: Ditto.
706 * ch-exp.c: Ditto.
707 * breakpoint.c: Ditto.
708 * ax-gdb.c: Ditto.
709 * arch-utils.c: Ditto.
710 * a29k-tdep.c: Ditto.
711 * gdb_assert.h: Ditto.
712 * gdbarch.sh: Ditto.
713 * gdbarch.h, gdbarch.c: Re-generate.
714
715 2001-02-07 Andrew Cagney <ac131313@redhat.com>
716
717 From Mark Kettenis <kettenis@gnu.org>:
718 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
719
720 2001-02-07 Andrew Cagney <ac131313@redhat.com>
721
722 * remote-sim.c (dump_mem): Cleanup printf format argument.
723 * MAINTAINERS: Update, mn10300-elf now builds.
724
725 2001-02-07 Mark Kettenis <kettenis@gnu.org>
726
727 * event-top.c: Remove duplicate #include <signal.h>.
728
729 2001-02-06 Andrew Cagney <ac131313@redhat.com>
730
731 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
732 allocated buffer.
733 (save_inferior_pid): Restore the PID from that tempoary
734 buffer. Delete the buffer.
735 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
736
737 2001-02-06 Andrew Cagney <ac131313@redhat.com>
738
739 * MAINTAINERS: Add ``The Obvious Fix Rule''.
740
741 2001-02-06 Andrew Cagney <ac131313@redhat.com>
742
743 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
744
745 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
746
747 * gdbarch.sh: Include "gdb_assert.h".
748 (struct gdbarch): Change ``nr_data'' to unsigned.
749 (alloc_gdbarch_data, free_gdbarch_data): New functions.
750 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
751 architecture vector.
752 (struct gdbarch_data, struct gdbarch_data_registration): Move init
753 method to gdbarch_data. Add free method, make index unsigned.
754 (struct gdbarch_data_registry): Make nr unsigned.
755 (register_gdbarch_data): Add free parameter. Store in
756 gdbarch_data.
757 (init_gdbarch_data): Use set_gdbarch_data.
758 (set_gdbarch_data): New function.
759
760 * gdbarch.h, gdbarch.c: Re-generate.
761
762 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
763
764 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
765 fprintf_filtered with correct arguments.
766
767 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
768 Submitted by Paul Hilfinger (hilfingr@gnat.com)
769 and Andrei Petrov (and@genesyslab.com).
770 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
771 must be allocated dynamically, since these are no longer constants.
772 * infcmd.c: Ditto.
773 * regcache.c: Ditto.
774 * remote.c: Ditto.
775 * sol-thread.c: Ditto.
776 * valops.c: Ditto.
777 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
778 work-around for a missing Sun header file in solaris for sparc64.
779
780 2001-02-04 Philip Blundell <philb@gnu.org>
781
782 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
783 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
784 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
785 GET_THREAD_SIGNALS): Define.
786 * arm-linux-nat.c (fill_gregset): Correct type of argument.
787 (supply_gregset): Likewise.
788 (fill_fpregset): Likewise.
789 (supply_fpregset): Likewise.
790
791 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
792
793 * valops.c (value_cast): If casting a scalar to a pointer, do not
794 issue a message about truncation unless it exceeds the length of
795 an address, not the length of a pointer. This is because what the
796 user gives us is an address, not a pointer, and we will ultimately
797 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
798 to a pointer. This allows things like "print *(int *)0x01000234"
799 to work without generating a misleading message on a target having
800 two byte pointers and four byte addresses.
801
802 2001-02-05 Christopher Faylor <cgf@cygnus.com>
803
804 * win32-nat.c: Change PTR to void * throughout.
805
806 2001-02-05 J.T. Conklin <jtc@redback.com>
807
808 * signals.h: Removed.
809 * event-top.c (#include <signal.h>): Changed from signals.h.
810 * inflow.c: Likewise.
811 * mac-xdep.c: Likewise.
812 * ser-pipe.c: Likewise.
813 * ser-tcp.c: Likewise.
814 * standalone.c: Likewise.
815 * top.c: Likewise.
816 * utils.c: Likewise.
817 * Makefile.in: Removed signals.h from dependencies.
818
819 2001-02-05 Christopher Faylor <cgf@cygnus.com>
820
821 Change suggested by Dean Luick <luick@cray.com>
822 * inferior.h (step_over_calls_kind): Remove trailing comma from
823 last enum element.
824 (step_over_calls): Declare as extern rather than global.
825
826 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
827
828 * sh-tdep.c: Update copyright.
829 (sh_extract_return_value): Rewrite.
830 (sh3e_sh4_extract_return_value): New function.
831 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
832 version of the function for sh3e and sh4 CPUs.
833
834 2001-02-05 Michael Chastain <chastain@redhat.com>
835
836 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
837 to conform with interface change.
838
839 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
840
841 * config/djgpp/fnchange.lst: Tweak to make consistent with the
842 new files.
843
844 * config/djgpp/djconfig.sh: Use explicit absolute file name when
845 invoking `find'.
846
847 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
848 UART_FIFO_WORKS is defined. Otherwise use outportb.
849 From Francisco Pastor <fpastor.etra-id@etra.es>
850
851 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
852 with target.h's `to_xfer_memory' member.
853
854 2001-02-02 J.T. Conklin <jtc@redback.com>
855
856 * ppc-bdm.c (#include <signal.h>): Removed.
857 * remote-array.c: Likewise.
858 * remote-bug.c: Likewise.
859 * remote-e7000.c: Likewise.
860 * remote-mips.c: Likewise.
861 * remote-os9k.c: Likewise.
862 * remote-st.c: Likewise.
863 * remote-udi.c: Likewise.
864 * remote-vx29k.c: Likewise.
865 * remote-vx68.c: Likewise.
866 * remote-vx960.c: Likewise.
867 * remote-vxmips.c: Likewise.
868 * remote-vxsparc.c: Likewise.
869
870 2001-02-02 John Moore <jmoore@redhat.com>
871
872 * remote-utils.h (sr_set_device): Changed free() to xfree() where
873 appropriate. Also changed Copyright to include 2001.
874 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
875 * value.h (value_free): Likewise.
876 * gdbarch.sh (gdbarch_free): Likewise.
877 * gdbarch.c, gdbarch.h: Regenerated.
878
879 2001-02-02 John Moore <jmoore@redhat.com>
880
881 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
882 xfree(). Also changed Copyright to include 2001.
883
884 2001-02-02 J.T. Conklin <jtc@redback.com>
885
886 * monitor.c (#include "gdb_wait.h"): Removed.
887 * ocd.c: Likewise.
888 * ppc-bdm.c: Likewise.
889 * remote-adapt.c: Likewise.
890 * remote-array.c: Likewise.
891 * remote-bug.c: Likewise.
892 * remote-e7000.c: Likewise.
893 * remote-eb.c: Likewise.
894 * remote-es.c: Likewise.
895 * remote-mips.c: Likewise.
896 * remote-mm.c: Likewise.
897 * remote-nindy.c: Likewise.
898 * remote-os9k.c: Likewise.
899 * remote-rdi.c: Likewise.
900 * remote-rdp.c: Likewise.
901 * remote-sds.c: Likewise.
902 * remote-sim.c: Likewise.
903 * remote-st.c: Likewise.
904 * remote-udi.c: Likewise.
905 * remote-vx.c: Likewise.
906 * remote-vx29k.c: Likewise.
907 * remote-vx68.c: Likewise.
908 * remote-vx960.c: Likewise.
909 * remote-vxmips.c: Likewise.
910 * remote-vxsparc.c: Likewise.
911 * remote.c: Likewise.
912 * ser-pipe.c: Likewise.
913 * ser-unix.c: Likewise.
914 * Makefile.in: Updated dependencies.
915
916 2001-01-31 David Smith <dsmith@redhat.com>
917
918 * event-loop.c: Change inclusion of string.h to gdb_string.h and
919 updated the copyright notice.
920 * ser-pipe.c: Ditto.
921 * mi/mi-cmds.c: Ditto.
922 * mi/mi-console.c: Ditto.
923 * mi/mi-getopt.c: Ditto.
924 * mi/mi-parse.c: Ditto.
925
926 2001-01-31 David Smith <dsmith@redhat.com>
927
928 * MAINTAINERS: Add David Smith to Write After Approval list.
929
930 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
931
932 * cli/cli-utils.c (putchar_filtered): Move function from here.
933 * utils.c (putchar_filtered): To here.
934 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
935 * defs.h (putchar_filtered): To here.
936
937 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
938
939 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
940 AC_FUNC_VFORK macro.
941 * config.in, configure: Re-generate.
942
943 * gdb_vfork.h: New file.
944 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
945 * fork-child.c (fork_inferior): Ditto.
946
947 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
948
949 * defs.h (strsave): Delete declaration.
950 * utils.c (strsave): Delete definition.
951 * TODO (strsave): Update
952
953 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
954 * sparcl-tdep.c (sparclite_open): Ditto.
955 * mips-tdep.c (mips_set_processor_type_command): Ditto.
956 (_initialize_mips_tdep): Ditto.
957 * solib.c (solib_open): Ditto.
958 * symfile.c (add_filename_language): Ditto.
959 (set_ext_lang_command): Ditto.
960 * source.c (init_source_path): Ditto.
961 (mod_path): Ditto.
962 * sh3-rom.c (sh3_open): Ditto.
963 (sh3e_open): Ditto.
964 * serial.c (serial_open): Ditto.
965 * remote-mips.c (common_open): Ditto.
966 * monitor.c (monitor_open): Ditto.
967 * m32r-rom.c (m32r_upload_command): Ditto.
968 * infcmd.c (path_command): Ditto.
969 * f-exp.y (parse_number): Ditto.
970 * breakpoint.c (create_longjmp_breakpoint): Ditto.
971 (create_thread_event_breakpoint): Ditto.
972 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
973 (_initialize_arc_tdep): Ditto.
974
975 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
976
977 * cli/cli-script.c (define_command): Check for a bad hook value in
978 switch statement.
979
980 2001-01-30 J.T. Conklin <jtc@redback.com>
981
982 * configure/sh/embed.mt: New file.
983 * configure/sh/linux.mt: New file.
984 * configure/sh/sh.mt: Removed.
985 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
986 (sh-*-*): Removed.
987
988 2001-01-29 Michael Chastain <chastain@redhat.com>
989
990 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
991 symbol comparisons in binary search.
992
993 2001-01-27 Christopher Faylor <cgf@cygnus.com>
994
995 * win32-nat.c (child_xfer_memory): Add missing argument required by
996 2001-01-23 change.
997
998 2001-01-27 Mark Kettenis <kettenis@gnu.org>
999
1000 * ui-out.c (do_list_end): New function.
1001 (make_cleanup_ui_out_list_end): New function.
1002 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1003 * stack.c (print_frame) [UI_OUT]: Call
1004 make_cleanup_ui_out_list_end to make sure we mark the end of the
1005 list if we do a non-local exit. At the end of the function,
1006 instead of calling ui_out_list_end directly, let do_cleanups
1007 handle it.
1008
1009 2001-01-26 Fernando Nasser <fnasser@redhat.com>
1010
1011 Fix double parsing of filenames passed as command line arguments
1012 to GDB (causes weird handling of escape characters).
1013 Also, remove dependencies on the CLI from libgdb.
1014 * call-cmds.h: Remove declaration of exec_file_command().
1015 * gdbcore.h: Remove declaration of exec_file_command().
1016 Add declarations for exec_open() and exec_file_clear().
1017 * symfile.h: Add declarations for symbol_file_add_main() and
1018 symbol_file_clear().
1019 * exec.c (exec_open): New function. Implements to_open for exec
1020 targets.
1021 (exec_file_clear): New function. Makes GDB forget about a previously
1022 specified executable file.
1023 (exec_file_attach): Move parsing of arguments from here ...
1024 (exec_file_command): ... to here.
1025 (init_exec_ops): Use exec_open(), not exec_file_command() to
1026 implement to_open for exec targets.
1027 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1028 with default values. Used when the file name has already been parsed.
1029 (symbol_file_clear): New function. Makes GDB forget about previously
1030 read symbols.
1031 (symbol_file_command): Call the above function instead of inline code.
1032 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1033 "call-cmds.h".
1034 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1035 instead of exec_file_command() and symbol_file_command().
1036 (captured_main): Add comment.
1037 * corefile.c: Include "symfile.h".
1038 (core_file_command): Call symbol_file_add_main() instead of
1039 symbol_file_command().
1040 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1041 * infcmd.c: Include "symfile.h".
1042 (attach_command): Call symbol_file_add_main() instead of
1043 symbol_file_command().
1044 * infrun.c: Remove comment about the inclusion of "symfile.h",
1045 not any longer appropriate.
1046 (follow_exec): Call symbol_file_add_main() instead of
1047 symbol_file_command().
1048 * remote-es.c: Include "symfile.h".
1049 (es1800_load): Call symbol_file_add_main() instead of
1050 symbol_file_command().
1051 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1052 not any longer appropriate.
1053 (vx-wait): Call symbol_file_add_main() instead of
1054 symbol_file_command().
1055 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1056 instead of symbol_file_command().
1057 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1058 symbol_file_add_main() instead of exec_file_command() and
1059 symbol_file_command().
1060 * Makefile.in: Update dependencies.
1061
1062 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1063
1064 * remote-udi.c (udi_open): Change strdup to xstrdup.
1065 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1066 Update copyright message.
1067 * varobj.c (delete_variable_1): Likewise.
1068
1069 * gdb_string.h: Remove declaration of strdup. Update copyright
1070 message.
1071 * config/xm-mpw.h: Likewise.
1072 * config/i386/xm-i386mach.h: Likewise.
1073 * config/m68k/xm-apollo68b.h: Likewise.
1074 * config/m68k/xm-hp300bsd.h: Likewise.
1075 * config/rs6000/xm-rs6000.h: Likewise.
1076 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1077 * config/vax/xm-vaxult2.h: Likewise.
1078
1079 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1080
1081 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1082
1083 2001-01-25 J.T. Conklin <jtc@redback.com>
1084
1085 * target.c (target_xfer_memory_partial): Return -1 on failure due
1086 to invalid access mode attribute.
1087
1088 2001-01-25 Christopher Faylor <cgf@cygnus.com>
1089
1090 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1091
1092 2001-01-25 Mark Kettenis <kettenis@gnu.org>
1093
1094 * config/alpha/tm-fbsd.h: Update copyright.
1095 (USE_STRUCT_CONVENTION): Define in terms of
1096 alphabsd_use_struct_convention.
1097 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1098 * alphafbsd-tdep.c: New file.
1099
1100 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1101
1102 * top.c (print_gdb_version): Update Copyright year.
1103
1104 2001-01-24 J.T. Conklin <jtc@redback.com>
1105
1106 * dcache.c (dcache_write_line): Fix typo.
1107
1108 * memattr.c (delete_mem_region): Replace free() with xfree().
1109 (mem_number): Add explicit type.
1110
1111 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1112 (rw_common): Likewise.
1113
1114 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1115
1116 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1117 for the inferior program arguments.
1118 (run_command, run_no_args_command, init_infcmd)): Use accessor
1119 functions to set the inferior program arguments.
1120 * inferior.h: Add definitions to the accessor functions above.
1121
1122 2001-01-23 Jim Blandy <jimb@redhat.com>
1123
1124 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1125 Implement these correctly, using make_cv_type.
1126
1127 2001-01-23 J.T. Conklin <jtc@redback.com>
1128
1129 * exec.c (xfer_memory): Add attrib argument.
1130 * infptrace.c (child_xfer_memory): Likewise.
1131 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1132 * monitor.c (monitor_xfer_memory): Likewise.
1133 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1134 * remote-array.c (array_xfer_memory): Likewise.
1135 * remote-bug.c (bug_xfer_memory): Likewise.
1136 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1137 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1138 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1139 * remote-mips.c (mips_xfer_memory): Likewise.
1140 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1141 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1142 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1143 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1144 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1145 * remote-sds.c (sds_xfer_memory): Likewise.
1146 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1147 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1148 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1149 * remote-vx.c (vx_xfer_memory): Likewise.
1150 * remote.c (remote_xfer_memory): Likewise.
1151 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1152 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1153 * thread-db.c (thread_db_xfer_memory): Likewise.
1154
1155 * target.h (#include "memattr.h"): Added.
1156 (target_ops.to_xfer_memory): Add attrib argument.
1157
1158 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1159 * dcache.h (set_dcache_state): Removed declaration.
1160 * dcache.c (set_dcache_state): Removed definition
1161
1162 * dcache.c: Update module comment, as dcache is now enabled and
1163 disabled with memory region attributes instead of by the global
1164 variable "remotecache". Add comment describing the interaction
1165 between dcache and memory region attributes.
1166 (dcache_xfer_memory): Add comment describing benefits of moving
1167 cache writeback to a higher level.
1168 (dcache_struct): Removed cache_has_stuff field. This was used to
1169 record whether the cache had been accessed in order to invalidate
1170 it when it was disabled. However, this is not needed because the
1171 cache is write through and the code that enables, disables, and
1172 deletes memory regions invalidate the cache. Add comment which
1173 suggests that we could be more selective and only invalidate those
1174 cache lines containing data from those memory regions.
1175 (dcache_invalidate): Updated.
1176 (dcache_xfer_memory): Updated.
1177
1178 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1179 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1180 perform a uncached transfer if dcache_enabled_p was clear. This
1181 function is now only called if caching is enabled for the memory
1182 region.
1183 (dcache_info): Always print cache info.
1184
1185 * target.c (do_xfer_memory): Add attrib argument.
1186 (target_xfer_memory, target_xfer_memory_partial): Break transfer
1187 into chunks defined by memory regions, pass region attributes to
1188 do_xfer_memory().
1189 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1190
1191 * Makefile.in (SFILES): Add memattr.c.
1192 (COMMON_OBS): Add memattr.o.
1193 (dcache.o): Add target.h to dependencies.
1194 * memattr.c: New file.
1195 * memattr.h: Likewise.
1196
1197 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1198 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1199 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1200 * gdbserver/low-sim.c (#include "defs.h"): Removed.
1201 (mygeneric_load): Rename from generic_load.
1202
1203 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1204 (#include "defs.h"): Removed.
1205 (inferior_pid, perror_with_name): Remove declarations.
1206 * gdbserver/low-linux.c: Likewise.
1207 * gdbserver/low-nbsd.c: Likewise.
1208 * gdbserver/low-sparc.c: Likewise.
1209 * gdbserver/low-sun3.c: Likewise.
1210
1211 * i386-stub.c: Re-indent.
1212 * m68k-stub.c: Re-indent.
1213
1214 2001-01-22 Nicholas Duffek <nsd@redhat.com>
1215
1216 * gdbarch.sh (PARM_BOUNDARY): Define.
1217 * gdbarch.c: Regenerate.
1218 * gdbarch.h: Regenerate.
1219
1220 2001-01-22 J.T. Conklin <jtc@redback.com>
1221
1222 * ns32k-tdep.c: #include "frame.h"
1223 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
1224 appears to have been inadvertantly removed sometime in May 1999.
1225
1226 * Revert 2000-11-09 changes where shared library objects were
1227 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
1228 we'd like to be able to debug dynamically linked executables,
1229 this makes it impossible to build a cross debugger on a many
1230 hosts.
1231
1232 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1233 * config/i386/nbsdelf.mt: Likewise.
1234 * config/m68k/nbsd.mt: Likewise.
1235 * config/ns32k/nbsd.mt: Likewise.
1236 * config/powerpc/nbsd.mt: Likewise.
1237 * config/sparc/nbsd.mt: Likewise.
1238 * config/sparc/nbsdelf.mt: Likewise.
1239 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1240 * config/i386/nbsdelf.mh: Likewise.
1241 * config/m68k/nbsd.mh: Likewise.
1242 * config/ns32k/nbsd.mh: Likewise.
1243 * config/powerpc/nbsd.mh: Likewise.
1244 * config/sparc/nbsd.mh: Likewise.
1245
1246 2001-01-19 Jason Merrill <jason@redhat.com>
1247
1248 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1249 (process_one_symbol): Likewise.
1250 * dwarfread.c (handle_producer): Likewise.
1251
1252 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
1253
1254 * configure.in (build_warnings): Disable -Wuninitialized until GDB
1255 compiles with -Wuninitialized,-Werror.
1256 * configure: Regenerate.
1257
1258 * MAINTAINERS: Add list of buildable targets.
1259
1260 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1261
1262 * defs.h (STRCMP): Delete macro.
1263
1264 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1265 strcmp.
1266 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1267 * symfile.c (compare_symbols): Ditto.
1268 * standalone.c (open): Ditto.
1269 * remote-es.c (verify_break): Ditto.
1270 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1271
1272 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1273
1274 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1275
1276 * varobj.c (FREEIF): Delete macro.
1277 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1278 call.
1279
1280 2001-01-18 Nick Clifton <nickc@redhat.com>
1281
1282 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1283 (arc_print_insn): No bfd available, so pass NULL to
1284 arc_get_disassembler.
1285
1286 2001-01-09 James Ingham <jingham@inghji.apple.com>
1287
1288 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1289 a mangled symbol rather than recursing into lookup_symbol, since
1290 this will just re-unmangle the name & call lookup_symbol_aux -
1291 leading to an infinite recursion.
1292
1293 2001-01-18 Mark Kettenis <kettenis@gnu.org>
1294
1295 * infcmd.c (print_return_value): Restore another space lost by
1296 switch to UIOUT. ``$NN='' should be ``$NN =''.
1297
1298 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1299
1300 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1301 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1302 definition in parenthesis.
1303
1304 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1305
1306 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1307 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1308 packet.
1309 (remote_insert_hw_breakpoint): Ditto.
1310
1311 2001-01-17 J.T. Conklin <jtc@redback.com>
1312
1313 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
1314 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
1315 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1316 * m68knbsd-tdep.c: New file.
1317
1318 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1319
1320 * m68knbsd-nat.c: #include gdbcore.h.
1321
1322 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1323
1324 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1325
1326 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1327
1328 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1329 goes away -- just return false (ie. not stopped by watchpoint).
1330 * source.c (openp): Fix typo in comment.
1331
1332 2001-01-12 Nicholas Duffek <nsd@redhat.com>
1333
1334 * blockframe.c (generic_get_saved_register): Spelling fix.
1335 * frame.h (FRAME_FP): Spelling fix.
1336
1337 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1338
1339 * infcmd.c (print_return_value): Restore space lost by switch to
1340 UIOUT. ``$NN='' should be ``$NN =''.
1341
1342 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1343
1344 * regcache.c (set_register_cached, register_buffer,
1345 real_register, pseudo_register fetch_register, store_register):
1346 New functions.
1347 (register_changed, read_relative_register_raw_bytes_for_frame,
1348 registers_changed, registers_fetched, read_register_bytes,
1349 read_register_gen, write_register_gen, read_register,
1350 read_signed_register, write_register, supply_register): Replace
1351 register_valid[] with register_cached() and
1352 set_register_cached().
1353 (read_register_bytes, read_register_gen, write_register_gen,
1354 read_register, read_signed_register, write_register,
1355 supply_register): Replace registers[] with register_buffer().
1356 (read_register_bytes, read_register_gen, read_register,
1357 read_signed_register): Call fetch_register().
1358 (write_register_gen, write_register): Call real_register() and
1359 store_register().
1360 (write_register_bytes): Call store_register().
1361 * value.h (set_register_cached, register_buffer): Prototype.
1362 * remote.c (remote_fetch_registers): Allocate regs[] with a
1363 run-time size. Replace register_valid[] with
1364 set_register_cached().
1365 (store_register_using_P, remote_store_registers): Replace
1366 registers[] with register_buffer().
1367
1368 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1369
1370 * regcache.c: Change "write-back" comment to "write-through".
1371 Change "regno" to "regnum".
1372 (read_register, read_signed_register): Remove "raw" from return
1373 value description.
1374 (supply_register): Spelling fix.
1375 * value.h: Change "regno" to "regnum".
1376
1377 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1378
1379 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1380 to be installed.
1381
1382 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1383
1384 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1385
1386 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1387
1388 * valops.c (VALUE_SUBSTRING_START): Delete.
1389
1390 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1391
1392 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1393 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1394 (cli_utils_h): New variable.
1395 (cli/cli-utils.o): New rule.
1396 * cli/cli-utils.c: New file.
1397 * cli/cli-utils.h: New file.
1398
1399 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1400
1401 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1402 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1403
1404 2001-01-03 J.T. Conklin <jtc@redback.com>
1405
1406 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1407 comment.
1408
1409 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1410
1411 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1412 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1413 non-float types.
1414 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1415 Update copyright notice.
1416
1417 For older changes see ChangeLog-2000
1418 \f
1419 Local Variables:
1420 mode: change-log
1421 left-margin: 8
1422 fill-column: 74
1423 version-control: never
1424 End: