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