Commit | Line | Data |
---|---|---|
999dd04b JL |
1 | Wed Apr 13 14:52:46 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
2 | ||
3 | * breakpoint.h (enum bptype): Add bp_hardware_watchpoint and | |
4 | bp_watchpoint_scope breakpoints. | |
5 | (struct breakpoint): Add val_chain and related_breakpoint fields | |
6 | for use by watchpoints. | |
7 | ||
8 | * breakpoint.c (within_scope): Delete. No longer used. | |
9 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Provide default definition. | |
10 | (target_{remove,insert}_watchpoint): Likewise. | |
11 | (can_use_hardware_watchpoint): New function. | |
12 | (remove_breakpoint): New function to remove a single breakpoint | |
13 | or hardware watchpoint. | |
14 | (insert_breakpoints): Handle insertion of hardware watchpoints. | |
15 | Store a copy of the value chain derived from the watchpoint | |
16 | expression. | |
17 | (remove_breakpoints): Simplify by using remove_breakpoint. | |
18 | (delete_breakpoint): Likewise. | |
19 | (watchpoint_check): Delete the watchpoint and watchpoint scope | |
20 | breakpoints when the watchpoint goes out of scope. Save & restore | |
21 | the current frame after checking watchpoints. | |
22 | (breakpoint_init_inferior): Likewise (restarting the program | |
23 | makes all local watchpoints go out of scope). | |
24 | (bpstat_stop_status): Handle hardware watchpoints much like normal | |
25 | watchpoints. Delete the watchpoint and watchpoint scope breakpoint | |
26 | when the watchpoint goes out of scope. Remove and reinsert all | |
27 | breakpoints before returning if we stopped when a hardware watchpoint | |
28 | fired. | |
29 | (watch_command): Use a hardware watchpoint when possible. If | |
30 | watching a local expression, build a scope breakpoint too. | |
31 | (map_breakpoint_numbers): Also call given function for any | |
32 | related breakpoints. | |
33 | (disable_breakpoint): Never disable a scope breakpoint. | |
34 | (enable_breakpoint): Handle hardware breakpoints much like normal | |
35 | breakpoints, but recompute the watchpoint_scope breakpoint's | |
36 | frame and address (if we have an associated scope breakpoint). | |
37 | (read_memory_nobpt): Handle hardware watchpoints like normal | |
38 | watchpoints. When necessary handle watchpoint_scope breakpoints. | |
39 | (print_it_normal, bpstat_what, breakpoint_1, mention): Likewise. | |
40 | (clear_command, breakpoint_re_set_one, enable_command): Likewise. | |
41 | (disable_command): Likewise. | |
42 | ||
43 | * blockframe.c (find_frame_addr_in_frame_chain): New function. | |
44 | Extern prototype added to frame.h | |
45 | ||
46 | * infrun.c (wait_for_inferior): Set current_frame and select | |
47 | a frame before checking if we stopped due to a hardare watchpoint | |
48 | firing. Handle stepping over hardware watchpoints. | |
49 | (normal_stop): Remove unnecessary call to select_frame. | |
50 | ||
51 | * value.h (value_release_to_mark): Declare. | |
52 | * values.c (value_release_to_mark): New function. | |
53 | ||
54 | * procfs.c (procfs_wait): Add cases for hardware watchpoints. | |
55 | (procfs_set_watchpoint, procfs_stopped_by_watchpoint): New functions. | |
56 | ||
57 | * hppab-nat.c (hppa_set_watchpoint): New function. | |
58 | ||
59 | * config/pa/nm-hppab.h (STOPPED_BY_WATCHPOINT): Define. | |
60 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
61 | (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. | |
62 | (target_{insert,delete}_watchpoint): Define. | |
63 | ||
9ec76784 JL |
64 | * config/mips/nm-irix4.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): Define. |
65 | (STOPPED_BY_WATCHPOINT, HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. | |
66 | (target_{insert,remove}_watchpoint): Likewise. | |
67 | ||
70e375c3 SG |
68 | Mon Apr 11 19:21:27 1994 Stu Grossman (grossman at cygnus.com) |
69 | ||
70 | * xcoffread.c (read_xcoff_symtab): Ignore symbols of class C_EXT, | |
71 | smtyp XTY_LD, sclass XMC_DS (external data segment label). They | |
72 | often have the same names as debug symbols for functions, and | |
73 | confuse lookup_symbol(). | |
74 | ||
2ddeed27 JK |
75 | Mon Apr 11 10:44:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
76 | ||
77 | * remote.c: Around redefinition of PBUFSIZE, adjust whitespace. | |
78 | * config/pa/tm-hppa.h (REGISTER_BYTES): Use 4 rather than | |
79 | REGISTER_RAW_SIZE (1). | |
80 | Together these changes work around a bug in HP's compiler. Both | |
81 | seem to be necessary. | |
82 | ||
699daa9c JL |
83 | Mon Apr 11 09:18:24 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
84 | ||
85 | * paread.c (pa_symtab_read): Handle ST_STUB symbols and symbols | |
86 | with scope SS_EXTERNAL. ST_ENTRY symbols in dynamic executables | |
87 | are type mst_solib_trampoline. | |
88 | ||
7b2b0758 JK |
89 | Fri Apr 8 17:14:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
90 | ||
91 | * config/m68k/es1800.mt: Change comments. | |
92 | ||
93 | Fri Apr 8 17:14:37 1994 Rob Savoye (rob@darkstar.cygnus.com) | |
94 | ||
95 | * config/m68k/monitor.mt (TDEPFILES): Don't include remote-es.o. | |
96 | ||
790a14a8 SG |
97 | Fri Apr 8 15:35:30 1994 Stu Grossman (grossman at cygnus.com) |
98 | ||
99 | * lynx-nat.c: Restore regmap structure for SPARC. It's needed | |
100 | for core files. | |
101 | ||
f3e4ac4a JK |
102 | Fri Apr 8 14:53:35 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
103 | ||
a110a1c3 JK |
104 | * values.c (unpack_long): Remove obsolete comment about using a |
105 | switch statement. | |
106 | ||
f3e4ac4a JK |
107 | * symfile.c (symbol_file_command): Add comments about command syntax. |
108 | ||
2fe3b329 PS |
109 | Thu Apr 7 17:25:21 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
110 | Jim Kingdon (kingdon@cygnus.com) | |
111 | ||
112 | * infrun.c (IN_SOLIB_TRAMPOLINE): Correct comment, trampolines | |
113 | are in the .plt section. | |
114 | * minsyms.c (lookup_solib_trampoline_symbol_by_pc, | |
115 | find_solib_trampoline_target): New functions for handling | |
116 | stepping into -g compiled shared libraries. | |
117 | * symtab.h (lookup_solib_trampoline_symbol_by_pc, | |
118 | find_solib_trampoline_target): Add prototypes. | |
119 | * config/tm-sunos.h (IN_SOLIB_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): | |
120 | Define to handle stepping into -g compiled shared libraries. | |
121 | * config/tm-sysv4.h (SKIP_TRAMPOLINE_CODE): Define to handle | |
122 | stepping into -g compiled shared libraries. | |
123 | ||
124 | Thu Apr 7 17:22:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
125 | ||
126 | * configure.in: Add mips-*-sysv4* support. | |
127 | * config/mips/mipsv4.mh, config/mips/mipsv4.mt, | |
128 | config/mips/tm-mipsv4.h, config/mips/xm-mipsv4.h, mipsv4-nat.c: | |
129 | New files for MIPS SVR4 support. | |
130 | * Makefile.in: Update for new mipsv4 files. | |
131 | * alpha-tdep.c (heuristic_proc_desc, find_proc_desc): Use | |
132 | read_next_frame_reg to obtain the frame relative stack pointer. | |
133 | * mips-tdep.c (heuristic_proc_desc): Use read_next_frame_reg to | |
134 | obtain the frame relative stack pointer. | |
135 | * mdebugread.c (parse_partial_symbols, psymtab_to_symtab1): | |
136 | Handle stStatic and stStaticProc symbols in stabs-in-ecoff output | |
137 | by entering them into the minimal symbol table. | |
138 | * printcmd.c (print_scalar_formatted): Do not try to unpack to | |
139 | a long for float formats. | |
140 | * solib.c: Include "elf/mips.h" only if DT_MIPS_RLD_MAP does not | |
141 | get defined in <link.h>. | |
142 | * solib.c (solib_add): Add shared library sections to the section | |
143 | table of the target before adding the symbols. | |
144 | * partial-stab.h: Relocate static and global functions. | |
145 | * dbxread.c (read_dbx_symtab): Remove unused variable | |
146 | end_of_text_address. Relocate text_addr when passing it | |
147 | to end_psymtab. | |
148 | ||
149 | For Alpha OSF/1 targets, enable gdb to set breakpoints in shared | |
150 | library functions before the executable is run. Retrieve dynamic | |
151 | symbols from stripped executables. | |
152 | * mipsread.c (read_alphacoff_dynamic_symtab): New function. | |
153 | * mipsread.c (mipscoff_symfile_read): Use it. Issue warning message | |
154 | if no debugging symbols were found. | |
155 | * alpha-tdep.c (alpha_skip_prologue): Silently return the unaltered | |
156 | pc if memory at the pc is not accessible and GDB_TARGET_HAS_SHARED_LIBS | |
157 | is defined. | |
158 | * config/alpha/nm-alpha.h (GDB_TARGET_HAS_SHARED_LIBS): Define, | |
159 | OSF/1 has shared libraries. | |
160 | ||
192b64e7 ILT |
161 | Thu Apr 7 15:11:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
162 | ||
163 | * dbxread.c (read_dbx_dynamic_symtab): Adjust for recent changes | |
164 | to BFD handling of dynamic symbols. | |
165 | ||
45568424 JL |
166 | Tue Apr 5 15:29:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
167 | ||
4f915914 JL |
168 | * hppa-tdep.c (hppa_fix_call_dummy): If FUN is a procedure label, |
169 | then gets its real address into FUN and its GOT/DP value into %r19. | |
170 | ||
171 | * tm-hppa.h (CALL_DUMMY): Use %r20, not %r19 as a temporary. | |
172 | ||
7f43b9b7 JL |
173 | * hppa-tdep.c (frameless_function_invocation): If no unwind |
174 | descriptor was found, then assume this was not a frameless | |
175 | function invocation. | |
176 | (frame_saved_pc): If the saved PC is in a linker stub, then | |
177 | return the return address which the linker stub will return to. | |
178 | ||
45568424 JL |
179 | * xm-hppab.h: Never define USG. |
180 | * xm-hppah.h: Always define USG. | |
181 | ||
b96bc1e4 PB |
182 | Tue Apr 5 12:58:47 1994 Per Bothner (bothner@kalessin.cygnus.com) |
183 | ||
184 | * values.c (unpack_long, value_from_longest), | |
185 | valarith.c (value_binop): Allow TYPE_CODE_RANGE. | |
186 | ||
d5412302 JK |
187 | Fri Apr 1 14:04:34 1994 Jason Merrill (jason@deneb.cygnus.com) |
188 | ||
189 | * symfile.c (deduce_language_from_filename): .cpp is a C++ extension. | |
190 | ||
38b90473 PS |
191 | Fri Apr 1 00:44:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
192 | ||
193 | For SVR4 targets, enable gdb to set breakpoints in shared | |
194 | library functions before the executable is run. | |
195 | * elfread.c (elf_symtab_read): Handle symbols for shared library | |
196 | functions. | |
197 | * sparc-tdep.c (in_solib_trampoline): Renamed to in_plt_section | |
198 | and moved to objfiles.c. | |
199 | * objfiles.c (in_plt_section): Moved to here from sparc-tdep. | |
200 | * config/tm-sysv4.h (IN_SOLIB_TRAMPOLINE): Use new in_plt_section. | |
201 | * config/sparc/tm-sun4sol2.h (IN_SOLIB_TRAMPOLINE): Removed, | |
202 | the new generic definition from tm-sysv4.h works for Solaris. | |
203 | ||
70f42bae ILT |
204 | Wed Mar 30 16:14:27 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
205 | ||
206 | * elfread.c (elf_symtab_read): Change storage_needed, | |
207 | number_of_symbols and i to long. Rename get_symtab_upper_bound to | |
208 | bfd_get_symtab_upper_bound. Check for errors from | |
209 | bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. | |
210 | * nlmread.c (nlm_symtab_read): Same changes. | |
211 | ||
aece310f JK |
212 | Wed Mar 30 11:43:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
213 | ||
34d265dc JK |
214 | * xcoffread.c (xcoff_next_symbol_text): New function. |
215 | (read_xcoff_symtab): Set next_symbol_text_func to it. | |
216 | Move raw_symbol outside of read_xcoff_symtab. | |
217 | ||
aece310f JK |
218 | * remote.c (getpkt): Remove unused "out" label. |
219 | ||
bd2f0c85 JL |
220 | Wed Mar 30 09:15:42 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
221 | ||
222 | * breakpoint.c (print_it_normal): Allow GDB to notify the user | |
223 | about more than one watchpoint being triggered. | |
224 | ||
c2216bfd JK |
225 | Wed Mar 30 08:24:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
226 | ||
227 | * config/m68k/tm-dpx2.h: Include tm-m68k.h not nonexistent tm-68k.h. | |
228 | ||
db2302cb PS |
229 | Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
230 | ||
9e837b37 PS |
231 | * blockframe.c (find_pc_partial_function): mst_file_text |
232 | symbols do not live in the shared library transfer table. | |
db2302cb PS |
233 | * ch-exp.y (decode_integer_value, match_character_literal, |
234 | match_bitstring_literal): Guard tolower calls with isupper, | |
235 | tolower on old BSD systems blindly subtracts a constant. | |
236 | * dbxread.c (read_ofile_symtab): Check for __gnu_compiled_* as | |
237 | well when determining the producer of the object file. | |
238 | * mdebugread.c (has_opaque_xref): New function to check for | |
239 | cross reference to an opaque aggregate. | |
240 | * mdebugread.c (parse_symbol, parse_partial_symbols): Do not | |
241 | enter typedefs to opaque aggregates into the symbol tables. | |
242 | * mdebugread.c (parse_external): Remove skip_procedures argument, | |
243 | it has always been 1. Remove code that handled stProc symbols, | |
244 | it was never executed and was wrong, as the index of a | |
245 | stProc symbol points to the local symbol table and not to the | |
246 | auxiliary symbol info. Update caller. | |
247 | * mdebugread.c (parse_partial_symbols): Do not enter external | |
248 | stProc symbols into the partial symbol table, they are already | |
249 | entered into the minimal symbol table. | |
250 | * config/i386/tm-symmetry.h: Clean up, it is now only used for Dynix. | |
251 | Remove all conditionals and definitions for ptx. | |
252 | I386_REGNO_TO_SYMMETRY moved to here from symm-tdep.c. | |
253 | Fix addresses of floating point registers in REGISTER_U_ADDR. | |
254 | STORE_STRUCT_RETURN now handles cc and gcc conventions. | |
255 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, | |
256 | IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET defined to make backtracing through | |
257 | signal trampoline code work. | |
258 | * config/i386/xm-symmetry.h: Clean up, it is now only used for Dynix. | |
259 | Remove all conditionals and definitions for ptx. | |
260 | Remove KDB definitions. | |
261 | * symm-nat.c (store_inferior_registers): Fetch registers before | |
262 | storing them to obtain valid floating point control registers. | |
263 | Store fpu registers. | |
264 | * symm-nat.c (print_1167_control_word): Dynix 3.1.1 defines | |
265 | FPA_PCR_CC_C0 and FPA_PCR_CC_C1, avoid duplicate case value. | |
266 | * symm-nat.c (fetch_inferior_registers, child_xfer_memory): | |
267 | Fix typos. | |
268 | * symm-nat.c (child_resume): Update type of `signal' parameter. | |
269 | * symm-tdep.c (I386_REGNO_TO_SYMMETRY): Moved to tm-symmetry.h. | |
270 | ||
19cd0c1f JL |
271 | Tue Mar 29 23:01:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
272 | ||
273 | * hppa-tdep.c (hppa_fix_call_dummy): Use an alternate method for | |
274 | calling import stubs for functions in shared libraries. | |
275 | ||
73cd3b49 PB |
276 | Tue Mar 29 21:14:04 1994 Per Bothner (bothner@kalessin.cygnus.com) |
277 | ||
58cda66e PB |
278 | * ch-exp.y: Implement SIZE(mode_name) and SIZE(expression). |
279 | ||
73cd3b49 PB |
280 | * ch-lang.c (chill_is_varying_struct): Magic string is |
281 | was "<var_length>" is now "__var_length" (more portable). | |
282 | ||
0c993550 JK |
283 | Tue Mar 29 19:41:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
284 | ||
285 | * remote.c (getpkt): If we get a timeout, actually retry rather | |
286 | than just giving up the first time it happens. | |
287 | * remote.c: Document sequence numbers. | |
288 | (remote_store_registers): Change syntax of 'P' request so that it | |
289 | never looks like a sequence number. | |
290 | ||
d80ff70c KH |
291 | Tue Mar 29 16:06:01 1994 Kung Hsu (kung@mexican.cygnus.com) |
292 | ||
0c993550 | 293 | * os9kread.c (record_minimal_symbol): add section_offset to |
d80ff70c KH |
294 | relocate minimal symbol table. |
295 | * os9kread.c (read_minimal_symbols): ditto. | |
296 | * os9kread.c (os9k_symfile_init): increase size of dbg and stb | |
297 | file names. | |
298 | * os9kread.c (read_os9k_psymtab): if there's no dbg file, just | |
299 | return. Also if file addr is 0 leave it 0, not to relocate. | |
300 | * remote-os9k.c (_initialize_remote_os9k): add 'set remotexon', | |
301 | 'set remotexoff' and 'set remotelog' commands. | |
302 | ||
4aa6fe10 JK |
303 | Tue Mar 29 12:38:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
304 | ||
305 | * remote.c (remote_store_registers): Add 'P' request to set an | |
306 | individual register. | |
307 | (remote_write_bytes, remote_read_bytes): Use %lx, not %x, to print | |
308 | a target address. | |
309 | ||
72e35288 JK |
310 | Sat Mar 26 07:05:18 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
311 | ||
649694ea JK |
312 | * config/sparc/tm-sparc.h: Define USE_REGISTER_NOT_ARG. |
313 | * stabsread (define_symbol): If USE_REGISTER_NOT_ARG, go back to | |
314 | combining all 'p' and 'r' pairs into a LOC_REGPARM. | |
315 | ||
72e35288 JK |
316 | * command.c (do_setshow_command, case var_string): Never add a |
317 | space to the end of the string. | |
318 | * NEWS: Document this change. | |
319 | * .gdbinit: Add a space to the "set prompt" command. | |
320 | ||
59144a81 JK |
321 | Fri Mar 25 12:40:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
322 | ||
493424b1 JK |
323 | * m3-nat.c, i386m3-nat.c, config/i386/i386m3.mh: Many minor |
324 | changes to make it compile (it doesn't link yet). | |
325 | ||
326 | * buildsym.c (start_subfile, patch_subfile_names), demangle.c | |
327 | (set_demangling_style, set_demangling_command): Use savestring not | |
328 | strdup. We were not dealing properly with a NULL return from | |
329 | strdup, and were not declaring strdup (the system header may or | |
330 | may not have it). | |
331 | ||
59144a81 JK |
332 | * valprint.c (val_print): Remove inaccurate comment about what |
333 | types can be stub types. | |
334 | ||
335 | * config/i386/ptx.mh (XDEPFILES): Add coredep.o. Delete infptrace.o. | |
336 | * symm-nat.c (child_wait, _initialize_symm_nat, kill_inferior): | |
337 | Supply alternate version if ATTACH_DETACH is not defined. | |
338 | * ptx4-nat.c, config/i386/{nm-ptx4.h, ptx4.mh, ptx.mt, ptx4.mt, | |
339 | tm-ptx.h, tm-ptx4.h, xm-ptx.h, xm-ptx4.h}: New files. | |
340 | * configure.in: Recognize i[34]86-sequent-sysv4* host. | |
341 | ||
c8f75fe8 JL |
342 | Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
343 | ||
de482138 JL |
344 | * hppa-tdep.c (skip_prologue): Do nothing if not at the beginning |
345 | of a function. | |
346 | (skip_trampoline_code): Rewrite and add support for argument | |
347 | relocation stubs stubs, import/export stubs, calls through | |
348 | "_sr4export" and cascaded trampolines. | |
349 | ||
fdafbfad JL |
350 | * hppa-tdep.c (skip_prologue): Return "pc" not zero |
351 | if no unwind descriptor is found. | |
352 | ||
eb1167c6 JL |
353 | * tm-hppa.h (NUM_REGS): Bump to 128 registers. |
354 | (REGISTER_NAMES): Add entries for "right-half" of FP registers. | |
355 | (REGISTER_RAW_SIZE, MAX_REGISTER_RAW_SIZE): Do not treat FP regs | |
356 | differently. All registers are four bytes. | |
357 | (REGISTER_BYTES, REGISTER_BYTE): Simplify now that all registers are | |
358 | the same size. | |
359 | (REGISTER_VIRTUAL_TYPE): Use builtin_type_float for all FP regs. | |
360 | ||
361 | * hppa-tdep.c (pa_print_fp_reg): Update to print even numbered FP | |
362 | registers as both single and double values (fetching 2nd 32bit half | |
363 | as necessary). Annotate each register printed with its precision. | |
364 | ||
c8f75fe8 JL |
365 | * paread.c (read_unwind_info): Fix off-by-one error. |
366 | ||
0c1af47f JK |
367 | Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
368 | ||
369 | * main.c (complete_command): Deal with it if arg is NULL. | |
370 | ||
5801f348 JK |
371 | Thu Mar 24 07:12:09 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
372 | ||
4df6dcd1 JK |
373 | * config/mips/tm-mips.h (SETUP_ARBITRARY_FRAME): Revise comment |
374 | regarding using the PC--using the PC is necessary and all the | |
375 | FIXME comments in the world won't make it go away. | |
376 | ||
2f3b7d8e JK |
377 | * valops.c (value_at, value_at_lazy): Give error if we dereference |
378 | a pointer to void. | |
379 | * gdbtypes.h: Fix comments regarding TYPE_CODE_VOID. | |
380 | * stabsread.c: Use 1, not 0, for TYPE_LENGTH of void types. | |
381 | ||
553e1862 JK |
382 | * stabsread.c (patch_block_stabs): Add comment about what happens |
383 | if the definition is in another compilation unit from the stab. | |
acdec954 | 384 | |
5801f348 JK |
385 | * dbxread.c (end_psymtab): Add comment about empty psymtabs. |
386 | ||
09973223 JK |
387 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
388 | ||
389 | * main.c (complete_command): New command, from Rick Sladkey | |
390 | <jrs@world.std.com>. | |
391 | (symbol_completion_function): Don't declare rl_point and | |
392 | rl_line_buffer; they are now declared in readline.h. | |
393 | (show_commands): Don't declare history_base; it is declared in | |
394 | history.h. | |
395 | * command.c (lookup_cmd): Don't delete trailing whitespace. | |
acdec954 | 396 | Reverts change of 14 May 1989. |
09973223 JK |
397 | |
398 | Wed Mar 23 16:14:52 1994 Stu Grossman (grossman at cygnus.com) | |
399 | ||
400 | * minsyms.c (prim_record_minimal_symbol): Move section deduction | |
401 | code from prim_record_minimal_symbol_and_info() to here. Callers | |
402 | of the latter can legitimately supply a section number of -1. | |
403 | ||
e552788b JK |
404 | Wed Mar 23 07:50:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
405 | ||
406 | * gdbtypes.h, gdbtypes.c: Add comments regarding whether static | |
407 | member functions have an element in args for a (nonexistent) this | |
408 | pointer. | |
409 | ||
84ad95c1 JL |
410 | Tue Mar 22 20:12:53 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
411 | ||
0a64709e JL |
412 | * config/pa/tm-hppao.h (NO_PC_SPACE_QUEUE_RESTORE): Define. |
413 | ||
414 | * hppa-tdep.c (hppa_pop_frame): Do not restore the PC space | |
415 | queue if NO_PC_SPACE_QUEUE_RESTORE is defined. | |
416 | ||
84ad95c1 JL |
417 | * stabsread.c (REG_STRUCT_HAS_ADDR): Accept additional argument |
418 | for the structure's type. All callers changed. | |
419 | ||
420 | * valops.c (call_function_by_hand): Check REG_STRUCT_HAS_ADDR | |
421 | for each structure argument rather than assuming it's either | |
422 | true or false for all structure arguments. | |
423 | ||
424 | * config/pa/tm-hppa.h (REG_STRUCT_HAS_ADDR): Depend only | |
425 | on the length structure passed, not the compiler used. | |
426 | ||
427 | * config/sparc/tm-sparc.h (REG_STRUCT_HAS_ADDR): Accept additional | |
428 | argument for the structure's type. | |
429 | ||
29f2ceed JK |
430 | Tue Mar 22 15:28:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
431 | ||
51f83933 JK |
432 | * values.c (set_internalvar): Don't set var->value until we are |
433 | sure there won't be an error(). | |
434 | ||
29f2ceed JK |
435 | * remote.c (get_offsets): Reinstate comment which was in |
436 | remote_wait about use of SECT_OFF_TEXT and so on. | |
437 | ||
438 | Mon Mar 21 13:11:30 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) | |
439 | ||
440 | * symmisc.c (maintenance_check_symtabs): New function to check | |
441 | consistency of psymtabs and symtabs. | |
442 | * symtab.h (maintenance_check_symtabs): Add prototype. | |
443 | * maint.c: Add new `maint check-symtabs' command. | |
444 | * config/i386/tm-i386aix.h, config/i386/tm-sun386.h, | |
445 | config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Fix typo. | |
446 | * config/i386/tm-symmetry.h: Make comment inside #if 0 a real | |
447 | comment. | |
448 | * config/i386/tm-symmetry.h (STORE_STRUCT_RETURN): Cast argument | |
449 | to write_memory to avoid warnings from gcc. | |
450 | * config/i386/xm-symmetry.h: Add missing #endif. | |
451 | * config/i386/nm-symmetry.h (NO_PTRACE_H): Add for Dynix. | |
452 | * config/i386/symmetry.mt (TDEPFILES): Add i386-tdep.o. | |
453 | * config/i386/symmetry.mh (NAT_FILE, NATDEPFILES): Add. | |
454 | ||
4fd5eed4 JL |
455 | Mon Mar 21 11:50:28 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
456 | ||
457 | * hppa-tdep.c (hppa_fix_call_dummy): Use value_ptr. | |
458 | (hppa_push_arguments): Likewise. | |
459 | ||
72bba93b SG |
460 | Mon Mar 21 11:02:51 1994 Stu Grossman (grossman at cygnus.com) |
461 | ||
462 | * alpha-tdep.c: Gobs of changes (many imported from mips-tdep) to | |
463 | improve remote debugging efficiency. Also fixed problems with | |
464 | doing function calls for programs with no entry points. | |
465 | * infcmd.c (run_stack_dummy): Use CALL_DUMMY_ADDRESS instead of | |
466 | entry_point_address. | |
467 | * inferior.h (PC_IN_CALL_DUMMY): ditto. | |
468 | * mdebugread.c (parse_symbol, parse_procedure, parse_external, | |
469 | parse_lines): Pass section_offsets info to these routines so that | |
470 | we can relocate symbol table entries upon readin. | |
471 | * (psymtab_to_symtab_1): Set symtab->primary to tell | |
472 | objfile_relocate to do relocations for our symbols. | |
473 | * (ecoff_relocate_efi): New routine to relocate adr field of PDRs | |
474 | (which hang off of the symbol table). | |
475 | * Use prim_record_minimal_symbols_and_info instead of | |
476 | prim_record_minimal_symbols to supply section info to make minimal | |
477 | symbol relocations work. | |
478 | * minsyms.c (prim_record_minimal_symbols_and_info): If section is | |
479 | -1, try to deduce it from ms_type. | |
480 | * objfiles.c (objfile_relocate): Use ALL_OBJFILE_SYMTABS where | |
481 | appropriate. Handle relocation of MIPS_EFI symbols special. Also, | |
482 | add code to relocate objfile->sections data structure. | |
483 | * remote.c (get_offsets): Use new protocol message to acquire | |
484 | section offsets from the target. | |
485 | * (remote_wait): Get rid of relocation stuff. That's all handled | |
486 | by objfile_relocate now. | |
487 | * config/alpha/alpha-nw.mt (TM_FILE): Use tm-alphanw.h. | |
488 | * config/alpha/tm-alpha.h: Define CALL_DUMMY_ADDRESS, and | |
489 | VM_MIN_ADDRESS. | |
490 | * config/alpha/tm-alphanw.h: DECR_PC_AFTER_BREAK=0, VM_MIN_ADDRESS=0. | |
491 | ||
d148e8c4 DE |
492 | Sun Mar 20 15:21:57 1994 Doug Evans (dje@cygnus.com) |
493 | ||
494 | * sparc-tdep.c (sparc_frame_find_save_regs): Use REGISTER_RAW_SIZE | |
495 | instead of 4. | |
d3688932 | 496 | |
d148e8c4 | 497 | start-sanitize-v9 |
d3688932 DE |
498 | * sp64-tdep.c (target_ptr_bit, set_target_ptr_bit): Deleted, |
499 | can no longer set this at run time. | |
7f695c07 DE |
500 | * config/sparc/sp64.mt (SIMFILES): Use remote-sim.o now. |
501 | (TM_CLIBS): Define to -lm, the simulator uses the sqrt() function. | |
502 | * config/sparc/tm-sp64.h (FPS_REGNUM, CPS_REGNUM): Define (so | |
503 | sparc-tdep.c compiles). | |
504 | (TARGET_PTR_BIT): Must be a constant now, fix at 64. | |
d3688932 DE |
505 | end-sanitize-v9 |
506 | ||
94d4b713 JK |
507 | Sat Mar 19 08:51:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
508 | ||
d0bff94e JK |
509 | * config/m68k/{cisco.mt,tm-cisco.h}: New files. |
510 | * Makefile.in (ALLPARAM, ALLCONFIG): Add them. | |
511 | * configure.in: Recognize m68*-cisco*-*. | |
512 | ||
94d4b713 JK |
513 | * Makefile.in (TAGS): Use variables directly, rather than using |
514 | find, to locate TM_FILE, XM_FILE, and NAT_FILE. This is faster | |
515 | and means that these filenames no longer need be unique across all | |
516 | the config/* directories. | |
517 | * configure.in: Put the config/*/ into TM_FILE, etc. | |
518 | ||
519 | * m68k-stub.c (computeSignal): Return SIGFPE, not SIGURG, for chk | |
520 | and trapv exceptions. | |
521 | ||
522 | * target.h (struct section_table), objfiles.h (struct obj_section): | |
523 | Change name of field sec_ptr to the_bfd_section. More mnemonic | |
524 | and avoids the (sort of, for the ptx compiler) name clash with | |
525 | the name of the typedef. | |
526 | * exec.c, xcoffexec.c, sparc-tdep.c, rs6000-nat.c, osfsolib.c, | |
527 | solib.c, irix5-nat.c, objfiles.c, remote.c: Change users. | |
528 | ||
529 | * utils.c: Include readline.h. | |
530 | * Makefile.in (utils.o): Add dependency. | |
531 | ||
532 | * remote.c (getpkt): Add support for run-length encoding. | |
533 | ||
8eec3310 SC |
534 | Fri Mar 18 19:11:15 1994 Steve Chamberlain (sac@jonny.cygnus.com) |
535 | ||
536 | * utils.c (prompt_for_continue): Call readline, not gdb_readline. | |
537 | ||
ee6d646a JK |
538 | Fri Mar 18 10:25:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
539 | ||
20657f71 JK |
540 | * dstread.c (record_minimal_symbol): New arg objfile. Pass it to |
541 | prim_record_minimal_symbol. | |
542 | Callers: Pass it. | |
543 | ||
ee6d646a JK |
544 | * regex.c (EXTEND_BUFFER): Adjust pointers within buffer by |
545 | computing their offset from the start of the old buffer and adding | |
546 | to the new buffer, rather than by assuming we can add the | |
547 | difference between the old buffer and the new buffer (it might not | |
548 | fit in an int). Merge in cosmetic differences from emacs regex.c | |
549 | version of this macro. | |
550 | ||
478d3811 JK |
551 | Wed Mar 16 15:28:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
552 | ||
553 | * Makefile.in (install-only): Fix use of program_transform_name. | |
554 | ||
c42b8af8 JK |
555 | Wed Mar 16 07:18:43 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
556 | ||
f8715549 | 557 | * printcmd.c: Remove "set print fast-symbolic-addr off" command. |
478d3811 | 558 | The bug which it worked around was fixed on 25 Feb 94 in coffread.c, |
f8715549 JK |
559 | so I'm nuking the command. |
560 | * symtab.c (find_addr_symbol): Comment out, no longer used. | |
561 | ||
a645ccc9 JK |
562 | * main.c (main): Don't init_source_path for the -cd argument. Now |
563 | that source_path doesn't contain the current_directory from when | |
564 | GDB started up, init_source_path is no longer useful (and is | |
565 | harmful because it clobbers a source_path set in $HOME/.gdbinit). | |
566 | ||
c42b8af8 JK |
567 | * TODO: Remove item about line numbers being off. It is useless |
568 | and confusing without a reproducible test case (it mentions | |
569 | proceed(), but I was able to step through proceed without trouble). | |
570 | ||
ae6d035d PS |
571 | Tue Mar 15 13:39:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
572 | ||
573 | For Sunos 4.x targets, enable gdb to set breakpoints in shared | |
574 | library functions before the executable is run. Retrieve dynamic | |
575 | symbols from stripped executables. | |
576 | * symtab.h (minimal_symbol_type): Add mst_solib_trampoline type. | |
577 | * parse.c (write_exp_msymbol), symmisc.c (dump_msymbols), | |
578 | symtab.c (list_symbols): Handle mst_solib_trampoline. | |
579 | * minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline | |
580 | for all targets, remove IBM6000_TARGET dependencies. | |
581 | * dbxread.c (read_dbx_dynamic_symtab): New function. | |
582 | * dbxread.c (dbx_symfile_read): Use it. | |
583 | * dbxread.c (SET_NAMESTRING): Set namestring to | |
584 | "<bad string table index>" instead of "foo" if the string index is | |
585 | corrupt. | |
586 | * xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead | |
587 | of mst_unknown. | |
588 | * symtab.c (list_symbols): Take from_tty as parameter and pass it | |
589 | to break_command. Handle mst_file_* minimal symbol types. | |
590 | * config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef. | |
591 | ||
b427690a KH |
592 | Tue Mar 15 11:40:43 1994 Kung Hsu (kung@mexican.cygnus.com) |
593 | ||
594 | * c-exp.y(yylex): fix potential memory overflow. | |
595 | ||
f93b941b JK |
596 | Tue Mar 15 10:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
597 | ||
598 | * environ.c (set_in_environ): Eliminate special handling of PATH and | |
599 | GNUTARGET. | |
600 | * putenv.c: Removed, conflicts with system declaration of | |
601 | putenv on RS/6000 running AIX 3.2.5, and above change makes it | |
602 | unnecessary. | |
603 | * Makefile.in: Change accordingly. | |
604 | * procfs.c (procfs_create_inferior): Change comment accordingly. | |
605 | ||
17221e41 JK |
606 | Tue Mar 15 10:05:27 1994 Jim Kingdon (kingdon@cygnus.com) |
607 | ||
608 | * rs6000-tdep.c: Change value to value_ptr. | |
609 | ||
8eb79598 JK |
610 | Sun Mar 13 09:45:51 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
611 | ||
c4ad6b09 JK |
612 | * i386m3-nat.c: Include floatformat.h. |
613 | (get_i387_state): Use memset not bzero. | |
614 | ||
5fa83062 JK |
615 | * Version 4.12.3. |
616 | ||
617 | * Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change | |
618 | ieee-float.h to floatformat.h. | |
619 | ||
79f3d586 JK |
620 | * valprint.c (val_print_string): Ignore error if the error |
621 | happened after a terminating '\0'. | |
622 | ||
623 | * c-valprint.c (c_val_print): Never add 1 to return value from | |
624 | val_print_string; just return what it returns. | |
625 | ||
8eb79598 JK |
626 | * target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for |
627 | looping through all of the enums. | |
628 | * infrun.c (signals_info): Use it. | |
629 | ||
c4de6b30 JK |
630 | Fri Mar 11 08:08:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
631 | ||
8e4c7b3e JK |
632 | * main.c (main): When printing warning about bad baud rate, don't |
633 | use warning(); it relies on current_target which isn't set up yet. | |
634 | ||
c4de6b30 | 635 | * breakpoint.c (_initialize_breakpoint): Update docstring for |
d1bdad57 JK |
636 | tbreak to match what the code actually does. Don't mention tbreak |
637 | in docstrings for "enable once" or "enable breakpoints once". | |
c4de6b30 | 638 | |
d78d4d16 JK |
639 | Thu Mar 10 08:52:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
640 | ||
641 | * symfile.h (ADD_PSYMBOL_VT_TO_LIST): Don't put a semicolon after | |
642 | while (0). That defeats the whole purpose of using do . . . while (0). | |
643 | * mdebugread.c (parse_partial_symbols): Don't use ?: expression as | |
644 | list for ADD_PSYMBOL_TO_LIST; the macro takes its address and | |
645 | using a ?: expression as an lvalue is not portable. | |
646 | ||
647 | * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR, also | |
648 | convert a LOC_ARG to a LOC_REF_ARG. Update code which combines | |
649 | 'p' and 'r' symbol descriptors into a single symbol to look for a | |
650 | LOC_REF_ARG. | |
651 | * README, config/sparc/tm-sparc.h: Update comments. | |
652 | ||
10373914 PS |
653 | Wed Mar 9 21:43:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
654 | ||
655 | * mdebugread.c (parse_type): Do not complain for types with | |
656 | an `indexNil' aux index, these are simply undefined types. | |
657 | Remove indexNil check from caller of parse_type. | |
658 | * mdebugread.c (parse_partial_symbols): Do not enter | |
659 | stGlobal, scCommon symbols into the minimal symbol table, their | |
660 | value is the size of the common, not its address. | |
661 | Handle scInit, scFini, scPData and scXData sections. | |
662 | Use minimal symbol type mst_file_* for stLabel symbols, instead of | |
663 | mst_*. | |
664 | Enter stProc symbols into the global_psymbols list once, not into | |
665 | the static_psymbols_list. | |
666 | Get rid of dummy psymtab if it is empty, to allow proper detection | |
667 | of stripped executables. | |
668 | * mdebugread.c (cross_ref): Allow cross references to Fortran | |
669 | common blocks. | |
670 | ||
fddb9bda JK |
671 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
672 | ||
673 | * stabsread.c (common_block_end, fix_common_block): Stash the | |
674 | struct pending * in the SYMBOL_TYPE, not the SYMBOL_NAMESPACE, so | |
675 | as to not assume that a pointer fits in an enum. | |
676 | ||
d9389f37 KH |
677 | Wed Mar 9 18:56:36 1994 Kung Hsu (kung@mexican.cygnus.com) |
678 | ||
679 | * os9kread.c (fill_sym): check compiler verion number for pre- | |
680 | UltraC compiler. | |
681 | * os9kread.c (os9k_process_one_symbol): address of symbol is | |
682 | relative to section not module. | |
683 | * stabsread.c (define_symbol): add symbol type 's' as local | |
684 | symbol for os9k. | |
685 | * remote-os9k.c: add command 'set monitor_log' to turn on or off | |
686 | monitor logging. | |
687 | * remote-os9k.c: fix bug in delete breakpoint, single step trace. | |
688 | * remote-os9k.c: fix bug in 'set remotebaud' function. | |
689 | * remote-os9k.c (rombug_link): minimize checking so to improve | |
690 | speed. | |
fddb9bda | 691 | * symfile.c (symbol_file_command): check if failed to link, also make |
d9389f37 KH |
692 | the command be able to accept more than one filenames. |
693 | * target.c (target_link): check if failed to link with rombug. | |
694 | * config/i386/tm-i386os9k.h : add #define DECR_PC_AFTER_BREAK 0. | |
695 | ||
cdc7029d JK |
696 | Wed Mar 9 15:23:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
697 | ||
698 | * remote-es.c (es1800_child_ops): Don't declare it static. | |
699 | ||
352c21dd JK |
700 | Tue Mar 8 11:42:39 1994 Jim Kingdon (kingdon@cygnus.com) |
701 | ||
702 | * config/i386/tm-i386v4.h: Give just macro name, not args, to #undef. | |
703 | ||
ce2f21b2 JK |
704 | Tue Mar 8 06:56:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
705 | ||
9d2b8d50 JK |
706 | * dbxread.c: New variable lowest_text_address. |
707 | (record_minimal_symbol, read_dbx_symtab): Set it. | |
708 | (read_dbx_symtab): Use lowest_text_address + text_size instead of | |
709 | end_of_text_address. | |
710 | * config/gould/tm-pn.h: Add comment regarding END_OF_TEXT_DEFAULT. | |
711 | ||
712 | * dbxread.c (end_psymtab): Remove old and commented out | |
713 | capping_global and capping_static. Fix comments regarding | |
714 | N_SO_ADDRESS_MAYBE_MISSING to match the real name of the macro. | |
715 | ||
79448221 JK |
716 | * parser-defs.h: Add "extern" to start of variable declarations so |
717 | we don't end up with commons. | |
718 | * parse.c: Define these variables. | |
719 | ||
ce2f21b2 JK |
720 | * irix5-nat.c (find_solib): Cast o_path to CORE_ADDR when using it |
721 | as one. | |
722 | ||
7810d333 JK |
723 | Mon Mar 7 13:00:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
724 | ||
725 | * alpha-tdep.c: Change value to value_ptr. | |
726 | ||
a6e21fba PS |
727 | Sun Mar 6 17:36:53 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
728 | ||
729 | * solib.c (elf_locate_base): New function to locate the address | |
730 | of the dynamic linker's runtime structure in the dynamic info section. | |
731 | * solib.c (locate_base): Use it instead of iterating over the list | |
732 | of mapped address segments. | |
733 | * solib.c (look_for_base, bfd_lookup_symbol): Removed, no longer | |
734 | necessary. | |
735 | ||
70e43abe JL |
736 | Fri Mar 4 09:50:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
737 | ||
738 | * hppa-tdep.c (pc_in_linker_stub): Move decl to beginning of file. | |
739 | (pc_in_interrupt_handler): New function. Also add PARAM decl. | |
740 | (find_proc_framesize): Deal with HPUX setting SAVE_SP bit for | |
741 | signal trampoline and interrupt routines. | |
742 | (frame_saved_pc): Handle signal trampolines and interrupt routines. | |
743 | (frame_chain, frame_chain_valid): Likewise. | |
744 | (hppa_frame_find_saved_regs): Likewise. Also deal with special | |
745 | saved regs convention for SP. | |
746 | ||
747 | * tm-hppa[bho].h: FRAME_FIND_SAVED_PC_IN_SIGTRAMP): Define. | |
748 | (FRAME_BASE_BEFORE_SIGTRAMP): Define. | |
749 | (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Define. | |
750 | ||
751 | * tm-hppah.h (IN_SIGTRAMP): Define. | |
752 | ||
833a2895 JK |
753 | Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
754 | ||
93dc3414 JK |
755 | * ch-exp.y (match_simple_name_string): Accept '_' as well as an |
756 | alphabetic character as the start of a name. | |
757 | ||
b855dfe7 JK |
758 | * sparclite/Makefile.in (all install): Build and install aload. |
759 | ||
d9a5e91f JK |
760 | * configure.in: Accept i[34]86-*-*sysv32 because that is what |
761 | config.guess and config.sub produce. | |
762 | ||
833a2895 JK |
763 | * mips-tdep.c: Change value to value_ptr. |
764 | ||
82a2edfb JK |
765 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
766 | ||
767 | * breakpoint.c, breakpoint.h, c-valprint.c, ch-valprint.c, | |
768 | cp-valprint.c, eval.c, expprint.c, findvar.c, language.c, | |
769 | objfiles.h, infcmd.c, printcmd.c, stack.c, typeprint.c, | |
770 | valarith.c, valops.c, valprint.c, value.h, values.c: Replace | |
771 | value with value_ptr. This is for the ptx compiler. | |
772 | * objfiles.h, target.h: Don't declare a "sec_ptr" field using a | |
773 | "sec_ptr" typedef. | |
774 | * symm-nat.c: Add a bunch of stuff for symmetry's ptrace stuff. | |
775 | #if 0 i386_float_info. | |
776 | * symm-tdep.c (round): Remove. Also remove sgttyb. | |
777 | * symm-tdep.c: Remove lots of stuff which duplicates stuff from | |
778 | i386-tdep.c. Remove register_addr and ptx_coff_regno_to_gdb. | |
779 | * i386-tdep.c (i386_frame_find_saved_regs): Put in | |
780 | I386_REGNO_TO_SYMMETRY check in case it is needed for Dynix | |
781 | someday. | |
782 | * config/i386/nm-symmetry.h: Change KERNEL_U_ADDR. Move | |
783 | stuff from PTRACE_READ_REGS, PTRACE_WRITE_REGS macros to | |
784 | symm-nat.c. Define CHILD_WAIT and declare child_wait(). | |
785 | * config/i386/tm-symmetry.h: Remove call function stuff; stuff in | |
786 | tm-i386v.h is apparently OK. | |
787 | * config/i386/xm-symmetry.h [_SEQUENT_]: Define HAVE_TERMIOS not | |
788 | HAVE_TERMIO. Define MEM_FNS_DECLARED, NEED_POSIX_SETPGID, and | |
789 | USE_O_NOCTTY. | |
790 | ||
c485c7a9 PS |
791 | Wed Mar 2 11:31:08 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
792 | ||
793 | * osfsolib.c (xfer_link_map_member): Update to use new | |
794 | target_read_string interface. | |
795 | ||
d1c0c6cf JK |
796 | Wed Mar 2 09:17:55 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
797 | ||
798 | * infrun.c (wait_for_inferior): In checking | |
799 | remove_breakpoints_on_following_step, check | |
800 | through_sigtramp_breakpoint as well as step_resume_breakpoint. | |
801 | ||
25200748 JK |
802 | Tue Mar 1 16:22:56 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
803 | ||
804 | * os9kread.c (os9k_process_one_symbol): Rename | |
805 | VARIABLES_INSIDE_BLOCK to OS9K_VARIABLES_INSIDE_BLOCK. | |
806 | * symfile.c (symbol_file_command): Check for (CORE_ADDR)-1, not | |
807 | (CORE_ADDR)0, from target_link, since that is what it uses. | |
808 | Process name at end, not during parsing (like we did before Kung's | |
809 | change), so that -readnow and -mapped can appear anywhere. | |
810 | Make text_relocation a local variable. | |
811 | * config/i386/i386os9k.mt: Fix comment. | |
812 | * Makefile.in (ALLDEPFILES): Add remote-os9k.c. | |
813 | * os9kread.c: Put "comments" after #endif inside /* */. | |
814 | * stabsread.h: Add os9k_stabs variable. | |
815 | * stabsread.c (start_stabs), os9kread.c (os9k_process_one_symbol): | |
816 | Set it. | |
817 | * stabsread.c (define_symbol): If os9k_stabs, put a 'V' symbol | |
818 | descriptor in global_symbols not local_symbols. | |
819 | (read_type): If os9k_stabs, accept 'c', 'i', and 'b' type | |
820 | descriptors. | |
821 | (read_type): If os9k_stabs, accept function parameters after 'f' | |
822 | type descriptor. | |
823 | (read_array_type): If os9k_stabs, don't expect index type and | |
824 | expect lower and upper to be separated by ',' not ';'. | |
825 | (read_enum_type): If os9k_stabs, read a number before the first | |
826 | enumeration constant. | |
827 | (os9k_init_type_vector): New function. | |
828 | (dbx_lookup_type): Call it when starting new type vector. | |
829 | * config/i386/tm-i386os9k.h: Define BELIEVE_PCC_PROMOTION. | |
830 | * (os9k_process_one_symbol): Call define_symbol not os9k_define_symbol. | |
831 | * os9kstab.c: Removed. | |
832 | * Makefile.in: Update accordingly. | |
833 | * objfiles.c (objfile_relocate_data): Removed. | |
834 | * remote-os9k.c (rombug_wait): Call objfile_relocate | |
835 | not objfile_relocate_data. | |
836 | * objfiles.h, objfiles.c: Remove find_pc_objfile. | |
837 | * remote-os9k.c (rombug_wait): Call find_pc_section not | |
838 | find_pc_objfile. | |
839 | * main.c (quit_command): Check inferior_pid; revert Kung change. | |
840 | * remote-os9k.c (rombug_create_inferior): Set inferior_pid. | |
841 | ||
1340861c KH |
842 | Tue Mar 1 14:56:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
843 | ||
844 | * os9kread.c: New file to read os9000 style symbo table. | |
845 | * os9kstab.c: new file to read os9000 style stabs. | |
846 | * remote-os9k.c: remote protocol talking to os9000 rombug monitor. | |
847 | * objfiles.c (find_pc_objfile): new function to search objfile | |
848 | from pc. | |
849 | * objfiles.c (objfile_relocate_data): new function to relocate | |
850 | data symbols in symbol table. | |
851 | * objfiles.h: Add two aux fields in struct objfile to handle | |
852 | multiple symbol table files situation like in os9000. | |
853 | * symfile.c: Change so 'symbol-file' command can handle multiple | |
854 | files. Also call target_link() to get relocation infos. | |
855 | * target.c (target_link): new function to get relocation info when | |
856 | a symbol file is requested to load. | |
857 | * main.c (quit_command): take out 'inferior_pid != 0' condition, | |
858 | because in cross mode there's no inferior pid, bit they need to | |
859 | be detached. | |
860 | Makefile.in: add os9kread.c os9kstab.c and .o's. | |
861 | configure.in: add i386os9k target. | |
862 | config/i386/i386os9k.mt: new add. | |
863 | config/i386/tm-i386os9k.h: new add. | |
864 | ||
137b6849 PS |
865 | Tue Mar 1 13:16:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
866 | ||
867 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP): Handle ucbsigvechandler. | |
868 | * sparc-tdep.c (sparc_frame_saved_pc): Handle ucbsigvechandler. | |
869 | ||
4ad0021e JK |
870 | Tue Mar 1 11:54:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
871 | ||
872 | * target.c, target.h (target_read_string): Provide error detection to | |
873 | caller. Put string in malloc'd space, so caller need not impose | |
874 | arbitrary limits. | |
875 | * solib.c (find_solib): Update to use new interface. | |
876 | * irix5-nat.c (find_solib): Read o_path from inferior | |
877 | (clear_solib): Free storage for o_path. | |
878 | * valprint.c (val_print_string): Add comments. | |
879 | ||
e3d6ec4a PS |
880 | Mon Feb 28 23:54:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
881 | ||
882 | * symtab.c (decode_line_1): Handle the case when skip_quoted does not | |
883 | advance `p'. | |
884 | ||
c8ff77be JK |
885 | Mon Feb 28 12:40:46 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
886 | ||
30974778 JK |
887 | * value.h (struct value): Add modifiable field. |
888 | * values.c (allocate_value, record_latest_value, value_copy): Set it. | |
889 | (record_latest_value): Don't mess with VALUE_LVAL of value. | |
890 | * valops.c (value_assign): Check it. Reword existing error | |
891 | message on not_lval. | |
892 | ||
b5aff268 JK |
893 | * mips-tdep.c (mips_step_skips_delay), config/mips/tm-mips.h |
894 | (STEP_SKIPS_DELAY): Added. | |
895 | * infrun.c (proceed) [STEP_SKIPS_DELAY]: Check for a breakpoint in | |
896 | the delay slot. | |
897 | ||
c8ff77be JK |
898 | * valprint.c (val_print_string): If errcode is set, always print |
899 | an error, regardless of force_ellipsis. In the non-EIO case, | |
900 | just print the error message rather than calling error(). Don't | |
901 | access *(bufptr-1) if bufptr points to the start of the buffer. | |
902 | When looking for '\0', don't increment bufptr and addr if bufptr | |
903 | started out already at limit. If an error happens on fetching the | |
904 | first character, don't print the string. | |
905 | ||
2882219f JK |
906 | Sun Feb 27 21:05:06 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
907 | ||
908 | * config/m68k/tm-apollo68b.h: Remove HAVE_68881 define; it is | |
909 | obsolete. | |
910 | ||
911 | * i387-tdep.c, i386-tdep.c i386v-nat.c, i386aix-nat.c, | |
912 | i386m3-nat.c, config/m68k/tm-m68k.h, i960-tdep.c | |
913 | config/i960/tm-i960.h, remote-nindy.c, config/m88k/tm-m88k.h, | |
914 | m88k-tdep.c: Use floatformat.h instead of ieee-float.h. | |
915 | * sparc-tdep.c: Remove now-obsolete ieee-float.h stuff | |
916 | * findvar.c: Update comment regarding ieee-float.h. | |
917 | ||
28ee4b42 PS |
918 | Sun Feb 27 21:39:48 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
919 | ||
920 | * config/i386/tm-i386v4.h (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP, | |
921 | FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): | |
922 | Define to make backtracing through the various sigtramp handlers | |
923 | work. | |
924 | * i386-tdep.c (i386v4_sigtramp_saved_pc): New routine to fetch | |
925 | the saved pc from ucontext on the stack for SVR4 signal handling. | |
926 | ||
25354cef JK |
927 | Fri Feb 25 09:41:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
928 | ||
c20c1bdf JK |
929 | * remote.c, remote-mon.c, remote-utils.c, remote-utils.h, |
930 | target.h, remote-es.c, remote-nindy.c: Don't set baud rate if | |
931 | baud_rate is -1. Remove sr_get_baud_rate and sr_set_baud_rate; | |
932 | just use the global variable itself. When printing baud rate, | |
933 | don't print a baud rate if baud_rate is -1. | |
934 | ||
25354cef JK |
935 | * coffread.c (read_coff_symtab): Pass mst_file_* to |
936 | record_minimal_symbol for C_STAT symbols. Put C_EXT and C_STAT | |
937 | symbols in the minimal symbols regardless of SDB_TYPE. | |
938 | ||
7126c1d0 JK |
939 | Thu Feb 24 08:30:33 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
940 | ||
bcc37718 JK |
941 | * breakpoint.h (enum bptype): New type bp_through_sigtramp. |
942 | (bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
943 | * breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP | |
944 | if we hit a bp_through_sigtramp breakpoint. Remove kludge which | |
945 | ignored bs->stop for a bp_step_resume breakpoint. | |
946 | * infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint | |
947 | which performs one (the check_sigtramp2 one) of the functions | |
948 | which had been handled by the step_resume_breakpoint. For each | |
949 | use of the step_resume_breakpoint, make it still use the | |
950 | step_resume_breakpoint, use the through_sigtramp_breakpoint, or | |
951 | operate on both. | |
952 | Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what. | |
953 | When setting the frame address of the step resume breakpoint, set | |
954 | it to the address for frame *before* the call instruction is | |
955 | executed, not after. | |
956 | ||
3fed1c4a JK |
957 | * mips-tdep.c (mips_print_register): Print integers using |
958 | print_scalar_formatted rather than duplicating all the | |
959 | CC_HAS_LONG_LONG and so on. | |
960 | (mips_push_dummy_frame): Use read_register_gen rather than using | |
961 | read_register and then putting it back in target format with | |
962 | store_unsigned_integer. If registers are more than 4 bytes, give | |
963 | an error rather than have some registers overwrite other | |
964 | registers. | |
965 | #if 0 unused include of opcode/mips.h. | |
966 | ||
967 | * symfile.h: Don't declare arguments for coff_getfilename. | |
968 | ||
7126c1d0 JK |
969 | * defs.h: Revert Kung change regarding FORCE_LONG_LONG. |
970 | ||
6bfd168c JL |
971 | Thu Feb 24 08:06:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
972 | ||
973 | * configure.in (hppa*-*-osf*): New configuration. | |
974 | * config/pa/hppaosf.mt: New target makefile fragment. | |
975 | * config/pa/tm-hppao.h: New target include file. | |
976 | ||
5c07a10b PS |
977 | Thu Feb 24 04:29:19 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
978 | ||
979 | * exec.c (print_section_info): Print entry point for exec_bfd only. | |
980 | * ser-unix.c (wait_for): Fix typo in HAVE_TERMIO case. | |
8ce2cfc0 PS |
981 | * dwarfread.c: Remove second inclusion of <sys/types.h>, which |
982 | causes problems if <sys/types.h> has no multiple inclusion protection. | |
5c07a10b | 983 | |
fce7695f JL |
984 | Wed Feb 23 16:28:55 1994 Jeffrey A. Law (law@cygnus.com) |
985 | ||
986 | * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of | |
987 | the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1. | |
988 | (CALL_DUMMY_LENGTH): Changed accordingly. | |
989 | ||
318ee78a SG |
990 | Wed Feb 23 16:21:25 1994 Stu Grossman (grossman at cygnus.com) |
991 | ||
75a006d9 SG |
992 | * sparc-stub.c (trap_low): Make trap handler work for arbitrary |
993 | numbers of register windows. | |
994 | ||
318ee78a SG |
995 | * sparclite/hello.c: Add factorial function for testing. |
996 | * salib.c: Use macros instead of constants for I/O addresses to | |
997 | make 931 support easier. | |
998 | * sparclite.h: Change constraint for LOC to "rJ" to force use of | |
999 | register in sta/lda instructions. | |
1000 | ||
56dd4126 JK |
1001 | Wed Feb 23 10:39:18 1994 Jim Kingdon (kingdon@rtl.cygnus.com) |
1002 | ||
1003 | * dbxread.c (process_one_symbol): Set | |
1004 | block_address_function_relative for COFF like we do for ELF and SOM. | |
1005 | ||
847d9775 PS |
1006 | Sat Feb 19 03:17:32 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1007 | ||
1008 | * mdebugread.c (new_psymtab): Pass in section_offsets and set | |
1009 | them in the pst. | |
1010 | * mdebugread.c (handle_psymbol_enumerators): New function to enter | |
1011 | the enumerators of an ecoff enum into the partial symbol table. | |
1012 | * mdebugread.c (parse_partial_symbols): Call it. | |
1013 | * symfile.c (reread_symbols): Initialize objfile->*_psymbols.next. | |
1014 | * symmisc.c (dump_psymtab): Fix typo, clean up output of section | |
1015 | offsets. Cast psymtab->read_symtab to PTR before passing it to | |
1016 | gdb_print_address. | |
1017 | * i386-tdep.c (i386_skip_prologue): Skip over instructions that | |
1018 | set up the global offset table pointer in pic compiled code. | |
1019 | * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets, | |
1020 | error() on TYPE_CODE_FLT arguments whose size is greater than 8, | |
1021 | swap all other TYPE_CODE_FLT arguments as mips_push_arguments | |
1022 | ensures that floats are promoted to doubles before they are pushed | |
1023 | on the stack. | |
1024 | ||
9f35e15a SG |
1025 | Fri Feb 18 23:12:59 1994 Stu Grossman (grossman at cygnus.com) |
1026 | ||
1027 | * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h: | |
1028 | Fixup cache_on and flush_i_cache so that they work for both the | |
1029 | 930 and 932 processors. Rewrite most low level funcs (uart | |
1030 | access & cache stuff) to use new ASI access macros in sparclite.h. | |
1031 | Also make it easy to access second serial port. | |
1032 | ||
56173dc5 ILT |
1033 | Fri Feb 18 22:17:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1034 | ||
1035 | * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or | |
1036 | <sys/stat.h>; not needed. | |
1037 | ||
c84bab2d JK |
1038 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1039 | ||
1040 | * stack.c (print_frame_info): In "pathological" case, don't | |
1041 | distrust the line number information. | |
1042 | ||
748d77d7 KH |
1043 | Fri Feb 18 16:51:14 1994 Kung Hsu (kung@mexican.cygnus.com) |
1044 | ||
1045 | * mips-tdep.c (mips_print_register): handle 64 bits register. | |
1046 | * valprint.c (print_longest): fix a bug in printing 64 bits value. | |
1047 | ||
889f1f03 JK |
1048 | Fri Feb 18 08:26:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1049 | ||
1eb89b9e JK |
1050 | * Version 4.12.2. |
1051 | ||
ef1a0540 JK |
1052 | * Makefile.in (install): Do the sed for program_transform_name |
1053 | ourselves instead of worrying about INSTALL_XFORM. This enables | |
1054 | users to override INSTALL_PROGRAM in the standard way. | |
1055 | ||
1056 | * Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't | |
1057 | depend on Makefile.in. | |
1058 | ||
fb0f4231 JK |
1059 | * defs.h, valprint.c: Make longest_to_int a function not a macro. |
1060 | Only test against INT_MIN if a LONGEST is bigger than an int. | |
1061 | ||
889f1f03 JK |
1062 | * README: Change GhostScript to Ghostscript. |
1063 | ||
662f3b3f JK |
1064 | Fri Feb 18 07:30:55 1994 Jim Kingdon (kingdon@cygnus.com) |
1065 | ||
d5cb2f7d JK |
1066 | * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}: |
1067 | Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14 | |
1068 | character file names. | |
1069 | * Makefile.in (ALLPARAM): Add these files. | |
1070 | ||
662f3b3f JK |
1071 | * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14 |
1072 | character file names. | |
d5cb2f7d | 1073 | * Makefile.in: Add Kung's new mips64 files. |
662f3b3f | 1074 | |
70126bf9 KH |
1075 | Thu Feb 17 17:25:47 1994 Kung Hsu (kung@mexican.cygnus.com) |
1076 | ||
1077 | * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf, | |
1078 | mips64el-*-ecoff and mips64-big-*. | |
1079 | * defs.h: get rid of FORCE_LONG_LONG. | |
1080 | * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction | |
1081 | parsing. Change register size to be MIPS_REGSIZE. | |
1082 | ||
c4a081e1 DM |
1083 | Thu Feb 17 09:30:22 1994 David J. Mackenzie (djm@thepub.cygnus.com) |
1084 | ||
1085 | * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c, | |
1086 | osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c, | |
1087 | xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names. | |
1088 | ||
3b5442f9 SC |
1089 | Fri Feb 11 21:47:24 1994 Steve Chamberlain (sac@sphagnum.cygnus.com) |
1090 | ||
1091 | * remote-hms.c (readchar, hms_open, hms_fetch_register): Made more robust. | |
1092 | (remove_commands, add_commands): Add/remove hms-drain when target | |
1093 | is connected. | |
1094 | ||
d87d7b10 SG |
1095 | Fri Feb 11 16:11:38 1994 Stu Grossman (grossman at cygnus.com) |
1096 | ||
1097 | * configure.in: Add Lynx/rs6000 support. | |
1098 | * lynx-nat.c: Clean up some Sparc stuff. Clean up ptrace error | |
1099 | messages. Add rs6000 support. Don't try to modify unwritable | |
1100 | registers. | |
1101 | * rs6000-nat.c: Move lots of native dependent stuff (like core | |
1102 | file support) from rs6000-tdep.c & xcoffexec.c to here. | |
1103 | * rs6000-tdep.c: Move native dependent stuff to nat.c. | |
1104 | * xcoffexec.c: Move native dependent stuff to nat.c. | |
1105 | * config/rs6000/nm-rs6000.h: Move defs of SOLIB_* macros to here | |
1106 | from tm file. | |
1107 | * config/rs6000/tm-rs6000.h: Remove defs of SOLIB_* funcs, cuz they're | |
1108 | really native. | |
1109 | * config/rs6000/tm-rs6000lynx.h, config/rs6000/xm-rs6000lynx.h: | |
1110 | New files to support Lynx/rs6000. | |
1111 | ||
ba47c66a PS |
1112 | Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1113 | ||
1114 | * README: Remove note about gcc warnings on alpha, these should be | |
1115 | gone now. | |
1116 | * c-exp.y, ch-exp.y, core.c, corelow.c, eval.c, fork-child.c, | |
1117 | m2-exp.y, minsyms.c, nlmread.c, parse.c, putenv.c, regex.c | |
1118 | remote-utils.c, stabsread.c: Include <string.h>. | |
1119 | * regex.c: Include "defs.h", change re_comp argument to const char *. | |
1120 | * infptrace.c (fetch_register, store_inferior_registers): Change | |
1121 | regaddr to type CORE_ADDR. | |
1122 | * config/alpha/alpha-nw.mt, config/alpha/alpha-osf1.mt (MT_CFLAGS): | |
1123 | Remove, no longer necessary now that we use bfd_vma for a CORE_ADDR. | |
1124 | ||
1125 | Mon Feb 7 09:21:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) | |
1126 | ||
1127 | * symtab.h: Always define BYTE_BITFIELD to nothing. | |
1128 | ||
ea5dad7f JK |
1129 | Mon Feb 7 08:44:17 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1130 | ||
1131 | * config/m68k/{m68k-em.mt,tm-m68k-em.h}: Remove; no longer used. | |
1132 | * configure.in: Remove comment about m68k-em.mt. | |
1133 | * Makefile.in: Remove references. | |
1134 | ||
6ddba992 JK |
1135 | Mon Feb 7 08:22:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1136 | ||
1137 | * defs.h [BFD64]: Use BFD_HOST_64_BIT, not nonexistent | |
1138 | BFD_HOST_64_TYPE. | |
1139 | ||
01cd70b9 JK |
1140 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1141 | ||
1dd29bef JK |
1142 | * target.c (target_preopen): If target_kill doesn't remove the |
1143 | target from the stack, use pop_target to do it. | |
1144 | ||
704aea43 JK |
1145 | * coffread.c (process_coff_symbol, case C_TPDEF): Don't set name |
1146 | of TYPE_CODE_PTR or TYPE_CODE_FUNC types. This parallels similar | |
1147 | changes to stabsread.c from summer 1993. | |
1148 | ||
4a00e1de JK |
1149 | * remote-udi.c (udi_files_info): If prog_name is NULL, just skip |
1150 | printing the program, rather than passing NULL to printf. | |
1151 | (udi_detach): Set udi_session_id to -1 so that udi_close doesn't | |
1152 | try to call UDIDisconnect again. Print better message. | |
1153 | (udi_kill): Just call UDIDisconnect ourselves, rather than doing | |
1154 | it via udi_close. | |
4a00e1de JK |
1155 | (udi_create_inferior): If udi_session_id is negative, open a new |
1156 | TIP rather than giving an error. | |
1157 | ||
01cd70b9 JK |
1158 | * config/mips/mipsm3.mh, config/i386/i386m3.mh, |
1159 | config/ns32k/ns32km3.mh: Define NAT_FILE. | |
1160 | * config/nm-m3.h: Change guard from _OS_MACH3_H_ and _OS_MACH3_H | |
1161 | (it was inconsistent and namespace-wrong) to NM_M3_H. | |
1162 | * m3-nat.c (mach_really_wait): Change parameter name to ourstatus. | |
1163 | (m3_open): New function. | |
1164 | (m3_ops): Use it. | |
1165 | * TODO: Update Mach section. | |
1166 | ||
1167 | * Makefile.in: Remove "rapp" stuff; it is superseded by gdbserver. | |
1168 | ||
d41b3eed PB |
1169 | Sun Feb 6 13:26:21 1994 Per Bothner (bothner@kalessin.cygnus.com) |
1170 | ||
1171 | * printcmd.c (printf_command): Add missing single-letter | |
1172 | backslash-escape sequences, and improve error message. | |
1173 | ||
7343d716 JK |
1174 | Sun Feb 6 06:55:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1175 | ||
842cf831 JK |
1176 | * corelow.c (solib_add_stub, core_open): Pass address of from_tty |
1177 | rather than trying to shove an int into a pointer and back out | |
1178 | again. This avoids compiler warnings. | |
1179 | ||
7343d716 JK |
1180 | * defs.h (alloca): Declare as void *, not char *, on hpux. |
1181 | Don't prototype it, just declare the return type. | |
1182 | ||
57a9fee3 PS |
1183 | Sun Feb 6 03:25:41 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1184 | ||
1185 | * config/i386/tm-sun386.h, config/i386/tm-symmetry.h | |
1186 | (REGISTER_CONVERT_TO_RAW): Add missing backslash. | |
1187 | ||
a1bd6534 JK |
1188 | Sat Feb 5 08:03:41 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1189 | ||
021b10e3 JK |
1190 | * remote-mips.c (mips_fetch_registers): If regno is FP_REGNUM or |
1191 | ZERO_REGNUM, just read it as zero without talking to the board. | |
1192 | ||
8b0a85ba JK |
1193 | * config/i386/tm-i386aix.h (REGISTER_CONVERT_TO_RAW): Add missing |
1194 | backslash. | |
1195 | * i386-tdep.c (i386_extract_return_value): Pass TYPE_LENGTH (type) | |
1196 | to store_floating, not nonexistent variable len. | |
1197 | ||
aa56c716 JK |
1198 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): |
1199 | New functions. | |
1200 | (mips_store_word): Change calling convention to return errors, and | |
1201 | to provide old contents if the caller wants it. | |
1202 | (mips_xfer_memory): Deal with errors from mips_store_word. | |
1203 | * config/mips/tm-idt.h, config/mips/tm-idtl.h: Remove BREAKPOINT | |
1204 | define now that remote-mips.c doesn't use BREAKPOINT. | |
1205 | ||
1206 | * remote-mips.c (mips_create_inferior): Call warning if arguments | |
1207 | specified, and then execute "set args" command. Call error, not | |
1208 | mips_error, if executable file not specified. | |
1209 | ||
29fc92e8 JK |
1210 | * remote-e7000.c: Replace "snoop" command (e7000_noecho) with |
1211 | remote_debug. | |
1212 | ||
a1bd6534 JK |
1213 | * config/rs6000/tm-rs6000.h (STORE_STRUCT_RETURN): Don't cast |
1214 | to unsigned int. | |
1215 | ||
65e98f5b PS |
1216 | Sat Feb 5 05:27:05 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1217 | ||
1218 | * value.h (print_longest): Rename "value" to "val" in prototype | |
1219 | declaration because some compilers don't like arguments whose | |
1220 | names are the same as types. | |
1221 | * remote.c (remote_xfer_memory): Cast "myaddr" to unsigned char * | |
1222 | before passing it to remote_*_bytes. | |
1223 | ||
edd01519 SC |
1224 | Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com) |
1225 | ||
1226 | * h8500-tdep.c (saved_pc_after_call): The size of the | |
1227 | pc is memory model dependent. (segmented_command, | |
1228 | unsegmented_command, _initialize_h8500_tdep): New commands to | |
1229 | change memory model. | |
29fc92e8 | 1230 | * remote-e7000.c (_initialize_remote_e7000): Change name of snoop |
edd01519 | 1231 | command. |
678ee700 SC |
1232 | * remote-hms.c (hms_load): Remove breakpoints when loaded. |
1233 | (hms_wait): Use new status structure | |
1234 | (hms_open): Push the target here. (hms_before_main_loop): Not | |
1235 | here. (supply_val, hms_fetch_register, hms_store_register): Cope | |
1236 | with H8/500 names too. (hms_fetch_register): Take out REGISTER_TYPE. | |
1237 | * sh-tdep.c (show_regs, initialize_sh_tdep): New command to print | |
1238 | all registers in a compact way. | |
edd01519 | 1239 | |
9c01440d JK |
1240 | Fri Feb 4 07:41:13 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1241 | ||
1242 | * config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address | |
1243 | as CORE_ADDR to match definition in rs6000-tdep.c. | |
1244 | ||
4386eff2 PS |
1245 | Fri Feb 4 01:14:20 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1246 | ||
1247 | * dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs. | |
1248 | * dwarfread.c (add_partial_symbol): Do not enter opaque aggregate | |
1249 | definitions into the psymtab. | |
1250 | ||
d351c7a6 JK |
1251 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1252 | ||
1253 | * m68k-stub.c: Treat mc68332 like mc68020 most places. Provide | |
1254 | a special exceptionSize for the 68332. | |
1255 | ||
1256 | * remote-udi.c (udi_attach): If no arguments, print error. | |
1257 | ||
4901e77d FF |
1258 | Thu Feb 3 17:34:05 1994 Fred Fish (fnf@cygnus.com) |
1259 | ||
1260 | * Makefile.in (VERSION): Bump to 4.12.1 | |
1261 | * NEWS, README: Update to match 4.12 release. | |
1262 | ||
159ada02 JK |
1263 | Thu Feb 3 12:38:58 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1264 | ||
4901e77d FF |
1265 | * command.c (empty_sfunc): New function. |
1266 | (add_set_cmd): Use it instead of not_just_help_class_command. | |
1267 | (not_just_help_class_command): Change calling convention back to | |
1268 | what it was before yesterday's change. | |
1269 | ||
159ada02 JK |
1270 | * stabsread.c (read_sun_builtin_type): Skip the semicolon at the end |
1271 | of the type if present. | |
1272 | ||
5b3591ab JK |
1273 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1274 | ||
eade0c6c JK |
1275 | * printcmd.c (decode_format): Don't blithely set the size for |
1276 | an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT. | |
1277 | ||
1278 | * defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h. | |
1279 | If BFD64, make a LONGEST a BFD_HOST_64_BIT. | |
1280 | * defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead | |
1281 | always just check against INT_MIN and INT_MAX (this also fixes things | |
1282 | if sizeof (long) > sizeof (int), e.g. Alpha). | |
1283 | * config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h: | |
1284 | Don't define LONGEST or BUILTIN_TYPE_LONGEST. | |
1285 | * gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and | |
1286 | BUILTIN_TYPE_UNSIGNED_LONGEST. | |
ce855594 JK |
1287 | * language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove |
1288 | longest_int and longest_unsigned_int. | |
eade0c6c JK |
1289 | * value.h (struct value): Just align to LONGEST, rather than worrying |
1290 | about CC_HAS_LONG_LONG. | |
b1de1647 JK |
1291 | * valarith.c (value_binop): Figure out type ourself based on |
1292 | sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The | |
1293 | point is that we don't depend on CC_HAS_LONG_LONG anymore. | |
eade0c6c JK |
1294 | * valprint.c (val_print_type_code_int): Just call |
1295 | extract_unsigned_integer directly, rather than going through | |
1296 | unpack_long. | |
1297 | * printcmd.c (decode_format): Remove code which would sometimes | |
1298 | change 'g' size to 'w' for integers. print_scalar_formatted handles | |
1299 | printing huge integers well enough, thank you. | |
1300 | ||
4901e77d | 1301 | * command.c (add_set_cmd, not_just_help_class_command): Change |
719d9abb JK |
1302 | to make this the sfunc, not cfunc, since that is how we call it. |
1303 | * command.h: Comment difference between sfunc and cfunc. | |
1304 | * demangle.c (set_demangling_command): Add third arg since that | |
1305 | is how it is called. | |
1306 | (_initialize_demangler): Use sfunc, not cfunc, for | |
1307 | set_demangling_command, since that is how it is called. | |
1308 | Remove show_demangling_command; it has no effect. | |
1309 | ||
5b3591ab JK |
1310 | * command.c (shell_escape): Report errors correctly (with error |
1311 | message from strerror). | |
1312 | ||
37f24dc9 ILT |
1313 | Wed Feb 2 14:35:41 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1314 | ||
1315 | * xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use | |
1316 | x_scnlen.l rather than x_scnlen to match corresponding change in | |
1317 | coff/internal.h. | |
1318 | ||
61932a8e JK |
1319 | Wed Feb 2 11:16:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1320 | ||
1321 | * gdbtypes.h, ch-typeprint.c, ch-valprint.c: | |
1322 | Change comments regarding TYPE_CODE_BOOL. | |
1323 | * language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL, | |
1324 | regardless of the language. | |
1325 | (value_true): Just call value_logical_not regardless of language. | |
1326 | * coffread.c (coff_read_enum_type), stabsread.c (read_enum_type): | |
1327 | Remove #if 0'd code which makes some enums TYPE_CODE_BOOL. | |
1328 | * language.h: Improve comment for la_builtin_type_vector. | |
1329 | * m2-lang.c (_initialize_m2_language): Don't add any fields to | |
1330 | builtin_type_m2_bool. | |
1331 | ||
7bec77b4 JK |
1332 | Tue Feb 1 17:13:32 1994 Kevin Buettner (kev@cujo.geg.mot.com) |
1333 | ||
1334 | * config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c: | |
1335 | Define IN_SIGTRAMP and backtrace correctly through signal handlers. | |
1336 | ||
8afd05c0 JK |
1337 | Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1338 | ||
1339 | * procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl | |
1340 | by restarting the ioctl. | |
1341 | ||
10b9bb56 JK |
1342 | Tue Feb 1 16:16:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1343 | ||
1344 | * target.h (target_wait): Add comment about calling | |
1345 | return_to_top_level. | |
1346 | ||
bf8d9d28 ILT |
1347 | Tue Feb 1 12:21:00 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1348 | ||
1349 | * coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes | |
1350 | additional arguments. | |
1351 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise. | |
1352 | ||
efe3ff3e SG |
1353 | Mon Jan 31 16:10:41 1994 Stu Grossman (grossman at cygnus.com) |
1354 | ||
1355 | * sparc-stub.c: Remove unnecessary #include of memory.h. | |
1356 | ||
37dea45f JK |
1357 | Mon Jan 31 12:12:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1358 | ||
14d79562 JK |
1359 | * mips-tdep.c: Remove code which sets saved_regs from |
1360 | init_extra_frame_info and put it in new function mips_find_saved_regs. | |
1361 | (READ_FRAME_REG): Remove macro and replace uses with the expansion. | |
1362 | * mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs, | |
1363 | check if it is NULL and call mips_find_saved_regs if so. | |
1364 | ||
47d52968 JK |
1365 | * remote-mips.c: Use unfiltered, not filtered, output most places. |
1366 | ||
37dea45f JK |
1367 | * blockframe.c (get_prev_frame_info): Detect and stop an infinite |
1368 | backtrace. Revise comments. | |
1369 | ||
0434c1a0 PS |
1370 | Mon Jan 31 09:40:33 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1371 | ||
1372 | * mdebugread.c (parse_procedure): Remove _sigtramp kludges for | |
1373 | alpha and irix. The _sigtramp case has to be handled properly | |
1374 | in the tdep files if we have no ecoff debugging info. | |
1375 | * alpha-tdep.c (alpha_frame_saved_pc, alpha_frame_chain), | |
1376 | mips-tdep.c (mips_frame_saved_pc): Handle signal handler frames | |
1377 | without PC_REGNUM kludge. | |
1378 | * mdebugread.c (fixup_sigtramp), mips-tdep.c (read_next_frame_reg): | |
1379 | Clean up handling of mips sigtramp frames, improve comments. | |
1380 | ||
d64956fa JL |
1381 | Sat Jan 29 23:25:57 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1382 | ||
1383 | * paread.c (read_unwind_info): Fix typo. | |
1384 | ||
1385 | * paread.c (pa_symtab_read): Update the "check_strange_names" | |
1386 | filter to match GCC's current output. Filter out section symbols | |
1387 | (which the HP linker sometimes puts in the wrong place). | |
1388 | ||
9db58d3a JK |
1389 | Sat Jan 29 07:44:59 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1390 | ||
3a479851 JK |
1391 | * serial.h (SERIAL_SET_TTY_STATE): Comment return value. |
1392 | ||
a0b352c0 JK |
1393 | * Makefile.in (TAGS): Just echo one line, rather than the whole thing. |
1394 | ||
1395 | * Makefile.in: Remove all references to sparcly-nat.c. | |
1396 | ||
1397 | * Makefile.in (HFILES_NO_SRCDIR): Include dcache.h remote-utils.h | |
1398 | remote-sim.h directly, rather than via $(remote_utils_h). This avoids | |
1399 | duplicating serial.h and target.h. | |
1400 | ||
7a78db15 JK |
1401 | * Makefile.in: Don't set M_INSTALL and M_UNINSTALL. These variables |
1402 | are not used anywhere (a 5 Oct 1993 change removed the uses). | |
1403 | ||
895efe6b JK |
1404 | * config/m68k/monitor.mt (TDEPFILE): Add remote-es.o. |
1405 | * config/m68k/es1800.mt: Add comment. | |
3a479851 | 1406 | * remote-es.c: Extensive changes to update to current conventions. |
895efe6b | 1407 | |
9db58d3a JK |
1408 | * ser-unix.c (wait_for, hardwire_readchar) [HAVE_TERMIO, HAVE_TERMIOS]: |
1409 | If the timeout is too big to fit in c_cc[VTIME], then do multiple reads | |
1410 | to achieve the desired timeout. | |
1411 | * serial.h (serial_t): Add field timeout_remaining. | |
1412 | ||
f28c6e38 JK |
1413 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1414 | ||
1415 | * c-exp.y (yylex): Reenable nested type code. | |
1416 | ||
b09f44d2 JK |
1417 | Fri Jan 28 15:40:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1418 | ||
7f2ffa58 JK |
1419 | * a29k-tdep.c (examine_tag): Add comment regarding argcount. |
1420 | ||
796d1fd3 JK |
1421 | * remote-mips.c (mips_ops): Fix docstring. |
1422 | ||
97cc0428 JK |
1423 | * remote-bug.c (bug_ops): Remove spurious newline from docstring. |
1424 | ||
ddd0223e JK |
1425 | * config/m68k/tm-monitor.h: Changes to bring this into accordance |
1426 | with the old tm-m68k-em.h: | |
1427 | (GDBINIT_FILENAME, DEFAULT_PROMPT): Remove. | |
97cc0428 | 1428 | (HAVE_68881): Don't undefine; HAVE_68881 is obsolete. |
ddd0223e JK |
1429 | (REGISTER_NAMES): Don't muck with it; what tm-m68k.h has is fine. |
1430 | Add FIXME regarding GET_LONGJMP_TARGET. | |
1431 | ||
b09f44d2 | 1432 | * remote-udi.c (udi_close, udi_detach, udi_kill): Add comments. |
97cc0428 JK |
1433 | * infptrace.c (kill_inferior): Add comments. |
1434 | * main.c (quit_command): Call target_close after we kill or | |
1435 | detach. | |
1436 | * remote-udi.c (udi_close): Don't error() if QUITTING. | |
b09f44d2 | 1437 | |
0ffba029 RS |
1438 | Fri Jan 28 11:55:52 1994 Rob Savoye (rob@darkstar.cygnus.com) |
1439 | ||
1440 | * configure.in: Make m68k-coff and aout add monitor support in | |
1441 | addition to the standard serial support. | |
1442 | ||
bb7cb982 JK |
1443 | Fri Jan 28 08:45:02 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1444 | ||
1445 | * mdebugread.c (psymtab_to_symtab_1): Don't complain on stLabel with | |
1446 | index indexNil. | |
1447 | ||
9fdb3f7a JK |
1448 | Fri Jan 28 10:40:34 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1449 | ||
1450 | * config/pa/tm-hppa.h: Define macro SMASH_TEXT_ADDRESS. | |
1451 | * elfread.c (record_minimal_symbol_and_info), | |
1452 | dwarfread.c (process_dies), paread.c (pa_symtab_read): Use it. | |
1453 | ||
a28d16d3 JK |
1454 | Thu Jan 27 15:12:23 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1455 | ||
6202263d JK |
1456 | * i386-stub.c: Add ".text" right before "mem_fault:". |
1457 | ||
9c41f6a6 JK |
1458 | * main.c (baud_rate): Add FIXME comment about printing -1 value. |
1459 | ||
1460 | * remote-utils.c (usage): Fix message to be accurate and conform | |
1461 | more closely to normal conventions. | |
1462 | ||
1463 | * remote-utils.c (gr_files_info): Have the exec_bfd test control | |
1464 | whether to show information about exec_bfd, and not control whether | |
1465 | to show information about device and speed. | |
1466 | ||
1467 | * remote-utils.c (gr_open): If sr_get_device returns NULL, give | |
1468 | usage message, don't dump core. | |
1469 | ||
1470 | * remote-bug.c (bug_write_memory): Use alloca, not GCC extension | |
1471 | for variable size array. | |
1472 | (bug_fetch_register, bug_store_register): Rename "value" to | |
1473 | "fpreg_buf" because some compilers don't like variables whose | |
1474 | names are the same as types. | |
1475 | (bug_store_register): Use a cast when converting char * to | |
1476 | unsigned char *. | |
1477 | ||
d5c551c9 JK |
1478 | * symmisc.c (maintenance_print_symbols): Don't refer to the name |
1479 | of the command in error message (the text was referring to the old | |
1480 | name of the command). | |
1481 | ||
1482 | * symmisc.c (dump_symtab): Fix args to fprintf_filtered. | |
1483 | ||
0e4ad984 JK |
1484 | * c-typeprint.c (c_type_print_base): Have SHOW == 0 mean to print |
1485 | full details on structure elements without names. This partially | |
1486 | reverts the changes of 1 Jul 1993 and 31 Aug 1993; I think this aspect | |
1487 | of those changes was accidental. | |
1488 | ||
577da8cb JK |
1489 | * stack.c (parse_frame_specification): If SETUP_ARBITRARY_FRAME is |
1490 | defined, make it an error to specify a single argument which is not | |
1491 | a frame number. | |
1492 | ||
a28d16d3 JK |
1493 | * Makefile.in (version.c), main.c (print_gdb_version): Use |
1494 | host_alias and target_alias, not host_canonical and | |
1495 | target_canonical, to print configuration. | |
1496 | ||
833e0d94 JK |
1497 | Wed Jan 26 10:57:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1498 | ||
d92f3f08 JK |
1499 | * parse.c (write_exp_msymbol): Use new type msymbol_addr_type instead |
1500 | of builtin_type_long. It is necessary to get a type which is | |
1501 | TARGET_PTR_BIT bits in size; builtin_type_long might not be big enough. | |
1502 | ||
833e0d94 JK |
1503 | Fix many sins which will come up in 32 bit x 64 bit GDB, and |
1504 | various miscellaneous things discovered in the process: | |
1505 | * printcmd.c, defs.h (print_address_numeric): New function. | |
1506 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print) | |
1507 | breakpoint.c (describe_other_breakpoints, breakpoint_1, mention), | |
1508 | cp-valprint.c (cplus_print_value), infcmd.c (jump_command), | |
1509 | printcmd.c, stack.c, symfile.c, symmisc.c, valprint.c: | |
1510 | Use it. | |
1511 | * utils.c, defs.h (gdb_print_address): New function. | |
1512 | * expprint (dump_expression), gdbtypes.h: Use it. | |
1513 | * breakpoint.c (describe_other_breakpoints), | |
1514 | symmisc.c (dump_symtab, print_symbol): | |
1515 | Use filtered not unfiltered I/O. | |
1516 | (remove_breakpoints): Remove BREAKPOINT_DEBUG code. Might as well | |
1517 | just run gdb under a debugger for this (and it had problems with | |
1518 | printing addresses, how to print b->shadow, etc.). | |
1519 | * buildsym.c (make_blockvector), core.c (memory_error), | |
1520 | exec.c (print_section_info), maint.c (print_section_table), | |
1521 | mdebugread.c (parse_procedure), solib.c, source.c, symfile.c, | |
1522 | symmisc.c, symtab.c, valops.c, valprint.c, xcoffexec.c: | |
1523 | Add comments saying code is broken. Marked with "FIXME-32x64". | |
1524 | * dbxread.c (process_one_symbol), partial-stab.h (default), | |
1525 | remote-vx.c (vx_run_files_info): | |
1526 | Don't cast int being passed to local_hex_string. | |
1527 | * symmisc.c (print_symbol): Don't cast long being passed to %lx. | |
1528 | * symtab.h (general_symbol_info): Add comment about SYMBOL_VALUE | |
1529 | only being a long. | |
1530 | * symmisc.c (print_symbol): Print "offset" in message for LOC_ARG | |
1531 | and LOC_LOCAL. | |
1532 | * printcmd.c (print_address): Remove #if 0 code with ADDR_BITS_REMOVE. | |
1533 | * source.c: Include <sys/types.h> regardless of USG. | |
1534 | ||
67e9b3b3 PS |
1535 | Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1536 | ||
1537 | * valops.c (value_assign): Set `type' after coercing toval. | |
1538 | * c-valprint.c (c_val_print), ch-valprint.c (chill_val_print): | |
1539 | Use extract_unsigned_integer to get the address of a reference. | |
1540 | ||
36464897 JK |
1541 | Tue Jan 25 11:31:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1542 | ||
91a0575c JK |
1543 | * stabsread.c (STABS_CONTINUE, error_type), partial-stab.h: |
1544 | AIX can use ? instead of \ for continuation. Deal with it. | |
1545 | ||
36464897 JK |
1546 | * paread.c (read_unwind_info): Just assign to objfile->obj_private, |
1547 | not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which | |
1548 | the HP compiler in ANSI mode doesn't like. | |
1549 | ||
1550 | * main.c: When defaulting HAVE_SIGSETMASK based on USG, just do it | |
3bc45b7a JK |
1551 | based on USG, rather than defining HAVE_SIGSETMASK to an |
1552 | expression containing defined. Having a macro used in #if expand | |
1553 | to an expression containing "defined" is undefined according to | |
1554 | ANSI, and the HP compiler in ANSI mode doesn't do what we wanted | |
1555 | it to. | |
36464897 | 1556 | |
2ba6182b JG |
1557 | Mon Jan 24 20:51:29 1994 John Gilmore (gnu@cygnus.com) |
1558 | ||
1559 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): | |
1560 | Clean up the changes of 11 Jan, as recommended by Peter Schauer. | |
1561 | ||
96b6b765 PB |
1562 | Fri Jan 21 19:10:44 1994 Per Bothner (bothner@kalessin.cygnus.com) |
1563 | ||
1564 | * ch-exp.y (match_string_literal): Allow a zero-length string. | |
1565 | * ch-lang.c (chill_printstr): Don't print zero-length string funny. | |
1566 | ||
dfd4c728 JK |
1567 | Sat Jan 22 17:08:48 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1568 | ||
1569 | * i386aix-nat.c (i386_float_info): Reverse order of registers before | |
1570 | passing them to print_387_status. | |
1571 | (print_387_status): Don't subtract top from 7 before using it. | |
1572 | * i387-tdep.c: Remove comment about AIX wanting "top" subtracted | |
1573 | from 7; the above explains it. | |
1574 | ||
5efd597b PS |
1575 | Sat Jan 22 20:25:11 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1576 | ||
1577 | * mips-tdep.c (init_extra_frame_info): Use frame relative stack | |
67e9b3b3 | 1578 | pointer value when fixing up the frame at the start of a function. |
5efd597b | 1579 | |
e90445c9 SG |
1580 | Sat Jan 22 12:29:13 1994 Stu Grossman (grossman at cygnus.com) |
1581 | ||
1582 | * lynx-nat.c (fetch_core_registers): Load the I & L regs for the | |
1583 | Sparc from the stack. | |
1584 | ||
08f74b92 JK |
1585 | Sat Jan 22 08:30:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1586 | ||
864df7e6 JK |
1587 | * remote-mips.c (mips_initialize): Clear mips_initializing via |
1588 | cleanup chain, not directly. | |
1589 | ||
1590 | * ser-unix.c (wait_for) [HAVE_TERMIO, HAVE_TERMIOS]: Make a timeout | |
1591 | of -1 mean forever, like in the HAVE_SGTTY case. Warn if we are | |
1592 | munging the timeout due to the limited range of c_cc[VTIME]. | |
1593 | ||
08f74b92 JK |
1594 | * fork-child.c, inferior.h (fork_inferior): New argument shell_file. |
1595 | * procfs.c (procfs_create_inferior), inftarg.c (child_create_inferior), | |
1596 | m3-nat.c (m3_create_inferior): Pass it. | |
1597 | * procfs.c: Remove ptrace function. It was declared in a way which | |
1598 | conflicted with the prototype in unistd.h on Solaris. | |
1599 | ||
cdcf48be PS |
1600 | Sat Jan 22 01:37:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1601 | ||
1602 | * sparc-tdep.c (frame_saved_pc): Get the pc from the saved pc | |
1603 | in the sigcontext if it is a signal trampoline frame. | |
1604 | * config/sparc/tm-sun4sol2.h (IN_SIGTRAMP, SIGCONTEXT_PC_OFFSET): | |
1605 | Define for Solaris2. | |
1606 | ||
8bf94f44 SG |
1607 | Sat Jan 22 00:34:47 1994 Stu Grossman (grossman at cygnus.com) |
1608 | ||
1609 | * sparc-tdep.c, lynx-nat.c, config/sparc/tm-sparc.h, | |
1610 | config/sparc/tm-sparclynx.h: Move defs of FRAME_SAVED_I0/L0 to | |
1611 | tm-sparc.h so they can be overridden if necessary. | |
1612 | ||
d575ddc0 SG |
1613 | Fri Jan 21 17:49:28 1994 Stu Grossman (grossman at cygnus.com) |
1614 | ||
1615 | * lynx-nat.c: Add Sparc support. | |
1616 | * sparcly-nat.c: Remove. It's useless. | |
1617 | * config/sparc/nm-sparclynx.h: Rewrite. | |
1618 | * config/sparc/sparclynx.mh (NATDEPFILES): Replace sparcly-nat.o | |
1619 | with lynx-nat.o | |
1620 | * config/sparc/tm-sparclynx.h: Rewrite. | |
1621 | ||
00240279 ILT |
1622 | Fri Jan 21 19:08:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1623 | ||
1624 | * rs6000-pinsn.c: Use the new disassembler in the opcodes | |
1625 | directory. Old code was discarded, since the new opcode table has | |
1626 | a different format. | |
1627 | ||
a2608ea1 FF |
1628 | Fri Jan 21 14:28:30 1994 Fred Fish (fnf@cygnus.com) |
1629 | ||
1630 | * Makefile.in (realclean): Remove info files per make-stds.texi. | |
1631 | ||
6545c6a0 JK |
1632 | Fri Jan 21 12:47:53 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1633 | ||
1634 | * dbxread.c (end_psymtab): Only patch psymtab textlow and texthigh | |
1635 | if N_SO_ADDRESS_MAYBE_MISSING is defined. | |
1636 | * config/sparc/tm-sun4sol2.h: Define it. | |
1637 | ||
cd5ee294 JK |
1638 | Thu Jan 20 15:04:24 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1639 | ||
1640 | * printcmd.c (print_address_symbolic): Unconditionally use msymbol | |
1641 | if we did not find a symbol. | |
1642 | ||
918fea3e JL |
1643 | Fri Jan 21 08:20:18 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1644 | ||
1645 | * infptrace.c (child_xfer_memory): Only use if CHILD_XFER_MEMORY | |
1646 | is not defined. | |
1647 | ||
1648 | * hppab-nat.c (call_ptrace): Delete redundant function. | |
1649 | (kill_inferior, attach, detach, child_resume): Likewise. | |
1650 | (child_xfer_memory): Likewise. | |
1651 | ||
1652 | * hppah-nat.c (call_ptrace): Delete redundant function. | |
1653 | (kill_inferior, attach, detach, child_resume): Likewise. | |
1654 | ||
1655 | * config/pa/hppabsd.mh (NATDEPFILES): Add infptrace.o. | |
1656 | ||
1657 | * config/pa/hppahpux.mh (NATDEPFILES): Add infptrace.o. | |
1658 | ||
1659 | * config/pa/nm-hppab.h (FETCH_INFERIOR_REGISTERS): Define. | |
1660 | ||
1661 | * config/pa/nm-hppah.h (FETCH_INFERIOR_REGISTERS): define. | |
1662 | (CHILD_XFER_MEMORY): Define. | |
1663 | (PT_*): Define so that generic infptrace.c code can be used. | |
1664 | ||
27ad511f JK |
1665 | Fri Jan 21 09:23:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1666 | ||
1b880e74 JK |
1667 | * xcoffread.c (xcoff_symfile_read): Make second parameter a |
1668 | struct section_offsets *, not a (nonexistent) struct section_offset *. | |
1669 | ||
6657a0c7 JK |
1670 | * xcoffread.c (read_xcoff_symtab): Make main_aux just a union |
1671 | internal_xcoff_symtab, not an array of one of them. Change lots of | |
1672 | "main_aux" to "&main_aux" and so on. | |
1673 | ||
27ad511f JK |
1674 | * coffread.c, xcoffread.c: Include <coff/internal.h> |
1675 | before "symfile.h". | |
1676 | ||
d4a0983a JK |
1677 | Thu Jan 20 17:30:55 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1678 | ||
dbb0fae2 JK |
1679 | * coffread.c (coff_getfilename): Make it not static. |
1680 | ||
d4a0983a JK |
1681 | * xcoffread.c (read_xcoff_symtab): complain() not abort(). |
1682 | ||
1683 | * xcoffread.c (struct coff_symbol): Rename c_nsyms to c_naux (removes | |
1684 | a completely gratuitous difference between xcoffread.c and coffread.c). | |
1685 | ||
d7e7e851 JK |
1686 | Wed Jan 19 15:09:44 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1687 | ||
1688 | * infrun.c (wait_for_inferior): Don't set frame for | |
1689 | step_resume_breakpoint for IN_SIGTRAMP cases. | |
1690 | ||
1691 | * infrun.c (wait_for_inferior), breakpoint.h (struct bpstat_what), | |
1692 | breakpoint.c (bpstat_what): Move step_resume from its own field of | |
1693 | the struct bpstat_what into the main_action. Make it override | |
1694 | other breakpoints. This is a conservative change in the sense | |
1695 | that before the step resume breakpoint was a breakpoint.c | |
1696 | breakpoint, hitting the step resume breakpoint overrode even | |
1697 | calling bpstat_stop_status. | |
1698 | ||
f1de67d3 PS |
1699 | Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1700 | ||
1701 | * infrun.c (normal_stop): Set stop_pc after popping the dummy frame | |
1702 | in case execution was stopped in the called function. | |
1703 | * stack.c (print_frame_info, frame_info): If backtracing through | |
1704 | a call dummy, handle the starting source line number on a line | |
1705 | boundary like backtracing through sigtramp. | |
1706 | * sparc-tdep.c (sparc_frame_find_saved_regs): Get frame address | |
1707 | for call dummy frame right. Remove old test for dummy frame, | |
1708 | it has been unused at least since gdb-3.5. | |
1709 | * sparc-tdep.c (sparc_push_dummy_frame): Set return address register | |
1710 | of the dummy frame. | |
1711 | ||
c6e0f918 JK |
1712 | Tue Jan 18 16:16:35 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1713 | ||
1714 | * infcmd.c (signal_command): Accept 0 as legitimate signal number. | |
1715 | ||
db4340a6 JK |
1716 | Tue Jan 18 14:09:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1717 | ||
1718 | * infrun.c (signals_info), target.c (target_signal_from_name): | |
1719 | Use ugly casts to avoid enumvar < enumvar or enumvar++. | |
1720 | ||
4d4f2d50 JK |
1721 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1722 | ||
d881dd86 JK |
1723 | * ser-unix.c (hardwire_noflush_set_tty_state): Don't muck with ICANON. |
1724 | * inflow.c (terminal_ours_1): When discussing how to deal with the | |
1725 | tty state, make note of query() as well as readline. | |
1726 | ||
4d4f2d50 JK |
1727 | * infrun.c (_initialize_infrun): Add TARGET_SIGNAL_POLL to list of |
1728 | signals for which stop and print are cleared by default. | |
1729 | ||
5c38fcee JL |
1730 | Mon Jan 17 20:00:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1731 | ||
c7f3b703 JL |
1732 | * config/pa/tm-hppa.h (unwind_table_entry): Use one of the |
1733 | reserved fields to hold a stub unwind entry type. Fix typo. | |
1734 | (stub_unwind_entry): New structure for raw stub unwind entries. | |
1735 | (stub_unwind_types): The types of stubs we may encounter. | |
1736 | (UNWIND_ENTRY_SIZE, STUB_UNWIND_ENTRY_SIZE): New defines. | |
1737 | * hppa-tdep.c (rp_saved): Use additional information provided | |
1738 | by linker stub unwind descriptors. | |
1739 | (frameless_function_invocation): Likewise. | |
1740 | (frame_chain_valid): Likewise. | |
1741 | * paread.c (compare_unwind_entries): New function for sorting | |
1742 | unwind table entries. | |
1743 | (read_unwind_info): Rewrite to remove dependency on host endianness. | |
1744 | Read in data from the $UNWIND_END$ subspace which contains linker | |
1745 | stub unwind descriptors. Merge that data into the basic unwind | |
1746 | table. | |
1747 | ||
5c38fcee JL |
1748 | * hppab-nat.c (_initialize_kernel_u_addr): Delete unwanted functions. |
1749 | ||
af8b7906 JK |
1750 | Mon Jan 17 22:00:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1751 | ||
1752 | * xcoffread.c (read_xcoff_symtab, case C_FILE): Accept the name | |
1753 | from either the symbol name or the auxent. | |
1754 | * coffread.c, symfile.h (coff_getfilename): Renamed from getfilename, | |
1755 | no longer static. | |
1756 | ||
0e7da49c FF |
1757 | Mon Jan 17 13:35:01 1994 Fred Fish (fnf@cygnus.com) |
1758 | ||
1759 | * Makefile.in (ALLPARAM): Change irix5.h to nm-irix5.h. | |
1760 | ||
b90811f9 PS |
1761 | Mon Jan 17 12:35:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1762 | ||
1763 | * README: Update notes for alpha port. | |
1764 | ||
24a11a79 JK |
1765 | Mon Jan 17 11:15:57 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1766 | ||
1767 | * i960-tdep.c (i960_fault_to_signal): Return TARGET_SIGNAL_ILL | |
1768 | for operation fault, constraint fault, and type fault. | |
1769 | ||
b76dcd4b JK |
1770 | Sun Jan 16 12:46:01 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1771 | ||
623d7380 JK |
1772 | * Makefile.in (init.c): Add comment explaining formatting conventions. |
1773 | ||
a39f7739 JK |
1774 | * c-exp.y (parse_number): Assign to temporary between the right |
1775 | shifts, to work around a bug in the SCO compiler. | |
1776 | ||
07919221 JK |
1777 | * Makefile.in (ALLCONFIG, ALLPARAM, ALLDEPFILES, HFILES_NO_SRCDIR): |
1778 | Add various files which were added to GDB recently. | |
1779 | ||
91cc45da JK |
1780 | * xcoffread.c (process_xcoff_symbol): Only change 'V' to 'S' if not |
1781 | within_function. | |
1782 | ||
b76dcd4b JK |
1783 | * Makefile.in: Add mostlyclean target. |
1784 | ||
d7a5ff3c JK |
1785 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1786 | ||
1787 | * Version 4.11.4. | |
1788 | ||
8b564df8 PB |
1789 | Sat Jan 15 18:27:34 1994 Per Bothner (bothner@kalessin.cygnus.com) |
1790 | ||
1791 | * main.c (show_commands): Make return type of extern | |
1792 | history_get be HIST_ENTRY, rather than struct _hist_entry. | |
1793 | (The latter loses with the upcoming merged readline.) | |
1794 | ||
dac317dc JK |
1795 | Sat Jan 15 10:20:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1796 | ||
ab5f7971 JK |
1797 | * minsyms.c (prim_record_minimal_symbol_and_info): Make tempstring |
1798 | const char *, not char *. | |
1799 | ||
fb155ce3 JK |
1800 | * symtab.h (struct symbol): Make section short, not unsigned short. |
1801 | ||
87041845 JK |
1802 | * symtab.c (lookup_symbol): Add comment about QUIT here. |
1803 | ||
f29351d9 JK |
1804 | * utils.c (fputs_unfiltered): Call fputs, not fputs_maybe_filtered. |
1805 | ||
a9b32d61 JK |
1806 | * c-exp.y (parse_number): Check for overflow regardless of range |
1807 | checking. Fix overflow check to use unsigned LONGEST, not | |
1808 | unsigned int. | |
1809 | ||
1810 | * c-exp.y (parse_number): Make it so that integer constants are | |
1811 | builtin_type_long_long if builtin_type_long isn't big enough or if | |
1812 | an "LL" suffix is used. Properly handle "UL" or "LU" suffixes. | |
1813 | ||
dac317dc JK |
1814 | * c-typeprint.c (c_type_print_varspec_suffix, case TYPE_CODE_FUNC): |
1815 | Print our "()" first, then recurse for the target type. | |
1816 | ||
4c0b3e57 JK |
1817 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1818 | ||
831a39d7 JK |
1819 | * remote-udi.c (udi_create_inferior): Quote empty execfile argument. |
1820 | ||
4c0b3e57 JK |
1821 | * gdbserver/low-lynx.c: Include <sys/wait.h> not "/usr/include/wait.h". |
1822 | ||
44a09a68 JK |
1823 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1824 | ||
1825 | * utils.c (request_quit): Re-establish signal handler regardless | |
1826 | of USG. | |
1827 | ||
1828 | * config/mips/xm-irix4.h: Define HAVE_TERMIOS. | |
1829 | ||
98506620 JK |
1830 | Fri Jan 14 21:55:39 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1831 | ||
1832 | * i960-tdep.c: Include target.h. | |
1833 | ||
658821b9 SS |
1834 | Fri Jan 14 17:12:28 1994 Stan Shebs (shebs@andros.cygnus.com) |
1835 | ||
1836 | * lynx-nat.c (sys/wait.h): Don't use absolute pathname. | |
1837 | ||
1838 | Fri Jan 14 11:06:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) | |
1839 | ||
1840 | * lynx-nat.c (child_wait): Fix thinkos in struct target_waitstatus | |
1841 | changes (status -> ourstatus; declare status, etc.). | |
1842 | * config/nm-lynx.h: Fix child_wait prototype and include target.h. | |
1843 | ||
4e8bc56f JK |
1844 | Fri Jan 14 14:17:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1845 | ||
1846 | * Makefile.in (ALLPARAM): Add config/nm-lynx.h. | |
1847 | ||
aeb145f8 ILT |
1848 | Fri Jan 14 11:49:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1849 | ||
1850 | * remote-mips.c (mips_request, mips_wait): Correct prototypes. | |
1851 | ||
d253eb7a JK |
1852 | Fri Jan 14 11:37:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1853 | ||
1854 | * config/i386/xm-linux.h: Define HAVE_TERMIOS. | |
1855 | ||
52b3045e PS |
1856 | Fri Jan 14 01:04:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1857 | ||
1858 | * config/alpha/tm-alpha.h (CALL_DUMMY): Improve comment. | |
1859 | ||
ae682b80 JK |
1860 | Thu Jan 13 10:32:38 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1861 | ||
d0acb092 JK |
1862 | * remote-vx.c (vx_wait): Only call i960_fault_to_signal if I80960 |
1863 | is defined. Otherwise just report TARGET_SIGNAL_UNKNOWN. | |
1864 | ||
1865 | * mips-tdep.c (mips_push_arguments): Byteswap struct_addr before | |
1866 | writing it. | |
1867 | ||
63dcc380 JK |
1868 | Add search to target vector (#if 0'd until after 4.12): |
1869 | * target.h (to_search, target_search): Add. | |
1870 | * gdbcore.h, core.c (generic_search): Add. | |
1871 | * remote.c (remote_search): Add. | |
1872 | * a29k-tdep.c (init_frame_info): Use target_search to find traceback | |
1873 | tag. | |
1874 | ||
d6596eee JK |
1875 | * printcmd.c (print_address_symbolic): If set print fast-symbolic-addr |
1876 | is on, call find_pc_function rather than relying just on the minimal | |
1877 | symbols (probably only matters for symbol readers which don't put | |
1878 | statics in the minimal symbols, but changing this strikes me as | |
1879 | not conservative enough). | |
1880 | Initialize name_location in all cases. | |
1881 | If no symbol and no msymbol, don't print anything symbolic. | |
1882 | ||
ae682b80 JK |
1883 | * a29k-tdep.c (push_dummy_frame): Add comment about saving lr0. |
1884 | ||
314e6bf3 JG |
1885 | Wed Jan 12 20:53:16 1994 John Gilmore (gnu@cygnus.com) |
1886 | ||
1887 | * printcmd.c (print_address_symbolic): Make it search the | |
1888 | symtabs for variables as well as functions. Add `set print | |
1889 | fast-symbolic-addr' and default it to fast (the old way). | |
1890 | Print line numbers for data items as well as functions. | |
1891 | ||
1892 | * symtab.c (find_addr_symbol): Return the symtab and the symbol | |
1893 | address, if a symbol is found (take two more args pointing to | |
1894 | where to store these results). | |
1895 | ||
1896 | * symtab.h (find_addr_symbol): Add prototype. | |
1897 | ||
470dfa0c JK |
1898 | Wed Jan 12 19:32:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1899 | ||
1900 | * objfiles.h: Fix comments to reflect the fact that the phrase | |
1901 | "top of stack" always refers to where the pushing and popping takes | |
1902 | place, regardless of whether it is at the highest or lowest address. | |
1903 | ||
a8c49897 PS |
1904 | Wed Jan 12 13:23:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
1905 | ||
1906 | * mdebugread.c (parse_symbol): Do not set TYPE_TAG_NAME for | |
1907 | compiler generated tag names. | |
1908 | * mdebugread.c (parse_type): Handle cross references to qualified | |
1909 | aggregate types. | |
1910 | * valops.c (value_struct_elt): Improve error message if the | |
1911 | address of a method is requested from an object instance. | |
1912 | * valops.c (search_struct_method): Make name_matched non-static | |
1913 | to get it initialized correctly. | |
1914 | * config/i386/nm-i386sco.h (CANNOT_STORE_REGISTER): Define to | |
1915 | exclude segment register which are not writable on newer SCO versions. | |
1916 | ||
4ad942bf JK |
1917 | Wed Jan 12 14:44:45 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
1918 | ||
1919 | * go32-xdep.c: Remove unused function uerror. | |
1920 | (sigsetmask): Declare return type. Declare argument (to match the | |
1921 | way it is called). Explicitly return 0. | |
1922 | ||
21578747 JG |
1923 | Wed Jan 12 01:44:25 1994 John Gilmore (gnu@cygnus.com) |
1924 | ||
1925 | * symtab.h (struct symbol, general_symbol_info, minimal_symbol, | |
1926 | partial_symbol): Shrink the storage sizes of symbols, by making | |
1927 | enums into 1-byte bitfields when compiled __GNUC__, moving all the | |
1928 | enums and small ints to the end of each struct to improve | |
1929 | alignment, and switching the section number from int to unsigned | |
1930 | short. | |
1931 | ||
e0ea0fbd JG |
1932 | Wed Jan 12 00:16:26 1994 John Gilmore (gnu@cygnus.com) |
1933 | ||
1934 | * symtab.c (find_addr_symbol): New routine that will find the nearest | |
1935 | symbol associated with an address. It does so by exhaustive | |
1936 | search of the symtabs, so it's slow but complete. | |
1937 | ||
011d4ed9 JG |
1938 | Tue Jan 11 23:57:30 1994 John Gilmore (gnu@cygnus.com) |
1939 | ||
1940 | * coffread.c (read_coff_symtab): Set PC bounds of _globals_ symtab | |
1941 | to [0,0] rather than [0, end of first source file]. This avoids | |
1942 | problems with other parts of GDB looking for linetables in the | |
1943 | _globals_ symtab. Eliminate variables num_object_files and | |
1944 | first_object_file_end. | |
1945 | ||
eb5b74ca JG |
1946 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
1947 | ||
1948 | * a29k-tdep.c (init_frame_info): Cast null arg to examine_tag. | |
1949 | (pop_frame): Restore PC2 and LR0 from dummy frames. | |
1950 | (push_dummy_frame): Save PC2 and LR0 into dummy frames. | |
1951 | (setup_arbitrary_frame): Handle 3 args and set up real frames. | |
1952 | * config/a29k/tm-a29k.h (FRAME_NUM_ARGS): Update comments. | |
1953 | (DUMMY_FRAME_RSIZE): Add 2 longwords for PC2 and LR0. | |
1954 | (SETUP_ARBITRARY_FRAME): Define. | |
1955 | ||
4d69cf57 JK |
1956 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1957 | ||
1958 | * infrun.c, config/mips/tm-irix5.h: Remove #if 0'd AT_FUNCTION_START. | |
1959 | ||
6a69975f ILT |
1960 | Tue Jan 11 14:27:03 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) |
1961 | ||
1962 | * remote-udi.c (udi_resume): Correct prototype. | |
1963 | ||
c598654a JL |
1964 | Tue Jan 11 11:10:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu) |
1965 | ||
1966 | * config/pa/tm-hppa.h (FRAME_FIND_SAVED_REGS): Call | |
1967 | hppa_frame_find_saved_regs. | |
1968 | * hppa-tdep.c (dig_fp_from_stack): Delete function. | |
1969 | (prologue_inst_adjust_sp): New function. | |
1970 | (is_branch, inst_saves_gr, inst_saves_fr): New functions. | |
1971 | (skip_prologue): Completely rewrite to use unwind information. | |
1972 | (hppa_frame_find_saved_regs): Likewise. | |
1973 | ||
6397809b JK |
1974 | Tue Jan 11 06:59:10 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
1975 | ||
f3fe8934 JK |
1976 | * remote-mips.c (mips_wait): Use new function mips_signal_from_protocol |
1977 | to convert a signal number with appropriate bounds checking. | |
1978 | ||
6397809b JK |
1979 | * remote-mips.c (mips_wait): Fix typos (0x177 -> 0177, 0x377 -> 0377). |
1980 | ||
c369b6a3 JG |
1981 | Tue Jan 11 00:53:46 1994 John Gilmore (gnu@cygnus.com) |
1982 | ||
a31f4b90 JG |
1983 | * stack.c (frame_info): If FRAME_FIND_SAVED_REGS isn't defined, |
1984 | print a newline to end the display anyway. | |
1985 | ||
c6d8db40 JG |
1986 | * sparc-tdep.c (sparc_pop_frame): Pop the fsr and csr (float and |
1987 | coprocessor status regs) when popping a frame. This fixes | |
1988 | float exceptions that occur after calling inferior functions. | |
1989 | ||
c369b6a3 JG |
1990 | * sparc-nat.c (fetch_inferior_registers, store_inferior_registers): |
1991 | Read and write the fsr (float status register) to/from the child | |
c6d8db40 JG |
1992 | process along with the float regs. Remove Peter Schauer's change |
1993 | of May 24 '93, which has higher overhead and doesn't solve the | |
1994 | real problem (which was that FSR wasn't being set). | |
c369b6a3 | 1995 | |
7b2bcbf5 JG |
1996 | Mon Jan 10 23:16:42 1994 John Gilmore (gnu@cygnus.com) |
1997 | ||
1998 | * a29k-tdep.c (examine_prologue): Don't worry if the ASGEQ | |
1999 | stack overflow check isn't right after the register stack | |
2000 | adjustment instruction. Metaware R2.3u compiler moves other | |
2001 | things in front of it. This fix isn't perfect but is what's | |
2002 | running. | |
2003 | ||
6aaa61de JK |
2004 | Mon Jan 10 20:08:23 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2005 | ||
85b8aa88 JK |
2006 | * c-valprint.c (c_val_print): Treat TYPE_CODE_RANGE like TYPE_CODE_INT. |
2007 | ||
6aaa61de JK |
2008 | * config/alpha/alpha-netware.mt: Rename to alpha-nw.mt for 14 |
2009 | character filenames. | |
2010 | * configure.in: Change accordingly. | |
2011 | ||
ef118278 TL |
2012 | Mon Jan 10 15:48:36 1994 Tom Lord (lord@rtl.cygnus.com) |
2013 | ||
2014 | * m68k-stub.c, sparc-stub.c: removed spurious introduction of | |
2015 | _filtered io routines from these two files. | |
2016 | ||
9d51b3c5 PS |
2017 | Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2018 | ||
2019 | * config/i386/tm-i386v.h, config/m68k/tm-m68k.h, config/mips/tm-mips.h, | |
2020 | config/vax/tm-vax.h (CALL_DUMMY_BREAKPOINT_OFFSET): Define. | |
2021 | * mdebugread.c (parse_symbol): Handle enum sh.type produced by | |
2022 | DEC c89. | |
2023 | * mdebugread.c (add_line): Handle zero linenos produced by DEC c89. | |
2024 | ||
11ebf939 JK |
2025 | Fri Jan 7 12:55:25 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2026 | ||
17d059d4 JK |
2027 | * utils.c (print_sys_errmsg): Call gdb_flush (gdb_stdout) before |
2028 | printing to gdb_stderr. | |
2029 | ||
2030 | * remote-udi.c (udi_kill): Don't close the connection, just set | |
2031 | inferior_pid to zero. | |
2032 | (udi_mourn): Call remove_breakpoints. | |
2033 | ||
2034 | * remote-udi.c: Remove obsolete need_artificial_traps comment. | |
2035 | ||
11ebf939 JK |
2036 | * i386b-nat.c (sregmap): If sEAX, etc., not defined, use tEAX, etc. |
2037 | ||
fcbc95a7 JK |
2038 | Thu Jan 6 07:17:53 1994 Jim Kingdon (kingdon@deneb.cygnus.com) |
2039 | ||
d8a66e60 JK |
2040 | * symtab.c (lookup_symbol): Don't try adding .c to the name. |
2041 | ||
e3a7e9d5 JK |
2042 | * remote-bug.c: At the start of each section, reset srec_frame |
2043 | back to 160. | |
2044 | ||
fcbc95a7 JK |
2045 | * target.h: Add TARGET_WAITKIND_LOADED and TARGET_WAITKIND_SPURIOUS. |
2046 | * target.c (store_waitstatus): Add CHILD_SPECIAL_WAITSTATUS hook. | |
2047 | * infrun.c (wait_for_inferior): Replace SIGTRAP_STOP_AFTER_LOAD with | |
2048 | code which looks for those two waitkinds. Use switch statement. | |
2049 | * config/rs6000/tm-rs6000.h: Replace SIGTRAP_STOP_AFTER_LOAD with | |
2050 | CHILD_SPECIAL_WAITSTATUS. | |
2051 | ||
2052 | * procfs.c (procfs_wait): Fix argument name to match 4 Jan changes. | |
2053 | * Move target_signal_from_host, target_signal_to_host, and | |
2054 | store_waitstatus from inftarg.c to target.c. procfs needs them. | |
2055 | * target.c: Include "wait.h" and <signal.h>. | |
2056 | * target.h, infrun.c (proceed), proceed callers: Pass new code | |
2057 | TARGET_SIGNAL_DEFAULT instead of -1. This avoids problems with | |
2058 | enums being treated as unsigned and is cleaner. | |
2059 | * infrun.c (signals_info): Don't print TARGET_SIGNAL_DEFAULT or | |
2060 | TARGET_SIGNAL_0. | |
2061 | * infcmd.c (signal_command), infrun.c (signals_info): | |
2062 | Don't allow user to specify numeric equivalent of | |
2063 | TARGET_SIGNAL_DEFAULT. | |
2064 | ||
7f85a716 SG |
2065 | Tue Jan 4 15:34:36 1994 Stu Grossman (grossman@cygnus.com) |
2066 | ||
2067 | * config/alpha/alpha-netware.mt: New target support for Alpha | |
2068 | running Netware. | |
2069 | * configure.in: Add alpha-*-netware* target. | |
2070 | ||
5efb3899 SS |
2071 | Tue Jan 4 14:51:35 1994 Stan Shebs (shebs@andros.cygnus.com) |
2072 | ||
2073 | * remote-mips.c (mips_wait): Fix ref to TARGET_WAITKIND_STOPPED. | |
2074 | ||
67ac9759 JK |
2075 | Tue Jan 4 09:47:14 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2076 | ||
2077 | * target.h: Add enum target_waitkind, enum target_signal, and | |
2078 | struct target_waitstatus. Change status argument to target_wait to | |
2079 | be struct target_waitstatus * instead of int *. | |
2080 | * target.h, infrun.c, all targets: Change type of signal arguments | |
2081 | to resume(), proceed(), and target_resume() from int to enum | |
2082 | target_signal. | |
2083 | * All targets (*_wait, *_resume): Change accordingly. | |
2084 | * infcmd.c (program_info, signal_command), throughout infrun.c, | |
2085 | * fork-child.c, solib.c, hppa-tdep.c, osfsolib.c: Use this stuff. | |
2086 | * convex-xdep.c, convex-tdep.c: Add FIXME's (getting the Convex | |
2087 | signal code stuff right with the new signals would be non-trivial). | |
2088 | * inferior.h (stop_signal): Make it enum target_signal not int. | |
2089 | * target.c, target.h (target_signal_to_string, target_signal_to_name, | |
2090 | target_signal_from_name): New functions. | |
2091 | * inftarg.c, target.h (target_signal_to_host, target_signal_from_host, | |
2092 | store_waitstatus): New functions. | |
2093 | * procfs.c (procfs_notice_signals): Use them. | |
2094 | * i960-tdep.c (i960_fault_to_signal): New function, to replace | |
2095 | print_fault. | |
2096 | * config/i960/tm-i960.h: Don't define PRINT_RANDOM_SIGNAL. | |
2097 | ||
2098 | * objfiles.c (build_objfile_section_table): Don't abort() if | |
2099 | objfile->sections is already set. | |
2100 | ||
2101 | * objfiles.c (add_to_objfile_sections): Check SEC_ALLOC not SEC_LOAD | |
2102 | to match recent change to exec.c. | |
2103 | ||
2104 | * Version 4.11.3. | |
2105 | ||
2106 | * main.c (print_gdb_version): Change year to 1994. | |
2107 | ||
2108 | * ChangeLog, ChangeLog-93: Split ChangeLog at 1994. | |
2109 | * Makefile.in (NONSRC): Add ChangeLog-93. | |
2110 | ||
b35885f2 JK |
2111 | Mon Jan 3 11:57:29 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2112 | ||
4b404661 JK |
2113 | * stabsread.c (read_type): Allow defining several type numbers |
2114 | at once (e.g. "(1,2)=(3,4)="...). | |
2115 | ||
eaba7fae JK |
2116 | * stabsread.c (read_enum_type): Use TARGET_INT_BIT not sizeof (int). |
2117 | ||
b35885f2 JK |
2118 | * breakpoint.c (frame_in_dummy): Check PC as well as frame. |
2119 | ||
ae5c71d6 PS |
2120 | Mon Jan 3 02:47:03 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2121 | ||
2122 | * mdebugread.c (psymtab_to_symtab_1): Only pass N_STAB symbols | |
2123 | to process_one_symbol. | |
2124 | * symtab.c (find_pc_psymbol): Search global_psymbols as well to | |
2125 | avoid caching a bad endaddr in find_pc_partial_function. | |
2126 | ||
d568b76a JK |
2127 | Sun Jan 2 21:41:17 1994 Jim Kingdon (kingdon@lioth.cygnus.com) |
2128 | ||
2129 | * config/m68k/tm-sun3.h: Don't define BELIEVE_PCC_PROMOTION. | |
2130 | ||
9ddb33a8 PS |
2131 | Sat Jan 1 04:35:23 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
2132 | ||
2133 | * infrun.c (wait_for_inferior): Do not step or step resume past | |
2134 | the end of a one-line function we just stepped into. | |
2135 | ||
67ac9759 | 2136 | For older changes see ChangeLog-93 |
bd5635a1 RP |
2137 | \f |
2138 | Local Variables: | |
2139 | mode: indented-text | |
2140 | left-margin: 8 | |
2141 | fill-column: 74 | |
2142 | version-control: never | |
2143 | End: |