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