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