Commit | Line | Data |
---|---|---|
8aa8690c FF |
1 | Thu Jul 28 10:43:36 1994 Fred Fish (fnf@cygnus.com) |
2 | ||
3 | * Makefile.in (annotate.o): Add dependencies. | |
4 | ||
e356aae3 C |
5 | Wed Jul 27 14:34:42 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
6 | ||
ff59855b C |
7 | * sparclite/aload.c: Added new -q (quiet) option. |
8 | return 0 exit status if file was successfully downloaded. | |
9 | ||
1e47d512 C |
10 | * nlm/gdbserve.c: merge in command line argument parsing changes |
11 | and bug fixes made to i386-nlmstub.c. | |
12 | ||
e356aae3 C |
13 | * i386-nlmstub.c: The returnLength field must be initialized |
14 | before portConfig is passed to AIOGetPortConfiguration. | |
15 | Compare command line arguments with strnicmp(); args are | |
16 | case insensitive on netware. | |
17 | ||
de19d1ed FF |
18 | Wed Jul 27 09:24:19 1994 Fred Fish (fnf@cygnus.com) |
19 | ||
20 | * Makefile.in (DISTSTUFF): Add definition. | |
21 | (diststuff): Add for new distribution support. | |
22 | (gdb.tar.Z, make-proto-gdb.dir, setup-to-dist, | |
23 | gdb-$(VERSION).tar.Z, make-proto-gdb-1, make-proto-testsuite.dir): | |
24 | Remove old distribution building rules, now uses standard | |
25 | distribution support in parent directory Makefile.in. | |
26 | ||
f6d5d006 JK |
27 | Tue Jul 26 14:15:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
28 | ||
29 | * target.c (push_target): Cast result from xmalloc. | |
30 | ||
d54b2c50 SS |
31 | Tue Jul 26 18:20:46 1994 Paul Flinders (ptf@smee) |
32 | ||
33 | * elfread.c (elf_symtab_read): Discard compiler labels generated | |
34 | by the Solaris 2.1/Intel SunPro compiler. | |
35 | ||
4fc5969d SG |
36 | Mon Jul 25 18:19:24 1994 Stu Grossman (grossman@cygnus.com) |
37 | ||
38 | * target.c (nomemory): Fix prototype and routine to take correct | |
39 | args. | |
40 | ||
1ded65d1 JK |
41 | Mon Jul 25 15:38:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
42 | ||
43 | * Makefile.in (clean): Remove libgdb-files. | |
44 | ||
9a989b1f SS |
45 | Mon Jul 25 11:50:57 1994 Stan Shebs (shebs@andros.cygnus.com) |
46 | ||
47 | * coredep.c: Include inferior.h. | |
48 | ||
159f3816 C |
49 | Mon Jul 25 11:36:02 1994 J.T. Conklin (jtc@phishhead.cygnus.com) |
50 | ||
51 | * Makefile.in (LD_FOR_TARGET): Look for ld in ../ld/ld.new. | |
52 | ||
53 | * i386-nlmstub.c: Add support for NODE, PORT and BAUD command | |
54 | line arguments. | |
55 | ||
557f3a0e SS |
56 | Sat Jul 23 14:36:09 1994 Stan Shebs (shebs@andros.cygnus.com) |
57 | ||
9e38b2fa SS |
58 | * symfile.c (deduce_language_from_filename): Recognize .S as asm, |
59 | .cp as C++, alphabetize better. | |
60 | ||
557f3a0e SS |
61 | * breakpoint.c (ignore, condition): Move usage note into body of |
62 | help text, so first line can be one-line summary. | |
63 | ||
67e947de SG |
64 | Sat Jul 23 00:58:15 1994 Stu Grossman (grossman@cygnus.com) |
65 | ||
66 | * target.c (unpush_target): Fix handling of removal of top target. | |
67 | ||
cad1498f SG |
68 | Fri Jul 22 17:30:39 1994 Stu Grossman (grossman@cygnus.com) |
69 | ||
70 | * Makefile.in: Add stuff to build nlmstub. | |
71 | * Add rule for annotate.o to keep Sun make happy. | |
72 | * configure.in: Add config for powerpc/Netware. | |
73 | ||
74 | * partial-stab.h (near N_SO): Don't call START_PSYMTAB with null | |
75 | filename. This speeds up handling of trailing N_SO stabs (they | |
76 | mark the end of a .o file). | |
77 | ||
78 | * target.c, target.h: Change the way pushing and popping of | |
79 | targets work to support target overlays and inheritance. | |
80 | * corelow.c, hppa-tdep.c, inflow.c, remote-nindy.c, utils.c: | |
81 | Fixup references to current_target, due to previous changes. | |
82 | ||
83 | * config/i386/tm-i386nw.h: Enable longjmp support. More work is | |
84 | needed to get the address of longjmp out of the target. | |
85 | ||
844750e3 SS |
86 | Tue Jul 19 13:25:06 1994 Stan Shebs (shebs@andros.cygnus.com) |
87 | ||
88 | * main.c: Include <ctype.h>. | |
89 | ||
b0a0ee52 KH |
90 | Mon Jul 18 15:32:17 1994 Kung Hsu (kung@mexican.cygnus.com) |
91 | ||
92 | * remote-mips.c (mips_readchar): Fix a bug in checking <IDT> | |
93 | prompt. | |
94 | ||
b0fbe5a2 SS |
95 | Mon Jul 18 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
96 | ||
97 | * solib.c (look_for_base): Don't deref exec_bfd if NULL. | |
98 | ||
0f221a69 FF |
99 | Sun Jul 17 15:38:36 1994 Fred Fish (fnf@cygnus.com) |
100 | ||
005234f5 | 101 | * Makefile.in (VERSION): Bump to 4.12.4. |
0f221a69 FF |
102 | |
103 | Sun Jul 17 12:20:35 1994 Stan Shebs (shebs@andros.cygnus.com) | |
104 | ||
105 | Harris CX/UX support, from Bob Rusk (rrusk@mail.csd.harris.com). | |
106 | * configure.in (m88*-harris-cxux*): New configuration. | |
107 | * cxux-nat.c, config/m88k/cxux.mh, config/m88k/cxux.mt, | |
108 | config/m88k/xm-cxux.h, config/m88k/tm-cxux.h, config/m88k/nm-cxux.h: | |
109 | New files. | |
110 | * config/m88k/tm-m88k.h: Add comment about Harris OS. | |
111 | (TARGET_WRITE_PC): Pass pid through to register writers. | |
112 | ||
113 | * configure.in (m68*): Put vendor-only-specified host configs | |
114 | after vendor-and-os-specified configs. | |
115 | (m68*-atari-sysv4*, m68*-cbm-sysv4*): Replace with m68*-*-sysv4. | |
116 | ||
117 | * config/m88k/delta88.mh (MUNCH_DEFINE): Remove. | |
118 | * config/m88k/delta88.mt, config/m88k/delta88v4.mh: Format | |
119 | consistently. | |
120 | ||
00306b1e PS |
121 | Sat Jul 16 23:39:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
122 | ||
123 | * elfread.c (elf_symtab_read): Handle error return from | |
124 | bfd_get_dynamic_symtab_upper_bound gracefully. | |
125 | ||
49b476bd SS |
126 | Sat Jul 16 14:43:17 1994 Stan Shebs (shebs@andros.cygnus.com) |
127 | ||
62a5dabc SS |
128 | * inferior.h (ARCH_NUM_REGS): New macro, actual number of |
129 | registers in use by the inferior. | |
130 | * coredep.c (fetch_core_registers, register_addr): Use it. | |
131 | * findvar.c (registers_changed, registers_fetched, | |
132 | read_register_bytes): Ditto. | |
133 | * infcmd.c (do_registers_info, registers_info): Ditto. | |
134 | * infptrace.c (fetch_inferior_registers, | |
135 | store_inferior_registers): Ditto. | |
136 | * stack.c (frame_info): Ditto. | |
137 | ||
138 | * coredep.c (CORE_REGISTER_ADDR): New macro. | |
139 | (fetch_core_registers): Use it. | |
140 | ||
49b476bd SS |
141 | * breakpoint.c (ignore, condition): Add usage notes to help strings. |
142 | * symfile.c (add-symbol-file): Add usage note to help string. | |
143 | (add_shared_symbol_files_command): New command. | |
144 | ||
145 | gcc -Wall lint. | |
146 | * inferior.h (read_pc_pid): Declare. | |
147 | * breakpoint.c (watchpoint_check): Cache breakpoint in local | |
148 | variable b, remove unused variable other_type_used. | |
149 | * main.c (inferior.h, call-cmds.h): Include. | |
150 | (gdb_init): Declare. | |
151 | * remote.c (remote_wait): Return 0 by default. | |
152 | ||
0568ccb0 SS |
153 | Fri Jul 15 16:43:33 1994 Stan Shebs (shebs@andros.cygnus.com) |
154 | ||
155 | Stop printing at null char option, from Oliver Meyer | |
156 | (omeyer@i3.informatik.rwth-aachen.de). | |
157 | * valprint.h, valprint.c (stop_print_at_null): New global. | |
158 | * valprint.c (_initialize_valprint): New print set subcommand | |
159 | "null-stop". | |
160 | * c-valprint.c (c_val_print): If stop_print_at_null is on, and | |
161 | printing a char array, adjust the number of chars to print. | |
162 | ||
08f32e32 SS |
163 | Fri Jul 15 14:33:40 1994 Stan Shebs (shebs@andros.cygnus.com) |
164 | ||
165 | From Kevin A. Buettner (kev@cujo.geg.mot.com). | |
166 | * m88k-tdep.c (examine_prologue): Modified to handle prologues for | |
167 | pic code in addition to prologues where an instruction from the | |
168 | prologue gets moved into the delay slot of a branch instruction | |
169 | immediately following the prologue. A table of potential prologue | |
170 | instructions (prologue_insn_tbl) is now used for picking apart a | |
171 | function prologue. | |
172 | (frame_find_saved_regs): Changed the way in which limit gets set | |
173 | so that the delay slot of branch instructions immediately | |
174 | following the prologue gets examined. | |
175 | (pushed_size, store_parm_word, store_parm, push_parameters, | |
176 | collect_returned_value): Deleted. | |
177 | ||
0b0ee55e PS |
178 | Fri Jul 15 01:06:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
179 | ||
180 | * infrun.c (wait_for_inferior): Handle stepping into leaf | |
181 | functions whose prologue consists of gp loading code only. | |
182 | ||
8e3ff823 SS |
183 | Thu Jul 14 14:22:12 1994 Stan Shebs (shebs@andros.cygnus.com) |
184 | ||
185 | * dbxread.c: Don't include libbfd.h. | |
186 | * dwarfread.c, elfread.c somread.c: Don't include libbfd.h, | |
187 | <time.h>, or <sys/types.h>. | |
188 | * elfread.c (elf_symfile_read): Use only standard BFD functions to | |
189 | collect information about the stab and stab string sections. | |
190 | ||
8dbe58d8 KH |
191 | Thu Jul 14 13:17:39 1994 Kung Hsu (kung@x1.cygnus.com) |
192 | ||
193 | * stabsread.c (read_huge_number): handle large unsigned number | |
194 | for stabs generated by os9k C compiler. | |
195 | ||
9f577285 SS |
196 | Wed Jul 13 18:58:15 1994 Stan Shebs (shebs@andros.cygnus.com) |
197 | ||
198 | Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com). | |
199 | * breakpoint.h (hit_count): New breakpoint field. | |
200 | * breakpoint.c (show_breakpoint_hit_counts): New variable. | |
201 | (clear_breakpoint_hit_counts): New function. | |
202 | (bpstat_stop_status): Increment the hit count. | |
203 | (breakpoint_1): Display the hit count. | |
204 | * infcmd.c (run_command): Reset breakpoint hit counts. | |
205 | * target.c (generic_mourn_inferior): Don't clear ignore counts if | |
206 | displaying hit counts. | |
207 | ||
6d9b8a93 PS |
208 | Tue Jul 12 12:23:15 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
209 | ||
210 | * elfread.c (elf_symfile_read): Unconditionally add dynamic | |
211 | symbols for all symbol files. Makes skipping over the | |
212 | trampoline code work when stepping from a function in a shared | |
213 | library into a function in a different shared library for Irix 5. | |
214 | Other ELF targets do not have enough information in their | |
215 | dynamic symbol tables to make this work. | |
216 | (elf_symtab_read): Relocate mst_solib_trampoline address. | |
217 | ||
02176ddb SS |
218 | Mon Jul 11 16:38:49 1994 Stan Shebs (shebs@andros.cygnus.com) |
219 | ||
220 | Atari support, from Uwe Seimet (seimet@chemie.uni-kl.de). | |
221 | * configure.in (m68*-atari-sysv4*): New configuration. | |
222 | (m68*-cbm-sysv4*): Use m68kv4 instead of amix. | |
223 | * m68k-tdep.c (R_PS): Define as R_SR if necessary. | |
224 | * config/m68k/m68kv4.mh, config/m68k/m68kv4.mt, | |
225 | config/m68k/tm-m68kv4.h, config/m68k/xm-m68kv4.h: New files. | |
226 | * config/m68k/amix.mh, config/m68k/amix.mt, | |
227 | config/m68k/tm-amix.h, config/m68k/xm-amix.h: Removed, superseded | |
228 | by m68kv4 files. | |
229 | ||
defa6c74 PS |
230 | Sat Jul 9 16:28:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
231 | ||
232 | * symtab.c (find_function_start_sal): New function to find | |
233 | the start of a function from a function symbol. | |
234 | (decode_line_1, decode_line_2): Use it instead of open coded | |
235 | partial copies of the code. | |
236 | (list_symbols): Quote symbol name before passing it to | |
237 | break_command to enable proper handling of mangled symbols. | |
238 | ||
239 | Wed Jul 6 20:22:07 1994 Per Bothner (bothner@kalessin.cygnus.com) | |
240 | ||
241 | * ch-exp.y (match_simple_name_string): Don't lower-case here. | |
242 | * ch-exp.y (yylex): First try name lookup using exact name | |
243 | typed by user; if that fails, try lower-cased name. | |
244 | ||
cef0333e PS |
245 | Wed Jul 6 00:48:57 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
246 | ||
247 | * dbxread.c, elfread.c, mipsread.c, nlmread.c, os9kread.c: | |
248 | Move "no debugging symbols found" test to symfile.c. | |
249 | * symfile.c (syms_from_objfile, reread_symbols): Add | |
250 | "no debugging symbols found" test. | |
251 | * coffread.c (init_stringtab): Handle stripped files with a | |
252 | stringtab offset of zero gracefully. | |
253 | * osfsolib.c (solib_create_inferior_hook): Use DYNAMIC flag from | |
254 | BFD instead of stop_pc heuristic to determine if it is a dynamically | |
255 | linked object file. | |
256 | * procfs.c (wait_fd): Handle ENOENT error return from PIOCWSTOP | |
257 | ioctl, it indicates that the process has exited. | |
258 | ||
0fc27289 JL |
259 | Mon Jul 4 19:28:56 1994 Jeff Law (law@snake.cs.utah.edu) |
260 | ||
261 | * hppa-tdep.c (read_unwind_info): ELF unwind information is in the | |
262 | .PARISC.unwind section now. | |
263 | ||
51684caa SS |
264 | Mon Jul 4 17:06:26 1994 Stan Shebs (shebs@andros.cygnus.com) |
265 | ||
266 | * breakpoint.c (mention): Always show breakpoint address if no | |
267 | source file. | |
268 | ||
269 | Sat Jul 2 01:51:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
270 | ||
271 | * solib.c (bfd_lookup_symbol, look_for_base): Reinstate to reenable | |
272 | handling of shared libraries for non-ELF executables, but only if | |
273 | HANDLE_SVR4_EXEC_EMULATORS is defined. | |
274 | (locate_base): Try to find debug_base in the dynamic linker | |
275 | for non-ELF executables if HANDLE_SVR4_EXEC_EMULATORS is defined. | |
276 | * config/sparc/tm-sun4sol2.h (HANDLE_SVR4_EXEC_EMULATORS): | |
277 | Define to enable handling of shared libraries for a.out executables, | |
278 | run under Solaris BCP. | |
279 | ||
018d94f5 JK |
280 | Thu Jun 30 13:59:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
281 | ||
282 | * infrun.c (wait_for_inferior): Print "Program exited normally" | |
283 | regardless of batch_mode. | |
284 | * defs.h, top.c (batch_mode): Removed. | |
285 | ||
7d13174e SS |
286 | Wed Jun 29 18:53:36 1994 Stan Shebs (shebs@andros.cygnus.com) |
287 | ||
054308ad SS |
288 | * Makefile.in (dcache_h): Remove redundant definition. |
289 | (init.c): Add a comment. | |
290 | (top.c): Remove explicit compile action. | |
291 | * breakpoint.c (mention): Share code indicating location of | |
292 | break/watchpoints, don't print address if addressprint is off. | |
293 | * breakpoint.c, c-typeprint.c, c-valprint.c, energize.c, symtab.h | |
294 | (demangle): Remove redundant declarations. | |
295 | * eval.c: Remove redundant function declarations. | |
296 | * objfiles.h: Cosmetic and grammatical improvements. | |
297 | * TODO: Various updates. | |
298 | ||
7d13174e SS |
299 | * remote-mips.c: Replace all \r chars with \015. |
300 | (mips_receive_header): Display control characters readably. | |
301 | (mips_xfer_memory): Add a simple progress display. | |
302 | ||
402b0d2e SC |
303 | Wed Jun 29 13:11:45 1994 Steve Chamberlain (sac@cirdan.cygnus.com) |
304 | ||
305 | * remote-e7000.c (e7000_open): Don't try a tcp open if we're | |
306 | using go32. | |
307 | * remote-hms.c (flush): New function. | |
308 | (expect): Get edge case right. | |
309 | (hms_read_inferior_memory): Be more tolerant of line noise. | |
310 | ||
3563094d JMD |
311 | Tue Jun 28 14:17:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
312 | ||
313 | * configure.in: Use i386m3.mh and i386m3.mt as names of host and | |
314 | target files, not non-existent mach3.mh and mach3.mt. | |
315 | ||
ca694bfd PS |
316 | Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
317 | ||
318 | * dbxread.c (dbx_symfile_read): Unconditionally add dynamic | |
319 | symbols for all symbol files. Makes skipping over the | |
320 | trampoline code work when stepping from a function in a shared | |
321 | library into a function in a different shared library. | |
322 | (read_dbx_dynamic_symtab): Relocate mst_solib_trampoline address. | |
323 | ||
320f93f7 SG |
324 | Tue Jun 28 15:28:01 1994 Stu Grossman (grossman@cygnus.com) |
325 | ||
326 | * dbxread.c, partial-stab.h (near N_SO): SO stabs with blank | |
327 | names mean end of .o file. | |
328 | * infrun.c (wait_for_inferior): Clean up multi-thread logic near | |
329 | top of routine. Handle new thread notification cleanly. | |
330 | * lynx-nat.c (child_wait): General cleanups, handle new LynxOS | |
331 | thread notification scheme. | |
332 | * (child_resume): General cleanups, handle resumption of all | |
333 | threads properly. | |
334 | ||
aa48187b SC |
335 | Mon Jun 27 09:57:23 1994 Steve Chamberlain (sac@cirdan.cygnus.com) |
336 | ||
337 | * ser-go32.c: Rewrite to run under windows. | |
338 | * ser-e7kpc.c: New file to support the E7000 with the PC ISA | |
339 | bus interface. | |
340 | * serial.c (serial_open): Notice device "pc". | |
341 | * remote-e7000.c: Fix copyright date. | |
342 | (expect): Compare \n and \r the same. | |
343 | (e7000_open): Allow pc as a serial port | |
344 | * sh/sh.mt: Add ser-e7kpc. | |
345 | * h8300/h8300hms.mt: Add ser-e7kpc. | |
346 | * main.c (proc_wait): Don't wait if using go32. | |
347 | ||
6a86fa48 JL |
348 | Mon Jun 27 00:35:51 1994 Jeff Law (law@snake.cs.utah.edu) |
349 | ||
350 | * somread.c: Simplify by using stabsect_build_psymtabs. | |
351 | * dbxread.c (stabsect_build_psymtabs): New argument "text_name" | |
352 | corresponding to the name of the text section. All references | |
353 | changed. | |
354 | (somstab_build_psymtabs): Delete function, no longer needed. | |
355 | ||
bfe2f12b JL |
356 | Sun Jun 26 23:54:08 1994 Jeff Law (law@snake.cs.utah.edu) |
357 | ||
358 | * somread.c: Renamed from paread.c. Changed function names and | |
359 | comments to reflect that this file deals with SOM (an object file | |
360 | format), rather than the PA (a cpu). | |
361 | (Makefile.in): Chaned appropriately. | |
362 | (config/pa/hppabsd.mh, config/pa/hppahpux.mh): Likewise. | |
363 | * dbxread.c (somstab_build_psymtabs): Renamed from | |
364 | pastab_build_psymtabs. | |
365 | ||
a8044a2d PS |
366 | Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
367 | ||
256533df PS |
368 | * core-sol2.c: New file to handle ELF and BCP core file flavours. |
369 | * config/sparc/sun4sol2.mh (NATDEPFILES): Use it instead of | |
370 | core-svr4. | |
371 | * Makefile.in: Updated for core-sol2.c. | |
372 | * README: Add notes about SPARCworks cc under Solaris 2.x, | |
373 | from Casper H.S. Dik (casper@fwi.uva.nl). | |
a8044a2d PS |
374 | * config/mips/xm-makeva.h: Removed, no longer necessary. |
375 | * Makefile.in, config/mips/xm-irix3.h, config/mips/xm-irix5.h, | |
376 | config/mips/xm-mips.h, config/mips/xm-news-mips.h, | |
377 | config/mips/xm-riscos.h: Remove references to xm-makeva.h | |
378 | ||
cca32606 JK |
379 | Wed Jun 22 17:48:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
380 | ||
6ccc157f | 381 | * gdba.el: Put program input and output in a separate buffer. |
cca32606 | 382 | |
b7ec5b8d FF |
383 | Wed Jun 22 16:54:15 1994 Fred Fish (fnf@cygnus.com) |
384 | ||
385 | * energize-patches, main.c (main), top.c (gdb_init, pwd_command), | |
386 | top.h: Change all occurances of dirbuf to gdb_dirbuf. Collides | |
387 | with global variable of same name in libnsl.so on UnixWare. | |
388 | ||
c79b49bb KH |
389 | Wed Jun 22 14:40:52 1994 Kung Hsu (kung@mexican.cygnus.com) |
390 | ||
391 | * symtab.c (decode_line_1): fix a bug in dealing with '<>' | |
392 | embedded in template name. | |
393 | ||
416b47c6 KH |
394 | Tue Jun 21 14:06:46 1994 Kung Hsu (kung@mexican.cygnus.com) |
395 | ||
396 | * config/i386/nm-linux.h: change calling convention of | |
397 | TARGET_CAN_USE_HARDWARE_WATCHPOINT() and | |
398 | target_insert_watchpoint() and | |
399 | target_remove_watchpoint(). | |
400 | ||
401 | * config/mips/tm-mips64.h: define FORCE_LONG_LONG to force LONGEST | |
402 | to be long long in gdb. | |
403 | * config/mips/tm-bigmips.h: ditto. | |
404 | ||
2c068010 PS |
405 | Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
406 | ||
407 | * c-lang.c (asm_language_defn): New definitions for language_asm, | |
408 | mostly copied from c_language_defn, to avoid warnings when | |
409 | switching between c and asm stack frames. | |
410 | ||
6187dfac ILT |
411 | Mon Jun 20 13:51:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) |
412 | ||
413 | * mdebugread.c (parse_symbol): Don't call ecoff_swap_tir_in or | |
414 | ecoff_swap_rndx_in directly; use the debug_swap pointer instead. | |
415 | (upgrade_type, handle_psymbol_enumerators): Likewise. | |
416 | (has_opaque_xref, cross_ref): Likewise. | |
417 | (elfmdebug_build_psymtabs): Call swap->read_debug_info to read | |
418 | debugging information, rather than doing it here. | |
419 | * mipsread.c (mipscoff_symfile_read): Call read_debug_info entry | |
420 | point in ecoff_debug_swap backend structure, rather than calling | |
421 | ecoff_slurp_symbolic_info directly. | |
422 | ||
afd3e3b1 JK |
423 | Fri Jun 17 20:58:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
424 | ||
fb71d422 JK |
425 | * breakpoint.c: Include annotate.h. Call annotate_field rather |
426 | than printing annotation directly. | |
427 | ||
afd3e3b1 JK |
428 | * main.c: Include string.h. |
429 | ||
6ec7e4d3 SS |
430 | Thu Jun 16 14:41:37 1994 Stan Shebs (shebs@andros.cygnus.com) |
431 | ||
9f8219f1 SS |
432 | * fork-child.c (startup_inferior) [STARTUP_INFERIOR]: If defined, |
433 | call it instead of doing normal loop. | |
434 | * infcmd.c (attach_command): Don't call wait_for_inferior if | |
435 | running Mach 3. | |
436 | * infrun.c (proceed) [PREPARE_TO_PROCEED]: If defined, call | |
437 | hook that can decide whether to step over the next breakpoint. | |
438 | * utils.c (wrap_here): Abort if wrap_buffer not allocated. | |
439 | (request_quit) [REQUEST_QUIT]: If defined, call it instead of | |
440 | doing normal quit. | |
441 | ||
6ec7e4d3 SS |
442 | * configure.in: Improve sorting/formatting of hosts and targets. |
443 | (i[34]86-*-mach3*, i[34]86-*-osf1mk*, mips-*-mach3*, | |
444 | m88*-*-mach3*, ns32k-*-mach3*): Recognize. | |
9f8219f1 SS |
445 | * Makefile.in (stop-gdb): New target. |
446 | * stop-gdb.c: New file, utility to get attention of waiting GDBs | |
6ec7e4d3 SS |
447 | in Mach 3. |
448 | ||
f36b58b1 TL |
449 | Wed Jun 15 00:41:03 1994 Tom Lord (lord@rtl.cygnus.com) |
450 | ||
451 | * top.c (gdb_init): Init current_directory in gdb_init. Probably | |
452 | the identical initialization can be deleted from main.c, but i | |
453 | haven't done so just in case. | |
454 | ||
e91c1816 TL |
455 | Tue Jun 14 17:24:41 1994 Tom Lord (lord@x1.cygnus.com) |
456 | ||
457 | * gdba.el: Added menu windows and slightly improved window | |
458 | handling to gdba.el. Fixed numerous minor bugs that were causing | |
459 | emacs and gdb to fall out of sync. | |
460 | ||
f2d9c058 KH |
461 | Tue Jun 14 16:18:44 1994 Kung Hsu (kung@mexican.cygnus.com) |
462 | ||
463 | * breakpoint.c: annotate changes lost at merge, put back in. | |
464 | ||
e884f418 | 465 | Mon Jun 13 17:28:50 1994 Stan Shebs (shebs@andros.cygnus.com) |
2b14c195 | 466 | |
e884f418 SS |
467 | * config/i386/i386sco.mh, i386sco4.mh (XDEPFILES): Remove |
468 | i387-tdep.o. | |
2b14c195 | 469 | |
33c66e44 PS |
470 | Sun Jun 12 03:51:52 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
471 | ||
472 | * config/m68k/dpx2.mh (NATDEPFILES): Remove duplicate inclusion | |
473 | of inftarg.o. | |
474 | * config/m68k/tm-dpx2.h (CANNOT_STORE_REGISTER): Define to inhibit | |
475 | writing of floating registers, the dpx2 kernel disallows it. | |
476 | * irix5-nat.c (LM_ADDR): The loaded address of the shared library | |
477 | is contained in o_praw. | |
478 | * irix5-nat.c (solib_map_sections): Adjust sections by the | |
479 | difference between the loaded address and the prelinked address. | |
480 | * irix5-nat.c (solib_address): Use LM_ADDR for the loaded start | |
481 | address. | |
482 | * mdebugread.c (parse_symbol): Do not relocate stEnd/scText | |
483 | symbols, their value is absolute. | |
484 | * mdebugread.c (parse_partial_symbols): Handle Irix 5.2 shared | |
485 | libraries fh->adr fields of zero. Relocate minimal symbol values | |
486 | upon readin. Relocate non-stabs symbols upon readin. | |
487 | * mdebugread.c (psymtab_to_symtab_1): Use pst->textlow for the | |
488 | start address of the outermost block. | |
489 | * mdebugread.c (parse_lines, parse_procedure): Pass in pst | |
490 | instead of section_offsets and use relocated pst->textlow for | |
491 | line number and procedure address relocations. | |
492 | ||
493 | From gmo@MicroUnity.com (Guillermo A. Loyola): | |
494 | * mdebugread.c (parse_symbol, parse_partial_symbols, cross_ref): | |
495 | Handle SGI Irix5 stIndirect symbol type. | |
496 | ||
2c3fb46a KH |
497 | Fri Jun 10 14:52:56 1994 Kung Hsu (kung@mexican.cygnus.com) |
498 | ||
11054881 KH |
499 | * breakpoint.c: fix a syntax error native cc does not like. |
500 | ||
1782eb41 KH |
501 | * Makefile.in: change sparclite-tdep.c to sparcl-tdep.c. |
502 | * sparclite/Makefile.in: ditto. | |
503 | * sparcl-tdpe.c: change file name because first 8 chars has to be | |
504 | unique. | |
505 | * sparcl-stub.c: ditto. | |
506 | ||
507 | * .Sanitize: add sparclite-stub.c sparclite-tdep.c to keep. | |
508 | ||
2c3fb46a KH |
509 | * sparclite/Makefile.in: fix INCLUDE_CFLAGS to have {srcdir}/../config. |
510 | ||
e9a3cde8 JL |
511 | Fri Jun 10 10:38:15 1994 Jeff Law (law@snake.cs.utah.edu) |
512 | ||
513 | * hppa-tdep.c (target_read_pc, target_write_pc): Accept (and | |
514 | ignore) a PID argument. | |
515 | (hppa_pop_frame): Pass a PID to target_write_pc. | |
516 | * config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept | |
517 | and pass through a PID argument. | |
518 | (target_read_pc, target_write_pc): Update prototypes. | |
519 | ||
520 | Thu Jun 9 18:10:44 1994 Kung Hsu (kung@mexican.cygnus.com) | |
521 | ||
522 | * Makefile.in: add new file sparclite-tdep.c. | |
523 | * sparclite/Makefile.in: add new file sparclite-stub.c. | |
524 | * sparclite/hw_breakpoint.note: note for SPARClite hardware breapoint | |
525 | support. | |
526 | * config/sparc/sparclite.mt: add sparclite-tdep.o. | |
527 | * config/sparc/tm-sparclite.h: add hardware breakpoints support | |
528 | defiines and code. | |
529 | * sparclite-tdep.c: new file, contains hardware breakpoint support | |
530 | code. | |
531 | * sparclite-stub.c: new file, stub code that add support hardware | |
532 | breakpoint support. | |
533 | * breakpoint.c: add hardware breakpoint support. | |
534 | * breakpoint.h: add new breakpoint type to support hardware | |
535 | breakpoint. | |
536 | * config/mips/nm-irix4.h: change interface for target dependent | |
537 | code supporting watch point. | |
538 | * config/pa/nm-hppab.h: change interface for target dependent | |
539 | code supporting watch point. | |
540 | ||
2c012f9e KH |
541 | Thu Jun 9 14:59:58 1994 Kung Hsu (kung@mexican.cygnus.com) |
542 | ||
543 | * remote-os9k.c (rombuf_command): fix a bug accepting rombug | |
544 | output. | |
545 | * stabsread.c (read_struct_fields): os9k nested structure does not | |
546 | have terminating ';', instead it just get to ',' and bit position | |
547 | and length. | |
548 | ||
a4b4f520 SG |
549 | Wed Jun 8 23:20:45 1994 Stu Grossman (grossman@cygnus.com) |
550 | ||
551 | * nlmread.c (nlm_symtab_read): Clean up a bit. | |
552 | * (nlm_symfile_read): Record bounds of main() so that backtrace | |
553 | command will know where to stop. | |
554 | * objfiles.c (objfile_relocate): Relocate entry point/func info | |
555 | for backtrace as well. | |
556 | * objfiles.h: Define values for invalid PCs for entry point info. | |
557 | * symfile.c (init_entry_point_info): Initialize invalid values | |
558 | with aforementioned macros. | |
559 | * config/alpha/tm-alphanw.h: Turn on FRAME_CHAIN_VALID_ALTERNATE | |
560 | to cause backtrace to stop when it gets back to main(). | |
561 | * config/i386/tm-i386nw.h: Ditto. | |
562 | ||
e10cfcaa PB |
563 | Sat Jun 4 18:17:03 1994 Per Bothner (bothner@kalessin.cygnus.com) |
564 | ||
e884f418 | 565 | Fix value_print, which used to be ostensibly language-independent, |
e10cfcaa PB |
566 | but would print pointers and arrays in C syntax. Instead, call |
567 | a language-specific function. | |
568 | * language.h (struct language_defn): New functional field | |
e884f418 SS |
569 | la_value_print. |
570 | (LA_VALUE_PRINT): New macro. | |
571 | * language.c (unk_lang_value_print): New stub/dummy function. | |
e10cfcaa PB |
572 | (unknown_language_defn, auto_language_defn, local_language_defn): |
573 | Use it. | |
574 | * c-valprint.c (c_value_print): New function, with code moved from: | |
575 | * valprint.c (value_print): ... here. Now just invoke | |
576 | LA_VALUE_PRINT to do language-specific stuff. | |
577 | * valprint.c (value_print_array_elements): Make non-static. | |
578 | * c-lang.c (c_language_defn, cplus_language_defn): Add | |
e884f418 | 579 | c_value_print in the la_value_print field. |
e10cfcaa PB |
580 | * m2-lang.c (m2_language_defn): Likewise. |
581 | * ch-lang.c (chill_language_defn): But here use chill_value_print. | |
582 | * ch-valprint.c (chill_val_print): Print null pointer as NULL. | |
583 | * ch-valprint.c (chill_value_print): New function, based on | |
584 | c_value_print, but use Chill "look and feel." | |
585 | * c-lang.h (c_value_print): New prototype. | |
586 | * ch-lang.h (chill_value_print): New prototype. | |
587 | * value.h (value_print_array_elements): New prototype. | |
588 | ||
589 | * ch-valprint.c (chill_val_print, case TYPE_CODE_BITSTRING | |
590 | and case TYPE_CODE_SET): Check that the element type isn't a stub. | |
591 | ||
172559ec JK |
592 | Fri Jun 3 09:15:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
593 | ||
594 | * main.c: Move entire file except for #ifndef MAIN_OVERRIDE code | |
595 | to new file top.c. Make things extern instead of static and | |
596 | similar rearrangements to deal with this. | |
597 | * top.h: New file. | |
598 | * utils.c: Move fputs_unfiltered to main.c. Remove | |
599 | FPUTS_UNFILTERED_OVERRIDE ifndef. | |
600 | * Makefile.in: Change so that gdb uses main.c, utils.c, and top.c, | |
601 | and libgdb uses utils.c and top.c. | |
602 | ||
36af5ec6 JL |
603 | Thu Jun 2 23:19:10 1994 Jeff Law (law@snake.cs.utah.edu) |
604 | ||
605 | * hppa-tdep.c (skip_trampoline_code): Fix typo. | |
606 | ||
35f8a588 PB |
607 | Thu Jun 2 18:09:59 1994 Per Bothner (bothner@kalessin.cygnus.com) |
608 | ||
609 | * ch-valprint.c (chill_val_print_array_elements): New function. | |
610 | A Chill version of val_print_array_elements, it prints the | |
611 | array index labels, in additions ot the array element values. | |
612 | (chill_val_print): Use the new function. | |
613 | ||
2e6784a8 SG |
614 | Thu Jun 2 08:50:00 1994 Stu Grossman (grossman@cygnus.com) |
615 | ||
616 | * configure.in: Add nlm subdir to configdirs for alpha-*-netware | |
617 | target. | |
618 | * defs.h (enum language): Add language_asm. | |
619 | * findvar.c (read_register_bytes read_register_gen | |
620 | write_register_bytes read_register read_register_pid | |
621 | write_register write_register_pid supply_register): Move multi- | |
622 | thread handling down into these routines. Create XXX_pid routines | |
623 | that allow register references to specify the pid. | |
624 | * findvar.c infcmd.c (read_pc read_pc_pid write_pc write_pc_pid | |
625 | read_sp write_sp read_fp write_fp): Move these routines from | |
626 | infcmd to findvar to centralize the whole mess. | |
627 | * i386-nlmstub.c: Portability fixes. | |
628 | * infptrace.c (child_resume): Conditionalize to allow other natives | |
629 | to override it. Remove PIDGET gubbish, it's no longer necessary. | |
630 | * infrun.c (wait_for_inferior): Put registers_changed() before | |
631 | target_wait() to speed up remote debugging. | |
632 | * Replace code that reads registers from other threads with much | |
633 | nicer looking new function calls (see changes to findvar.c). | |
634 | * Don't skip prologues if debugging assembly source. | |
635 | * lynx-nat.c (child_resume): Lynx now needs it's own version of | |
636 | child_resume to handle multi-thread debugging properly. | |
637 | * remote.c: Add O response to get console output from target. | |
638 | * (readchar): Add timeout parameter. Handle SERIAL_EOF and | |
639 | SERIAL_ERROR here to simplify callers. | |
640 | * Change static var timeout to remote_timeout. | |
641 | * (fromhex): Remove unnecessary return -1 at end of routine. | |
642 | * (remote_wait): Turn this into a big switch statement. Add | |
643 | support for O response. | |
644 | * (putpkt): Remove unnecessary handling of SERIAL_EOF/ERROR. | |
645 | * (getpkt): Split getpkt into two parts. read_frame deals with | |
646 | all formatting issues, run-length encoding, and framing. getpkt | |
647 | now handles error recovery, and frame detection. | |
648 | * ser-tcp.c (tcp_readchar): Handle EINTR from read(). | |
649 | * ser-unix.c (hardwire_raw): Set CLOCAL so that we ignore modem | |
650 | control. (hardwire_readchar): Handle EINTR from read(). | |
651 | * symfile.c (deduce_language_from_filename): Add support for .s | |
652 | files. | |
653 | * config/nm-lynx.h: Define CHILD_WAIT so that lynx-nat.c can | |
654 | override infptrace's child_wait. | |
655 | * config/rs6000/rs6000lynx.mh: Use xm-rs6000ly.h & nm-rs6000ly.h | |
656 | instead of XXXlynx.h. | |
657 | * config/rs6000/rs6000lynx.mt: Use tm-rs6000ly.h instead of | |
658 | tm-rs6000lynx.h. | |
659 | * nlm/gdbserve.c: Portability fixes. | |
660 | ||
d3507982 JK |
661 | Tue May 31 20:35:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
662 | ||
663 | * inftarg.c (child_wait): Call proc_wait, not wait. | |
664 | (child_mourn_inferior): Call proc_remove_foreign. | |
665 | * main.c (gdb_init): Call init_proc. | |
666 | * main.c: Provide dummy versions of init_proc, proc_wait, and | |
667 | proc_remove_foreign for the gdb case (the libgdb case provides its | |
668 | own versions of these functions). | |
669 | * Makefile.in (libgdb-files): Add libproc.a. | |
670 | ||
6d40175d SS |
671 | Wed Jun 1 11:08:52 1994 Stan Shebs (shebs@andros.cygnus.com) |
672 | ||
673 | Hardware watchpoints for Linux, from Rick Sladkey | |
674 | (jrs@world.std.com). | |
675 | * infrun.c (wait_for_inferior) [HAVE_CONTINUABLE_WATCHPOINT]: Add | |
676 | new hardware breakpoint recovery method. | |
677 | * i386v-nat.c (i386_insert_watchpoint, | |
678 | i386_insert_nonaligned_watchpoint, i386_remove_watchpoint, | |
679 | i386_stopped_by_watchpoint) [TARGET_CAN_USE_HARWARE_WATCHPOINT]: | |
680 | New functions to support the 386 hardware debugging registers. | |
681 | * config/i386/nm-linux.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT, | |
682 | HAVE_CONTINUABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, | |
683 | target_insert_watchpoint, target_remove_watchpoint): Define these | |
684 | macros to use the hardware debugging functions in i386v-nat.c. | |
685 | ||
667fb5c3 JK |
686 | Wed May 25 17:06:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
687 | ||
688 | * Makefile.in: Replace libgdb.a with libgdb-files. Make "all" | |
689 | build it. | |
690 | ||
429f1c9f JK |
691 | Thu May 19 09:56:20 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
692 | ||
693 | * target.c, target.h: New variables target_activity_function and | |
694 | target_activity_fd. | |
695 | * inflow.c, inferior.h: New functions set_sigio_trap and | |
696 | clear_sigio_trap. | |
697 | * inftarg.c (child_wait), procfs.c (wait_fd): Call them. | |
698 | ||
bc67bf96 DE |
699 | Wed May 18 13:01:55 1994 Doug Evans (dje@canuck.cygnus.com) |
700 | ||
47424e79 DE |
701 | * remote-sim.h (sim_verbose): Delete. |
702 | Document callbacks needed. | |
703 | (sim_*): Change result to void where there isn't one. | |
704 | (sim_open): Clarify argument and error response. | |
705 | (sim_close): Declare. | |
706 | (sim_load): Change bfd_handle argument to file name. Clarify result. | |
707 | (sim_create_inferior): Renamed from sim_set_args. | |
708 | (sim_set_pc): Delete. | |
709 | (sim_info): Delete printf_fn argument. | |
710 | * remote-sim.c (gdbsim_kill): Add comment describing purpose. | |
711 | (gdbsim_load): Try sim_load first. | |
712 | (gdbsim_create_inferior): Call sim_create_inferior. | |
713 | (gdbsim_open): Handle args == NULL. Update call to sim_open. | |
714 | (gdbsim_close): Call sim_close. | |
715 | (gdbsim_files_info): Update call to sim_info. | |
716 | (gdbsim_ops): Realign comments. | |
717 | ||
bc67bf96 DE |
718 | * printcmd.c (decode_format): Allow TARGET_PTR_BIT to be non-constant. |
719 | ||
298f0428 SS |
720 | Tue May 17 16:45:20 1994 Stan Shebs (shebs@andros.cygnus.com) |
721 | ||
722 | * xcoffread.c (read_xcoff_symtab): For C_FILE symbols, only use | |
723 | the auxent if the symbol's name is ".file". From David Edelsohn | |
724 | <c1dje@watson.ibm.com>. | |
725 | ||
9c036bd8 JK |
726 | Tue May 17 11:08:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
727 | ||
20b3c1aa JK |
728 | * breakpoint.c (breakpoint_1): Fix typo. |
729 | ||
730 | * annotate.c (annotate_field_end): Fix typo. | |
731 | ||
732 | * Makefile.in: Move annotate.o from COMMON_OBS to OBS. | |
733 | ||
734 | * Makefile.in (TSSTART): Remove; no longer used. | |
735 | ||
9c036bd8 JK |
736 | * utils.c (vfprintf_maybe_filtered, vfprintf_unfiltered): Call |
737 | fputs_unfiltered and exit directly, rather than fatal. The latter | |
738 | calls vfprintf_unfiltered! | |
739 | ||
740 | * gdbtypes.h, gdbtypes.c (can_dereference): New function. | |
741 | * value.h, printcmd.c (print_value_flags): Move from here... | |
742 | * annotate.c: ...to here, and make it use can_dereference. | |
743 | ||
16d2cc80 SS |
744 | Sat May 14 15:13:52 1994 Stan Shebs (shebs@andros.cygnus.com) |
745 | ||
746 | * inflow.c (job_control, attach_flag, generic_mourn_inferior): | |
747 | Remove, needed for both native and cross. | |
748 | * target.c (attach_flag, generic_mourn_inferior): Put here. | |
749 | * utils.c (job_control): Put here. | |
750 | (terminal.h): Don't include anymore. | |
751 | ||
d8fc8773 JK |
752 | Sat May 14 09:11:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
753 | ||
754 | * source.c (find_source_lines): Always use code that was #ifdef | |
755 | BROKEN_LARGE_ALLOCA. Do the cleanup before returning, rather than | |
756 | leaving it on the chain. Reindent much of this function. | |
757 | * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h}, | |
758 | config/i386/{xm-sun386.h,xm-i386m3.h,xm-i386mach.h}, | |
759 | config/m68k/{sun3os4.h,xm-news.h,xm-hp300hpux.h}, | |
760 | config/ns32k/xm-ns32km3.h: Remove all references to | |
761 | BROKEN_LARGE_ALLOCA; with the above change it is no longer needed. | |
762 | * main.c, fork-child.c, many config files: Remove all | |
763 | SET_STACK_LIMIT_HUGE code; with the above changes it should no | |
764 | longer be needed. | |
765 | ||
766 | * symtab.c (lookup_partial_symbol): Use if and abort, not assert. | |
767 | This avoids __eprintf troubles. | |
768 | ||
1c95d7ab JK |
769 | Fri May 13 08:10:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
770 | ||
d8fc8773 JK |
771 | * main.c (main): Surround in #ifndef MAIN_OVERRIDE. Move |
772 | initialization code which needs to be called even if we bypass the | |
773 | command line stuff into gdb_init. | |
774 | * utils.c (fputs_unfiltered): Surround in #ifndef | |
775 | FPUTS_UNFILTERED_OVERRIDE. | |
776 | * Makefile.in (libgdb.a): New target. | |
777 | ||
778 | * utils.c: Rearrange I/O stuff a bit so that all output goes | |
779 | through fputs_unfiltered. Use vasprintf; removes arbitrary limit | |
780 | which made %s not work with arbitrarily large strings. | |
781 | * printcmd.c (printf_command): Use printf_filtered, not | |
782 | printf_unfiltered and printf, now that arbitrary limit is gone. | |
783 | ||
1c95d7ab JK |
784 | gcc -Wall lint: |
785 | * breakpoint.c (watchpoint_check): Remove unused variable b. | |
786 | * stack.c (print_frame_info): Move sp and buf inside #if. | |
787 | * eval.c (evaluate_subexp): Remove unused variables pp, | |
788 | mangle_ptr, ptr, and mangle_tstr. | |
789 | * valarith.c (value_x_binop): Remove unused variables mangle_tstr | |
790 | and mangle_ptr. | |
791 | * symtab.c (lookup_symtab): Put variable copy inside #if. | |
792 | (decode_line_1): Put variable q1 inside #if 0. | |
793 | * target.h: Declare target_link. | |
794 | * infrun.c (wait_for_inferior): Remove unused variables signame. | |
795 | * remote.c (remote_resume): Remove unused variable name. | |
796 | * c-exp.y (parse_number): Parenthesize operand of shift. | |
797 | * dbxread.c (record_minimal_symbol): Parenthesize operand of && | |
798 | (this is a semantic change, the warning seems to have detected a bug). | |
799 | * dbxread.c (end_psymtab): Move variable p1 inside #if. | |
800 | * coffread.c: Move variable temptype inside #if. | |
801 | * ch-typeprint.c (chill_type_print_base): Remove unused variable | |
802 | name. | |
803 | * ch-valprint.c: #include typeprint.h and ch-lang.h. | |
804 | (chill_val_print): Remove unused variable in_range. | |
805 | (chill_val_print): Remove statement "length > TYPE_LENGTH (type);". | |
806 | (chill_val_print): Add default case for switch. | |
807 | * stabsread.h: Declare stabsect_build_psymtabs. | |
808 | * os9kread.c (read_minimal_symbols): Make this return void. | |
809 | (os9k_symfile_read): Remove unused variables stb_exist and val. | |
810 | (os9k_symfile_init): Remove unused variable val. | |
811 | (fill_sym): Remove unused variable id. | |
812 | (read_os9k_psymtab): Put variable back_to inside #if 0. Remove | |
813 | unused variable nsl. | |
814 | Remove unused variable symfile_bfd. | |
815 | #if 0 unused variables lbrac_unmatched_complaint and | |
816 | lbrac_mismatch_complaint. | |
817 | Remove declaration for non-existent function os9k_next_symbol_text. | |
818 | ||
819 | * annotate.c, annotate.h: New files, containing a function for | |
820 | each annotation which outputs it. | |
821 | * Move breakpoints_changed from breakpoint.c to annotate.c. | |
822 | * breakpoint.c, blockframe.c, infrun.c, cp-valprint.c, main.c, | |
823 | printcmd.c, source.c, stack.c, utils.c, valprint.c: | |
824 | Use annotate.c functions to output annotations. | |
825 | * Makefile.in (OBS): Add annotate.o. | |
826 | ||
88b91d4a JL |
827 | Thu May 12 10:46:27 1994 Jeff Law (law@snake.cs.utah.edu) |
828 | ||
f55179cb JL |
829 | * hppa-tdep.c (read_unwind_info): Make sure elf_unwind_size and |
830 | elf_unwind_entries are always initialized. | |
831 | ||
88b91d4a JL |
832 | * hppa-tdep.c (skip_trampoline_code): Handle argument relocation |
833 | stubs which return directly to the caller rather than to the stub | |
834 | itself. | |
835 | ||
8db1a922 SS |
836 | Wed May 11 20:11:51 1994 Stan Shebs (shebs@andros.cygnus.com) |
837 | ||
838 | * c-exp.y (yyerror): Display a more informative error message. | |
839 | * ch-exp.y (yyerror): Ditto, don't use global yychar. | |
840 | * m2-exp.y (yyerror): Ditto. | |
841 | ||
91ecc8ef SS |
842 | Tue May 10 11:57:53 1994 Stan Shebs (shebs@andros.cygnus.com) |
843 | ||
844 | * inflow.c (job_control): Move definition to front of file. | |
845 | ||
0286d386 ILT |
846 | Tue May 10 14:42:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
847 | ||
848 | * maint.c (print_section_table): Rename SEC_SHARED_LIBRARY to | |
849 | SEC_COFF_SHARED_LIBRARY to match corresponding change in bfd. | |
850 | ||
851 | Fri May 6 13:30:22 1994 Stan Shebs (shebs@andros.cygnus.com) | |
852 | ||
853 | * Makefile.in (kdb): Remove old init.c creation commands. | |
854 | * configure.in (sparclite): Match on sparclite*. | |
855 | * sparclite/aload.c (main): Only change section addresses for | |
856 | a.out format object files. | |
857 | ||
5ff7b328 SC |
858 | Fri May 6 13:24:04 1994 Steve Chamberlain (sac@cygnus.com) |
859 | ||
860 | * config/i386/go32.mh: Define CC. | |
861 | ||
b292fca8 SS |
862 | Fri May 6 11:56:54 1994 Stan Shebs (shebs@andros.cygnus.com) |
863 | ||
864 | * gdbserver/Makefile.in: Remove irrelevant definitions and | |
865 | comments inherited from the gdb Makefile. | |
866 | (BFD_DIR, BFD, BFD_SRC, BFD_CFLAGS): Add from gdb Makefile. | |
867 | (VERSION): Update to 4.12.3. | |
868 | (gdbserver): Remove any existing executable first. | |
869 | (distclean, realclean): Remove nm.h. | |
870 | * gdbserver/low-lynx.c: Add Sparc Lynx support. | |
871 | * gdbserver/low-sparc.c, gdbserver/low-sun3.c (sys/wait.h): | |
872 | Don't use absolute pathname. | |
873 | ||
874 | Thu May 5 12:00:22 1994 Stan Shebs (shebs@andros.cygnus.com) | |
875 | ||
876 | * rs6000-nat.c (vmap_ldinfo): Don't fail if fstat returns an | |
877 | error. | |
878 | ||
ee5fca1f JK |
879 | Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
880 | ||
881 | * infrun.c (proceed, normal_stop, wait_for_inferior), breakpoint.c | |
882 | (print_it_normal): Add annotations for the inferior starting and | |
883 | stopping, and for all the various messages related to how it | |
884 | stopped. | |
885 | ||
886 | * printcmd.c (do_one_display): Annotate. | |
887 | * stack.c (print_frame_info): Annotate printing of stack frames. | |
888 | ||
731dca94 SG |
889 | Wed May 4 18:15:51 1994 Stu Grossman (grossman@cygnus.com) |
890 | ||
891 | * remote.c (get_offsets): Handle case where stub doesn't support | |
892 | qOffsets message. | |
893 | ||
36a2283d PB |
894 | Wed May 4 15:30:39 1994 Per Bothner (bothner@kalessin.cygnus.com) |
895 | ||
896 | Add partial support for g++ code compiled with -fvtable-thunks. | |
897 | * c-valprint.c (c_val_print): Add vtblprint support | |
898 | when using thunks. | |
899 | * cp-valprint.c (cp_is_vtbl_member): A vtable can be an array of | |
900 | pointers (if using thunks) as well as array of structs (otherwise). | |
901 | * cp-valprint.c (vtbl_ptr_name_old, vtbl_ptr_name): Move to global | |
902 | level, and make the latter non-static (so define_symbol can use it). | |
903 | * stabsread.c (define_symbol): If the type being defined is a | |
904 | pointer type named "__vtbl_ptr_type", set the TYPE_NAME to that name. | |
905 | * symtab.h (VTBL_PREFIX_P): Allow "_VT" as well as "_vt". | |
906 | * values.c (value_virtual_fn_field): Handle thunks. | |
907 | * values.c (value_headof): Minor efficiency hack. | |
908 | * values.c (value_headof): Incomplete thunk support. FIXME. | |
909 | ||
997c6a1d JK |
910 | Wed May 4 06:56:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
911 | ||
d24c0599 JK |
912 | * valprint.c (print_longest): Clarify comment about use_local. |
913 | * printcmd.c, defs.h (print_address_numeric), callers in | |
914 | symmisc.c, symfile.c, stack.c, source.c, remote.c, infcmd.c, | |
915 | cp-valprint.c, core.c, ch-valprint.c, c-valprint.c, breakpoint.c, | |
916 | exec.c: New argument use_local. | |
917 | * source.c (identify_source_line): Use filtered output. Use | |
918 | print_address_numeric. | |
919 | ||
e16b9023 JK |
920 | * core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1), |
921 | language.c (type_error, range_error): Use filtered output. | |
922 | * utils.c (error_begin): Update comment to tell people to use | |
923 | filtered output. | |
924 | ||
997c6a1d JK |
925 | * Makefile.in (HFILES_WITH_SRCDIR): List bfd.h. |
926 | (HFILES_NO_SRCDIR): List gdbcore.h not gdbcore_h, so as not to get | |
927 | bfd.h. | |
928 | ||
3f5e2fb5 JK |
929 | Tue May 3 07:41:33 1994 Jim Kingdon (kingdon@cygnus.com) |
930 | ||
931 | * procfs.c (procfs_wait): Reinstate code which deduces the signal | |
932 | from the fault, #ifndef FAULTED_USE_SIGINFO. | |
933 | * config/sparc/tm-sun4sol2.h: Define FAULTED_USE_SIGINFO. | |
934 | ||
47ebe8fd JK |
935 | Fri Apr 29 18:15:04 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
936 | ||
937 | * breakpoint.c (breakpoint_1): Annotate each field of the headers. | |
938 | Explicitly annotate each record. | |
939 | ||
0c4b30ea SS |
940 | Fri Apr 29 15:56:18 1994 Stan Shebs (shebs@andros.cygnus.com) |
941 | ||
942 | * xcoffexec.c: Reformat to standards and lint. | |
943 | (language.h): Include. | |
944 | (exec_close): Declare arg "quitting". | |
945 | (file_command): Declare arg "from_tty". | |
946 | (map_vmap): Cast xmalloc result to PTR. | |
947 | * rs6000-nat.c: Reformat to standards and lint. | |
948 | (exec_one_dummy_insn): Use char array for saved instruction. | |
949 | (fixup_breakpoints): Declare. | |
950 | (vmap_ldinfo): Be more informative in fatal error messages. | |
951 | (xcoff_relocate_symtab): Define to return void. | |
952 | * xcoffsolib.h: Reformat to standards, improve comments. | |
953 | * config/rs6000/nm-rs6000.h (xcoff_relocate_symtab): Declare. | |
954 | ||
d8742f46 JK |
955 | Thu Apr 28 08:40:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
956 | ||
a0cf4681 JK |
957 | * utils.c, defs.h (error_begin): New function. |
958 | (quit): Print annotation before printing the error message. | |
959 | * main.c (return_to_top_level): Print annotation before doing the | |
960 | longjmp. | |
961 | * symtab.c (decode_line_1): Call error not warning and then | |
962 | return_to_top_level. Call error_begin and printf_unfiltered | |
963 | rather calling warning (before calls to return_to_top_level). | |
964 | * core.c (memory_error): Use error_begin, printf_unfiltered, | |
965 | print_address_numeric and return_to_top_level instead of error. | |
966 | Cleans up a FIXME-32x64. | |
967 | * language.c (type_error, range_error): Call error_begin | |
968 | not just target_terminal_ours. | |
969 | ||
21ad7c45 JK |
970 | * dbxread.c (stabsect_build_psymtabs): Assign to sym_stab_info |
971 | directly, rather than via DBX_SYMFILE_INFO. A cast on the left | |
972 | side of an assignment is non-portable. | |
973 | ||
d8742f46 JK |
974 | * utils.c (query): Change syntax of query annotations to be |
975 | consistent with other input annotations. | |
4dd876ac | 976 | (prompt_for_continue): Likewise for prompt-for-continue annotation. |
d8742f46 | 977 | |
11d26982 PS |
978 | Thu Apr 28 01:20:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
979 | ||
980 | * mdebugread.c (psymtab_to_symtab_1): Do not call sort_blocks | |
981 | for stabs symtabs. | |
982 | * mips-tdep.c (mips_skip_prologue): Handle prologues for functions | |
983 | that have a stack frame size of 32k or larger (from Paul Flinders). | |
984 | Remove #if 0'd code. | |
985 | ||
aa175216 SS |
986 | Wed Apr 27 16:33:51 1994 Stan Shebs (shebs@andros.cygnus.com) |
987 | ||
988 | * lynx-nat.c (CANNOT_STORE_REGISTER): Add a fallback definition | |
989 | for Lynx platforms that need it. | |
990 | * config/nm-lynx.h (__LYNXOS): Define if not already defined. | |
991 | ||
890634ed JK |
992 | Wed Apr 27 16:01:37 1994 Jim Kingdon (kingdon@cygnus.com) |
993 | ||
994 | * procfs.c (procfs_wait): Use the signal from the pr_info rather | |
995 | than trying to deduce it from the fault. | |
996 | ||
c0c9b923 SC |
997 | Wed Apr 27 12:22:46 1994 Steve Chamberlain (sac@cygnus.com) |
998 | ||
999 | * printcmd.c (print_address_symbolic): Initialize name to empty | |
1000 | string to avoid core dump if lookup fails. | |
1001 | * remote-e7000.c (printf_e7000debug): Error if target not open. | |
1002 | ||
a49666fe SG |
1003 | Tue Apr 26 22:45:24 1994 Stu Grossman (grossman at cygnus.com) |
1004 | ||
1005 | * i386-nlmstub.c: Update to be more in line with PIN stub. | |
1006 | * nlm/gdbserve.c (putDebugChar): Install bug fix from i386-nlmstub. | |
1007 | * (hex2mem): Init ptr. | |
1008 | * General cleanups to use ConsolePrintf, standard prologues, etc... | |
1009 | ||
d0e2b767 SG |
1010 | Tue Apr 26 10:23:04 1994 Stu Grossman (grossman at cygnus.com) |
1011 | ||
68ba2fa5 SG |
1012 | * i386-nlmstub.c: More changes to be compatible with remote.c. |
1013 | ||
1014 | * dbxread.c: Move a bunch of strncmps out of process_one_symbol | |
1015 | into (the far less frequently called) dbx_symfile_read. | |
1016 | ||
d0e2b767 SG |
1017 | * i386-nlmstub.c: An interim version till we get PIN for the x86. |
1018 | ||
a66e8382 SG |
1019 | Tue Apr 26 09:50:45 1994 Stu Grossman (grossman at cygnus.com) |
1020 | ||
1021 | * dbxread.c (record_minimal_symbol): Record the section | |
1022 | associated with the symbol to make dynmaic relocation work. | |
1023 | * (dbx_symfile_read, process_one_symbol): Fixes to work around | |
1024 | Solaris brain-damage which don't apply to relocatable object | |
1025 | files. | |
1026 | * (stabsect_build_psymtabs): New routine to read stabs out of an | |
1027 | arbitrarily named section. | |
1028 | * nlmread.c (nlm_symtab_read): Read ALL syms from the NLM, not just | |
1029 | globals. | |
1030 | * (nlm_symfile_read): Call stabsect_build_psymtabs to read the | |
1031 | stabs out of the nlm. | |
1032 | * partial-stabs.h (cases 'f' & 'F'): Fixes to work around Solaris | |
1033 | brain-damage which don't apply to relocatable object files. | |
1034 | * remote.c (putpkt): Improve error reporting and error handling. | |
1624c38f SG |
1035 | * (get_offsets): Temporary kludge to force data & bss sections to |
1036 | have the same relocation. | |
a66e8382 SG |
1037 | * stabsread.c (define_symbol, scan_file_globals): Record section |
1038 | info in sym. | |
1039 | ||
fdb81aa1 JK |
1040 | Sat Apr 23 19:05:52 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1041 | ||
1042 | * breakpoint.c (breakpoint_1): Annotate each field of output. Add | |
1043 | FIXME-32x64 comment. | |
1044 | ||
0a2e98a9 JK |
1045 | Fri Apr 22 16:43:54 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1046 | ||
d084c93f JK |
1047 | * infrun.c (wait_for_inferior): Move call to flush_cached_frames |
1048 | to after call to target_wait. This means that flush_cached_frames | |
1049 | can call target_terminal_ours if it wants to. | |
1050 | * infrun.c (wait_for_inferior) [HAVE_NONSTEPPABLE_WATCHPOINT]: Add | |
1051 | comment about why the code is dubious. | |
1052 | ||
0a2e98a9 JK |
1053 | * stabsread.c (read_type): Call read_type, not nonexistent |
1054 | os9k_read_type. | |
1055 | ||
d5336fc5 KH |
1056 | Fri Apr 22 14:25:36 1994 Kung Hsu (kung@mexican.cygnus.com) |
1057 | ||
1058 | * remote-os9k.c (rombug_fetch_registers): set trace mode | |
1059 | correctly. | |
1060 | * remote-os9k.c (rombug_read_inferior_memory): cache data in | |
1061 | buffer. | |
1062 | * os9kread,c (read_os9k_psymtab): process file symbol to truncate | |
1063 | extra info. | |
1064 | * os9kread.c (os9k_read_ofile_symtab): proper casting of args | |
1065 | passed to process_one_symbol. | |
1066 | * stabsread.c (read_type): process os9k functio prototype. | |
1067 | ||
f5a0908f JK |
1068 | Fri Apr 22 11:27:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1069 | ||
1070 | * solib.c (symbol_add_stub): If so->textsection is NULL, don't | |
1071 | dump core. | |
1072 | ||
9e8db445 JK |
1073 | Thu Apr 21 07:45:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1074 | ||
da988c20 JK |
1075 | * utils.c (prompt_for_continue): Annotate prompt. |
1076 | (query): Annotate query. | |
1077 | * printcmd.c (print_frame_args): Change syntax of argument | |
1078 | annotation to make name and value part of a single group of | |
1079 | annotations, not two separate groups. | |
1080 | * cp-valprint.c (cp_print_value_fields): Likewise for fields. | |
1081 | * valprint.c (val_print_array_elements): Change syntax of | |
1082 | annotation to be more concise. | |
1083 | * main.c, defs.h (command_line_input): New argument tells what | |
1084 | string to include in the annotations. | |
1085 | * symtab.c (decode_line_2), main.c (read_command_lines, | |
1086 | command_loop): Change callers. | |
1087 | ||
9e8db445 JK |
1088 | * breakpoint.c (watch_command): Use (CORE_ADDR)0, not NULL, for |
1089 | target null pointer. | |
1090 | * blockframe.c (find_frame_addr_in_frame_chain): Likewise. | |
1091 | ||
1092 | * printcmd.c (output_command): Annotate things we print here too. | |
eb1e37a3 | 1093 | * printcmd.c (print_command_1): Add "value-history-value" annotation. |
9e8db445 JK |
1094 | * Move declaration of print_value_flags from defs.h to value.h. |
1095 | * main.c (command_line_input): Call wrap_here as well as gdb_flush. | |
1096 | ||
0683ac4b PS |
1097 | Thu Apr 21 09:29:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1098 | ||
1099 | * dbxread.c (read_dbx_dynamic_symtab): Reinstall support for sun3, | |
1100 | BFD handles sun3 dynamic relocations now. | |
1101 | * elfread.c (elf_symtab_read, elf_symfile_read): Handle dynamic | |
1102 | symbol table. | |
1103 | ||
96f7edbd JK |
1104 | Wed Apr 20 19:41:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1105 | ||
1106 | * printcmd.c (print_command_1): Annotate the top-level expressions | |
1107 | that we print. | |
1108 | (print_frame_args): Annotate each argument. | |
1109 | * printcmd.c, defs.h (print_value_flags): New function. | |
1110 | * cp-valprint.c (cp_print_value_fields): Annotate each field. | |
1111 | * valprint.c (val_print_array_elements): Annotate each array element. | |
1112 | ||
59746d9f PS |
1113 | Wed Apr 20 13:18:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1114 | ||
1115 | * findvar.c (read_var_value): Handle LOC_REPARM_ADDR case correctly, | |
1116 | the register contains a pointer to the type, not the type itself. | |
1117 | ||
6c803036 JK |
1118 | Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1119 | ||
1120 | * main.c (main): Accept --annotate=N option and make --fullname | |
1121 | the same as --annotate=1. | |
1122 | (command_line_input): Print annotatation before and after prompt. | |
1123 | * blockframe.c (flush_cached_frames): Print annotation. | |
1124 | * Rename frame_file_full_name to annotation_level and move it from | |
1125 | symtab.h to defs.h. | |
1126 | * source.c (identify_source_line): If annotation_level > 1, | |
1127 | change output format. | |
1128 | * breakpoint.c: Print annotation whenever a breakpoint changes. | |
1129 | * main.c: New variable server_command. | |
1130 | (command_line_input): Parse "server " and set server_command. | |
1131 | (dont_repeat): Check server_command. | |
1132 | ||
d7a96d67 JK |
1133 | Wed Apr 20 08:37:16 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1134 | ||
963dbabe JK |
1135 | * xcoffread.c (xcoff_next_symbol_text): Don't return before |
1136 | updating raw_symbol and symnum. Return a value in the case where | |
1137 | we complained. | |
1138 | ||
d7a96d67 JK |
1139 | * dstread.c, coffread.c: Don't define pending_blocks; buildsym.c |
1140 | takes care of it. | |
703e4251 JK |
1141 | * parse.c: Don't define block_found; it is defined in symtab.c. |
1142 | * parser-defs.h: Add comment regarding block_found. | |
d7a96d67 | 1143 | |
d782a995 JL |
1144 | Tue Apr 19 09:46:05 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1145 | ||
1146 | * hppa-tdep.c (internalize_unwind_info): Delete unused indexp | |
1147 | argument. | |
1148 | ||
be78eb1a PS |
1149 | Mon Apr 18 13:18:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1150 | ||
1151 | * dbxread.c (read_dbx_dynamic_symtab): Relocate BFD symbols by | |
1152 | section vma. Do not read dynamic relocs for sun3 executables to | |
1153 | avoid BFD assertion message. | |
1154 | ||
9c842e0c JL |
1155 | Mon Apr 18 10:08:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1156 | ||
1157 | * nm-hppab.h (KERNEL_U_ADDR): Define. | |
1158 | (FIVE_ARG_PTRACE): Likewise. | |
1159 | (CANNOT_STORE_REGISTER): Likewise. | |
8bd8cef2 | 1160 | * nm-hppah.h (KERNEL_U_ADDR): Define. |
9c842e0c JL |
1161 | (FIVE_ARG_PTRACE): Likewise. |
1162 | (CANNOT_STORE_REGISTER): Likewise. | |
1163 | (NEED_TEXT_START_END): Likewise. | |
1164 | ||
1165 | * tm-hppah.h (NEED_TEXT_START_END): Delete definition. | |
1166 | * xm-hppah.h (KERNEL_U_ADDR): Delete definition. | |
1167 | (FIVE_ARG_PTRACE): Likewise. | |
1168 | * xm-hppab.h (KERNEL_U_ADDR): Delete definition. | |
1169 | (FIVE_ARG_PTRACE): Likewise. | |
1170 | ||
1171 | * hppa-tdep.c (read_unwind_info): Make static. | |
1172 | (restore_pc_queue): Indirect through the target vector to | |
1173 | reload the register state. | |
1174 | ||
c5152d42 JL |
1175 | Sat Apr 16 22:20:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1176 | ||
1177 | * paread.c (compare_unwind_entries): Delete function. It's been | |
1178 | moved into hppa-tdep.c. | |
1179 | (read_unwind_info): Likewise. | |
1180 | (pa_symfile_read): No longer call read_unwind_info. The unwind | |
1181 | tables will be read in as they are needed. | |
1182 | ||
1183 | * hppa-tdep.c (compare_unwind_entries): New function. | |
1184 | (read_unwind_info, internalize_unwinds): Likewise. | |
1185 | (find_unwind_entry): Read in unwind information on demand. | |
1186 | ||
fad466eb SS |
1187 | Fri Apr 15 11:53:46 1994 Stan Shebs (shebs@andros.cygnus.com) |
1188 | ||
1189 | * source.c (DIRNAME_SEPARATOR): New macro, replaces all references | |
1190 | to : in search path processing. | |
1191 | * defs.h (qsort): Rename argument in prototype. | |
1192 | * symtab.h (SAYMBOL_VALUE): Rename value field, avoids bugs in | |
1193 | some compilers. | |
1194 | * breakpoint.c, exec.c, mdebugread.c, mipsread.c, xcoffexec.c | |
1195 | (false): Eliminate usages. | |
1196 | ||
63eef03a SC |
1197 | Fri Apr 15 11:35:19 1994 Steve Chamberlain (sac@cygnus.com) |
1198 | ||
1199 | * h8500-tdep.c (initialize_h8500_tdep, large_command): | |
1200 | All references to value changed to value_ptrlage_command is now | |
1201 | called big_command. | |
1202 | All references to value changed to value_ptr. | |
1203 | * remote-e7000.c (e7000_wait): Use target_waitstatus and SETSTOP | |
1204 | * remote-hms.c (hms_wait): Timeout after five seconds. | |
1205 | * ser-go32.c (dosasync_read): Poll if timeout < 0. | |
1206 | * config/tm/tm-h8500.h (BEFORE_MAIN_LOOP_HOOK): Deleted. | |
1207 | * config/sh/tm-sh.h (BREAKPOINT): Is now sleep opcode. | |
1208 | ||
e6b8a171 JL |
1209 | Thu Apr 14 07:01:56 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1210 | ||
1211 | * procfs.c (procfs_wait): Protect watchpoint code with appropriate | |
1212 | #ifdefs. | |
6bc194d2 | 1213 | (procfs_set_watchpoint, procfs_stopped_by_watchpoint): Likewise. |
e6b8a171 | 1214 | |
999dd04b JL |
1215 | Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1216 | ||
1217 | * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and | |
1218 | bp_watchpoint_scope breakpoints. | |
1219 | (struct breakpoint): Add val_chain and related_breakpoint fields | |
1220 | for use by watchpoints. | |
1221 | ||
1222 | * breakpoint.c (within_scope): Delete. No longer used. | |
1223 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition. | |
1224 | (target_{remove,insert}_watchpoint): Likewise. | |
1225 | (can_use_hardware_watchpoint): New function. | |
1226 | (remove_breakpoint): New function to remove a single breakpoint | |
1227 | or hardware watchpoint. | |
1228 | (insert_breakpoints): Handle insertion of hardware watchpoints. | |
1229 | Store a copy of the value chain derived from the watchpoint | |
1230 | expression. | |
1231 | (remove_breakpoints): Simplify by using remove_breakpoint. | |
1232 | (delete_breakpoint): Likewise. | |
1233 | (watchpoint_check): Delete the watchpoint and watchpoint scope | |
1234 | breakpoints when the watchpoint goes out of scope. Save & restore | |
1235 | the current frame after checking watchpoints. | |
1236 | (breakpoint_init_inferior): Likewise (restarting the program | |
1237 | makes all local watchpoints go out of scope). | |
1238 | (bpstat_stop_status): Handle hardware watchpoints much like normal | |
1239 | watchpoints. Delete the watchpoint and watchpoint scope breakpoint | |
1240 | when the watchpoint goes out of scope. Remove and reinsert all | |
1241 | breakpoints before returning if we stopped when a hardware watchpoint | |
1242 | fired. | |
1243 | (watch_command): Use a hardware watchpoint when possible. If | |
1244 | watching a local expression, build a scope breakpoint too. | |
1245 | (map_breakpoint_numbers): Also call given function for any | |
1246 | related breakpoints. | |
1247 | (disable_breakpoint): Never disable a scope breakpoint. | |
1248 | (enable_breakpoint): Handle hardware breakpoints much like normal | |
1249 | breakpoints, but recompute the watchpoint_scope breakpoint's | |
1250 | frame and address (if we have an associated scope breakpoint). | |
1251 | (read_memory_nobpt): Handle hardware watchpoints like normal | |
1252 | watchpoints. When necessary handle watchpoint_scope breakpoints. | |
1253 | (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise. | |
1254 | (clear_command, breakpoint_re_set_one, enable_command): Likewise. | |
1255 | (disable_command): Likewise. | |
1256 | ||
1257 | * blockframe.c (find_frame_addr_in_frame_chain): New function. | |
1258 | Extern prototype added to frame.h | |
1259 | ||
1260 | * infrun.c (wait_for_inferior): Set current_frame and select | |
1261 | a frame before checking if we stopped due to a hardare watchpoint | |
1262 | firing. Handle stepping over hardware watchpoints. | |
1263 | (normal_stop): Remove unnecessary call to select_frame. | |
1264 | ||
1265 | * value.h (value_release_to_mark): Declare. | |
1266 | * values.c (value_release_to_mark): New function. | |
1267 | ||
1268 | * procfs.c (procfs_wait): Add cases for hardware watchpoints. | |
1269 | (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions. | |
1270 | ||
1271 | * hppab-nat.c (hppa_set_watchpoint): New function. | |
1272 | ||
1273 | * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define. | |
1274 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
1275 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. | |
1276 | (target_{insert,delete}_watchpoint): Define. | |
1277 | ||
9ec76784 JL |
1278 | * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. |
1279 | (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. | |
1280 | (target_{insert,remove}_watchpoint): Likewise. | |
1281 | ||
70e375c3 SG |
1282 | Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com) |
1283 | ||
1284 | * xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT, | |
1285 | smtyp XTY_LD, sclass XMC_DS (external data segment label). They | |
1286 | often have the same names as debug symbols for functions, and | |
1287 | confuse lookup_symbol(). | |
1288 | ||
2ddeed27 JK |
1289 | Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1290 | ||
1291 | * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. | |
1292 | * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than | |
1293 | REGISTER_RAW_SIZE (1). | |
1294 | Together these changes work around a bug in HP's compiler. Both | |
1295 | seem to be necessary. | |
1296 | ||
699daa9c JL |
1297 | Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1298 | ||
1299 | * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols | |
1300 | with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables | |
1301 | are type mst_solib_trampoline. | |
1302 | ||
7b2b0758 JK |
1303 | Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1304 | ||
1305 | * config/m68k/es1800.mt: Change comments. | |
1306 | ||
1307 | Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) | |
1308 | ||
1309 | * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o. | |
1310 | ||
790a14a8 SG |
1311 | Fri Apr 8 15:35:30 1994 Stu Grossman (grossman at cygnus.com) |
1312 | ||
1313 | * lynx-nat.c: Restore regmap structure for SPARC. It's needed | |
1314 | for core files. | |
1315 | ||
f3e4ac4a JK |
1316 | Fri Apr 8 14:53:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1317 | ||
a110a1c3 JK |
1318 | * values.c (unpack_long): Remove obsolete comment about using a |
1319 | switch statement. | |
1320 | ||
f3e4ac4a JK |
1321 | * symfile.c (symbol_file_command): Add comments about command syntax. |
1322 | ||
2fe3b329 PS |
1323 | Thu Apr 7 17:25:21 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1324 | Jim Kingdon (kingdon@cygnus.com) | |
1325 | ||
1326 | * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines | |
1327 | are in the .plt section. | |
1328 | * minsyms.c (lookup_solib_trampoline_symbol_by_pc, | |
1329 | find_solib_trampoline_target): New functions for handling | |
1330 | stepping into -g compiled shared libraries. | |
1331 | * symtab.h (lookup_solib_trampoline_symbol_by_pc, | |
1332 | find_solib_trampoline_target): Add prototypes. | |
1333 | * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): | |
1334 | Define to handle stepping into -g compiled shared libraries. | |
1335 | * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle | |
1336 | stepping into -g compiled shared libraries. | |
1337 | ||
1338 | Thu Apr 7 17:22:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1339 | ||
1340 | * configure.in: Add mips-*-sysv4* support. | |
1341 | * config/mips/mipsv4.mh, config/mips/mipsv4.mt, | |
1342 | config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: | |
1343 | New files for MIPS SVR4 support. | |
1344 | * Makefile.in: Update for new mipsv4 files. | |
1345 | * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use | |
1346 | read_next_frame_reg to obtain the frame relative stack pointer. | |
1347 | * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to | |
1348 | obtain the frame relative stack pointer. | |
1349 | * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): | |
1350 | Handle stStatic and stStaticProc symbols in stabs-in-ecoff output | |
1351 | by entering them into the minimal symbol table. | |
1352 | * printcmd.c (print_scalar_formatted): Do not try to unpack to | |
1353 | a long for float formats. | |
1354 | * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not | |
1355 | get defined in <link.h>. | |
1356 | * solib.c (solib_add): Add shared library sections to the section | |
1357 | table of the target before adding the symbols. | |
1358 | * partial-stab.h: Relocate static and global functions. | |
1359 | * dbxread.c (read_dbx_symtab): Remove unused variable | |
1360 | end_of_text_address. Relocate text_addr when passing it | |
1361 | to end_psymtab. | |
1362 | ||
1363 | For Alpha OSF/1 targets, enable gdb to set breakpoints in shared | |
1364 | library functions before the executable is run. Retrieve dynamic | |
1365 | symbols from stripped executables. | |
1366 | * mipsread.c (read_alphacoff_dynamic_symtab): New function. | |
1367 | * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message | |
1368 | if no debugging symbols were found. | |
1369 | * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered | |
1370 | pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS | |
1371 | is defined. | |
1372 | * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, | |
1373 | OSF/1 has shared libraries. | |
1374 | ||
192b64e7 ILT |
1375 | Thu Apr 7 15:11:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1376 | ||
1377 | * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes | |
1378 | to BFD handling of dynamic symbols. | |
1379 | ||
45568424 JL |
1380 | Tue Apr 5 15:29:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1381 | ||
4f915914 JL |
1382 | * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label, |
1383 | then gets its real address into FUN and its GOT/DP value into %r19. | |
1384 | ||
1385 | * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary. | |
1386 | ||
7f43b9b7 JL |
1387 | * hppa-tdep.c (frameless_function_invocation): If no unwind |
1388 | descriptor was found, then assume this was not a frameless | |
1389 | function invocation. | |
1390 | (frame_saved_pc): If the saved PC is in a linker stub, then | |
1391 | return the return address which the linker stub will return to. | |
1392 | ||
45568424 JL |
1393 | * xm-hppab.h: Never define USG. |
1394 | * xm-hppah.h: Always define USG. | |
1395 | ||
b96bc1e4 PB |
1396 | Tue Apr 5 12:58:47 1994 Per Bothner (bothner@kalessin.cygnus.com) |
1397 | ||
1398 | * values.c (unpack_long, value_from_longest), | |
1399 | valarith.c (value_binop): Allow TYPE_CODE_RANGE. | |
1400 | ||
d5412302 JK |
1401 | Fri Apr 1 14:04:34 1994 Jason Merrill (jason@deneb.cygnus.com) |
1402 | ||
1403 | * symfile.c (deduce_language_from_filename): .cpp is a C++ extension. | |
1404 | ||
38b90473 PS |
1405 | Fri Apr 1 00:44:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1406 | ||
1407 | For SVR4 targets, enable gdb to set breakpoints in shared | |
1408 | library functions before the executable is run. | |
1409 | * elfread.c (elf_symtab_read): Handle symbols for shared library | |
1410 | functions. | |
1411 | * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section | |
1412 | and moved to objfiles.c. | |
1413 | * objfiles.c (in_plt_section): Moved to here from sparc-tdep. | |
1414 | * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section. | |
1415 | * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed, | |
1416 | the new generic definition from tm-sysv4.h works for Solaris. | |
1417 | ||
70f42bae ILT |
1418 | Wed Mar 30 16:14:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1419 | ||
1420 | * elfread.c (elf_symtab_read): Change storage_needed, | |
1421 | number_of_symbols and i to long. Rename get_symtab_upper_bound to | |
1422 | bfd_get_symtab_upper_bound. Check for errors from | |
1423 | bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. | |
1424 | * nlmread.c (nlm_symtab_read): Same changes. | |
1425 | ||
aece310f JK |
1426 | Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1427 | ||
34d265dc JK |
1428 | * xcoffread.c (xcoff_next_symbol_text): New function. |
1429 | (read_xcoff_symtab): Set next_symbol_text_func to it. | |
1430 | Move raw_symbol outside of read_xcoff_symtab. | |
1431 | ||
aece310f JK |
1432 | * remote.c (getpkt): Remove unused "out" label. |
1433 | ||
bd2f0c85 JL |
1434 | Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1435 | ||
1436 | * breakpoint.c (print_it_normal): Allow GDB to notify the user | |
1437 | about more than one watchpoint being triggered. | |
1438 | ||
c2216bfd JK |
1439 | Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1440 | ||
1441 | * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h. | |
1442 | ||
db2302cb PS |
1443 | Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1444 | ||
9e837b37 PS |
1445 | * blockframe.c (find_pc_partial_function): mst_file_text |
1446 | symbols do not live in the shared library transfer table. | |
db2302cb PS |
1447 | * ch-exp.y (decode_integer_value, match_character_literal, |
1448 | match_bitstring_literal): Guard tolower calls with isupper, | |
1449 | tolower on old BSD systems blindly subtracts a constant. | |
1450 | * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as | |
1451 | well when determining the producer of the object file. | |
1452 | * mdebugread.c (has_opaque_xref): New function to check for | |
1453 | cross reference to an opaque aggregate. | |
1454 | * mdebugread.c (parse_symbol, parse_partial_symbols): Do not | |
1455 | enter typedefs to opaque aggregates into the symbol tables. | |
1456 | * mdebugread.c (parse_external): Remove skip_procedures argument, | |
1457 | it has always been 1. Remove code that handled stProc symbols, | |
1458 | it was never executed and was wrong, as the index of a | |
1459 | stProc symbol points to the local symbol table and not to the | |
1460 | auxiliary symbol info. Update caller. | |
1461 | * mdebugread.c (parse_partial_symbols): Do not enter external | |
1462 | stProc symbols into the partial symbol table, they are already | |
1463 | entered into the minimal symbol table. | |
1464 | * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix. | |
1465 | Remove all conditionals and definitions for ptx. | |
1466 | I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. | |
1467 | Fix addresses of floating point registers in REGISTER_U_ADDR. | |
1468 | STORE_STRUCT_RETURN now handles cc and gcc conventions. | |
1469 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, | |
1470 | IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through | |
1471 | signal trampoline code work. | |
1472 | * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. | |
1473 | Remove all conditionals and definitions for ptx. | |
1474 | Remove KDB definitions. | |
1475 | * symm-nat.c (store_inferior_registers): Fetch registers before | |
1476 | storing them to obtain valid floating point control registers. | |
1477 | Store fpu registers. | |
1478 | * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines | |
1479 | FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value. | |
1480 | * symm-nat.c (fetch_inferior_registers, child_xfer_memory): | |
1481 | Fix typos. | |
1482 | * symm-nat.c (child_resume): Update type of `signal' parameter. | |
1483 | * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h. | |
1484 | ||
19cd0c1f JL |
1485 | Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1486 | ||
1487 | * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for | |
1488 | calling import stubs for functions in shared libraries. | |
1489 | ||
73cd3b49 PB |
1490 | Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com) |
1491 | ||
58cda66e PB |
1492 | * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression). |
1493 | ||
73cd3b49 PB |
1494 | * ch-lang.c (chill_is_varying_struct): Magic string is |
1495 | was "<var_length>" is now "__var_length" (more portable). | |
1496 | ||
0c993550 JK |
1497 | Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1498 | ||
1499 | * remote.c (getpkt): If we get a timeout, actually retry rather | |
1500 | than just giving up the first time it happens. | |
1501 | * remote.c: Document sequence numbers. | |
1502 | (remote_store_registers): Change syntax of 'P' request so that it | |
1503 | never looks like a sequence number. | |
1504 | ||
d80ff70c KH |
1505 | Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com) |
1506 | ||
0c993550 | 1507 | * os9kread.c (record_minimal_symbol): add section_offset to |
d80ff70c KH |
1508 | relocate minimal symbol table. |
1509 | * os9kread.c (read_minimal_symbols): ditto. | |
1510 | * os9kread.c (os9k_symfile_init): increase size of dbg and stb | |
1511 | file names. | |
1512 | * os9kread.c (read_os9k_psymtab): if there's no dbg file, just | |
1513 | return. Also if file addr is 0 leave it 0, not to relocate. | |
1514 | * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon', | |
1515 | 'set remotexoff' and 'set remotelog' commands. | |
1516 | ||
4aa6fe10 JK |
1517 | Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1518 | ||
1519 | * remote.c (remote_store_registers): Add 'P' request to set an | |
1520 | individual register. | |
1521 | (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print | |
1522 | a target address. | |
1523 | ||
72e35288 JK |
1524 | Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1525 | ||
649694ea JK |
1526 | * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG. |
1527 | * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to | |
1528 | combining all 'p' and 'r' pairs into a LOC_REGPARM. | |
1529 | ||
72e35288 JK |
1530 | * command.c (do_setshow_command, case var_string): Never add a |
1531 | space to the end of the string. | |
1532 | * NEWS: Document this change. | |
1533 | * .gdbinit: Add a space to the "set prompt" command. | |
1534 | ||
59144a81 JK |
1535 | Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1536 | ||
493424b1 JK |
1537 | * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor |
1538 | changes to make it compile (it doesn't link yet). | |
1539 | ||
1540 | * buildsym.c (start_subfile, patch_subfile_names), demangle.c | |
1541 | (set_demangling_style, set_demangling_command): Use savestring not | |
1542 | strdup. We were not dealing properly with a NULL return from | |
1543 | strdup, and were not declaring strdup (the system header may or | |
1544 | may not have it). | |
1545 | ||
59144a81 JK |
1546 | * valprint.c (val_print): Remove inaccurate comment about what |
1547 | types can be stub types. | |
1548 | ||
1549 | * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o. | |
1550 | * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): | |
1551 | Supply alternate version if ATTACH_DETACH is not defined. | |
1552 | * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, | |
1553 | tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. | |
1554 | * configure.in: Recognize i[34]86-sequent-sysv4* host. | |
1555 | ||
c8f75fe8 JL |
1556 | Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1557 | ||
de482138 JL |
1558 | * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning |
1559 | of a function. | |
1560 | (skip_trampoline_code): Rewrite and add support for argument | |
1561 | relocation stubs stubs, import/export stubs, calls through | |
1562 | "_sr4export" and cascaded trampolines. | |
1563 | ||
fdafbfad JL |
1564 | * hppa-tdep.c (skip_prologue): Return "pc" not zero |
1565 | if no unwind descriptor is found. | |
1566 | ||
eb1167c6 JL |
1567 | * tm-hppa.h (NUM_REGS): Bump to 128 registers. |
1568 | (REGISTER_NAMES): Add entries for "right-half" of FP registers. | |
1569 | (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs | |
1570 | differently. All registers are four bytes. | |
1571 | (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are | |
1572 | the same size. | |
1573 | (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs. | |
1574 | ||
1575 | * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP | |
1576 | registers as both single and double values (fetching 2nd 32bit half | |
1577 | as necessary). Annotate each register printed with its precision. | |
1578 | ||
c8f75fe8 JL |
1579 | * paread.c (read_unwind_info): Fix off-by-one error. |
1580 | ||
0c1af47f JK |
1581 | Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1582 | ||
1583 | * main.c (complete_command): Deal with it if arg is NULL. | |
1584 | ||
5801f348 JK |
1585 | Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1586 | ||
4df6dcd1 JK |
1587 | * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment |
1588 | regarding using the PC--using the PC is necessary and all the | |
1589 | FIXME comments in the world won't make it go away. | |
1590 | ||
2f3b7d8e JK |
1591 | * valops.c (value_at, value_at_lazy): Give error if we dereference |
1592 | a pointer to void. | |
1593 | * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID. | |
1594 | * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types. | |
1595 | ||
553e1862 JK |
1596 | * stabsread.c (patch_block_stabs): Add comment about what happens |
1597 | if the definition is in another compilation unit from the stab. | |
acdec954 | 1598 | |
5801f348 JK |
1599 | * dbxread.c (end_psymtab): Add comment about empty psymtabs. |
1600 | ||
09973223 JK |
1601 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1602 | ||
1603 | * main.c (complete_command): New command, from Rick Sladkey | |
1604 | <jrs@world.std.com>. | |
1605 | (symbol_completion_function): Don't declare rl_point and | |
1606 | rl_line_buffer; they are now declared in readline.h. | |
1607 | (show_commands): Don't declare history_base; it is declared in | |
1608 | history.h. | |
1609 | * command.c (lookup_cmd): Don't delete trailing whitespace. | |
acdec954 | 1610 | Reverts change of 14 May 1989. |
09973223 JK |
1611 | |
1612 | Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com) | |
1613 | ||
1614 | * minsyms.c (prim_record_minimal_symbol): Move section deduction | |
1615 | code from prim_record_minimal_symbol_and_info() to here. Callers | |
1616 | of the latter can legitimately supply a section number of -1. | |
1617 | ||
e552788b JK |
1618 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1619 | ||
1620 | * gdbtypes.h, gdbtypes.c: Add comments regarding whether static | |
1621 | member functions have an element in args for a (nonexistent) this | |
1622 | pointer. | |
1623 | ||
84ad95c1 JL |
1624 | Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1625 | ||
0a64709e JL |
1626 | * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define. |
1627 | ||
1628 | * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space | |
1629 | queue if NO_PC_SPACE_QUEUE_RESTORE is defined. | |
1630 | ||
84ad95c1 JL |
1631 | * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument |
1632 | for the structure's type. All callers changed. | |
1633 | ||
1634 | * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR | |
1635 | for each structure argument rather than assuming it's either | |
1636 | true or false for all structure arguments. | |
1637 | ||
1638 | * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only | |
1639 | on the length structure passed, not the compiler used. | |
1640 | ||
1641 | * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional | |
1642 | argument for the structure's type. | |
1643 | ||
29f2ceed JK |
1644 | Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1645 | ||
51f83933 JK |
1646 | * values.c (set_internalvar): Don't set var->value until we are |
1647 | sure there won't be an error(). | |
1648 | ||
29f2ceed JK |
1649 | * remote.c (get_offsets): Reinstate comment which was in |
1650 | remote_wait about use of SECT_OFF_TEXT and so on. | |
1651 | ||
1652 | Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
1653 | ||
1654 | * symmisc.c (maintenance_check_symtabs): New function to check | |
1655 | consistency of psymtabs and symtabs. | |
1656 | * symtab.h (maintenance_check_symtabs): Add prototype. | |
1657 | * maint.c: Add new `maint check-symtabs' command. | |
1658 | * config/i386/tm-i386aix.h, config/i386/tm-sun386.h, | |
1659 | config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo. | |
1660 | * config/i386/tm-symmetry.h: Make comment inside #if 0 a real | |
1661 | comment. | |
1662 | * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument | |
1663 | to write_memory to avoid warnings from gcc. | |
1664 | * config/i386/xm-symmetry.h: Add missing #endif. | |
1665 | * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix. | |
1666 | * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o. | |
1667 | * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add. | |
1668 | ||
4fd5eed4 JL |
1669 | Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1670 | ||
1671 | * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr. | |
1672 | (hppa_push_arguments): Likewise. | |
1673 | ||
72bba93b SG |
1674 | Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com) |
1675 | ||
1676 | * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to | |
1677 | improve remote debugging efficiency. Also fixed problems with | |
1678 | doing function calls for programs with no entry points. | |
1679 | * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of | |
1680 | entry_point_address. | |
1681 | * inferior.h (PC_IN_CALL_DUMMY): ditto. | |
1682 | * mdebugread.c (parse_symbol, parse_procedure, parse_external, | |
1683 | parse_lines): Pass section_offsets info to these routines so that | |
1684 | we can relocate symbol table entries upon readin. | |
1685 | * (psymtab_to_symtab_1): Set symtab->primary to tell | |
1686 | objfile_relocate to do relocations for our symbols. | |
1687 | * (ecoff_relocate_efi): New routine to relocate adr field of PDRs | |
1688 | (which hang off of the symbol table). | |
1689 | * Use prim_record_minimal_symbols_and_info instead of | |
1690 | prim_record_minimal_symbols to supply section info to make minimal | |
1691 | symbol relocations work. | |
1692 | * minsyms.c (prim_record_minimal_symbols_and_info): If section is | |
1693 | -1, try to deduce it from ms_type. | |
1694 | * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where | |
1695 | appropriate. Handle relocation of MIPS_EFI symbols special. Also, | |
1696 | add code to relocate objfile->sections data structure. | |
1697 | * remote.c (get_offsets): Use new protocol message to acquire | |
1698 | section offsets from the target. | |
1699 | * (remote_wait): Get rid of relocation stuff. That's all handled | |
1700 | by objfile_relocate now. | |
1701 | * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h. | |
1702 | * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and | |
1703 | VM_MIN_ADDRESS. | |
1704 | * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0. | |
1705 | ||
d148e8c4 DE |
1706 | Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com) |
1707 | ||
1708 | * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE | |
1709 | instead of 4. | |
d3688932 DE |
1710 | * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted, |
1711 | can no longer set this at run time. | |
7f695c07 DE |
1712 | * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now. |
1713 | (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function. | |
1714 | * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so | |
1715 | sparc-tdep.c compiles). | |
1716 | (TARGET_PTR_BIT): Must be a constant now, fix at 64. | |
d3688932 | 1717 | |
94d4b713 JK |
1718 | Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1719 | ||
d0bff94e JK |
1720 | * config/m68k/{cisco.mt,tm-cisco.h}: New files. |
1721 | * Makefile.in (ALLPARAM, ALLCONFIG): Add them. | |
1722 | * configure.in: Recognize m68*-cisco*-*. | |
1723 | ||
94d4b713 JK |
1724 | * Makefile.in (TAGS): Use variables directly, rather than using |
1725 | find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster | |
1726 | and means that these filenames no longer need be unique across all | |
1727 | the config/* directories. | |
1728 | * configure.in: Put the config/*/ into TM_FILE, etc. | |
1729 | ||
1730 | * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk | |
1731 | and trapv exceptions. | |
1732 | ||
1733 | * target.h (struct section_table), objfiles.h (struct obj_section): | |
1734 | Change name of field sec_ptr to the_bfd_section. More mnemonic | |
1735 | and avoids the (sort of, for the ptx compiler) name clash with | |
1736 | the name of the typedef. | |
1737 | * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c, | |
1738 | solib.c, irix5-nat.c, objfiles.c, remote.c: Change users. | |
1739 | ||
1740 | * utils.c: Include readline.h. | |
1741 | * Makefile.in (utils.o): Add dependency. | |
1742 | ||
1743 | * remote.c (getpkt): Add support for run-length encoding. | |
1744 | ||
8eec3310 SC |
1745 | Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) |
1746 | ||
1747 | * utils.c (prompt_for_continue): Call readline, not gdb_readline. | |
1748 | ||
ee6d646a JK |
1749 | Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1750 | ||
20657f71 JK |
1751 | * dstread.c (record_minimal_symbol): New arg objfile. Pass it to |
1752 | prim_record_minimal_symbol. | |
1753 | Callers: Pass it. | |
1754 | ||
ee6d646a JK |
1755 | * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by |
1756 | computing their offset from the start of the old buffer and adding | |
1757 | to the new buffer, rather than by assuming we can add the | |
1758 | difference between the old buffer and the new buffer (it might not | |
1759 | fit in an int). Merge in cosmetic differences from emacs regex.c | |
1760 | version of this macro. | |
1761 | ||
478d3811 JK |
1762 | Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1763 | ||
1764 | * Makefile.in (install-only): Fix use of program_transform_name. | |
1765 | ||
c42b8af8 JK |
1766 | Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1767 | ||
f8715549 | 1768 | * printcmd.c: Remove "set print fast-symbolic-addr off" command. |
478d3811 | 1769 | The bug which it worked around was fixed on 25 Feb 94 in coffread.c, |
f8715549 JK |
1770 | so I'm nuking the command. |
1771 | * symtab.c (find_addr_symbol): Comment out, no longer used. | |
1772 | ||
a645ccc9 JK |
1773 | * main.c (main): Don't init_source_path for the -cd argument. Now |
1774 | that source_path doesn't contain the current_directory from when | |
1775 | GDB started up, init_source_path is no longer useful (and is | |
1776 | harmful because it clobbers a source_path set in $HOME/.gdbinit). | |
1777 | ||
c42b8af8 JK |
1778 | * TODO: Remove item about line numbers being off. It is useless |
1779 | and confusing without a reproducible test case (it mentions | |
1780 | proceed(), but I was able to step through proceed without trouble). | |
1781 | ||
ae6d035d PS |
1782 | Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1783 | ||
1784 | For Sunos 4.x targets, enable gdb to set breakpoints in shared | |
1785 | library functions before the executable is run. Retrieve dynamic | |
1786 | symbols from stripped executables. | |
1787 | * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type. | |
1788 | * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols), | |
1789 | symtab.c (list_symbols): Handle mst_solib_trampoline. | |
1790 | * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline | |
1791 | for all targets, remove IBM6000_TARGET dependencies. | |
1792 | * dbxread.c (read_dbx_dynamic_symtab): New function. | |
1793 | * dbxread.c (dbx_symfile_read): Use it. | |
1794 | * dbxread.c (SET_NAMESTRING): Set namestring to | |
1795 | "<bad string table index>" instead of "foo" if the string index is | |
1796 | corrupt. | |
1797 | * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead | |
1798 | of mst_unknown. | |
1799 | * symtab.c (list_symbols): Take from_tty as parameter and pass it | |
1800 | to break_command. Handle mst_file_* minimal symbol types. | |
1801 | * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef. | |
1802 | ||
b427690a KH |
1803 | Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com) |
1804 | ||
1805 | * c-exp.y(yylex): fix potential memory overflow. | |
1806 | ||
f93b941b JK |
1807 | Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1808 | ||
1809 | * environ.c (set_in_environ): Eliminate special handling of PATH and | |
1810 | GNUTARGET. | |
1811 | * putenv.c: Removed, conflicts with system declaration of | |
1812 | putenv on RS/6000 running AIX 3.2.5, and above change makes it | |
1813 | unnecessary. | |
1814 | * Makefile.in: Change accordingly. | |
1815 | * procfs.c (procfs_create_inferior): Change comment accordingly. | |
1816 | ||
17221e41 JK |
1817 | Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com) |
1818 | ||
1819 | * rs6000-tdep.c: Change value to value_ptr. | |
1820 | ||
8eb79598 JK |
1821 | Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1822 | ||
c4ad6b09 JK |
1823 | * i386m3-nat.c: Include floatformat.h. |
1824 | (get_i387_state): Use memset not bzero. | |
1825 | ||
5fa83062 JK |
1826 | * Version 4.12.3. |
1827 | ||
1828 | * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change | |
1829 | ieee-float.h to floatformat.h. | |
1830 | ||
79f3d586 JK |
1831 | * valprint.c (val_print_string): Ignore error if the error |
1832 | happened after a terminating '\0'. | |
1833 | ||
1834 | * c-valprint.c (c_val_print): Never add 1 to return value from | |
1835 | val_print_string; just return what it returns. | |
1836 | ||
8eb79598 JK |
1837 | * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for |
1838 | looping through all of the enums. | |
1839 | * infrun.c (signals_info): Use it. | |
1840 | ||
c4de6b30 JK |
1841 | Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1842 | ||
8e4c7b3e JK |
1843 | * main.c (main): When printing warning about bad baud rate, don't |
1844 | use warning(); it relies on current_target which isn't set up yet. | |
1845 | ||
c4de6b30 | 1846 | * breakpoint.c (_initialize_breakpoint): Update docstring for |
d1bdad57 JK |
1847 | tbreak to match what the code actually does. Don't mention tbreak |
1848 | in docstrings for "enable once" or "enable breakpoints once". | |
c4de6b30 | 1849 | |
d78d4d16 JK |
1850 | Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1851 | ||
1852 | * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after | |
1853 | while (0). That defeats the whole purpose of using do . . . while (0). | |
1854 | * mdebugread.c (parse_partial_symbols): Don't use ?: expression as | |
1855 | list for ADD_PSYMBOL_TO_LIST; the macro takes its address and | |
1856 | using a ?: expression as an lvalue is not portable. | |
1857 | ||
1858 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also | |
1859 | convert a LOC_ARG to a LOC_REF_ARG. Update code which combines | |
1860 | 'p' and 'r' symbol descriptors into a single symbol to look for a | |
1861 | LOC_REF_ARG. | |
1862 | * README, config/sparc/tm-sparc.h: Update comments. | |
1863 | ||
10373914 PS |
1864 | Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1865 | ||
1866 | * mdebugread.c (parse_type): Do not complain for types with | |
1867 | an `indexNil' aux index, these are simply undefined types. | |
1868 | Remove indexNil check from caller of parse_type. | |
1869 | * mdebugread.c (parse_partial_symbols): Do not enter | |
1870 | stGlobal, scCommon symbols into the minimal symbol table, their | |
1871 | value is the size of the common, not its address. | |
1872 | Handle scInit, scFini, scPData and scXData sections. | |
1873 | Use minimal symbol type mst_file_* for stLabel symbols, instead of | |
1874 | mst_*. | |
1875 | Enter stProc symbols into the global_psymbols list once, not into | |
1876 | the static_psymbols_list. | |
1877 | Get rid of dummy psymtab if it is empty, to allow proper detection | |
1878 | of stripped executables. | |
1879 | * mdebugread.c (cross_ref): Allow cross references to Fortran | |
1880 | common blocks. | |
1881 | ||
fddb9bda JK |
1882 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1883 | ||
1884 | * stabsread.c (common_block_end, fix_common_block): Stash the | |
1885 | struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so | |
1886 | as to not assume that a pointer fits in an enum. | |
1887 | ||
d9389f37 KH |
1888 | Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com) |
1889 | ||
1890 | * os9kread.c (fill_sym): check compiler verion number for pre- | |
1891 | UltraC compiler. | |
1892 | * os9kread.c (os9k_process_one_symbol): address of symbol is | |
1893 | relative to section not module. | |
1894 | * stabsread.c (define_symbol): add symbol type 's' as local | |
1895 | symbol for os9k. | |
1896 | * remote-os9k.c: add command 'set monitor_log' to turn on or off | |
1897 | monitor logging. | |
1898 | * remote-os9k.c: fix bug in delete breakpoint, single step trace. | |
1899 | * remote-os9k.c: fix bug in 'set remotebaud' function. | |
1900 | * remote-os9k.c (rombug_link): minimize checking so to improve | |
1901 | speed. | |
fddb9bda | 1902 | * symfile.c (symbol_file_command): check if failed to link, also make |
d9389f37 KH |
1903 | the command be able to accept more than one filenames. |
1904 | * target.c (target_link): check if failed to link with rombug. | |
1905 | * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0. | |
1906 | ||
cdc7029d JK |
1907 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1908 | ||
1909 | * remote-es.c (es1800_child_ops): Don't declare it static. | |
1910 | ||
352c21dd JK |
1911 | Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com) |
1912 | ||
1913 | * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef. | |
1914 | ||
ce2f21b2 JK |
1915 | Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1916 | ||
9d2b8d50 JK |
1917 | * dbxread.c: New variable lowest_text_address. |
1918 | (record_minimal_symbol, read_dbx_symtab): Set it. | |
1919 | (read_dbx_symtab): Use lowest_text_address + text_size instead of | |
1920 | end_of_text_address. | |
1921 | * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT. | |
1922 | ||
1923 | * dbxread.c (end_psymtab): Remove old and commented out | |
1924 | capping_global and capping_static. Fix comments regarding | |
1925 | N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro. | |
1926 | ||
79448221 JK |
1927 | * parser-defs.h: Add "extern" to start of variable declarations so |
1928 | we don't end up with commons. | |
1929 | * parse.c: Define these variables. | |
1930 | ||
ce2f21b2 JK |
1931 | * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it |
1932 | as one. | |
1933 | ||
7810d333 JK |
1934 | Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1935 | ||
1936 | * alpha-tdep.c: Change value to value_ptr. | |
1937 | ||
a6e21fba PS |
1938 | Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1939 | ||
1940 | * solib.c (elf_locate_base): New function to locate the address | |
1941 | of the dynamic linker's runtime structure in the dynamic info section. | |
1942 | * solib.c (locate_base): Use it instead of iterating over the list | |
1943 | of mapped address segments. | |
1944 | * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer | |
1945 | necessary. | |
1946 | ||
70e43abe JL |
1947 | Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1948 | ||
1949 | * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file. | |
1950 | (pc_in_interrupt_handler): New function. Also add PARAM decl. | |
1951 | (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for | |
1952 | signal trampoline and interrupt routines. | |
1953 | (frame_saved_pc): Handle signal trampolines and interrupt routines. | |
1954 | (frame_chain, frame_chain_valid): Likewise. | |
1955 | (hppa_frame_find_saved_regs): Likewise. Also deal with special | |
1956 | saved regs convention for SP. | |
1957 | ||
1958 | * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define. | |
1959 | (FRAME_BASE_BEFORE_SIGTRAMP): Define. | |
1960 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define. | |
1961 | ||
1962 | * tm-hppah.h (IN_SIGTRAMP): Define. | |
1963 | ||
833a2895 JK |
1964 | Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1965 | ||
93dc3414 JK |
1966 | * ch-exp.y (match_simple_name_string): Accept '_' as well as an |
1967 | alphabetic character as the start of a name. | |
1968 | ||
b855dfe7 JK |
1969 | * sparclite/Makefile.in (all install): Build and install aload. |
1970 | ||
d9a5e91f JK |
1971 | * configure.in: Accept i[34]86-*-*sysv32 because that is what |
1972 | config.guess and config.sub produce. | |
1973 | ||
833a2895 JK |
1974 | * mips-tdep.c: Change value to value_ptr. |
1975 | ||
82a2edfb JK |
1976 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1977 | ||
1978 | * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c, | |
1979 | cp-valprint.c, eval.c, expprint.c, findvar.c, language.c, | |
1980 | objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c, | |
1981 | valarith.c, valops.c, valprint.c, value.h, values.c: Replace | |
1982 | value with value_ptr. This is for the ptx compiler. | |
1983 | * objfiles.h, target.h: Don't declare a "sec_ptr" field using a | |
1984 | "sec_ptr" typedef. | |
1985 | * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff. | |
1986 | #if 0 i386_float_info. | |
1987 | * symm-tdep.c (round): Remove. Also remove sgttyb. | |
1988 | * symm-tdep.c: Remove lots of stuff which duplicates stuff from | |
1989 | i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb. | |
1990 | * i386-tdep.c (i386_frame_find_saved_regs): Put in | |
1991 | I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix | |
1992 | someday. | |
1993 | * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move | |
1994 | stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to | |
1995 | symm-nat.c. Define CHILD_WAIT and declare child_wait(). | |
1996 | * config/i386/tm-symmetry.h: Remove call function stuff; stuff in | |
1997 | tm-i386v.h is apparently OK. | |
1998 | * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not | |
1999 | HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and | |
2000 | USE_O_NOCTTY. | |
2001 | ||
c485c7a9 PS |
2002 | Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2003 | ||
2004 | * osfsolib.c (xfer_link_map_member): Update to use new | |
2005 | target_read_string interface. | |
2006 | ||
d1c0c6cf JK |
2007 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2008 | ||
2009 | * infrun.c (wait_for_inferior): In checking | |
2010 | remove_breakpoints_on_following_step, check | |
2011 | through_sigtramp_breakpoint as well as step_resume_breakpoint. | |
2012 | ||
25200748 JK |
2013 | Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2014 | ||
2015 | * os9kread.c (os9k_process_one_symbol): Rename | |
2016 | VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK. | |
2017 | * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not | |
2018 | (CORE_ADDR)0, from target_link, since that is what it uses. | |
2019 | Process name at end, not during parsing (like we did before Kung's | |
2020 | change), so that -readnow and -mapped can appear anywhere. | |
2021 | Make text_relocation a local variable. | |
2022 | * config/i386/i386os9k.mt: Fix comment. | |
2023 | * Makefile.in (ALLDEPFILES): Add remote-os9k.c. | |
2024 | * os9kread.c: Put "comments" after #endif inside /* */. | |
2025 | * stabsread.h: Add os9k_stabs variable. | |
2026 | * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol): | |
2027 | Set it. | |
2028 | * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol | |
2029 | descriptor in global_symbols not local_symbols. | |
2030 | (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type | |
2031 | descriptors. | |
2032 | (read_type): If os9k_stabs, accept function parameters after 'f' | |
2033 | type descriptor. | |
2034 | (read_array_type): If os9k_stabs, don't expect index type and | |
2035 | expect lower and upper to be separated by ',' not ';'. | |
2036 | (read_enum_type): If os9k_stabs, read a number before the first | |
2037 | enumeration constant. | |
2038 | (os9k_init_type_vector): New function. | |
2039 | (dbx_lookup_type): Call it when starting new type vector. | |
2040 | * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION. | |
2041 | * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol. | |
2042 | * os9kstab.c: Removed. | |
2043 | * Makefile.in: Update accordingly. | |
2044 | * objfiles.c (objfile_relocate_data): Removed. | |
2045 | * remote-os9k.c (rombug_wait): Call objfile_relocate | |
2046 | not objfile_relocate_data. | |
2047 | * objfiles.h, objfiles.c: Remove find_pc_objfile. | |
2048 | * remote-os9k.c (rombug_wait): Call find_pc_section not | |
2049 | find_pc_objfile. | |
2050 | * main.c (quit_command): Check inferior_pid; revert Kung change. | |
2051 | * remote-os9k.c (rombug_create_inferior): Set inferior_pid. | |
2052 | ||
1340861c KH |
2053 | Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
2054 | ||
2055 | * os9kread.c: New file to read os9000 style symbo table. | |
2056 | * os9kstab.c: new file to read os9000 style stabs. | |
2057 | * remote-os9k.c: remote protocol talking to os9000 rombug monitor. | |
2058 | * objfiles.c (find_pc_objfile): new function to search objfile | |
2059 | from pc. | |
2060 | * objfiles.c (objfile_relocate_data): new function to relocate | |
2061 | data symbols in symbol table. | |
2062 | * objfiles.h: Add two aux fields in struct objfile to handle | |
2063 | multiple symbol table files situation like in os9000. | |
2064 | * symfile.c: Change so 'symbol-file' command can handle multiple | |
2065 | files. Also call target_link() to get relocation infos. | |
2066 | * target.c (target_link): new function to get relocation info when | |
2067 | a symbol file is requested to load. | |
2068 | * main.c (quit_command): take out 'inferior_pid != 0' condition, | |
2069 | because in cross mode there's no inferior pid, bit they need to | |
2070 | be detached. | |
2071 | Makefile.in: add os9kread.c os9kstab.c and .o's. | |
2072 | configure.in: add i386os9k target. | |
2073 | config/i386/i386os9k.mt: new add. | |
2074 | config/i386/tm-i386os9k.h: new add. | |
2075 | ||
137b6849 PS |
2076 | Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2077 | ||
2078 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler. | |
2079 | * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler. | |
2080 | ||
4ad0021e JK |
2081 | Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2082 | ||
2083 | * target.c, target.h (target_read_string): Provide error detection to | |
2084 | caller. Put string in malloc'd space, so caller need not impose | |
2085 | arbitrary limits. | |
2086 | * solib.c (find_solib): Update to use new interface. | |
2087 | * irix5-nat.c (find_solib): Read o_path from inferior | |
2088 | (clear_solib): Free storage for o_path. | |
2089 | * valprint.c (val_print_string): Add comments. | |
2090 | ||
e3d6ec4a PS |
2091 | Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2092 | ||
2093 | * symtab.c (decode_line_1): Handle the case when skip_quoted does not | |
2094 | advance `p'. | |
2095 | ||
c8ff77be JK |
2096 | Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2097 | ||
30974778 JK |
2098 | * value.h (struct value): Add modifiable field. |
2099 | * values.c (allocate_value, record_latest_value, value_copy): Set it. | |
2100 | (record_latest_value): Don't mess with VALUE_LVAL of value. | |
2101 | * valops.c (value_assign): Check it. Reword existing error | |
2102 | message on not_lval. | |
2103 | ||
b5aff268 JK |
2104 | * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h |
2105 | (STEP_SKIPS_DELAY): Added. | |
2106 | * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in | |
2107 | the delay slot. | |
2108 | ||
c8ff77be JK |
2109 | * valprint.c (val_print_string): If errcode is set, always print |
2110 | an error, regardless of force_ellipsis. In the non-EIO case, | |
2111 | just print the error message rather than calling error(). Don't | |
2112 | access *(bufptr-1) if bufptr points to the start of the buffer. | |
2113 | When looking for '\0', don't increment bufptr and addr if bufptr | |
2114 | started out already at limit. If an error happens on fetching the | |
2115 | first character, don't print the string. | |
2116 | ||
2882219f JK |
2117 | Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2118 | ||
2119 | * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is | |
2120 | obsolete. | |
2121 | ||
2122 | * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c, | |
2123 | i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c | |
2124 | config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, | |
2125 | m88k-tdep.c: Use floatformat.h instead of ieee-float.h. | |
2126 | * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff | |
2127 | * findvar.c: Update comment regarding ieee-float.h. | |
2128 | ||
28ee4b42 PS |
2129 | Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2130 | ||
2131 | * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP, | |
2132 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): | |
2133 | Define to make backtracing through the various sigtramp handlers | |
2134 | work. | |
2135 | * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch | |
2136 | the saved pc from ucontext on the stack for SVR4 signal handling. | |
2137 | ||
25354cef JK |
2138 | Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2139 | ||
c20c1bdf JK |
2140 | * remote.c, remote-mon.c, remote-utils.c, remote-utils.h, |
2141 | target.h, remote-es.c, remote-nindy.c: Don't set baud rate if | |
2142 | baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; | |
2143 | just use the global variable itself. When printing baud rate, | |
2144 | don't print a baud rate if baud_rate is -1. | |
2145 | ||
25354cef JK |
2146 | * coffread.c (read_coff_symtab): Pass mst_file_* to |
2147 | record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT | |
2148 | symbols in the minimal symbols regardless of SDB_TYPE. | |
2149 | ||
7126c1d0 JK |
2150 | Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2151 | ||
bcc37718 JK |
2152 | * breakpoint.h (enum bptype): New type bp_through_sigtramp. |
2153 | (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
2154 | * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP | |
2155 | if we hit a bp_through_sigtramp breakpoint. Remove kludge which | |
2156 | ignored bs->stop for a bp_step_resume breakpoint. | |
2157 | * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint | |
2158 | which performs one (the check_sigtramp2 one) of the functions | |
2159 | which had been handled by the step_resume_breakpoint. For each | |
2160 | use of the step_resume_breakpoint, make it still use the | |
2161 | step_resume_breakpoint, use the through_sigtramp_breakpoint, or | |
2162 | operate on both. | |
2163 | Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. | |
2164 | When setting the frame address of the step resume breakpoint, set | |
2165 | it to the address for frame *before* the call instruction is | |
2166 | executed, not after. | |
2167 | ||
3fed1c4a JK |
2168 | * mips-tdep.c (mips_print_register): Print integers using |
2169 | print_scalar_formatted rather than duplicating all the | |
2170 | CC_HAS_LONG_LONG and so on. | |
2171 | (mips_push_dummy_frame): Use read_register_gen rather than using | |
2172 | read_register and then putting it back in target format with | |
2173 | store_unsigned_integer. If registers are more than 4 bytes, give | |
2174 | an error rather than have some registers overwrite other | |
2175 | registers. | |
2176 | #if 0 unused include of opcode/mips.h. | |
2177 | ||
2178 | * symfile.h: Don't declare arguments for coff_getfilename. | |
2179 | ||
7126c1d0 JK |
2180 | * defs.h: Revert Kung change regarding FORCE_LONG_LONG. |
2181 | ||
6bfd168c JL |
2182 | Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
2183 | ||
2184 | * configure.in (hppa*-*-osf*): New configuration. | |
2185 | * config/pa/hppaosf.mt: New target makefile fragment. | |
2186 | * config/pa/tm-hppao.h: New target include file. | |
2187 | ||
5c07a10b PS |
2188 | Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2189 | ||
2190 | * exec.c (print_section_info): Print entry point for exec_bfd only. | |
2191 | * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case. | |
8ce2cfc0 PS |
2192 | * dwarfread.c: Remove second inclusion of <sys/types.h>, which |
2193 | causes problems if <sys/types.h> has no multiple inclusion protection. | |
5c07a10b | 2194 | |
fce7695f JL |
2195 | Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com) |
2196 | ||
2197 | * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of | |
2198 | the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1. | |
2199 | (CALL_DUMMY_LENGTH): Changed accordingly. | |
2200 | ||
318ee78a SG |
2201 | Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com) |
2202 | ||
75a006d9 SG |
2203 | * sparc-stub.c (trap_low): Make trap handler work for arbitrary |
2204 | numbers of register windows. | |
2205 | ||
318ee78a SG |
2206 | * sparclite/hello.c: Add factorial function for testing. |
2207 | * salib.c: Use macros instead of constants for I/O addresses to | |
2208 | make 931 support easier. | |
2209 | * sparclite.h: Change constraint for LOC to "rJ" to force use of | |
2210 | register in sta/lda instructions. | |
2211 | ||
56dd4126 JK |
2212 | Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) |
2213 | ||
2214 | * dbxread.c (process_one_symbol): Set | |
2215 | block_address_function_relative for COFF like we do for ELF and SOM. | |
2216 | ||
847d9775 PS |
2217 | Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2218 | ||
2219 | * mdebugread.c (new_psymtab): Pass in section_offsets and set | |
2220 | them in the pst. | |
2221 | * mdebugread.c (handle_psymbol_enumerators): New function to enter | |
2222 | the enumerators of an ecoff enum into the partial symbol table. | |
2223 | * mdebugread.c (parse_partial_symbols): Call it. | |
2224 | * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next. | |
2225 | * symmisc.c (dump_psymtab): Fix typo, clean up output of section | |
2226 | offsets. Cast psymtab->read_symtab to PTR before passing it to | |
2227 | gdb_print_address. | |
2228 | * i386-tdep.c (i386_skip_prologue): Skip over instructions that | |
2229 | set up the global offset table pointer in pic compiled code. | |
2230 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets, | |
2231 | error() on TYPE_CODE_FLT arguments whose size is greater than 8, | |
2232 | swap all other TYPE_CODE_FLT arguments as mips_push_arguments | |
2233 | ensures that floats are promoted to doubles before they are pushed | |
2234 | on the stack. | |
2235 | ||
9f35e15a SG |
2236 | Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com) |
2237 | ||
2238 | * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h: | |
2239 | Fixup cache_on and flush_i_cache so that they work for both the | |
2240 | 930 and 932 processors. Rewrite most low level funcs (uart | |
2241 | access & cache stuff) to use new ASI access macros in sparclite.h. | |
2242 | Also make it easy to access second serial port. | |
2243 | ||
56173dc5 ILT |
2244 | Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
2245 | ||
2246 | * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or | |
2247 | <sys/stat.h>; not needed. | |
2248 | ||
c84bab2d JK |
2249 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2250 | ||
2251 | * stack.c (print_frame_info): In "pathological" case, don't | |
2252 | distrust the line number information. | |
2253 | ||
748d77d7 KH |
2254 | Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
2255 | ||
2256 | * mips-tdep.c (mips_print_register): handle 64 bits register. | |
2257 | * valprint.c (print_longest): fix a bug in printing 64 bits value. | |
2258 | ||
889f1f03 JK |
2259 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2260 | ||
1eb89b9e JK |
2261 | * Version 4.12.2. |
2262 | ||
ef1a0540 JK |
2263 | * Makefile.in (install): Do the sed for program_transform_name |
2264 | ourselves instead of worrying about INSTALL_XFORM. This enables | |
2265 | users to override INSTALL_PROGRAM in the standard way. | |
2266 | ||
2267 | * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't | |
2268 | depend on Makefile.in. | |
2269 | ||
fb0f4231 JK |
2270 | * defs.h, valprint.c: Make longest_to_int a function not a macro. |
2271 | Only test against INT_MIN if a LONGEST is bigger than an int. | |
2272 | ||
889f1f03 JK |
2273 | * README: Change GhostScript to Ghostscript. |
2274 | ||
662f3b3f JK |
2275 | Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com) |
2276 | ||
d5cb2f7d JK |
2277 | * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}: |
2278 | Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14 | |
2279 | character file names. | |
2280 | * Makefile.in (ALLPARAM): Add these files. | |
2281 | ||
662f3b3f JK |
2282 | * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14 |
2283 | character file names. | |
d5cb2f7d | 2284 | * Makefile.in: Add Kung's new mips64 files. |
662f3b3f | 2285 | |
70126bf9 KH |
2286 | Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com) |
2287 | ||
2288 | * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf, | |
2289 | mips64el-*-ecoff and mips64-big-*. | |
2290 | * defs.h: get rid of FORCE_LONG_LONG. | |
2291 | * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction | |
2292 | parsing. Change register size to be MIPS_REGSIZE. | |
2293 | ||
c4a081e1 DM |
2294 | Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com) |
2295 | ||
2296 | * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c, | |
2297 | osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c, | |
2298 | xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names. | |
2299 | ||
3b5442f9 SC |
2300 | Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) |
2301 | ||
2302 | * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust. | |
2303 | (remove_commands, add_commands): Add/remove hms-drain when target | |
2304 | is connected. | |
2305 | ||
d87d7b10 SG |
2306 | Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com) |
2307 | ||
2308 | * configure.in: Add Lynx/rs6000 support. | |
2309 | * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error | |
2310 | messages. Add rs6000 support. Don't try to modify unwritable | |
2311 | registers. | |
2312 | * rs6000-nat.c: Move lots of native dependent stuff (like core | |
2313 | file support) from rs6000-tdep.c & xcoffexec.c to here. | |
2314 | * rs6000-tdep.c: Move native dependent stuff to nat.c. | |
2315 | * xcoffexec.c: Move native dependent stuff to nat.c. | |
2316 | * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here | |
2317 | from tm file. | |
2318 | * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're | |
2319 | really native. | |
2320 | * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h: | |
2321 | New files to support Lynx/rs6000. | |
2322 | ||
ba47c66a PS |
2323 | Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2324 | ||
2325 | * README: Remove note about gcc warnings on alpha, these should be | |
2326 | gone now. | |
2327 | * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, | |
2328 | m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c | |
2329 | remote-utils.c, stabsread.c: Include <string.h>. | |
2330 | * regex.c: Include "defs.h", change re_comp argument to const char *. | |
2331 | * infptrace.c (fetch_register, store_inferior_registers): Change | |
2332 | regaddr to type CORE_ADDR. | |
2333 | * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): | |
2334 | Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR. | |
2335 | ||
2336 | Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) | |
2337 | ||
2338 | * symtab.h: Always define BYTE_BITFIELD to nothing. | |
2339 | ||
ea5dad7f JK |
2340 | Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2341 | ||
2342 | * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used. | |
2343 | * configure.in: Remove comment about m68k-em.mt. | |
2344 | * Makefile.in: Remove references. | |
2345 | ||
6ddba992 JK |
2346 | Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2347 | ||
2348 | * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent | |
2349 | BFD_HOST_64_TYPE. | |
2350 | ||
01cd70b9 JK |
2351 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2352 | ||
1dd29bef JK |
2353 | * target.c (target_preopen): If target_kill doesn't remove the |
2354 | target from the stack, use pop_target to do it. | |
2355 | ||
704aea43 JK |
2356 | * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name |
2357 | of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar | |
2358 | changes to stabsread.c from summer 1993. | |
2359 | ||
4a00e1de JK |
2360 | * remote-udi.c (udi_files_info): If prog_name is NULL, just skip |
2361 | printing the program, rather than passing NULL to printf. | |
2362 | (udi_detach): Set udi_session_id to -1 so that udi_close doesn't | |
2363 | try to call UDIDisconnect again. Print better message. | |
2364 | (udi_kill): Just call UDIDisconnect ourselves, rather than doing | |
2365 | it via udi_close. | |
4a00e1de JK |
2366 | (udi_create_inferior): If udi_session_id is negative, open a new |
2367 | TIP rather than giving an error. | |
2368 | ||
01cd70b9 JK |
2369 | * config/mips/mipsm3.mh, config/i386/i386m3.mh, |
2370 | config/ns32k/ns32km3.mh: Define NAT_FILE. | |
2371 | * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H | |
2372 | (it was inconsistent and namespace-wrong) to NM_M3_H. | |
2373 | * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. | |
2374 | (m3_open): New function. | |
2375 | (m3_ops): Use it. | |
2376 | * TODO: Update Mach section. | |
2377 | ||
2378 | * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver. | |
2379 | ||
d41b3eed PB |
2380 | Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com) |
2381 | ||
2382 | * printcmd.c (printf_command): Add missing single-letter | |
2383 | backslash-escape sequences, and improve error message. | |
2384 | ||
7343d716 JK |
2385 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2386 | ||
842cf831 JK |
2387 | * corelow.c (solib_add_stub, core_open): Pass address of from_tty |
2388 | rather than trying to shove an int into a pointer and back out | |
2389 | again. This avoids compiler warnings. | |
2390 | ||
7343d716 JK |
2391 | * defs.h (alloca): Declare as void *, not char *, on hpux. |
2392 | Don't prototype it, just declare the return type. | |
2393 | ||
57a9fee3 PS |
2394 | Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2395 | ||
2396 | * config/i386/tm-sun386.h, config/i386/tm-symmetry.h | |
2397 | (REGISTER_CONVERT_TO_RAW): Add missing backslash. | |
2398 | ||
a1bd6534 JK |
2399 | Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2400 | ||
021b10e3 JK |
2401 | * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or |
2402 | ZERO_REGNUM, just read it as zero without talking to the board. | |
2403 | ||
8b0a85ba JK |
2404 | * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing |
2405 | backslash. | |
2406 | * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type) | |
2407 | to store_floating, not nonexistent variable len. | |
2408 | ||
aa56c716 JK |
2409 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): |
2410 | New functions. | |
2411 | (mips_store_word): Change calling convention to return errors, and | |
2412 | to provide old contents if the caller wants it. | |
2413 | (mips_xfer_memory): Deal with errors from mips_store_word. | |
2414 | * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT | |
2415 | define now that remote-mips.c doesn't use BREAKPOINT. | |
2416 | ||
2417 | * remote-mips.c (mips_create_inferior): Call warning if arguments | |
2418 | specified, and then execute "set args" command. Call error, not | |
2419 | mips_error, if executable file not specified. | |
2420 | ||
29fc92e8 JK |
2421 | * remote-e7000.c: Replace "snoop" command (e7000_noecho) with |
2422 | remote_debug. | |
2423 | ||
a1bd6534 JK |
2424 | * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast |
2425 | to unsigned int. | |
2426 | ||
65e98f5b PS |
2427 | Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2428 | ||
2429 | * value.h (print_longest): Rename "value" to "val" in prototype | |
2430 | declaration because some compilers don't like arguments whose | |
2431 | names are the same as types. | |
2432 | * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char * | |
2433 | before passing it to remote_*_bytes. | |
2434 | ||
edd01519 SC |
2435 | Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com) |
2436 | ||
2437 | * h8500-tdep.c (saved_pc_after_call): The size of the | |
2438 | pc is memory model dependent. (segmented_command, | |
2439 | unsegmented_command, _initialize_h8500_tdep): New commands to | |
2440 | change memory model. | |
29fc92e8 | 2441 | * remote-e7000.c (_initialize_remote_e7000): Change name of snoop |
edd01519 | 2442 | command. |
678ee700 SC |
2443 | * remote-hms.c (hms_load): Remove breakpoints when loaded. |
2444 | (hms_wait): Use new status structure | |
2445 | (hms_open): Push the target here. (hms_before_main_loop): Not | |
2446 | here. (supply_val, hms_fetch_register, hms_store_register): Cope | |
2447 | with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE. | |
2448 | * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print | |
2449 | all registers in a compact way. | |
edd01519 | 2450 | |
9c01440d JK |
2451 | Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2452 | ||
2453 | * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address | |
2454 | as CORE_ADDR to match definition in rs6000-tdep.c. | |
2455 | ||
4386eff2 PS |
2456 | Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2457 | ||
2458 | * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs. | |
2459 | * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate | |
2460 | definitions into the psymtab. | |
2461 | ||
d351c7a6 JK |
2462 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2463 | ||
2464 | * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide | |
2465 | a special exceptionSize for the 68332. | |
2466 | ||
2467 | * remote-udi.c (udi_attach): If no arguments, print error. | |
2468 | ||
4901e77d FF |
2469 | Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com) |
2470 | ||
2471 | * Makefile.in (VERSION): Bump to 4.12.1 | |
2472 | * NEWS, README: Update to match 4.12 release. | |
2473 | ||
159ada02 JK |
2474 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2475 | ||
4901e77d FF |
2476 | * command.c (empty_sfunc): New function. |
2477 | (add_set_cmd): Use it instead of not_just_help_class_command. | |
2478 | (not_just_help_class_command): Change calling convention back to | |
2479 | what it was before yesterday's change. | |
2480 | ||
159ada02 JK |
2481 | * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end |
2482 | of the type if present. | |
2483 | ||
5b3591ab JK |
2484 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2485 | ||
eade0c6c JK |
2486 | * printcmd.c (decode_format): Don't blithely set the size for |
2487 | an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. | |
2488 | ||
2489 | * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. | |
2490 | If BFD64, make a LONGEST a BFD_HOST_64_BIT. | |
2491 | * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead | |
2492 | always just check against INT_MIN and INT_MAX (this also fixes things | |
2493 | if sizeof (long) > sizeof (int), e.g. Alpha). | |
2494 | * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: | |
2495 | Don't define LONGEST or BUILTIN_TYPE_LONGEST. | |
2496 | * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and | |
2497 | BUILTIN_TYPE_UNSIGNED_LONGEST. | |
ce855594 JK |
2498 | * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove |
2499 | longest_int and longest_unsigned_int. | |
eade0c6c JK |
2500 | * value.h (struct value): Just align to LONGEST, rather than worrying |
2501 | about CC_HAS_LONG_LONG. | |
b1de1647 JK |
2502 | * valarith.c (value_binop): Figure out type ourself based on |
2503 | sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The | |
2504 | point is that we don't depend on CC_HAS_LONG_LONG anymore. | |
eade0c6c JK |
2505 | * valprint.c (val_print_type_code_int): Just call |
2506 | extract_unsigned_integer directly, rather than going through | |
2507 | unpack_long. | |
2508 | * printcmd.c (decode_format): Remove code which would sometimes | |
2509 | change 'g' size to 'w' for integers. print_scalar_formatted handles | |
2510 | printing huge integers well enough, thank you. | |
2511 | ||
4901e77d | 2512 | * command.c (add_set_cmd, not_just_help_class_command): Change |
719d9abb JK |
2513 | to make this the sfunc, not cfunc, since that is how we call it. |
2514 | * command.h: Comment difference between sfunc and cfunc. | |
2515 | * demangle.c (set_demangling_command): Add third arg since that | |
2516 | is how it is called. | |
2517 | (_initialize_demangler): Use sfunc, not cfunc, for | |
2518 | set_demangling_command, since that is how it is called. | |
2519 | Remove show_demangling_command; it has no effect. | |
2520 | ||
5b3591ab JK |
2521 | * command.c (shell_escape): Report errors correctly (with error |
2522 | message from strerror). | |
2523 | ||
37f24dc9 ILT |
2524 | Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
2525 | ||
2526 | * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use | |
2527 | x_scnlen.l rather than x_scnlen to match corresponding change in | |
2528 | coff/internal.h. | |
2529 | ||
61932a8e JK |
2530 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2531 | ||
2532 | * gdbtypes.h, ch-typeprint.c, ch-valprint.c: | |
2533 | Change comments regarding TYPE_CODE_BOOL. | |
2534 | * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL, | |
2535 | regardless of the language. | |
2536 | (value_true): Just call value_logical_not regardless of language. | |
2537 | * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type): | |
2538 | Remove #if 0'd code which makes some enums TYPE_CODE_BOOL. | |
2539 | * language.h: Improve comment for la_builtin_type_vector. | |
2540 | * m2-lang.c (_initialize_m2_language): Don't add any fields to | |
2541 | builtin_type_m2_bool. | |
2542 | ||
7bec77b4 JK |
2543 | Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com) |
2544 | ||
2545 | * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c: | |
2546 | Define IN_SIGTRAMP and backtrace correctly through signal handlers. | |
2547 | ||
8afd05c0 JK |
2548 | Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2549 | ||
2550 | * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl | |
2551 | by restarting the ioctl. | |
2552 | ||
10b9bb56 JK |
2553 | Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2554 | ||
2555 | * target.h (target_wait): Add comment about calling | |
2556 | return_to_top_level. | |
2557 | ||
bf8d9d28 ILT |
2558 | Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
2559 | ||
2560 | * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes | |
2561 | additional arguments. | |
2562 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise. | |
2563 | ||
efe3ff3e SG |
2564 | Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com) |
2565 | ||
2566 | * sparc-stub.c: Remove unnecessary #include of memory.h. | |
2567 | ||
37dea45f JK |
2568 | Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2569 | ||
14d79562 JK |
2570 | * mips-tdep.c: Remove code which sets saved_regs from |
2571 | init_extra_frame_info and put it in new function mips_find_saved_regs. | |
2572 | (READ_FRAME_REG): Remove macro and replace uses with the expansion. | |
2573 | * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs, | |
2574 | check if it is NULL and call mips_find_saved_regs if so. | |
2575 | ||
47d52968 JK |
2576 | * remote-mips.c: Use unfiltered, not filtered, output most places. |
2577 | ||
37dea45f JK |
2578 | * blockframe.c (get_prev_frame_info): Detect and stop an infinite |
2579 | backtrace. Revise comments. | |
2580 | ||
0434c1a0 PS |
2581 | Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2582 | ||
2583 | * mdebugread.c (parse_procedure): Remove _sigtramp kludges for | |
2584 | alpha and irix. The _sigtramp case has to be handled properly | |
2585 | in the tdep files if we have no ecoff debugging info. | |
2586 | * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain), | |
2587 | mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames | |
2588 | without PC_REGNUM kludge. | |
2589 | * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg): | |
2590 | Clean up handling of mips sigtramp frames, improve comments. | |
2591 | ||
d64956fa JL |
2592 | Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
2593 | ||
2594 | * paread.c (read_unwind_info): Fix typo. | |
2595 | ||
2596 | * paread.c (pa_symtab_read): Update the "check_strange_names" | |
2597 | filter to match GCC's current output. Filter out section symbols | |
2598 | (which the HP linker sometimes puts in the wrong place). | |
2599 | ||
9db58d3a JK |
2600 | Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2601 | ||
3a479851 JK |
2602 | * serial.h (SERIAL_SET_TTY_STATE): Comment return value. |
2603 | ||
a0b352c0 JK |
2604 | * Makefile.in (TAGS): Just echo one line, rather than the whole thing. |
2605 | ||
2606 | * Makefile.in: Remove all references to sparcly-nat.c. | |
2607 | ||
2608 | * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h | |
2609 | remote-sim.h directly, rather than via $(remote_utils_h). This avoids | |
2610 | duplicating serial.h and target.h. | |
2611 | ||
7a78db15 JK |
2612 | * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables |
2613 | are not used anywhere (a 5 Oct 1993 change removed the uses). | |
2614 | ||
895efe6b JK |
2615 | * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o. |
2616 | * config/m68k/es1800.mt: Add comment. | |
3a479851 | 2617 | * remote-es.c: Extensive changes to update to current conventions. |
895efe6b | 2618 | |
9db58d3a JK |
2619 | * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]: |
2620 | If the timeout is too big to fit in c_cc[VTIME], then do multiple reads | |
2621 | to achieve the desired timeout. | |
2622 | * serial.h (serial_t): Add field timeout_remaining. | |
2623 | ||
f28c6e38 JK |
2624 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2625 | ||
2626 | * c-exp.y (yylex): Reenable nested type code. | |
2627 | ||
b09f44d2 JK |
2628 | Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2629 | ||
7f2ffa58 JK |
2630 | * a29k-tdep.c (examine_tag): Add comment regarding argcount. |
2631 | ||
796d1fd3 JK |
2632 | * remote-mips.c (mips_ops): Fix docstring. |
2633 | ||
97cc0428 JK |
2634 | * remote-bug.c (bug_ops): Remove spurious newline from docstring. |
2635 | ||
ddd0223e JK |
2636 | * config/m68k/tm-monitor.h: Changes to bring this into accordance |
2637 | with the old tm-m68k-em.h: | |
2638 | (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove. | |
97cc0428 | 2639 | (HAVE_68881): Don't undefine; HAVE_68881 is obsolete. |
ddd0223e JK |
2640 | (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine. |
2641 | Add FIXME regarding GET_LONGJMP_TARGET. | |
2642 | ||
b09f44d2 | 2643 | * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. |
97cc0428 JK |
2644 | * infptrace.c (kill_inferior): Add comments. |
2645 | * main.c (quit_command): Call target_close after we kill or | |
2646 | detach. | |
2647 | * remote-udi.c (udi_close): Don't error() if QUITTING. | |
b09f44d2 | 2648 | |
0ffba029 RS |
2649 | Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com) |
2650 | ||
2651 | * configure.in: Make m68k-coff and aout add monitor support in | |
2652 | addition to the standard serial support. | |
2653 | ||
bb7cb982 JK |
2654 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2655 | ||
2656 | * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with | |
2657 | index indexNil. | |
2658 | ||
9fdb3f7a JK |
2659 | Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2660 | ||
2661 | * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS. | |
2662 | * elfread.c (record_minimal_symbol_and_info), | |
2663 | dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it. | |
2664 | ||
a28d16d3 JK |
2665 | Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2666 | ||
6202263d JK |
2667 | * i386-stub.c: Add ".text" right before "mem_fault:". |
2668 | ||
9c41f6a6 JK |
2669 | * main.c (baud_rate): Add FIXME comment about printing -1 value. |
2670 | ||
2671 | * remote-utils.c (usage): Fix message to be accurate and conform | |
2672 | more closely to normal conventions. | |
2673 | ||
2674 | * remote-utils.c (gr_files_info): Have the exec_bfd test control | |
2675 | whether to show information about exec_bfd, and not control whether | |
2676 | to show information about device and speed. | |
2677 | ||
2678 | * remote-utils.c (gr_open): If sr_get_device returns NULL, give | |
2679 | usage message, don't dump core. | |
2680 | ||
2681 | * remote-bug.c (bug_write_memory): Use alloca, not GCC extension | |
2682 | for variable size array. | |
2683 | (bug_fetch_register, bug_store_register): Rename "value" to | |
2684 | "fpreg_buf" because some compilers don't like variables whose | |
2685 | names are the same as types. | |
2686 | (bug_store_register): Use a cast when converting char * to | |
2687 | unsigned char *. | |
2688 | ||
d5c551c9 JK |
2689 | * symmisc.c (maintenance_print_symbols): Don't refer to the name |
2690 | of the command in error message (the text was referring to the old | |
2691 | name of the command). | |
2692 | ||
2693 | * symmisc.c (dump_symtab): Fix args to fprintf_filtered. | |
2694 | ||
0e4ad984 JK |
2695 | * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print |
2696 | full details on structure elements without names. This partially | |
2697 | reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect | |
2698 | of those changes was accidental. | |
2699 | ||
577da8cb JK |
2700 | * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is |
2701 | defined, make it an error to specify a single argument which is not | |
2702 | a frame number. | |
2703 | ||
a28d16d3 JK |
2704 | * Makefile.in (version.c), main.c (print_gdb_version): Use |
2705 | host_alias and target_alias, not host_canonical and | |
2706 | target_canonical, to print configuration. | |
2707 | ||
833e0d94 JK |
2708 | Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2709 | ||
d92f3f08 JK |
2710 | * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead |
2711 | of builtin_type_long. It is necessary to get a type which is | |
2712 | TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough. | |
2713 | ||
833e0d94 JK |
2714 | Fix many sins which will come up in 32 bit x 64 bit GDB, and |
2715 | various miscellaneous things discovered in the process: | |
2716 | * printcmd.c, defs.h (print_address_numeric): New function. | |
2717 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) | |
2718 | breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), | |
2719 | cp-valprint.c (cplus_print_value), infcmd.c (jump_command), | |
2720 | printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: | |
2721 | Use it. | |
2722 | * utils.c, defs.h (gdb_print_address): New function. | |
2723 | * expprint (dump_expression), gdbtypes.h: Use it. | |
2724 | * breakpoint.c (describe_other_breakpoints), | |
2725 | symmisc.c (dump_symtab, print_symbol): | |
2726 | Use filtered not unfiltered I/O. | |
2727 | (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well | |
2728 | just run gdb under a debugger for this (and it had problems with | |
2729 | printing addresses, how to print b->shadow, etc.). | |
2730 | * buildsym.c (make_blockvector), core.c (memory_error), | |
2731 | exec.c (print_section_info), maint.c (print_section_table), | |
2732 | mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, | |
2733 | symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: | |
2734 | Add comments saying code is broken. Marked with "FIXME-32x64". | |
2735 | * dbxread.c (process_one_symbol), partial-stab.h (default), | |
2736 | remote-vx.c (vx_run_files_info): | |
2737 | Don't cast int being passed to local_hex_string. | |
2738 | * symmisc.c (print_symbol): Don't cast long being passed to %lx. | |
2739 | * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE | |
2740 | only being a long. | |
2741 | * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG | |
2742 | and LOC_LOCAL. | |
2743 | * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. | |
2744 | * source.c: Include <sys/types.h> regardless of USG. | |
2745 | ||
67e9b3b3 PS |
2746 | Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2747 | ||
2748 | * valops.c (value_assign): Set `type' after coercing toval. | |
2749 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print): | |
2750 | Use extract_unsigned_integer to get the address of a reference. | |
2751 | ||
36464897 JK |
2752 | Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2753 | ||
91a0575c JK |
2754 | * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h: |
2755 | AIX can use ? instead of \ for continuation. Deal with it. | |
2756 | ||
36464897 JK |
2757 | * paread.c (read_unwind_info): Just assign to objfile->obj_private, |
2758 | not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which | |
2759 | the HP compiler in ANSI mode doesn't like. | |
2760 | ||
2761 | * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it | |
3bc45b7a JK |
2762 | based on USG, rather than defining HAVE_SIGSETMASK to an |
2763 | expression containing defined. Having a macro used in #if expand | |
2764 | to an expression containing "defined" is undefined according to | |
2765 | ANSI, and the HP compiler in ANSI mode doesn't do what we wanted | |
2766 | it to. | |
36464897 | 2767 | |
2ba6182b JG |
2768 | Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com) |
2769 | ||
2770 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): | |
2771 | Clean up the changes of 11 Jan, as recommended by Peter Schauer. | |
2772 | ||
96b6b765 PB |
2773 | Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com) |
2774 | ||
2775 | * ch-exp.y (match_string_literal): Allow a zero-length string. | |
2776 | * ch-lang.c (chill_printstr): Don't print zero-length string funny. | |
2777 | ||
dfd4c728 JK |
2778 | Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2779 | ||
2780 | * i386aix-nat.c (i386_float_info): Reverse order of registers before | |
2781 | passing them to print_387_status. | |
2782 | (print_387_status): Don't subtract top from 7 before using it. | |
2783 | * i387-tdep.c: Remove comment about AIX wanting "top" subtracted | |
2784 | from 7; the above explains it. | |
2785 | ||
5efd597b PS |
2786 | Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2787 | ||
2788 | * mips-tdep.c (init_extra_frame_info): Use frame relative stack | |
67e9b3b3 | 2789 | pointer value when fixing up the frame at the start of a function. |
5efd597b | 2790 | |
e90445c9 SG |
2791 | Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com) |
2792 | ||
2793 | * lynx-nat.c (fetch_core_registers): Load the I & L regs for the | |
2794 | Sparc from the stack. | |
2795 | ||
08f74b92 JK |
2796 | Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2797 | ||
864df7e6 JK |
2798 | * remote-mips.c (mips_initialize): Clear mips_initializing via |
2799 | cleanup chain, not directly. | |
2800 | ||
2801 | * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout | |
2802 | of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are | |
2803 | munging the timeout due to the limited range of c_cc[VTIME]. | |
2804 | ||
08f74b92 JK |
2805 | * fork-child.c, inferior.h (fork_inferior): New argument shell_file. |
2806 | * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior), | |
2807 | m3-nat.c (m3_create_inferior): Pass it. | |
2808 | * procfs.c: Remove ptrace function. It was declared in a way which | |
2809 | conflicted with the prototype in unistd.h on Solaris. | |
2810 | ||
cdcf48be PS |
2811 | Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2812 | ||
2813 | * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc | |
2814 | in the sigcontext if it is a signal trampoline frame. | |
2815 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET): | |
2816 | Define for Solaris2. | |
2817 | ||
8bf94f44 SG |
2818 | Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com) |
2819 | ||
2820 | * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h, | |
2821 | config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to | |
2822 | tm-sparc.h so they can be overridden if necessary. | |
2823 | ||
d575ddc0 SG |
2824 | Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com) |
2825 | ||
2826 | * lynx-nat.c: Add Sparc support. | |
2827 | * sparcly-nat.c: Remove. It's useless. | |
2828 | * config/sparc/nm-sparclynx.h: Rewrite. | |
2829 | * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o | |
2830 | with lynx-nat.o | |
2831 | * config/sparc/tm-sparclynx.h: Rewrite. | |
2832 | ||
00240279 ILT |
2833 | Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
2834 | ||
2835 | * rs6000-pinsn.c: Use the new disassembler in the opcodes | |
2836 | directory. Old code was discarded, since the new opcode table has | |
2837 | a different format. | |
2838 | ||
a2608ea1 FF |
2839 | Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com) |
2840 | ||
2841 | * Makefile.in (realclean): Remove info files per make-stds.texi. | |
2842 | ||
6545c6a0 JK |
2843 | Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2844 | ||
2845 | * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh | |
2846 | if N_SO_ADDRESS_MAYBE_MISSING is defined. | |
2847 | * config/sparc/tm-sun4sol2.h: Define it. | |
2848 | ||
cd5ee294 JK |
2849 | Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2850 | ||
2851 | * printcmd.c (print_address_symbolic): Unconditionally use msymbol | |
2852 | if we did not find a symbol. | |
2853 | ||
918fea3e JL |
2854 | Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
2855 | ||
2856 | * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY | |
2857 | is not defined. | |
2858 | ||
2859 | * hppab-nat.c (call_ptrace): Delete redundant function. | |
2860 | (kill_inferior, attach, detach, child_resume): Likewise. | |
2861 | (child_xfer_memory): Likewise. | |
2862 | ||
2863 | * hppah-nat.c (call_ptrace): Delete redundant function. | |
2864 | (kill_inferior, attach, detach, child_resume): Likewise. | |
2865 | ||
2866 | * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o. | |
2867 | ||
2868 | * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o. | |
2869 | ||
2870 | * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define. | |
2871 | ||
2872 | * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define. | |
2873 | (CHILD_XFER_MEMORY): Define. | |
2874 | (PT_*): Define so that generic infptrace.c code can be used. | |
2875 | ||
27ad511f JK |
2876 | Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2877 | ||
1b880e74 JK |
2878 | * xcoffread.c (xcoff_symfile_read): Make second parameter a |
2879 | struct section_offsets *, not a (nonexistent) struct section_offset *. | |
2880 | ||
6657a0c7 JK |
2881 | * xcoffread.c (read_xcoff_symtab): Make main_aux just a union |
2882 | internal_xcoff_symtab, not an array of one of them. Change lots of | |
2883 | "main_aux" to "&main_aux" and so on. | |
2884 | ||
27ad511f JK |
2885 | * coffread.c, xcoffread.c: Include <coff/internal.h> |
2886 | before "symfile.h". | |
2887 | ||
d4a0983a JK |
2888 | Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2889 | ||
dbb0fae2 JK |
2890 | * coffread.c (coff_getfilename): Make it not static. |
2891 | ||
d4a0983a JK |
2892 | * xcoffread.c (read_xcoff_symtab): complain() not abort(). |
2893 | ||
2894 | * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes | |
2895 | a completely gratuitous difference between xcoffread.c and coffread.c). | |
2896 | ||
d7e7e851 JK |
2897 | Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2898 | ||
2899 | * infrun.c (wait_for_inferior): Don't set frame for | |
2900 | step_resume_breakpoint for IN_SIGTRAMP cases. | |
2901 | ||
2902 | * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what), | |
2903 | breakpoint.c (bpstat_what): Move step_resume from its own field of | |
2904 | the struct bpstat_what into the main_action. Make it override | |
2905 | other breakpoints. This is a conservative change in the sense | |
2906 | that before the step resume breakpoint was a breakpoint.c | |
2907 | breakpoint, hitting the step resume breakpoint overrode even | |
2908 | calling bpstat_stop_status. | |
2909 | ||
f1de67d3 PS |
2910 | Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2911 | ||
2912 | * infrun.c (normal_stop): Set stop_pc after popping the dummy frame | |
2913 | in case execution was stopped in the called function. | |
2914 | * stack.c (print_frame_info, frame_info): If backtracing through | |
2915 | a call dummy, handle the starting source line number on a line | |
2916 | boundary like backtracing through sigtramp. | |
2917 | * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address | |
2918 | for call dummy frame right. Remove old test for dummy frame, | |
2919 | it has been unused at least since gdb-3.5. | |
2920 | * sparc-tdep.c (sparc_push_dummy_frame): Set return address register | |
2921 | of the dummy frame. | |
2922 | ||
c6e0f918 JK |
2923 | Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2924 | ||
2925 | * infcmd.c (signal_command): Accept 0 as legitimate signal number. | |
2926 | ||
db4340a6 JK |
2927 | Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2928 | ||
2929 | * infrun.c (signals_info), target.c (target_signal_from_name): | |
2930 | Use ugly casts to avoid enumvar < enumvar or enumvar++. | |
2931 | ||
4d4f2d50 JK |
2932 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2933 | ||
d881dd86 JK |
2934 | * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON. |
2935 | * inflow.c (terminal_ours_1): When discussing how to deal with the | |
2936 | tty state, make note of query() as well as readline. | |
2937 | ||
4d4f2d50 JK |
2938 | * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of |
2939 | signals for which stop and print are cleared by default. | |
2940 | ||
5c38fcee JL |
2941 | Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
2942 | ||
c7f3b703 JL |
2943 | * config/pa/tm-hppa.h (unwind_table_entry): Use one of the |
2944 | reserved fields to hold a stub unwind entry type. Fix typo. | |
2945 | (stub_unwind_entry): New structure for raw stub unwind entries. | |
2946 | (stub_unwind_types): The types of stubs we may encounter. | |
2947 | (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines. | |
2948 | * hppa-tdep.c (rp_saved): Use additional information provided | |
2949 | by linker stub unwind descriptors. | |
2950 | (frameless_function_invocation): Likewise. | |
2951 | (frame_chain_valid): Likewise. | |
2952 | * paread.c (compare_unwind_entries): New function for sorting | |
2953 | unwind table entries. | |
2954 | (read_unwind_info): Rewrite to remove dependency on host endianness. | |
2955 | Read in data from the $UNWIND_END$ subspace which contains linker | |
2956 | stub unwind descriptors. Merge that data into the basic unwind | |
2957 | table. | |
2958 | ||
5c38fcee JL |
2959 | * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions. |
2960 | ||
af8b7906 JK |
2961 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2962 | ||
2963 | * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name | |
2964 | from either the symbol name or the auxent. | |
2965 | * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename, | |
2966 | no longer static. | |
2967 | ||
0e7da49c FF |
2968 | Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com) |
2969 | ||
2970 | * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. | |
2971 | ||
b90811f9 PS |
2972 | Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2973 | ||
2974 | * README: Update notes for alpha port. | |
2975 | ||
24a11a79 JK |
2976 | Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2977 | ||
2978 | * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL | |
2979 | for operation fault, constraint fault, and type fault. | |
2980 | ||
b76dcd4b JK |
2981 | Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2982 | ||
623d7380 JK |
2983 | * Makefile.in (init.c): Add comment explaining formatting conventions. |
2984 | ||
a39f7739 JK |
2985 | * c-exp.y (parse_number): Assign to temporary between the right |
2986 | shifts, to work around a bug in the SCO compiler. | |
2987 | ||
07919221 JK |
2988 | * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR): |
2989 | Add various files which were added to GDB recently. | |
2990 | ||
91cc45da JK |
2991 | * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not |
2992 | within_function. | |
2993 | ||
b76dcd4b JK |
2994 | * Makefile.in: Add mostlyclean target. |
2995 | ||
d7a5ff3c JK |
2996 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2997 | ||
2998 | * Version 4.11.4. | |
2999 | ||
8b564df8 PB |
3000 | Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com) |
3001 | ||
3002 | * main.c (show_commands): Make return type of extern | |
3003 | history_get be HIST_ENTRY, rather than struct _hist_entry. | |
3004 | (The latter loses with the upcoming merged readline.) | |
3005 | ||
dac317dc JK |
3006 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3007 | ||
ab5f7971 JK |
3008 | * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring |
3009 | const char *, not char *. | |
3010 | ||
fb155ce3 JK |
3011 | * symtab.h (struct symbol): Make section short, not unsigned short. |
3012 | ||
87041845 JK |
3013 | * symtab.c (lookup_symbol): Add comment about QUIT here. |
3014 | ||
f29351d9 JK |
3015 | * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered. |
3016 | ||
a9b32d61 JK |
3017 | * c-exp.y (parse_number): Check for overflow regardless of range |
3018 | checking. Fix overflow check to use unsigned LONGEST, not | |
3019 | unsigned int. | |
3020 | ||
3021 | * c-exp.y (parse_number): Make it so that integer constants are | |
3022 | builtin_type_long_long if builtin_type_long isn't big enough or if | |
3023 | an "LL" suffix is used. Properly handle "UL" or "LU" suffixes. | |
3024 | ||
dac317dc JK |
3025 | * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC): |
3026 | Print our "()" first, then recurse for the target type. | |
3027 | ||
4c0b3e57 JK |
3028 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3029 | ||
831a39d7 JK |
3030 | * remote-udi.c (udi_create_inferior): Quote empty execfile argument. |
3031 | ||
4c0b3e57 JK |
3032 | * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h". |
3033 | ||
44a09a68 JK |
3034 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3035 | ||
3036 | * utils.c (request_quit): Re-establish signal handler regardless | |
3037 | of USG. | |
3038 | ||
3039 | * config/mips/xm-irix4.h: Define HAVE_TERMIOS. | |
3040 | ||
98506620 JK |
3041 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3042 | ||
3043 | * i960-tdep.c: Include target.h. | |
3044 | ||
658821b9 SS |
3045 | Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com) |
3046 | ||
3047 | * lynx-nat.c (sys/wait.h): Don't use absolute pathname. | |
3048 | ||
3049 | Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) | |
3050 | ||
3051 | * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus | |
3052 | changes (status -> ourstatus; declare status, etc.). | |
3053 | * config/nm-lynx.h: Fix child_wait prototype and include target.h. | |
3054 | ||
4e8bc56f JK |
3055 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3056 | ||
3057 | * Makefile.in (ALLPARAM): Add config/nm-lynx.h. | |
3058 | ||
aeb145f8 ILT |
3059 | Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
3060 | ||
3061 | * remote-mips.c (mips_request, mips_wait): Correct prototypes. | |
3062 | ||
d253eb7a JK |
3063 | Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3064 | ||
3065 | * config/i386/xm-linux.h: Define HAVE_TERMIOS. | |
3066 | ||
52b3045e PS |
3067 | Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3068 | ||
3069 | * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment. | |
3070 | ||
ae682b80 JK |
3071 | Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3072 | ||
d0acb092 JK |
3073 | * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960 |
3074 | is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN. | |
3075 | ||
3076 | * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before | |
3077 | writing it. | |
3078 | ||
63dcc380 JK |
3079 | Add search to target vector (#if 0'd until after 4.12): |
3080 | * target.h (to_search, target_search): Add. | |
3081 | * gdbcore.h, core.c (generic_search): Add. | |
3082 | * remote.c (remote_search): Add. | |
3083 | * a29k-tdep.c (init_frame_info): Use target_search to find traceback | |
3084 | tag. | |
3085 | ||
d6596eee JK |
3086 | * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr |
3087 | is on, call find_pc_function rather than relying just on the minimal | |
3088 | symbols (probably only matters for symbol readers which don't put | |
3089 | statics in the minimal symbols, but changing this strikes me as | |
3090 | not conservative enough). | |
3091 | Initialize name_location in all cases. | |
3092 | If no symbol and no msymbol, don't print anything symbolic. | |
3093 | ||
ae682b80 JK |
3094 | * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0. |
3095 | ||
314e6bf3 JG |
3096 | Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com) |
3097 | ||
3098 | * printcmd.c (print_address_symbolic): Make it search the | |
3099 | symtabs for variables as well as functions. Add `set print | |
3100 | fast-symbolic-addr' and default it to fast (the old way). | |
3101 | Print line numbers for data items as well as functions. | |
3102 | ||
3103 | * symtab.c (find_addr_symbol): Return the symtab and the symbol | |
3104 | address, if a symbol is found (take two more args pointing to | |
3105 | where to store these results). | |
3106 | ||
3107 | * symtab.h (find_addr_symbol): Add prototype. | |
3108 | ||
470dfa0c JK |
3109 | Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3110 | ||
3111 | * objfiles.h: Fix comments to reflect the fact that the phrase | |
3112 | "top of stack" always refers to where the pushing and popping takes | |
3113 | place, regardless of whether it is at the highest or lowest address. | |
3114 | ||
a8c49897 PS |
3115 | Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3116 | ||
3117 | * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for | |
3118 | compiler generated tag names. | |
3119 | * mdebugread.c (parse_type): Handle cross references to qualified | |
3120 | aggregate types. | |
3121 | * valops.c (value_struct_elt): Improve error message if the | |
3122 | address of a method is requested from an object instance. | |
3123 | * valops.c (search_struct_method): Make name_matched non-static | |
3124 | to get it initialized correctly. | |
3125 | * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to | |
3126 | exclude segment register which are not writable on newer SCO versions. | |
3127 | ||
4ad942bf JK |
3128 | Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3129 | ||
3130 | * go32-xdep.c: Remove unused function uerror. | |
3131 | (sigsetmask): Declare return type. Declare argument (to match the | |
3132 | way it is called). Explicitly return 0. | |
3133 | ||
21578747 JG |
3134 | Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com) |
3135 | ||
3136 | * symtab.h (struct symbol, general_symbol_info, minimal_symbol, | |
3137 | partial_symbol): Shrink the storage sizes of symbols, by making | |
3138 | enums into 1-byte bitfields when compiled __GNUC__, moving all the | |
3139 | enums and small ints to the end of each struct to improve | |
3140 | alignment, and switching the section number from int to unsigned | |
3141 | short. | |
3142 | ||
e0ea0fbd JG |
3143 | Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com) |
3144 | ||
3145 | * symtab.c (find_addr_symbol): New routine that will find the nearest | |
3146 | symbol associated with an address. It does so by exhaustive | |
3147 | search of the symtabs, so it's slow but complete. | |
3148 | ||
011d4ed9 JG |
3149 | Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com) |
3150 | ||
3151 | * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab | |
3152 | to [0,0] rather than [0, end of first source file]. This avoids | |
3153 | problems with other parts of GDB looking for linetables in the | |
3154 | _globals_ symtab. Eliminate variables num_object_files and | |
3155 | first_object_file_end. | |
3156 | ||
eb5b74ca JG |
3157 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
3158 | ||
3159 | * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag. | |
3160 | (pop_frame): Restore PC2 and LR0 from dummy frames. | |
3161 | (push_dummy_frame): Save PC2 and LR0 into dummy frames. | |
3162 | (setup_arbitrary_frame): Handle 3 args and set up real frames. | |
3163 | * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments. | |
3164 | (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0. | |
3165 | (SETUP_ARBITRARY_FRAME): Define. | |
3166 | ||
4d69cf57 JK |
3167 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
3168 | ||
3169 | * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START. | |
3170 | ||
6a69975f ILT |
3171 | Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
3172 | ||
3173 | * remote-udi.c (udi_resume): Correct prototype. | |
3174 | ||
c598654a JL |
3175 | Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
3176 | ||
3177 | * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call | |
3178 | hppa_frame_find_saved_regs. | |
3179 | * hppa-tdep.c (dig_fp_from_stack): Delete function. | |
3180 | (prologue_inst_adjust_sp): New function. | |
3181 | (is_branch, inst_saves_gr, inst_saves_fr): New functions. | |
3182 | (skip_prologue): Completely rewrite to use unwind information. | |
3183 | (hppa_frame_find_saved_regs): Likewise. | |
3184 | ||
6397809b JK |
3185 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
3186 | ||
f3fe8934 JK |
3187 | * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol |
3188 | to convert a signal number with appropriate bounds checking. | |
3189 | ||
6397809b JK |
3190 | * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377). |
3191 | ||
c369b6a3 JG |
3192 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
3193 | ||
a31f4b90 JG |
3194 | * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined, |
3195 | print a newline to end the display anyway. | |
3196 | ||
c6d8db40 JG |
3197 | * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and |
3198 | coprocessor status regs) when popping a frame. This fixes | |
3199 | float exceptions that occur after calling inferior functions. | |
3200 | ||
c369b6a3 JG |
3201 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): |
3202 | Read and write the fsr (float status register) to/from the child | |
c6d8db40 JG |
3203 | process along with the float regs. Remove Peter Schauer's change |
3204 | of May 24 '93, which has higher overhead and doesn't solve the | |
3205 | real problem (which was that FSR wasn't being set). | |
c369b6a3 | 3206 | |
7b2bcbf5 JG |
3207 | Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com) |
3208 | ||
3209 | * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ | |
3210 | stack overflow check isn't right after the register stack | |
3211 | adjustment instruction. Metaware R2.3u compiler moves other | |
3212 | things in front of it. This fix isn't perfect but is what's | |
3213 | running. | |
3214 | ||
6aaa61de JK |
3215 | Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
3216 | ||
85b8aa88 JK |
3217 | * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT. |
3218 | ||
6aaa61de JK |
3219 | * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14 |
3220 | character filenames. | |
3221 | * configure.in: Change accordingly. | |
3222 | ||
ef118278 TL |
3223 | Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com) |
3224 | ||
3225 | * m68k-stub.c, sparc-stub.c: removed spurious introduction of | |
3226 | _filtered io routines from these two files. | |
3227 | ||
9d51b3c5 PS |
3228 | Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3229 | ||
3230 | * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h, | |
3231 | config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define. | |
3232 | * mdebugread.c (parse_symbol): Handle enum sh.type produced by | |
3233 | DEC c89. | |
3234 | * mdebugread.c (add_line): Handle zero linenos produced by DEC c89. | |
3235 | ||
11ebf939 JK |
3236 | Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3237 | ||
17d059d4 JK |
3238 | * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before |
3239 | printing to gdb_stderr. | |
3240 | ||
3241 | * remote-udi.c (udi_kill): Don't close the connection, just set | |
3242 | inferior_pid to zero. | |
3243 | (udi_mourn): Call remove_breakpoints. | |
3244 | ||
3245 | * remote-udi.c: Remove obsolete need_artificial_traps comment. | |
3246 | ||
11ebf939 JK |
3247 | * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc. |
3248 | ||
fcbc95a7 JK |
3249 | Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
3250 | ||
d8a66e60 JK |
3251 | * symtab.c (lookup_symbol): Don't try adding .c to the name. |
3252 | ||
e3a7e9d5 JK |
3253 | * remote-bug.c: At the start of each section, reset srec_frame |
3254 | back to 160. | |
3255 | ||
fcbc95a7 JK |
3256 | * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS. |
3257 | * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook. | |
3258 | * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with | |
3259 | code which looks for those two waitkinds. Use switch statement. | |
3260 | * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with | |
3261 | CHILD_SPECIAL_WAITSTATUS. | |
3262 | ||
3263 | * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes. | |
3264 | * Move target_signal_from_host, target_signal_to_host, and | |
3265 | store_waitstatus from inftarg.c to target.c. procfs needs them. | |
3266 | * target.c: Include "wait.h" and <signal.h>. | |
3267 | * target.h, infrun.c (proceed), proceed callers: Pass new code | |
3268 | TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with | |
3269 | enums being treated as unsigned and is cleaner. | |
3270 | * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or | |
3271 | TARGET_SIGNAL_0. | |
3272 | * infcmd.c (signal_command), infrun.c (signals_info): | |
3273 | Don't allow user to specify numeric equivalent of | |
3274 | TARGET_SIGNAL_DEFAULT. | |
3275 | ||
7f85a716 SG |
3276 | Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com) |
3277 | ||
3278 | * config/alpha/alpha-netware.mt: New target support for Alpha | |
3279 | running Netware. | |
3280 | * configure.in: Add alpha-*-netware* target. | |
3281 | ||
5efb3899 SS |
3282 | Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
3283 | ||
3284 | * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED. | |
3285 | ||
67ac9759 JK |
3286 | Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3287 | ||
3288 | * target.h: Add enum target_waitkind, enum target_signal, and | |
3289 | struct target_waitstatus. Change status argument to target_wait to | |
3290 | be struct target_waitstatus * instead of int *. | |
3291 | * target.h, infrun.c, all targets: Change type of signal arguments | |
3292 | to resume(), proceed(), and target_resume() from int to enum | |
3293 | target_signal. | |
3294 | * All targets (*_wait, *_resume): Change accordingly. | |
3295 | * infcmd.c (program_info, signal_command), throughout infrun.c, | |
3296 | * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. | |
3297 | * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex | |
3298 | signal code stuff right with the new signals would be non-trivial). | |
3299 | * inferior.h (stop_signal): Make it enum target_signal not int. | |
3300 | * target.c, target.h (target_signal_to_string, target_signal_to_name, | |
3301 | target_signal_from_name): New functions. | |
3302 | * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, | |
3303 | store_waitstatus): New functions. | |
3304 | * procfs.c (procfs_notice_signals): Use them. | |
3305 | * i960-tdep.c (i960_fault_to_signal): New function, to replace | |
3306 | print_fault. | |
3307 | * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL. | |
3308 | ||
3309 | * objfiles.c (build_objfile_section_table): Don't abort() if | |
3310 | objfile->sections is already set. | |
3311 | ||
3312 | * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD | |
3313 | to match recent change to exec.c. | |
3314 | ||
3315 | * Version 4.11.3. | |
3316 | ||
3317 | * main.c (print_gdb_version): Change year to 1994. | |
3318 | ||
3319 | * ChangeLog, ChangeLog-93: Split ChangeLog at 1994. | |
3320 | * Makefile.in (NONSRC): Add ChangeLog-93. | |
3321 | ||
b35885f2 JK |
3322 | Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3323 | ||
4b404661 JK |
3324 | * stabsread.c (read_type): Allow defining several type numbers |
3325 | at once (e.g. "(1,2)=(3,4)="...). | |
3326 | ||
eaba7fae JK |
3327 | * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int). |
3328 | ||
b35885f2 JK |
3329 | * breakpoint.c (frame_in_dummy): Check PC as well as frame. |
3330 | ||
ae5c71d6 PS |
3331 | Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3332 | ||
3333 | * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols | |
3334 | to process_one_symbol. | |
3335 | * symtab.c (find_pc_psymbol): Search global_psymbols as well to | |
3336 | avoid caching a bad endaddr in find_pc_partial_function. | |
3337 | ||
d568b76a JK |
3338 | Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
3339 | ||
3340 | * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION. | |
3341 | ||
9ddb33a8 PS |
3342 | Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
3343 | ||
3344 | * infrun.c (wait_for_inferior): Do not step or step resume past | |
3345 | the end of a one-line function we just stepped into. | |
3346 | ||
67ac9759 | 3347 | For older changes see ChangeLog-93 |
bd5635a1 RP |
3348 | \f |
3349 | Local Variables: | |
3350 | mode: indented-text | |
3351 | left-margin: 8 | |
3352 | fill-column: 74 | |
3353 | version-control: never | |
3354 | End: |