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