Commit | Line | Data |
---|---|---|
65d5a54a EZ |
1 | 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
2 | ||
3 | * NEWS: Document that "info symbol" works with COFF debug info and | |
4 | its variants. | |
5 | ||
6 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip | |
7 | symbols whose SYMBOL_BFD_SECTION is NULL. | |
8 | ||
a8079a9b PS |
9 | 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
10 | ||
11 | Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB. | |
12 | * xcoffsolib.c (xcoff_solib_address): Renamed from | |
13 | pc_load_segment_name. Return NULL if address is not in a shared | |
14 | library. Cleanup shared library name construction, using xasprintf. | |
15 | Format shared library member names consistent with format in exec.c. | |
16 | (solib_info): Format shared library member names consistent with | |
17 | format in exec.c. | |
18 | * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB, | |
19 | using xcoff_solib_address for PC_SOLIB definition. | |
20 | * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer | |
21 | needed. | |
22 | ||
4b2e4867 PS |
23 | 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
24 | ||
25 | * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls | |
26 | with xmalloc calls and cleanups. | |
27 | ||
d737ece6 PS |
28 | 2000-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
29 | ||
30 | * rs6000-nat.c (child_xfer_memory): Add missing parameter | |
31 | 'struct mem_attrib *' required by 2001-01-23 change. | |
32 | ||
c5bb1243 JK |
33 | 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com> |
34 | ||
35 | Updates to "make TAGS": | |
36 | * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s | |
37 | arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c | |
38 | tahoe-tdep.c. | |
39 | (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS). | |
40 | ||
c799ae7b EZ |
41 | 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
42 | ||
43 | * config/djgpp/fnchange.lst: Remove extraneous "too many dots". | |
44 | ||
12685e01 AC |
45 | Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com> |
46 | ||
47 | From Dean Luick <luick@cray.com>: | |
48 | * defs.h (continuation): Remove unused global variable. | |
49 | ||
7fcca85b AC |
50 | Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com> |
51 | ||
52 | * configure.tgt: Remove references to convex, pyramid, altos and | |
53 | tahoe. | |
54 | * configure.host: Ditto. | |
55 | * MAINTAINERS: Ditto. | |
56 | * NEWS: Update. | |
57 | ||
58 | * tahoe-tdep.c: Delete obsolete file. | |
59 | * pyr-xdep.c: Ditto. | |
60 | * pyr-tdep.c: Ditto. | |
61 | * convex-tdep.c: Ditto. | |
62 | * convex-xdep.c: Ditto. | |
63 | * config/tahoe/xm-tahoe.h: Ditto. | |
64 | * config/tahoe/tm-tahoe.h: Ditto. | |
65 | * config/tahoe/tahoe.mt: Ditto. | |
66 | * config/tahoe/tahoe.mh: Ditto. | |
67 | * config/pyr/xm-pyr.h: Ditto. | |
68 | * config/pyr/tm-pyr.h: Ditto. | |
69 | * config/pyr/pyramid.mt: Ditto. | |
70 | * config/pyr/pyramid.mh: Ditto. | |
71 | * config/m68k/xm-altos.h: Ditto. | |
72 | * config/m68k/tm-altos.h: Ditto. | |
73 | * config/m68k/altos.mt: Ditto. | |
74 | * config/m68k/altos.mh: Ditto. | |
75 | * config/convex/xm-convex.h: Ditto. | |
76 | * config/convex/tm-convex.h: Ditto. | |
77 | * config/convex/convex.mt: Ditto. | |
78 | * config/convex/convex.mh: Ditto. | |
79 | * config/convex/Convex.notes: Ditto. | |
80 | * config/arm/xm-arm.h: Ditto. | |
81 | * config/arm/nm-arm.h: Ditto. | |
82 | * config/arm/arm.mt: Ditto. | |
83 | * config/arm/arm.mh: Ditto. | |
84 | * arm-convert.s: Ditto. | |
85 | * arm-xdep.c: Ditto. | |
86 | * altos-xdep.c: Ditto. | |
87 | ||
8e65ff28 AC |
88 | Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com> |
89 | ||
90 | * defs.h (internal_error, internal_verror): Add __FILE__ and | |
91 | __LINE__ parameter. | |
92 | * utils.c (internal_error, internal_verror): Update. | |
93 | ||
94 | * v850-tdep.c: Update calls to internal_error. | |
95 | * utils.c: Ditto. | |
96 | * ui-out.c: Ditto. | |
97 | * ui-file.c: Ditto. | |
98 | * target.h: Ditto. | |
99 | * symtab.h: Ditto. | |
100 | * symm-nat.c: Ditto. | |
101 | * sparc-tdep.c: Ditto. | |
102 | * source.c: Ditto. | |
103 | * serial.c: Ditto. | |
104 | * rs6000-tdep.c: Ditto. | |
105 | * rs6000-nat.c: Ditto. | |
106 | * remote.c: Ditto. | |
107 | * remote-vx.c: Ditto. | |
108 | * remote-sim.c: Ditto. | |
109 | * remote-mips.c: Ditto. | |
110 | * regcache.c: Ditto. | |
111 | * objfiles.h: Ditto. | |
112 | * objfiles.c: Ditto. | |
113 | * mn10300-tdep.c: Ditto. | |
114 | * mips-tdep.c: Ditto. | |
115 | * maint.c: Ditto. | |
116 | * m68k-tdep.c: Ditto. | |
117 | * m3-nat.c: Ditto. | |
118 | * language.c: Ditto. | |
119 | * infptrace.c: Ditto. | |
120 | * inferior.h: Ditto. | |
121 | * infcmd.c: Ditto. | |
122 | * ia64-tdep.c: Ditto. | |
123 | * i386-tdep.c: Ditto. | |
124 | * i386-linux-nat.c: Ditto. | |
125 | * hppah-nat.c: Ditto. | |
126 | * go32-nat.c: Ditto. | |
127 | * findvar.c: Ditto. | |
128 | * f-lang.c: Ditto. | |
129 | * elfread.c: Ditto. | |
130 | * event-loop.c: Ditto. | |
131 | * dwarf2read.c: Ditto. | |
132 | * dsrec.c: Ditto. | |
133 | * d30v-tdep.c: Ditto. | |
134 | * d10v-tdep.c: Ditto. | |
135 | * cli/cli-setshow.c: Ditto. | |
136 | * cli/cli-script.c: Ditto. | |
137 | * ch-exp.c: Ditto. | |
138 | * breakpoint.c: Ditto. | |
139 | * ax-gdb.c: Ditto. | |
140 | * arch-utils.c: Ditto. | |
141 | * a29k-tdep.c: Ditto. | |
142 | * gdb_assert.h: Ditto. | |
143 | * gdbarch.sh: Ditto. | |
144 | * gdbarch.h, gdbarch.c: Re-generate. | |
145 | ||
72290732 AC |
146 | 2001-02-07 Andrew Cagney <ac131313@redhat.com> |
147 | ||
148 | From Mark Kettenis <kettenis@gnu.org>: | |
149 | * event-top.h [!STOP_SIGNAL]: #include <signal.h>. | |
150 | ||
a6da1910 AC |
151 | 2001-02-07 Andrew Cagney <ac131313@redhat.com> |
152 | ||
153 | * remote-sim.c (dump_mem): Cleanup printf format argument. | |
154 | * MAINTAINERS: Update, mn10300-elf now builds. | |
155 | ||
153f9905 MK |
156 | 2001-02-07 Mark Kettenis <kettenis@gnu.org> |
157 | ||
158 | * event-top.c: Remove duplicate #include <signal.h>. | |
159 | ||
f042532c AC |
160 | 2001-02-06 Andrew Cagney <ac131313@redhat.com> |
161 | ||
162 | * sol-thread.c (restore_inferior_pid): Save the PID in a freshly | |
163 | allocated buffer. | |
164 | (save_inferior_pid): Restore the PID from that tempoary | |
165 | buffer. Delete the buffer. | |
166 | * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD. | |
167 | ||
58cfabe6 AC |
168 | 2001-02-06 Andrew Cagney <ac131313@redhat.com> |
169 | ||
170 | * MAINTAINERS: Add ``The Obvious Fix Rule''. | |
171 | ||
ea8a41b8 AC |
172 | 2001-02-06 Andrew Cagney <ac131313@redhat.com> |
173 | ||
174 | * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list. | |
175 | ||
95160752 AC |
176 | 2001-02-06 Andrew Cagney <ac131313@cygnus.com> |
177 | ||
178 | * gdbarch.sh: Include "gdb_assert.h". | |
179 | (struct gdbarch): Change ``nr_data'' to unsigned. | |
180 | (alloc_gdbarch_data, free_gdbarch_data): New functions. | |
181 | (gdbarch_free): Free the data-pointer vector. Use xfree to delete | |
182 | architecture vector. | |
183 | (struct gdbarch_data, struct gdbarch_data_registration): Move init | |
184 | method to gdbarch_data. Add free method, make index unsigned. | |
185 | (struct gdbarch_data_registry): Make nr unsigned. | |
186 | (register_gdbarch_data): Add free parameter. Store in | |
187 | gdbarch_data. | |
188 | (init_gdbarch_data): Use set_gdbarch_data. | |
189 | (set_gdbarch_data): New function. | |
190 | ||
191 | * gdbarch.h, gdbarch.c: Re-generate. | |
192 | ||
64122a8b MS |
193 | 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG> |
194 | ||
195 | * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call | |
196 | fprintf_filtered with correct arguments. | |
197 | ||
e6cbd02a MS |
198 | 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com> |
199 | Submitted by Paul Hilfinger (hilfingr@gnat.com) | |
200 | and Andrei Petrov (and@genesyslab.com). | |
201 | * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES | |
202 | must be allocated dynamically, since these are no longer constants. | |
203 | * infcmd.c: Ditto. | |
204 | * regcache.c: Ditto. | |
205 | * remote.c: Ditto. | |
206 | * sol-thread.c: Ditto. | |
207 | * valops.c: Ditto. | |
208 | * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a | |
209 | work-around for a missing Sun header file in solaris for sparc64. | |
210 | ||
713f0374 PB |
211 | 2001-02-04 Philip Blundell <philb@gnu.org> |
212 | ||
213 | * config/arm/linux.mh (NATDEPFILES): Add proc-service.o, | |
214 | thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o. | |
215 | * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP, | |
216 | GET_THREAD_SIGNALS): Define. | |
217 | * arm-linux-nat.c (fill_gregset): Correct type of argument. | |
218 | (supply_gregset): Likewise. | |
219 | (fill_fpregset): Likewise. | |
220 | (supply_fpregset): Likewise. | |
221 | ||
4603e466 DT |
222 | Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com> |
223 | ||
224 | * valops.c (value_cast): If casting a scalar to a pointer, do not | |
225 | issue a message about truncation unless it exceeds the length of | |
226 | an address, not the length of a pointer. This is because what the | |
227 | user gives us is an address, not a pointer, and we will ultimately | |
228 | convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it | |
229 | to a pointer. This allows things like "print *(int *)0x01000234" | |
230 | to work without generating a misleading message on a target having | |
231 | two byte pointers and four byte addresses. | |
232 | ||
554cb486 CF |
233 | 2001-02-05 Christopher Faylor <cgf@cygnus.com> |
234 | ||
235 | * win32-nat.c: Change PTR to void * throughout. | |
236 | ||
042be3a9 C |
237 | 2001-02-05 J.T. Conklin <jtc@redback.com> |
238 | ||
239 | * signals.h: Removed. | |
240 | * event-top.c (#include <signal.h>): Changed from signals.h. | |
241 | * inflow.c: Likewise. | |
242 | * mac-xdep.c: Likewise. | |
243 | * ser-pipe.c: Likewise. | |
244 | * ser-tcp.c: Likewise. | |
245 | * standalone.c: Likewise. | |
246 | * top.c: Likewise. | |
247 | * utils.c: Likewise. | |
248 | * Makefile.in: Removed signals.h from dependencies. | |
249 | ||
a4acd088 CF |
250 | 2001-02-05 Christopher Faylor <cgf@cygnus.com> |
251 | ||
252 | Change suggested by Dean Luick <luick@cray.com> | |
253 | * inferior.h (step_over_calls_kind): Remove trailing comma from | |
254 | last enum element. | |
255 | (step_over_calls): Declare as extern rather than global. | |
256 | ||
3116c80a EZ |
257 | 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
258 | ||
259 | * sh-tdep.c: Update copyright. | |
260 | (sh_extract_return_value): Rewrite. | |
261 | (sh3e_sh4_extract_return_value): New function. | |
262 | (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new | |
263 | version of the function for sh3e and sh4 CPUs. | |
264 | ||
240be855 MC |
265 | 2001-02-05 Michael Chastain <chastain@redhat.com> |
266 | ||
267 | * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *' | |
268 | to conform with interface change. | |
269 | ||
a17b5c4e EZ |
270 | 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il> |
271 | ||
32fe0950 EZ |
272 | * config/djgpp/fnchange.lst: Tweak to make consistent with the |
273 | new files. | |
274 | ||
619cbaf7 EZ |
275 | * config/djgpp/djconfig.sh: Use explicit absolute file name when |
276 | invoking `find'. | |
277 | ||
cd42d3a8 EZ |
278 | * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if |
279 | UART_FIFO_WORKS is defined. Otherwise use outportb. | |
280 | From Francisco Pastor <fpastor.etra-id@etra.es> | |
281 | ||
a17b5c4e EZ |
282 | * go32-nat.c (go32_xfer_memory): Make the argument list consistent |
283 | with target.h's `to_xfer_memory' member. | |
284 | ||
86ddecc5 C |
285 | 2001-02-02 J.T. Conklin <jtc@redback.com> |
286 | ||
287 | * ppc-bdm.c (#include <signal.h>): Removed. | |
288 | * remote-array.c: Likewise. | |
289 | * remote-bug.c: Likewise. | |
290 | * remote-e7000.c: Likewise. | |
291 | * remote-mips.c: Likewise. | |
292 | * remote-os9k.c: Likewise. | |
293 | * remote-st.c: Likewise. | |
294 | * remote-udi.c: Likewise. | |
295 | * remote-vx29k.c: Likewise. | |
296 | * remote-vx68.c: Likewise. | |
297 | * remote-vx960.c: Likewise. | |
298 | * remote-vxmips.c: Likewise. | |
299 | * remote-vxsparc.c: Likewise. | |
300 | ||
338d7c5c JM |
301 | 2001-02-02 John Moore <jmoore@redhat.com> |
302 | ||
303 | * remote-utils.h (sr_set_device): Changed free() to xfree() where | |
304 | appropriate. Also changed Copyright to include 2001. | |
305 | * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise. | |
306 | * value.h (value_free): Likewise. | |
307 | * gdbarch.sh (gdbarch_free): Likewise. | |
308 | * gdbarch.c, gdbarch.h: Regenerated. | |
309 | ||
2b5436af JM |
310 | 2001-02-02 John Moore <jmoore@redhat.com> |
311 | ||
312 | * cli/cli-cmds.c (apropos_command): Changed occurance of free() to | |
338d7c5c | 313 | xfree(). Also changed Copyright to include 2001. |
2b5436af | 314 | |
82467003 C |
315 | 2001-02-02 J.T. Conklin <jtc@redback.com> |
316 | ||
317 | * monitor.c (#include "gdb_wait.h"): Removed. | |
318 | * ocd.c: Likewise. | |
319 | * ppc-bdm.c: Likewise. | |
320 | * remote-adapt.c: Likewise. | |
321 | * remote-array.c: Likewise. | |
322 | * remote-bug.c: Likewise. | |
323 | * remote-e7000.c: Likewise. | |
324 | * remote-eb.c: Likewise. | |
325 | * remote-es.c: Likewise. | |
326 | * remote-mips.c: Likewise. | |
327 | * remote-mm.c: Likewise. | |
328 | * remote-nindy.c: Likewise. | |
329 | * remote-os9k.c: Likewise. | |
330 | * remote-rdi.c: Likewise. | |
331 | * remote-rdp.c: Likewise. | |
332 | * remote-sds.c: Likewise. | |
333 | * remote-sim.c: Likewise. | |
334 | * remote-st.c: Likewise. | |
335 | * remote-udi.c: Likewise. | |
336 | * remote-vx.c: Likewise. | |
337 | * remote-vx29k.c: Likewise. | |
338 | * remote-vx68.c: Likewise. | |
339 | * remote-vx960.c: Likewise. | |
340 | * remote-vxmips.c: Likewise. | |
341 | * remote-vxsparc.c: Likewise. | |
342 | * remote.c: Likewise. | |
343 | * ser-pipe.c: Likewise. | |
344 | * ser-unix.c: Likewise. | |
345 | * Makefile.in: Updated dependencies. | |
346 | ||
27b82ed2 DS |
347 | 2001-01-31 David Smith <dsmith@redhat.com> |
348 | ||
349 | * event-loop.c: Change inclusion of string.h to gdb_string.h and | |
350 | updated the copyright notice. | |
351 | * ser-pipe.c: Ditto. | |
352 | * mi/mi-cmds.c: Ditto. | |
353 | * mi/mi-console.c: Ditto. | |
354 | * mi/mi-getopt.c: Ditto. | |
355 | * mi/mi-parse.c: Ditto. | |
356 | ||
ab9cc815 DS |
357 | 2001-01-31 David Smith <dsmith@redhat.com> |
358 | ||
359 | * MAINTAINERS: Add David Smith to Write After Approval list. | |
360 | ||
d1f4cff8 AC |
361 | Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com> |
362 | ||
363 | * cli/cli-utils.c (putchar_filtered): Move function from here. | |
364 | * utils.c (putchar_filtered): To here. | |
365 | * cli/cli-utils.h (putchar_filtered): Move declaration from here. | |
366 | * defs.h (putchar_filtered): To here. | |
367 | ||
74c1b268 AC |
368 | Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com> |
369 | ||
370 | * configure.in (AC_CHECK_FUNCS): Replace vfork test with | |
371 | AC_FUNC_VFORK macro. | |
372 | * config.in, configure: Re-generate. | |
373 | ||
374 | * gdb_vfork.h: New file. | |
375 | * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h". | |
376 | * fork-child.c (fork_inferior): Ditto. | |
377 | ||
4fcf66da AC |
378 | Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com> |
379 | ||
380 | * defs.h (strsave): Delete declaration. | |
381 | * utils.c (strsave): Delete definition. | |
382 | * TODO (strsave): Update | |
383 | ||
384 | * mac-xdep.c (tilde_expand): Replace strsave with xstrdup. | |
385 | * sparcl-tdep.c (sparclite_open): Ditto. | |
386 | * mips-tdep.c (mips_set_processor_type_command): Ditto. | |
387 | (_initialize_mips_tdep): Ditto. | |
388 | * solib.c (solib_open): Ditto. | |
389 | * symfile.c (add_filename_language): Ditto. | |
390 | (set_ext_lang_command): Ditto. | |
391 | * source.c (init_source_path): Ditto. | |
392 | (mod_path): Ditto. | |
393 | * sh3-rom.c (sh3_open): Ditto. | |
394 | (sh3e_open): Ditto. | |
395 | * serial.c (serial_open): Ditto. | |
396 | * remote-mips.c (common_open): Ditto. | |
397 | * monitor.c (monitor_open): Ditto. | |
398 | * m32r-rom.c (m32r_upload_command): Ditto. | |
399 | * infcmd.c (path_command): Ditto. | |
400 | * f-exp.y (parse_number): Ditto. | |
401 | * breakpoint.c (create_longjmp_breakpoint): Ditto. | |
402 | (create_thread_event_breakpoint): Ditto. | |
403 | * arc-tdep.c (arc_set_cpu_type_command): Ditto. | |
404 | (_initialize_arc_tdep): Ditto. | |
405 | ||
e191e0ab AC |
406 | Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil> |
407 | ||
408 | * cli/cli-script.c (define_command): Check for a bad hook value in | |
409 | switch statement. | |
410 | ||
10214f55 C |
411 | 2001-01-30 J.T. Conklin <jtc@redback.com> |
412 | ||
413 | * configure/sh/embed.mt: New file. | |
414 | * configure/sh/linux.mt: New file. | |
415 | * configure/sh/sh.mt: Removed. | |
416 | * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets. | |
417 | (sh-*-*): Removed. | |
418 | ||
c9049fc9 MC |
419 | 2001-01-29 Michael Chastain <chastain@redhat.com> |
420 | ||
421 | * symtab.c (block_lookup_symbol): Use 'namespace' parameter in | |
422 | symbol comparisons in binary search. | |
423 | ||
aea02b6b CF |
424 | 2000-01-27 Christopher Faylor <cgf@cygnus.com> |
425 | ||
426 | * win32-nat.c (child_xfer_memory): Add missing argument required by | |
427 | 2001-01-23 change. | |
428 | ||
e6e0bfab MK |
429 | 2001-01-27 Mark Kettenis <kettenis@gnu.org> |
430 | ||
431 | * ui-out.c (do_list_end): New function. | |
432 | (make_cleanup_ui_out_list_end): New function. | |
433 | * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end. | |
434 | * stack.c (print_frame) [UI_OUT]: Call | |
435 | make_cleanup_ui_out_list_end to make sure we mark the end of the | |
436 | list if we do a non-local exit. At the end of the function, | |
437 | instead of calling ui_out_list_end directly, let do_cleanups | |
438 | handle it. | |
439 | ||
1adeb98a FN |
440 | 2001-01-26 Fernando Nasser <fnasser@redhat.com> |
441 | ||
442 | Fix double parsing of filenames passed as command line arguments | |
443 | to GDB (causes weird handling of escape characters). | |
444 | Also, remove dependencies on the CLI from libgdb. | |
445 | * call-cmds.h: Remove declaration of exec_file_command(). | |
446 | * gdbcore.h: Remove declaration of exec_file_command(). | |
447 | Add declarations for exec_open() and exec_file_clear(). | |
448 | * symfile.h: Add declarations for symbol_file_add_main() and | |
449 | symbol_file_clear(). | |
450 | * exec.c (exec_open): New function. Implements to_open for exec | |
451 | targets. | |
452 | (exec_file_clear): New function. Makes GDB forget about a previously | |
453 | specified executable file. | |
454 | (exec_file_attach): Move parsing of arguments from here ... | |
455 | (exec_file_command): ... to here. | |
456 | (init_exec_ops): Use exec_open(), not exec_file_command() to | |
457 | implement to_open for exec targets. | |
458 | * symfile.c (symbol_file_add_main): New function. Call symbol_file_add() | |
459 | with default values. Used when the file name has already been parsed. | |
460 | (symbol_file_clear): New function. Makes GDB forget about previously | |
461 | read symbols. | |
462 | (symbol_file_command): Call the above function instead of inline code. | |
463 | * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated | |
464 | "call-cmds.h". | |
465 | (captured_main): Call exec_file_attach() and symbol_file_add_main() | |
466 | instead of exec_file_command() and symbol_file_command(). | |
467 | (captured_main): Add comment. | |
468 | * corefile.c: Include "symfile.h". | |
469 | (core_file_command): Call symbol_file_add_main() instead of | |
470 | symbol_file_command(). | |
471 | (reopen_exec_file): Call exec_open() instead of exec_file_command(). | |
472 | * infcmd.c: Include "symfile.h". | |
473 | (attach_command): Call symbol_file_add_main() instead of | |
474 | symbol_file_command(). | |
475 | * infrun.c: Remove comment about the inclusion of "symfile.h", | |
476 | not any longer appropriate. | |
477 | (follow_exec): Call symbol_file_add_main() instead of | |
478 | symbol_file_command(). | |
479 | * remote-es.c: Include "symfile.h". | |
480 | (es1800_load): Call symbol_file_add_main() instead of | |
481 | symbol_file_command(). | |
482 | * remote-vx.c: Remove comment about the inclusion of "symfile.h", | |
483 | not any longer appropriate. | |
484 | (vx-wait): Call symbol_file_add_main() instead of | |
485 | symbol_file_command(). | |
486 | * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main() | |
487 | instead of symbol_file_command(). | |
488 | * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and | |
489 | symbol_file_add_main() instead of exec_file_command() and | |
490 | symbol_file_command(). | |
491 | * Makefile.in: Update dependencies. | |
492 | ||
5b616ba1 JH |
493 | 2001-01-26 Jeff Holcomb <jeffh@redhat.com> |
494 | ||
495 | * remote-udi.c (udi_open): Change strdup to xstrdup. | |
496 | * thread.c (thread_apply_all_command): Change strdup to xstrdup. | |
497 | Update copyright message. | |
498 | * varobj.c (delete_variable_1): Likewise. | |
499 | ||
500 | * gdb_string.h: Remove declaration of strdup. Update copyright | |
501 | message. | |
502 | * config/xm-mpw.h: Likewise. | |
503 | * config/i386/xm-i386mach.h: Likewise. | |
504 | * config/m68k/xm-apollo68b.h: Likewise. | |
505 | * config/m68k/xm-hp300bsd.h: Likewise. | |
506 | * config/rs6000/xm-rs6000.h: Likewise. | |
507 | * config/vax/xm-vaxult.h: Remove declaration of strdup. | |
508 | * config/vax/xm-vaxult2.h: Likewise. | |
509 | ||
b91d87cf JH |
510 | 2001-01-26 Jeff Holcomb <jeffh@redhat.com> |
511 | ||
512 | * MAINTAINERS: Add Jeff Holcomb to Write After Approval list. | |
513 | ||
873406a6 C |
514 | 2001-01-25 J.T. Conklin <jtc@redback.com> |
515 | ||
516 | * target.c (target_xfer_memory_partial): Return -1 on failure due | |
517 | to invalid access mode attribute. | |
518 | ||
0613c401 CF |
519 | 2001-01-25 Christopher Faylor <cgf@cygnus.com> |
520 | ||
521 | * win32-nat.c (_initialize_core_win32): Prototype correctly. | |
522 | ||
efd59e3f MK |
523 | 2001-01-25 Mark Kettenis <kettenis@gnu.org> |
524 | ||
525 | * config/alpha/tm-fbsd.h: Update copyright. | |
526 | (USE_STRUCT_CONVENTION): Define in terms of | |
527 | alphabsd_use_struct_convention. | |
528 | * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c. | |
529 | * alphafbsd-tdep.c: New file. | |
530 | ||
388e1ff2 FN |
531 | 2001-01-24 Fernando Nasser <fnasser@redhat.com> |
532 | ||
533 | * top.c (print_gdb_version): Update Copyright year. | |
534 | ||
f4d650ec C |
535 | 2001-01-24 J.T. Conklin <jtc@redback.com> |
536 | ||
537 | * dcache.c (dcache_write_line): Fix typo. | |
538 | ||
539 | * memattr.c (delete_mem_region): Replace free() with xfree(). | |
540 | (mem_number): Add explicit type. | |
541 | ||
542 | * sol-thread.c (sol_thread_xfer_memory): Add attrib argument. | |
543 | (rw_common): Likewise. | |
544 | ||
07091751 FN |
545 | 2001-01-24 Fernando Nasser <fnasser@redhat.com> |
546 | ||
547 | * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions | |
548 | for the inferior program arguments. | |
549 | (run_command, run_no_args_command, init_infcmd)): Use accessor | |
550 | functions to set the inferior program arguments. | |
551 | * inferior.h: Add definitions to the accessor functions above. | |
552 | ||
090c42a4 JB |
553 | 2001-01-23 Jim Blandy <jimb@redhat.com> |
554 | ||
555 | * dwarf2read.c (read_tag_const_type, read_tag_volatile_type): | |
556 | Implement these correctly, using make_cv_type. | |
557 | ||
f29d9b6d | 558 | 2001-01-23 J.T. Conklin <jtc@redback.com> |
29e57380 C |
559 | |
560 | * exec.c (xfer_memory): Add attrib argument. | |
561 | * infptrace.c (child_xfer_memory): Likewise. | |
e5da8f38 | 562 | * lin-lwp.c (lin_lwp_xfer_memory): Likewise. |
29e57380 C |
563 | * monitor.c (monitor_xfer_memory): Likewise. |
564 | * remote-adapt.c (adapt_xfer_inferior_memory): Likewise. | |
565 | * remote-array.c (array_xfer_memory): Likewise. | |
566 | * remote-bug.c (bug_xfer_memory): Likewise. | |
567 | * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. | |
568 | * remote-eb.c (eb_xfer_inferior_memory): Likewise. | |
569 | * remote-es.c (es1800_xfer_inferior_memory): Likewise. | |
570 | * remote-mips.c (mips_xfer_memory): Likewise. | |
571 | * remote-mm.c (mm_xfer_inferior_memory): Likewise. | |
572 | * remote-nindy.c (nindy_xfer_inferior_memory): Likewise. | |
573 | * remote-os9k.c (rombug_xfer_inferior_memory): Likewise. | |
574 | * remote-rdi.c (arm_rdi_xfer_memory): Likewise. | |
575 | * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise. | |
576 | * remote-sds.c (sds_xfer_memory): Likewise. | |
577 | * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise. | |
578 | * remote-st.c (st2000_xfer_inferior_memory): Likewise. | |
579 | * remote-udi.c (udi_xfer_inferior_memory): Likewise. | |
580 | * remote-vx.c (vx_xfer_memory): Likewise. | |
581 | * remote.c (remote_xfer_memory): Likewise. | |
582 | * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise. | |
583 | * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise. | |
e5da8f38 | 584 | * thread-db.c (thread_db_xfer_memory): Likewise. |
29e57380 C |
585 | |
586 | * target.h (#include "memattr.h"): Added. | |
587 | (target_ops.to_xfer_memory): Add attrib argument. | |
588 | ||
589 | * wince.c (_initialize_inftarg): Removed call to set_dcache_state. | |
590 | * dcache.h (set_dcache_state): Removed declaration. | |
591 | * dcache.c (set_dcache_state): Removed definition | |
592 | ||
593 | * dcache.c: Update module comment, as dcache is now enabled and | |
594 | disabled with memory region attributes instead of by the global | |
595 | variable "remotecache". Add comment describing the interaction | |
596 | between dcache and memory region attributes. | |
597 | (dcache_xfer_memory): Add comment describing benefits of moving | |
598 | cache writeback to a higher level. | |
599 | (dcache_struct): Removed cache_has_stuff field. This was used to | |
600 | record whether the cache had been accessed in order to invalidate | |
601 | it when it was disabled. However, this is not needed because the | |
602 | cache is write through and the code that enables, disables, and | |
603 | deletes memory regions invalidate the cache. Add comment which | |
604 | suggests that we could be more selective and only invalidate those | |
605 | cache lines containing data from those memory regions. | |
606 | (dcache_invalidate): Updated. | |
607 | (dcache_xfer_memory): Updated. | |
f29d9b6d | 608 | |
29e57380 C |
609 | (dcache_alloc): Don't abort() if dcache_enabled_p is clear. |
610 | (dcache_xfer_memory): Removed code that called do_xfer_memory() to | |
611 | perform a uncached transfer if dcache_enabled_p was clear. This | |
612 | function is now only called if caching is enabled for the memory | |
613 | region. | |
614 | (dcache_info): Always print cache info. | |
615 | ||
616 | * target.c (do_xfer_memory): Add attrib argument. | |
617 | (target_xfer_memory, target_xfer_memory_partial): Break transfer | |
618 | into chunks defined by memory regions, pass region attributes to | |
619 | do_xfer_memory(). | |
620 | * dcache.c (dcache_read_line, dcache_write_line): Likewise. | |
621 | ||
622 | * Makefile.in (SFILES): Add memattr.c. | |
623 | (COMMON_OBS): Add memattr.o. | |
624 | (dcache.o): Add target.h to dependencies. | |
625 | * memattr.c: New file. | |
626 | * memattr.h: Likewise. | |
627 | ||
f29d9b6d C |
628 | * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a. |
629 | * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise. | |
630 | * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise. | |
631 | * gdbserver/low-sim.c (#include "defs.h"): Removed. | |
632 | (mygeneric_load): Rename from generic_load. | |
633 | ||
634 | * gdbserver/low-hppabsd.c (#include "server.h"): Added. | |
635 | (#include "defs.h"): Removed. | |
636 | (inferior_pid, perror_with_name): Remove declarations. | |
637 | * gdbserver/low-linux.c: Likewise. | |
638 | * gdbserver/low-nbsd.c: Likewise. | |
639 | * gdbserver/low-sparc.c: Likewise. | |
640 | * gdbserver/low-sun3.c: Likewise. | |
641 | ||
642 | * i386-stub.c: Re-indent. | |
643 | * m68k-stub.c: Re-indent. | |
644 | ||
58d5518e ND |
645 | 2001-01-22 Nicholas Duffek <nsd@redhat.com> |
646 | ||
647 | * gdbarch.sh (PARM_BOUNDARY): Define. | |
648 | * gdbarch.c: Regenerate. | |
649 | * gdbarch.h: Regenerate. | |
650 | ||
f6427ade C |
651 | 2001-01-22 J.T. Conklin <jtc@redback.com> |
652 | ||
653 | * ns32k-tdep.c: #include "frame.h" | |
654 | * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It | |
655 | appears to have been inadvertantly removed sometime in May 1999. | |
656 | ||
657 | * Revert 2000-11-09 changes where shared library objects were | |
658 | moved from NATDEPFILES to TDEPFILES on NetBSD targets. While | |
659 | we'd like to be able to debug dynamically linked executables, | |
660 | this makes it impossible to build a cross debugger on a many | |
661 | hosts. | |
662 | ||
663 | * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES. | |
664 | * config/i386/nbsdelf.mt: Likewise. | |
665 | * config/m68k/nbsd.mt: Likewise. | |
666 | * config/ns32k/nbsd.mt: Likewise. | |
667 | * config/powerpc/nbsd.mt: Likewise. | |
668 | * config/sparc/nbsd.mt: Likewise. | |
669 | * config/sparc/nbsdelf.mt: Likewise. | |
670 | * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES. | |
671 | * config/i386/nbsdelf.mh: Likewise. | |
672 | * config/m68k/nbsd.mh: Likewise. | |
673 | * config/ns32k/nbsd.mh: Likewise. | |
674 | * config/powerpc/nbsd.mh: Likewise. | |
675 | * config/sparc/nbsd.mh: Likewise. | |
676 | ||
8052a17a JM |
677 | 2001-01-19 Jason Merrill <jason@redhat.com> |
678 | ||
679 | * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++. | |
680 | (process_one_symbol): Likewise. | |
681 | * dwarfread.c (handle_producer): Likewise. | |
682 | ||
21a6f6bb AC |
683 | Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com> |
684 | ||
685 | * configure.in (build_warnings): Disable -Wuninitialized until GDB | |
686 | compiles with -Wuninitialized,-Werror. | |
687 | * configure: Regenerate. | |
688 | ||
689 | * MAINTAINERS: Add list of buildable targets. | |
690 | ||
494b7ec9 AC |
691 | Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com> |
692 | ||
693 | * defs.h (STRCMP): Delete macro. | |
694 | ||
695 | * objfiles.c (objfile_relocate): Replace STRCMP with call to | |
696 | strcmp. | |
697 | * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto. | |
698 | * symfile.c (compare_symbols): Ditto. | |
699 | * standalone.c (open): Ditto. | |
700 | * remote-es.c (verify_break): Ditto. | |
701 | * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto. | |
702 | ||
703 | * symfile.c (compare_psymbols): Delete comment refering to STRCMP. | |
704 | ||
8038e1e2 AC |
705 | Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com> |
706 | ||
707 | * varobj.c (FREEIF): Delete macro. | |
708 | (varobj_set_value, free_variable): Replace FREEIF with ``xfree'' | |
709 | call. | |
710 | ||
ea8d0b28 NC |
711 | 2001-01-18 Nick Clifton <nickc@redhat.com> |
712 | ||
713 | * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers. | |
714 | (arc_print_insn): No bfd available, so pass NULL to | |
715 | arc_get_disassembler. | |
716 | ||
5dbd9048 JB |
717 | 2001-01-09 James Ingham <jingham@inghji.apple.com> |
718 | ||
719 | * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup | |
720 | a mangled symbol rather than recursing into lookup_symbol, since | |
721 | this will just re-unmangle the name & call lookup_symbol_aux - | |
722 | leading to an infinite recursion. | |
723 | ||
28ae27b1 MK |
724 | 2001-01-18 Mark Kettenis <kettenis@gnu.org> |
725 | ||
726 | * infcmd.c (print_return_value): Restore another space lost by | |
727 | switch to UIOUT. ``$NN='' should be ``$NN =''. | |
728 | ||
6ab3a9c9 AC |
729 | Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com> |
730 | ||
731 | * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT) | |
732 | * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro | |
733 | definition in parenthesis. | |
734 | ||
ad6525fc AC |
735 | Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com> |
736 | ||
737 | From 2000-10-27 Mark Salter <msalter@redhat.com>: | |
738 | * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z | |
739 | packet. | |
740 | (remote_insert_hw_breakpoint): Ditto. | |
741 | ||
6259c7e2 C |
742 | 2001-01-17 J.T. Conklin <jtc@redback.com> |
743 | ||
744 | * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define. | |
9c95b27f | 745 | (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf. |
6259c7e2 C |
746 | * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o. |
747 | * m68knbsd-tdep.c: New file. | |
748 | ||
749 | * i386nbsd-tdep.c: Remove #if 0'd out #includes. | |
750 | ||
751 | * m68knbsd-nat.c: #include gdbcore.h. | |
752 | ||
abdcb2a5 AC |
753 | Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com> |
754 | ||
755 | * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs. | |
756 | ||
e7a8479f MS |
757 | 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com> |
758 | ||
aaeb7efa MS |
759 | * procfs.c (procfs_stopped_by_watchpoint): Don't die if process |
760 | goes away -- just return false (ie. not stopped by watchpoint). | |
e7a8479f MS |
761 | * source.c (openp): Fix typo in comment. |
762 | ||
7036d6ce ND |
763 | 2001-01-12 Nicholas Duffek <nsd@redhat.com> |
764 | ||
765 | * blockframe.c (generic_get_saved_register): Spelling fix. | |
766 | * frame.h (FRAME_FP): Spelling fix. | |
767 | ||
9549d9c1 AC |
768 | Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com> |
769 | ||
770 | * infcmd.c (print_return_value): Restore space lost by switch to | |
771 | UIOUT. ``$NN='' should be ``$NN =''. | |
772 | ||
7302a204 ND |
773 | 2001-01-08 Nicholas Duffek <nsd@redhat.com> |
774 | ||
775 | * regcache.c (set_register_cached, register_buffer, | |
776 | real_register, pseudo_register fetch_register, store_register): | |
777 | New functions. | |
778 | (register_changed, read_relative_register_raw_bytes_for_frame, | |
779 | registers_changed, registers_fetched, read_register_bytes, | |
780 | read_register_gen, write_register_gen, read_register, | |
781 | read_signed_register, write_register, supply_register): Replace | |
782 | register_valid[] with register_cached() and | |
783 | set_register_cached(). | |
784 | (read_register_bytes, read_register_gen, write_register_gen, | |
785 | read_register, read_signed_register, write_register, | |
786 | supply_register): Replace registers[] with register_buffer(). | |
787 | (read_register_bytes, read_register_gen, read_register, | |
788 | read_signed_register): Call fetch_register(). | |
789 | (write_register_gen, write_register): Call real_register() and | |
790 | store_register(). | |
791 | (write_register_bytes): Call store_register(). | |
792 | * value.h (set_register_cached, register_buffer): Prototype. | |
793 | * remote.c (remote_fetch_registers): Allocate regs[] with a | |
794 | run-time size. Replace register_valid[] with | |
795 | set_register_cached(). | |
796 | (store_register_using_P, remote_store_registers): Replace | |
797 | registers[] with register_buffer(). | |
798 | ||
5ebd2499 ND |
799 | 2001-01-08 Nicholas Duffek <nsd@redhat.com> |
800 | ||
801 | * regcache.c: Change "write-back" comment to "write-through". | |
802 | Change "regno" to "regnum". | |
803 | (read_register, read_signed_register): Remove "raw" from return | |
804 | value description. | |
805 | (supply_register): Spelling fix. | |
806 | * value.h: Change "regno" to "regnum". | |
807 | ||
1302fd5e FN |
808 | 2001-01-08 Fernando Nasser <fnasser@redhat.com> |
809 | ||
810 | * Makefile.in (install-gdbtk): Add .itcl files to the list of files | |
811 | to be installed. | |
812 | ||
9dcb560c MS |
813 | 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com> |
814 | ||
815 | * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment. | |
816 | ||
0e2fb98e ND |
817 | 2001-01-04 Nicholas Duffek <nsd@redhat.com> |
818 | ||
819 | * valops.c (VALUE_SUBSTRING_START): Delete. | |
820 | ||
12cf3f1b ND |
821 | 2001-01-04 Nicholas Duffek <nsd@redhat.com> |
822 | ||
823 | * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o. | |
824 | (SUBDIR_CLI_SRCS): Add cli/cli-utils.c. | |
825 | (cli_utils_h): New variable. | |
826 | (cli/cli-utils.o): New rule. | |
827 | * cli/cli-utils.c: New file. | |
828 | * cli/cli-utils.h: New file. | |
829 | ||
cc533b9d ND |
830 | 2001-01-04 Nicholas Duffek <nsd@redhat.com> |
831 | ||
832 | * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL, | |
833 | REGISTER_CONVERT_TO_RAW): Delete trailing semicolon. | |
834 | ||
ad2a4d09 C |
835 | 2001-01-03 J.T. Conklin <jtc@redback.com> |
836 | ||
837 | * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in | |
838 | comment. | |
839 | ||
8140e7ac MS |
840 | 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com> |
841 | ||
3116c80a EZ |
842 | * sh-tdep.c (sh_default_store_return_value): Allow for small return type. |
843 | (sh3e_sh4_store_return_value): Call sh_default_store_return_value for | |
d19b71be | 844 | non-float types. |
779e876b | 845 | * sparc-tdep.c (sparc_frame_chain): Fix typo in comment. |
72e22353 MS |
846 | Update copyright notice. |
847 | ||
15f33b66 | 848 | For older changes see ChangeLog-2000 |
c906108c SS |
849 | \f |
850 | Local Variables: | |
851 | mode: change-log | |
852 | left-margin: 8 | |
853 | fill-column: 74 | |
854 | version-control: never | |
855 | End: |