* symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1aac3d3c
JL
1Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
2
3 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4 is set but there are no psymtabs.
5
c84e5000
SC
6Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
7
8 * dsrec.c (load_srec): Remove unused variable.
9 monitor.c (monitor_expect): Don't expect a ^C to echo.
10 * serial.c (serial_open): Add parallel interface.
11 * sh3-rom.c (parallel, parallel_in_use): New.
12 (sh3_load): If parallel_in_use, download though the
13 parallel port.
14 (sh3_open): Open parallel port if specified.
15 (sh3_close): New function.
16 (_inititalize_sh3): Add sh3_close hook and documentation.
17 * monitor.c (monitor_close): Export.
18 * monitor.h (monitor_close): Add prototype.
19
2c441e7f
SS
20Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
21
22 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
23 * remote.c (remotetimeout): New GDB variable, use to set the
24 remote timeout for reading.
25
3730a0ed
FF
26Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cirdan.cygnus.com>
27
28 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
29 to get "struct core_fns" defined.
30 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 31 Are dependent upon gdbcore_h.
3730a0ed 32
7ef89313
PB
33Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
34
35 * symfile.c (decrement_reading_symtab): New function.
36 * symfile.c, symtab.h (currently_reading_symtab): New variable.
37 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
38 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
39 currently_reading_symtab (since that could infinitely recurse).
40
1c486a2b
PB
41Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
42
34cfa2da
PB
43 * stabsread.c (read_struct_type): Trivial simplification.
44
1c486a2b
PB
45 * stabsread.c (define-symbol): Use invisible references
46 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 47 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
48 * eval.c (evaluate_subexp_standard): When known, use the formal
49 parameter type as the expected type when evaluating arg expressions.
50 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
51
a1df8e78
FF
52Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
53
54 * coredep.c: Renamed to core-aout.c
55 * core-svr4.c: Renamed to core-regset.c
56 * Makefile.in (ALLDEPFILES): Account for renamings.
57 * corelow.c (core_file_fns): Add, points to chain of structs.
58 (add_core_fns): New function to build chain of structs.
59 (get_core_registers): Modify to search core functions chain and call
60 appropriate fetch_core_registers function based on core file flavour.
61 * gdbcore.h (fetch_core_registers): Remove declaration.
62 (struct core_fns): Define struct for core function info.
63 * i386m3-nat.c: Update comment for filename change (coredep->core-aout)
64 * a68v-nat.c (fetch_core_registers): Remove stub, not needed now.
65 * alpha-nat.c (fetch_core_registers): Make static.
66 (alpha_core_fns, _initialize_core_alpha): New struct and func.
67 * core-aout.c (fetch_core_registers): Make static
68 (aout_core_fns, _initialize_core_aout): New struct and func.
69 * core-regset.c (fetch_core_registers): Make static.
70 (regset_core_fns, _initialize_core_regset): New struct and func.
71 * core-sol2.c (fetch_core_registers): Make static.
72 (solaris_core_fns, _initialize_core_solaris): New struct and func.
73 * hp300ux-nat.c (fetch_core_registers): Make static.
74 (hp300ux_core_fns, _initialize_core_hp300ux): New struct and func.
75 * i386aix-nat.c (fetch_core_registers): Make static.
76 (i386aix_core_fns, _initialize_core_i386aix): New struct and func.
77 * i386mach-nat.c (fetch_core_registers: Make static.
78 (i386mach_core_fns, _initialize_core_i386mach): New struct and func.
79 * irix4-nat.c (fetch_core_registers): Make static.
80 (irix4_core_fns, _initialize_core_irix4): New struct and func.
81 * irix5-nat.c (fetch_core_registers):
82 (irix5_core_fns, _initialize_core_irix5): New struct and func.
83 * lynx-nat.c (fetch_core_registers): Make static.
84 (lynx_core_fns, _initialize_core_lynx): New struct and func.
85 * mips-nat.c (fetch_core_registers): Make static.
86 (mips_core_fns, _initialize_core_mips): New struct and func.
87 * ns32km3-nat.c (fetch_core_registers): Remove stub.
88 * rs6000-nat.c (fetch_core_registers): Make static.
89 (rs6000_core_fns, _initialize_core_rs6000): New struct and func.
90 * sparc-nat.c (fetch_core_registers): Make static.
91 (sparc_core_fns, _initialize_core_sparc): New struct and func.
92 * sun3-nat.c (fetch_core_registers):
93 (sun3_core_fns, _initialize_core_sun3): New struct and func.
94 * sun386-nat.c (fetch_core_registers): Remove stub.
95 * ultra3-nat.c (fetch_core_registers): Make static.
96 (ultra3_core_fns, _initialize_core_ultra3): New struct and func.
97 * config/gould/pn.mh (XDEPFILES),
98 config/i386/fbsd.mh (NATDEPFILES),
99 config/i386/i386bsd.mh (NATDEPFILES),
100 config/i386/i386m3.mh (XDEPFILES),
101 config/i386/i386sco.mh (NATDEPFILES),
102 config/i386/i386sco4.mh (NATDEPFILES),
103 config/i386/i386v.mh (NATDEPFILES),
104 config/i386/i386v32.mh (NATDEPFILES),
105 config/i386/nbsd.mh (NATDEPFILES),
106 config/i386/ptx.mh (XDEPFILES),
107 config/i386/ptx4.mh (XDEPFILES),
108 config/i386/symmetry.mh (NATDEPFILES),
109 config/m68k/3b1.mh (XDEPFILES),
110 config/m68k/cisco.mt (TDEPFILES),
111 config/m68k/delta68.mh (NATDEPFILES),
112 config/m68k/dpx2.mh (NATDEPFILES),
113 config/m68k/hp300bsd.mh (NATDEPFILES),
114 config/m68k/hp300hpux.mh (NATDEPFILES),
115 config/m68k/isi.mh (XDEPFILES),
116 config/m68k/news.mh (NATDEPFILES),
117 config/m68k/news1000.mh (XDEPFILES),
118 config/m88k/cxux.mh (NATDEPFILES),
119 config/m88k/delta88.mh (NATDEPFILES),
120 config/mips/littlemips.mh (XDEPFILES),
121 config/mips/mipsm3.mh (XDEPFILES),
122 config/ns32k/merlin.mh (XDEPFILES),
123 config/ns32k/nbsd.mh (NATDEPFILES),
124 config/ns32k/ns32km3.mh (NATDEPFILES),
125 config/pa/hppabsd.mh (NATDEPFILES),
126 config/pa/hppahpux.mh (NATDEPFILES),
127 config/romp/rtbsd.mh (XDEPFILES),
128 config/tahoe/tahoe.mh (XDEPFILES),
129 config/vax/vaxbsd.mh (XDEPFILES),
130 config/vax/vaxult.mh (NATDEPFILES),
131 config/vax/vaxult2.mh (NATDEPFILES),
132 Account for coredep.o to core-aout.o name change.
133 * config/i386/i386dgux (NATDEPFILES),
134 config/i386/i386sol2.mh (NATDEPFILES),
135 config/i386/i386v4.mh (NATDEPFILES),
136 config/i386/linux.mh (NATDEPFILES),
137 config/i386/ncr3000.mh (NATDEPFILES),
138 config/m68k/m68kv4.mh (NATDEPFILES),
139 config/m88k/delta88v4.mh (NATDEPFILES),
140 config/mips/mipsv4.mh (NATDEPFILES),
141 Account for core-svr4.o to core-regset.o name change.
142
a1956677
BK
143Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
144
145 * configure.in, configure: Recognize rs6000-*-aix4*.
146 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
147 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
148 * config/rs6000/xm-aix4.h: New file.
149 * config/xm-aix4.h: New file.
150
3730a0ed 151Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
0d14c7df
FF
152
153 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
154 * gdbserver/low-linux.c: New file.
155 * remote.c (remote_read_bytes): Fix aborts on larger packets.
156
157 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
158 Define.
159 * stabsread.c (define_symbol): If register value is too large,
160 tell what it is and what max is.
161
60d5a517
JL
162Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
163
164 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
165 enum namespace -> enum_namespace change.
166
d1f5c804
WM
167Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
168
2c441e7f
SS
169 * ch-exp.c (parse_primval): In case ARRAY, add missing
170 FORWARD_TOKEN ().
d1f5c804 171
1f233758
SS
172Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
173
174 * remote-mips.c (mips_receive_header): Recognize \012 instead
175 of \n, but write \n when program sends a \012.
176 * ser-mac.c (mac_input_buffer): Increase size of buffer.
177
ed3b618d
JL
178Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
179
180 * infptrace.c (initialize_infptrace): Move function out of
181 #ifdef conditional; put code within the function inside an
182 #ifdef conditional.
436d4143
JL
183
184 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
185 arguments. Sorting is now dependent on OBJF_REORDERED. All
186 callers/references changed.
187 * dbxread.c (read_ofile_symtab): Correctly determine value for
188 last_source_start_addr for reordered executables.
189 (process_one_symbol): Handle N_FUN with no name as an end of
190 function marker.
191 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
192 is the high text address for a psymtab.
193 (case N_SO): Likewise.
194 (case N_FUN): Handle N_FUN with no name as an end of function
195 marker.
196 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
197 at the same address rather than a random subset of them.
198 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
199 * elfread.c (elf_symfile_init): Similarly.
200 * somread.c (som_symfile_init): Similarly.
201 * xcoffread.c (xcoff_symfile_init): Similarly.
202
5351b2a0
SG
203Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
204
205 * stack.c (print_stack_frame print_frame_info) symmisc.c
206 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
207 that catch_errors doesn't get blindsided by QUIT and lose the
208 cleanup chain. This fixes a problem where ^C while in a
209 user-defined command sometimes leaves instream NULL and causes a
210 segfault in command_loop.
211
127841e4
BK
212Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
213
214 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
215
6b4fe21d
SC
216Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
217
218 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
219 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
220 srec.o renamed to dsrec.o.
221
0fe1522a
SG
222Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
223
224 * breakpoint.c (remove_breakpoint): Change error to warning so
225 that hardware watchpoint removal problems won't leave breakpoint
226 traps in the target.
d039321c 227start-sanitize-gdbtk
0fe1522a 228 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 229end-sanitize-gdbtk
0fe1522a
SG
230 * remote-e7000.c (e7000_insert_breakpoint,
231 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
232 breakpoints.
233 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
234 compensate for e7000 maladjustment.
235 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
236 which prevented hardware watchpoints from working.
237
7531f36e
FF
238Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cirdan.cygnus.com>
239
240 * infptrace.c (udot_info): New function.
241 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
242 * rs6000-nat.c (kernel_u_size): New function
243 Include <sys/user.h> for "struct user"
7531f36e
FF
244 * alpha-nat.c (kernel_u_size): New function.
245 Include <sys/user.h> for "struct user"
7531f36e
FF
246 * sparc-nat.c (kernel_u_size): New function.
247 Include <sys/user.h> for "struct user"
7531f36e 248 * i386b-nat.c (kernel_u_size): New function.
7531f36e 249 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
250 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
251 (kernel_u_size): Declare.
7531f36e
FF
252 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
253 (kernel_u_size): Declare.
7531f36e
FF
254 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
255 (kernel_u_size): Declare.
7531f36e
FF
256 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
257 (kernel_u_size): Declare.
7531f36e
FF
258 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
259 (kernel_u_size): Declare.
7531f36e 260
1750a5ef
SC
261Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
262
263 * mdebugread.c (mylookup_symbol): enum namespace becomes
264 enum_namespace type.
265 * symfile.c (add_psymbol_to_list)
266 (add_psymbol_addr_to_list): Ditto.
267 * symtab.c (lookup_partial_symbol): Ditto.
268 (lookup_symbol): Ditto.
269 (lookup_block_symbol): Ditto.
270 * win32-nat.c (handle_load_dll): Use incoming dll base.
271 (child_wait): Catch DLL load errors.
272 (create_child_inferior): Translated between paths correctly.
273
e33aefba
FF
274Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
275
276 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
277 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
278 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
279 of number of general regs and number of floating point regs.
e33aefba 280
e02a2ad9
SC
281Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
282
a3b64bf9
SC
283 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
284 (SKIP_TRAMPOLINE_CODE): New.
285 * config/i386/xm-win32.h (CANT_FORK): Deleted.
286 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
287 * symtab.h (namespace enum): becomes typedef to avoid namespace
288 collision in C++.
289 * infcmd.c (path_command): Use empty string if PATH name not set.
290 * i386-tdep.c (skip_trampoline_code): New function.
291 * srec.c: Renamed dsrec.c to avoid filename collision.
292 * Makefile.in: Cope with renaming.
e02a2ad9 293
ef4d6187 294Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
5eccb7dc 295
ef4d6187
FF
296 * symmisc.c (print_objfile_statistics): Print memory use statistics
297 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 298
ef4d6187 299Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
3dcd429f 300
ef4d6187
FF
301 * config/mips/nm-irix5.h: Restore.
302 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
303 from Lee Iverson <leei@ai.sri.com>.
304 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
305 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 306
ef4d6187 307For older changes see ChangeLog-95
bd5635a1
RP
308\f
309Local Variables:
310mode: indented-text
311left-margin: 8
312fill-column: 74
313version-control: never
314End:
This page took 0.542953 seconds and 4 git commands to generate.