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