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